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.10.ebuild |
Date: | Sat, 30 Oct 2010 14:05:14 |
Message-Id: | 20101030140509.9961A20051@flycatcher.gentoo.org |
1 | pva 10/10/30 14:05:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: iptables-1.4.10.ebuild |
5 | Log: |
6 | Version bump. Dropped --as-needed hack from ebuild as better solution is upstream now. Remove .la files. |
7 | |
8 | (Portage version: 2.1.9.22/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.226 net-firewall/iptables/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.226&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.226&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?r1=1.225&r2=1.226 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v |
20 | retrieving revision 1.225 |
21 | retrieving revision 1.226 |
22 | diff -u -r1.225 -r1.226 |
23 | --- ChangeLog 6 Sep 2010 20:51:27 -0000 1.225 |
24 | +++ ChangeLog 30 Oct 2010 14:05:09 -0000 1.226 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-firewall/iptables |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.225 2010/09/06 20:51:27 ranger Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.226 2010/10/30 14:05:09 pva Exp $ |
30 | + |
31 | +*iptables-1.4.10 (30 Oct 2010) |
32 | + |
33 | + 30 Oct 2010; Peter Volkov <pva@g.o> +iptables-1.4.10.ebuild: |
34 | + Version bump. Dropped --as-needed hack from ebuild as better solution is |
35 | + upstream now. Remove .la files. |
36 | |
37 | 06 Sep 2010; Brent Baude <ranger@g.o> iptables-1.4.6.ebuild: |
38 | Marking iptables-1.4.6 ppc64 for bug 318531 |
39 | |
40 | |
41 | |
42 | 1.1 net-firewall/iptables/iptables-1.4.10.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.10.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.10.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: iptables-1.4.10.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 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.10.ebuild,v 1.1 2010/10/30 14:05:09 pva Exp $ |
52 | |
53 | EAPI="2" |
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" |
68 | |
69 | DEPEND="virtual/os-headers" |
70 | RDEPEND="" |
71 | |
72 | src_prepare() { |
73 | # Only run autotools if user patched something |
74 | epatch_user && eautoreconf || elibtoolize |
75 | } |
76 | |
77 | src_configure() { |
78 | econf \ |
79 | --sbindir=/sbin \ |
80 | --libexecdir=/$(get_libdir) \ |
81 | --enable-devel \ |
82 | --enable-libipq \ |
83 | --enable-shared \ |
84 | --enable-static \ |
85 | $(use_enable ipv6) |
86 | } |
87 | |
88 | src_compile() { |
89 | emake V=1 || die |
90 | } |
91 | |
92 | src_install() { |
93 | emake install DESTDIR="${D}" || die |
94 | dosbin iptables-apply || die |
95 | doman iptables-apply.8 || die |
96 | dodoc INCOMPATIBILITIES iptables.xslt || die |
97 | |
98 | insinto /usr/include |
99 | doins include/iptables.h $(use ipv6 && echo include/ip6tables.h) || die |
100 | insinto /usr/include/iptables |
101 | doins include/iptables/internal.h || die |
102 | |
103 | keepdir /var/lib/iptables |
104 | newinitd "${FILESDIR}"/${PN}-1.3.2.init iptables || die |
105 | newconfd "${FILESDIR}"/${PN}-1.3.2.confd iptables || die |
106 | if use ipv6 ; then |
107 | keepdir /var/lib/ip6tables |
108 | newinitd "${FILESDIR}"/iptables-1.3.2.init ip6tables || die |
109 | newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables || die |
110 | fi |
111 | |
112 | # Move important libs to /lib |
113 | gen_usr_ldscript -a ip{4,6}tc ipq iptc xtables |
114 | find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" |
115 | } |