Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/iptables: ChangeLog iptables-1.4.3.2.ebuild iptables-1.4.3.1.ebuild
Date: Mon, 06 Apr 2009 18:47:59
Message-Id: E1LqtrO-0001rB-NP@stork.gentoo.org
1 pva 09/04/06 18:47:54
2
3 Modified: ChangeLog
4 Added: iptables-1.4.3.2.ebuild
5 Removed: iptables-1.4.3.1.ebuild
6 Log:
7 Version bump. Fixes save/restore of negated rules, bug #264089, thank Yar Odin for report.
8 (Portage version: 2.2_rc28/cvs/Linux i686)
9
10 Revision Changes Path
11 1.196 net-firewall/iptables/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.196&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.196&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/ChangeLog?r1=1.195&r2=1.196
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v
20 retrieving revision 1.195
21 retrieving revision 1.196
22 diff -u -r1.195 -r1.196
23 --- ChangeLog 24 Mar 2009 13:46:55 -0000 1.195
24 +++ ChangeLog 6 Apr 2009 18:47:54 -0000 1.196
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-firewall/iptables
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.195 2009/03/24 13:46:55 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.196 2009/04/06 18:47:54 pva Exp $
30 +
31 +*iptables-1.4.3.2 (06 Apr 2009)
32 +
33 + 06 Apr 2009; Peter Volkov <pva@g.o> -iptables-1.4.3.1.ebuild,
34 + +iptables-1.4.3.2.ebuild:
35 + Version bump. Fixes save/restore of negated rules, bug #264089, thank Yar
36 + Odin for report.
37
38 *iptables-1.4.3.1 (24 Mar 2009)
39
40
41
42
43 1.1 net-firewall/iptables/iptables-1.4.3.2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/iptables-1.4.3.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/iptables-1.4.3.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: iptables-1.4.3.2.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.3.2.ebuild,v 1.1 2009/04/06 18:47:54 pva Exp $
53
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools"
57 HOMEPAGE="http://www.iptables.org/"
58 SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE=""
64
65 DEPEND="virtual/os-headers"
66 RDEPEND=""
67
68 src_unpack() {
69 unpack ${P}.tar.bz2
70 cd "${S}"
71
72 local check base=${PORTAGE_CONFIGROOT}/etc/portage/patches
73 for check in {${CATEGORY}/${PF},${CATEGORY}/${P},${CATEGORY}/${PN}}; do
74 EPATCH_SOURCE=${base}/${CTARGET}/${check}
75 [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${CHOST}/${check}
76 [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${check}
77 if [[ -d ${EPATCH_SOURCE} ]] ; then
78 EPATCH_SUFFIX="patch"
79 EPATCH_FORCE="yes" \
80 EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \
81 epatch
82 break
83 fi
84 done
85 }
86
87 src_compile() {
88 econf \
89 --sbindir=/sbin \
90 --libexecdir=/$(get_libdir) \
91 --enable-devel \
92 --enable-libipq \
93 --enable-shared \
94 --enable-static
95 emake V=1 || die
96 }
97
98 src_install() {
99 emake install DESTDIR="${D}" || die
100
101 insinto /usr/include
102 doins include/iptables.h include/ip6tables.h || die
103 insinto /usr/include/iptables
104 doins include/iptables/internal.h || die
105
106 keepdir /var/lib/iptables
107 newinitd "${FILESDIR}"/${PN}-1.3.2.init iptables || die
108 newconfd "${FILESDIR}"/${PN}-1.3.2.confd iptables || die
109 keepdir /var/lib/ip6tables
110 newinitd "${FILESDIR}"/iptables-1.3.2.init ip6tables || die
111 newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables || die
112 }