1 |
pva 11/09/03 13:25:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: iptables-1.4.12.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.248 net-firewall/iptables/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.248&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.248&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?r1=1.247&r2=1.248 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v |
20 |
retrieving revision 1.247 |
21 |
retrieving revision 1.248 |
22 |
diff -u -r1.247 -r1.248 |
23 |
--- ChangeLog 28 Aug 2011 15:57:32 -0000 1.247 |
24 |
+++ ChangeLog 3 Sep 2011 13:25:06 -0000 1.248 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-firewall/iptables |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.247 2011/08/28 15:57:32 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.248 2011/09/03 13:25:06 pva Exp $ |
30 |
+ |
31 |
+*iptables-1.4.12.1 (03 Sep 2011) |
32 |
+ |
33 |
+ 03 Sep 2011; Peter Volkov <pva@g.o> +iptables-1.4.12.1.ebuild, |
34 |
+ +files/iptables-1.4.12.1-lm.patch: |
35 |
+ Version bump. |
36 |
|
37 |
28 Aug 2011; Raúl Porcel <armin76@g.o> iptables-1.4.11.1-r2.ebuild: |
38 |
alpha/ia64/m68k/s390/sh/sparc stable wrt #376881 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-firewall/iptables/iptables-1.4.12.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.12.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.12.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: iptables-1.4.12.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.12.1.ebuild,v 1.1 2011/09/03 13:25:06 pva Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
|
55 |
# Force users doing their own patches to install their own tools |
56 |
AUTOTOOLS_AUTO_DEPEND=no |
57 |
|
58 |
inherit eutils toolchain-funcs autotools |
59 |
|
60 |
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
61 |
HOMEPAGE="http://www.iptables.org/" |
62 |
SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
67 |
IUSE="ipv6 netlink" |
68 |
|
69 |
COMMON_DEPEND=" |
70 |
netlink? ( net-libs/libnfnetlink ) |
71 |
" |
72 |
DEPEND=" |
73 |
${COMMON_DEPEND} |
74 |
virtual/os-headers |
75 |
sys-devel/automake |
76 |
" |
77 |
RDEPEND=" |
78 |
${COMMON_DEPEND} |
79 |
" |
80 |
|
81 |
src_prepare() { |
82 |
epatch "${FILESDIR}/iptables-1.4.12.1-lm.patch" |
83 |
eautomake |
84 |
|
85 |
# Only run autotools if user patched something |
86 |
epatch_user && eautoreconf || elibtoolize |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
sed -i \ |
91 |
-e "/nfnetlink=[01]/s:=[01]:=$(use netlink && echo 1 || echo 0):" \ |
92 |
configure || die |
93 |
econf \ |
94 |
--sbindir=/sbin \ |
95 |
--libexecdir=/$(get_libdir) \ |
96 |
--enable-devel \ |
97 |
--enable-libipq \ |
98 |
--enable-shared \ |
99 |
--enable-static \ |
100 |
$(use_enable ipv6) |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
emake V=1 |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
emake install DESTDIR="${D}" |
109 |
dodoc INCOMPATIBILITIES iptables/iptables.xslt |
110 |
|
111 |
# all the iptables binaries are in /sbin, so might as well |
112 |
# put these small files in with them |
113 |
into / |
114 |
dosbin iptables/iptables-apply |
115 |
dosym iptables-apply /sbin/ip6tables-apply |
116 |
doman iptables/iptables-apply.8 |
117 |
|
118 |
insinto /usr/include |
119 |
doins include/iptables.h $(use ipv6 && echo include/ip6tables.h) |
120 |
insinto /usr/include/iptables |
121 |
doins include/iptables/internal.h |
122 |
|
123 |
keepdir /var/lib/iptables |
124 |
newinitd "${FILESDIR}"/${PN}-1.4.11.init iptables |
125 |
newconfd "${FILESDIR}"/${PN}-1.3.2.confd iptables |
126 |
if use ipv6 ; then |
127 |
keepdir /var/lib/ip6tables |
128 |
newinitd "${FILESDIR}"/iptables-1.4.11.init ip6tables |
129 |
newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables |
130 |
fi |
131 |
|
132 |
# Move important libs to /lib |
133 |
gen_usr_ldscript -a ip{4,6}tc ipq iptc xtables |
134 |
find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" |
135 |
} |