Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197149 Details for
Bug 276737
net-firewall/iptables: adding useflag ksource to include kernel source
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adding useflag ksource to compile with kernel sources
iptables-1.4.3.2-with-ksource-useflag.patch (text/plain), 1.84 KB, created by
cilly
on 2009-07-08 07:56:34 UTC
(
hide
)
Description:
adding useflag ksource to compile with kernel sources
Filename:
MIME Type:
Creator:
cilly
Created:
2009-07-08 07:56:34 UTC
Size:
1.84 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.3.2.ebuild,v 1.5 2009/06/18 00:46:35 gentoofan23 Exp $ > >inherit eutils toolchain-funcs linux-info > >DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" >HOMEPAGE="http://www.iptables.org/" >SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" >IUSE="ksource" > >DEPEND="virtual/os-headers" >RDEPEND="" > >src_unpack() { > unpack ${P}.tar.bz2 > cd "${S}" > > local check base=${PORTAGE_CONFIGROOT}/etc/portage/patches > for check in {${CATEGORY}/${PF},${CATEGORY}/${P},${CATEGORY}/${PN}}; do > EPATCH_SOURCE=${base}/${CTARGET}/${check} > [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${CHOST}/${check} > [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${check} > if [[ -d ${EPATCH_SOURCE} ]] ; then > EPATCH_SUFFIX="patch" > EPATCH_FORCE="yes" \ > EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \ > epatch > break > fi > done >} > >src_compile() { > econf \ > --sbindir=/sbin \ > --libexecdir=/$(get_libdir) \ > --enable-devel \ > --enable-libipq \ > --enable-shared \ > --enable-static \ > $(use_with ksource kernel ${KERNEL_DIR}) > emake V=1 || die >} > >src_install() { > emake install DESTDIR="${D}" || die > > insinto /usr/include > doins include/iptables.h 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 >}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276737
:
196894
|
196998
|
197040
|
197042
|
197149
|
197151
|
197762
|
197764