diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-27 08:57:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-08-27 08:57:51 +0000 |
commit | 97df8e22e79f5d8e3ec930e90a3c4807fc9f3dc0 (patch) | |
tree | 7d1ff06fa9a360714372b48eb95569909d3fcf02 /net-firewall/iptables/iptables-1.4.2-r2.ebuild | |
parent | Move to common epatch code. (diff) | |
download | gentoo-2-97df8e22e79f5d8e3ec930e90a3c4807fc9f3dc0.tar.gz gentoo-2-97df8e22e79f5d8e3ec930e90a3c4807fc9f3dc0.tar.bz2 gentoo-2-97df8e22e79f5d8e3ec930e90a3c4807fc9f3dc0.zip |
Move to common epatch code.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall/iptables/iptables-1.4.2-r2.ebuild')
-rw-r--r-- | net-firewall/iptables/iptables-1.4.2-r2.ebuild | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/net-firewall/iptables/iptables-1.4.2-r2.ebuild b/net-firewall/iptables/iptables-1.4.2-r2.ebuild index a9a0f4c03c1e..4cf7a62d8500 100644 --- a/net-firewall/iptables/iptables-1.4.2-r2.ebuild +++ b/net-firewall/iptables/iptables-1.4.2-r2.ebuild @@ -1,6 +1,6 @@ # 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.2-r2.ebuild,v 1.9 2009/02/16 16:57:34 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.2-r2.ebuild,v 1.10 2009/08/27 08:57:51 vapier Exp $ inherit eutils toolchain-funcs linux-info @@ -52,19 +52,7 @@ src_unpack() { epatch "${FILESDIR}"/${P}-libxt_iprange.c-build.patch epatch "${FILESDIR}"/${P}-hashlimit.patch #254496 - 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 + epatch_user if use l7filter ; then cp "${WORKDIR}/${L7_P}/iptables-1.4.1.1-for-kernel-2.6.20forward"/* extensions \ |