commit:     1c80f594d8971d59cce294aa6720ddc5a4c2f954
Author:     Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 15 12:59:27 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 15:42:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c80f594

net-firewall/nftables: correct install utility function calls

Previous modification changed the cp command to:
    instinto /usr/libexec/${PN}
    doins "${FILESDIR}"/libexec/${PN}.sh

However, this change is incorrect as it strips the exec flag from ${PN}.sh.
This commit changes the insinto and doins to exeinto and doexe which fixes the
problem.

Gentoo-bug: 586000

Package-Manager: portage-2.3.0_rc1

 .../nftables/{nftables-0.5-r3.ebuild => nftables-0.5-r4.ebuild}       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-firewall/nftables/nftables-0.5-r3.ebuild 
b/net-firewall/nftables/nftables-0.5-r4.ebuild
similarity index 95%
rename from net-firewall/nftables/nftables-0.5-r3.ebuild
rename to net-firewall/nftables/nftables-0.5-r4.ebuild
index aa54e05..9ec62ec 100644
--- a/net-firewall/nftables/nftables-0.5-r3.ebuild
+++ b/net-firewall/nftables/nftables-0.5-r4.ebuild
@@ -56,8 +56,8 @@ src_install() {
        default
 
        dodir /usr/libexec/${PN}
-       insinto /usr/libexec/${PN}
-       doins "${FILESDIR}"/libexec/${PN}.sh
+       exeinto /usr/libexec/${PN}
+       doexe "${FILESDIR}"/libexec/${PN}.sh
 
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
        newinitd "${FILESDIR}"/${PN}.init-r2 ${PN}

Reply via email to