/[gentoo-x86]/net-firewall/iptables/iptables-1.4.12.1-r1.ebuild
Gentoo

Diff of /net-firewall/iptables/iptables-1.4.12.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.12.1-r1.ebuild,v 1.3 2012/01/02 00:08:34 ago Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.12.1-r1.ebuild,v 1.4 2012/01/06 23:16:38 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7# Force users doing their own patches to install their own tools 7# Force users doing their own patches to install their own tools
8AUTOTOOLS_AUTO_DEPEND=no 8AUTOTOOLS_AUTO_DEPEND=no
30 epatch \ 30 epatch \
31 "${FILESDIR}/iptables-1.4.12.1-lm.patch" \ 31 "${FILESDIR}/iptables-1.4.12.1-lm.patch" \
32 "${FILESDIR}/iptables-1.4.12.1-conntrack-v2-ranges.patch" 32 "${FILESDIR}/iptables-1.4.12.1-conntrack-v2-ranges.patch"
33 eautomake 33 eautomake
34 34
35 # use the saner headers from the kernel
36 rm -f include/linux/{kernel,types}.h
37
35 # Only run autotools if user patched something 38 # Only run autotools if user patched something
36 epatch_user && eautoreconf || elibtoolize 39 epatch_user && eautoreconf || elibtoolize
37} 40}
38 41
39src_configure() { 42src_configure() {
40 sed -i \ 43 sed -i \
41 -e "/nfnetlink=[01]/s:=[01]:=$(use netlink && echo 1 || echo 0):" \ 44 -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \
42 configure || die 45 configure || die
43 econf \ 46 econf \
44 --sbindir=/sbin \ 47 --sbindir=/sbin \
45 --libexecdir=/$(get_libdir) \ 48 --libexecdir=/$(get_libdir) \
46 --enable-devel \ 49 --enable-devel \

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20