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