1 |
pva 09/01/21 18:36:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: iptables-1.4.2-r2.ebuild |
5 |
Log: |
6 |
Some patches from upstream for misc build issues. Fixed hashlimit-htable-gcinterval save/restore issue, bug #254496, thank Михаил for report. Fixed save/restore issue for -m owner, bug #255113, thank Andrew Savchenko for report. |
7 |
(Portage version: 2.2_rc23/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.185 net-firewall/iptables/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.185&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.185&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/ChangeLog?r1=1.184&r2=1.185 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v |
19 |
retrieving revision 1.184 |
20 |
retrieving revision 1.185 |
21 |
diff -u -r1.184 -r1.185 |
22 |
--- ChangeLog 6 Dec 2008 23:52:05 -0000 1.184 |
23 |
+++ ChangeLog 21 Jan 2009 18:36:10 -0000 1.185 |
24 |
@@ -1,6 +1,18 @@ |
25 |
# ChangeLog for net-firewall/iptables |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.184 2008/12/06 23:52:05 robbat2 Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.185 2009/01/21 18:36:10 pva Exp $ |
30 |
+ |
31 |
+*iptables-1.4.2-r2 (21 Jan 2009) |
32 |
+ |
33 |
+ 21 Jan 2009; Peter Volkov <pva@g.o> |
34 |
+ +files/iptables-1.4.2-hashlimit.patch, |
35 |
+ +files/iptables-1.4.2-libxt_TOS-compilation.patch, |
36 |
+ +files/iptables-1.4.2-libxt_iprange.c-build.patch, |
37 |
+ +files/iptables-1.4.2-owner-restore.patch, +iptables-1.4.2-r2.ebuild: |
38 |
+ Some patches from upstream for misc build issues. Fixed |
39 |
+ hashlimit-htable-gcinterval save/restore issue, bug #254496, thank |
40 |
+ Михаил for report. Fixed save/restore issue for -m owner, bug |
41 |
+ #255113, thank Andrew Savchenko for report. |
42 |
|
43 |
06 Dec 2008; Robin H. Johnson <robbat2@g.o> Manifest: |
44 |
Fix broken Manifest. |
45 |
|
46 |
|
47 |
|
48 |
1.1 net-firewall/iptables/iptables-1.4.2-r2.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/iptables-1.4.2-r2.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/iptables/iptables-1.4.2-r2.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: iptables-1.4.2-r2.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2009 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.2-r2.ebuild,v 1.1 2009/01/21 18:36:10 pva Exp $ |
58 |
|
59 |
inherit eutils toolchain-funcs |
60 |
|
61 |
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
62 |
HOMEPAGE="http://www.iptables.org/" |
63 |
SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
68 |
IUSE="" |
69 |
|
70 |
DEPEND="virtual/os-headers" |
71 |
RDEPEND="" |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${P}.tar.bz2 |
75 |
cd "${S}" |
76 |
epatch "${FILESDIR}"/${P}-glibc.patch |
77 |
epatch "${FILESDIR}"/${P}-no-ldconfig.patch |
78 |
epatch "${FILESDIR}"/${P}-as-needed.patch #244431 |
79 |
epatch "${FILESDIR}"/${P}-owner-restore.patch #255113 |
80 |
epatch "${FILESDIR}"/${P}-libxt_TOS-compilation.patch |
81 |
epatch "${FILESDIR}"/${P}-libxt_iprange.c-build.patch |
82 |
epatch "${FILESDIR}"/${P}-hashlimit.patch #254496 |
83 |
|
84 |
local check base=${PORTAGE_CONFIGROOT}/etc/portage/patches |
85 |
for check in {${CATEGORY}/${PF},${CATEGORY}/${P},${CATEGORY}/${PN}}; do |
86 |
EPATCH_SOURCE=${base}/${CTARGET}/${check} |
87 |
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${CHOST}/${check} |
88 |
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${check} |
89 |
if [[ -d ${EPATCH_SOURCE} ]] ; then |
90 |
EPATCH_SUFFIX="patch" |
91 |
EPATCH_FORCE="yes" \ |
92 |
EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \ |
93 |
epatch |
94 |
break |
95 |
fi |
96 |
done |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
econf \ |
101 |
--sbindir=/sbin \ |
102 |
--libexecdir=/$(get_libdir) \ |
103 |
--without-kernel \ |
104 |
--enable-devel \ |
105 |
--enable-libipq \ |
106 |
--enable-shared \ |
107 |
--enable-static \ |
108 |
|| die |
109 |
emake V=1 || die |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
emake install DESTDIR="${D}" || die |
114 |
|
115 |
insinto /usr/include |
116 |
doins include/iptables.h include/ip6tables.h || die |
117 |
dolib.a libiptc/libiptc.a || die |
118 |
insinto /usr/include/libiptc |
119 |
doins include/libiptc/*.h || die |
120 |
|
121 |
keepdir /var/lib/iptables |
122 |
newinitd "${FILESDIR}"/${PN}-1.3.2.init iptables |
123 |
newconfd "${FILESDIR}"/${PN}-1.3.2.confd iptables |
124 |
keepdir /var/lib/ip6tables |
125 |
newinitd "${FILESDIR}"/iptables-1.3.2.init ip6tables |
126 |
newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables |
127 |
} |