Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197488 Details for
Bug 277366
net-firewall/iptables-1.4.3.2 fails to build against uclibc with disabled IPv6 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
iptables-1.4.3.2-ipv6-use-flag.patch
iptables-1.4.3.2-ipv6-use-flag.patch (text/plain), 1.52 KB, created by
Christian Affolter
on 2009-07-10 22:41:22 UTC
(
hide
)
Description:
iptables-1.4.3.2-ipv6-use-flag.patch
Filename:
MIME Type:
Creator:
Christian Affolter
Created:
2009-07-10 22:41:22 UTC
Size:
1.52 KB
patch
obsolete
>--- iptables-1.4.3.2.ebuild 2009-06-18 03:06:27.000000000 +0200 >+++ iptables-1.4.3.2-r1.ebuild 2009-07-11 00:36:23.506931307 +0200 >@@ -11,7 +11,7 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" >-IUSE="" >+IUSE="ipv6" > > DEPEND="virtual/os-headers" > RDEPEND="" >@@ -36,13 +36,18 @@ > } > > src_compile() { >- econf \ >- --sbindir=/sbin \ >- --libexecdir=/$(get_libdir) \ >- --enable-devel \ >- --enable-libipq \ >- --enable-shared \ >- --enable-static >+ local conf="--sbindir=/sbin >+ --libexecdir=/$(get_libdir) >+ --enable-devel >+ --enable-libipq >+ --enable-shared >+ --enable-static " >+ >+ if ! use ipv6; then >+ conf="$conf --disable-ipv6" >+ fi >+ >+ econf $conf > emake V=1 || die > } > >@@ -50,14 +55,18 @@ > emake install DESTDIR="${D}" || die > > insinto /usr/include >- doins include/iptables.h include/ip6tables.h || die >+ doins include/iptables.h || die >+ use ipv6 && ( doins include/ip6tables.h || die ) > insinto /usr/include/iptables > doins include/iptables/internal.h || die > > keepdir /var/lib/iptables > newinitd "${FILESDIR}"/${PN}-1.3.2.init iptables || die > newconfd "${FILESDIR}"/${PN}-1.3.2.confd iptables || die >- keepdir /var/lib/ip6tables >- newinitd "${FILESDIR}"/iptables-1.3.2.init ip6tables || die >- newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables || die >+ >+ if use ipv6 ; then >+ keepdir /var/lib/ip6tables >+ newinitd "${FILESDIR}"/iptables-1.3.2.init ip6tables || die >+ newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables || die >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277366
:
197488
|
199318