Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/iptables: ChangeLog iptables-1.4.19.1.ebuild
Date: Sat, 01 Jun 2013 02:21:46
Message-Id: 20130601022140.2ACBF2171E@flycatcher.gentoo.org
1 radhermit 13/06/01 02:21:40
2
3 Modified: ChangeLog
4 Added: iptables-1.4.19.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.292 net-firewall/iptables/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.292&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.292&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?r1=1.291&r2=1.292
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v
20 retrieving revision 1.291
21 retrieving revision 1.292
22 diff -u -r1.291 -r1.292
23 --- ChangeLog 27 Apr 2013 21:44:41 -0000 1.291
24 +++ ChangeLog 1 Jun 2013 02:21:39 -0000 1.292
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-firewall/iptables
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.291 2013/04/27 21:44:41 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.292 2013/06/01 02:21:39 radhermit Exp $
30 +
31 +*iptables-1.4.19.1 (01 Jun 2013)
32 +
33 + 01 Jun 2013; Tim Harder <radhermit@g.o> +iptables-1.4.19.1.ebuild:
34 + Version bump.
35
36 *iptables-1.4.18 (27 Apr 2013)
37
38
39
40
41 1.1 net-firewall/iptables/iptables-1.4.19.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.19.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.19.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: iptables-1.4.19.1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.19.1.ebuild,v 1.1 2013/06/01 02:21:40 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.netfilter.org/projects/iptables/"
61 SRC_URI="http://www.netfilter.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 virtual/pkgconfig
74 "
75
76 src_prepare() {
77 # use the saner headers from the kernel
78 rm -f include/linux/{kernel,types}.h
79
80 # Only run autotools if user patched something
81 epatch_user && eautoreconf || elibtoolize
82 }
83
84 src_configure() {
85 # Some libs use $(AR) rather than libtool to build #444282
86 tc-export AR
87
88 sed -i \
89 -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \
90 configure || die
91
92 econf \
93 --sbindir="${EPREFIX}/sbin" \
94 --libexecdir="${EPREFIX}/$(get_libdir)" \
95 --enable-devel \
96 --enable-shared \
97 $(use_enable static-libs static) \
98 $(use_enable ipv6)
99 }
100
101 src_compile() {
102 emake V=1
103 }
104
105 src_install() {
106 default
107 dodoc INCOMPATIBILITIES iptables/iptables.xslt
108
109 # all the iptables binaries are in /sbin, so might as well
110 # put these small files in with them
111 into /
112 dosbin iptables/iptables-apply
113 dosym iptables-apply /sbin/ip6tables-apply
114 doman iptables/iptables-apply.8
115
116 insinto /usr/include
117 doins include/iptables.h $(use ipv6 && echo include/ip6tables.h)
118 insinto /usr/include/iptables
119 doins include/iptables/internal.h
120
121 keepdir /var/lib/iptables
122 newinitd "${FILESDIR}"/${PN}-1.4.13-r1.init iptables
123 newconfd "${FILESDIR}"/${PN}-1.4.13.confd iptables
124 if use ipv6 ; then
125 keepdir /var/lib/ip6tables
126 newinitd "${FILESDIR}"/iptables-1.4.13-r1.init ip6tables
127 newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables
128 fi
129
130 # Move important libs to /lib
131 gen_usr_ldscript -a ip{4,6}tc iptc xtables
132
133 prune_libtool_files
134 }