Binaries for ibtables 1.2.11-r2 are installed in the wrong place : >>> Merging net-firewall/iptables-1.2.11-r2 to / ............. --- /usr/local/ --- /usr/local/sbin/ >>> /usr/local/sbin/iptables-save >>> /usr/local/sbin/iptables-restore >>> /usr/local/sbin/iptables ............. Should be in /sbin as with 1.2.11-r1. All other files are at the right place Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 34719 [details, diff] Patch that correct the ebuild This small patch corrects the ebuild
It also fails to install the init scripts cp: cannot stat `/usr/local/portage.d/gentoo-portage/net-firewall/iptables/files/iptables-1.2.11-r1.init': No such file or directory install: cannot stat `/var/tmp/portage/iptables-1.2.11-r2/temp/iptables': No such file or directory cp: cannot stat `/usr/local/portage.d/gentoo-portage/net-firewall/iptables/files/iptables-1.2.11-r1.confd': No such file or directory install: cannot stat `/var/tmp/portage/iptables-1.2.11-r2/temp/iptables': No such file or directory
Fixed in CVS, thanks!
*** Bug 55496 has been marked as a duplicate of this bug. ***
Guillaume's patch doesn't seem to be in CVS yet. It has been a couple of hours, so the web view should have updated by now.
*** Bug 56097 has been marked as a duplicate of this bug. ***
*** Bug 56098 has been marked as a duplicate of this bug. ***
iptables-1.2.11-r2.ebuild 1.3 still installs in /usr/local. Is there a later version that includes Guillaume's patch?
It has just been fixed in CVS.
*** Bug 56079 has been marked as a duplicate of this bug. ***
You need to add the PREFIX= line as well. Well, 1.2.11-r2 does not seem to be fixed in the CVS. The version I have in my tree is the same as the one in the CVS and it does install in /usr/local/sbin. I added the missing PREFIX= lines to the USE=-extensions section and it worked fine. --- iptables-1.2.11-r2.ebuild 2004-07-06 03:35:57.000000000 +0900 +++ iptables-1.2.11-r2.ebuild 2004-07-08 05:10:52.845924313 +0900 @@ -120,5 +120,6 @@ else make DESTDIR=${D} ${myconf} \ + PREFIX= \ LIBDIR=/lib \ BINDIR=/sbin \ MANDIR=/usr/share/man \ @@ -127,6 +128,7 @@ install || die make DESTDIR=${D} ${myconf} \ + PREFIX= \ LIBDIR=/usr/lib \ BINDIR=/sbin \ MANDIR=/usr/share/man \ and it worked fine.
*** Bug 56596 has been marked as a duplicate of this bug. ***