Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345976 Details for
Bug 466430
net-firewall/ipt_netflow-1.8-r1 does not build with PaX kernel sys-kernel/hardened-sources-3.8.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild which applies patch if the pax_kernel USE flag is set
file_466430.txt (text/plain), 1.94 KB, created by
Jeremy Drake
on 2013-04-19 05:49:44 UTC
(
hide
)
Description:
ebuild which applies patch if the pax_kernel USE flag is set
Filename:
MIME Type:
Creator:
Jeremy Drake
Created:
2013-04-19 05:49:44 UTC
Size:
1.94 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header $ > >EAPI="5" > >inherit eutils linux-info linux-mod multilib toolchain-funcs > >MY_PN="ipt-netflow" > >DESCRIPTION="Netflow iptables module" >HOMEPAGE="http://sourceforge.net/projects/ipt-netflow" >SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tgz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 x86" >IUSE="pax_kernel" > >RDEPEND="net-firewall/iptables" >DEPEND="${RDEPEND} > virtual/linux-sources > virtual/pkgconfig" > >BUILD_TARGETS="all" >CONFIG_CHECK="~IP_NF_IPTABLES" >MODULE_NAMES="ipt_NETFLOW(ipt_netflow:${S})" > >IPT_LIB=/usr/$(get_libdir)/xtables > >src_prepare() { > sed -i -e 's:-I$(KDIR)/include::' \ > -e 's:gcc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' \ > -e 's:gcc:$(CC) $(CFLAGS) $(LDFLAGS):' Makefile.in || die 'sed on Makefile.in failed' > sed -i -e '/IPT_NETFLOW_VERSION/s/1.7.2/1.8/' ipt_NETFLOW.c || die 'sed on ipt_NETFLOW.c failed' > epatch "${FILESDIR}"/${PN}-1.8-configure.patch > if use pax_kernel; then > epatch "${FILESDIR}"/${PN}-1.8-pax-const.patch > fi >} > >src_configure() { > local IPT_VERSION="$($(tc-getPKG_CONFIG) --modversion xtables)" > # econf can not be used, cause configure script fails when see unknown parameter > # ipt-src need to be defined, see bug #455984 > ./configure \ > --ipt-lib="${IPT_LIB}" \ > --ipt-src="/usr/" \ > --ipt-ver="${IPT_VERSION}" \ > --kdir="${KV_DIR}" \ > --kver="${KV_FULL}" \ > || die 'configure failed' >} > >src_compile() { > local ARCH=$(tc-arch-kernel) > emake CC="$(tc-getCC)" all >} > >src_install() { > linux-mod_src_install > exeinto "${IPT_LIB}" > doexe libipt_NETFLOW.so > insinto /usr/include > doins ipt_NETFLOW.h > dodoc README* >}
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 466430
:
345974
| 345976