Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/ipset: ChangeLog ipset-2.3.1.20080612.ebuild
Date: Wed, 25 Jun 2008 03:19:59
Message-Id: E1KBLXz-0007Jn-LH@stork.gentoo.org
1 robbat2 08/06/25 03:19:51
2
3 Modified: ChangeLog
4 Added: ipset-2.3.1.20080612.ebuild
5 Log:
6 Version bump per bug #226155.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc4-00103-g1beee8d x86_64)
8
9 Revision Changes Path
10 1.16 net-firewall/ipset/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -p -w -b -B -u -u -r1.15 -r1.16
22 --- ChangeLog 14 Nov 2007 05:50:21 -0000 1.15
23 +++ ChangeLog 25 Jun 2008 03:19:51 -0000 1.16
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-firewall/ipset
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.15 2007/11/14 05:50:21 pva Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.16 2008/06/25 03:19:51 robbat2 Exp $
30 +
31 +*ipset-2.3.1.20080612 (25 Jun 2008)
32 +
33 + 25 Jun 2008; Robin H. Johnson <robbat2@g.o>
34 + +ipset-2.3.1.20080612.ebuild:
35 + Version bump per bug #226155.
36
37 *ipset-2.3.0.20070828-r2 (14 Nov 2007)
38
39
40
41
42 1.1 net-firewall/ipset/ipset-2.3.1.20080612.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ipset-2.3.1.20080612.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ipset-2.3.1.20080612.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ipset-2.3.1.20080612.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-2.3.1.20080612.ebuild,v 1.1 2008/06/25 03:19:51 robbat2 Exp $
52
53 inherit eutils versionator toolchain-funcs
54
55 POM_PV="20080617"
56
57 MY_PV="$(replace_version_separator 3 - "${PV/p/}")"
58 DESCRIPTION="IPset userspace tool for iptables, successor to ippool."
59 HOMEPAGE="http://ipset.netfilter.org/"
60 SRC_URI="http://ipset.netfilter.org/${PN}-${MY_PV}.tar.bz2
61 http://ipset.netfilter.org/patch-o-matic-ng-${POM_PV}.tar.bz2"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~x86 ~amd64 ~ppc"
65 IUSE=""
66 RDEPEND=">=net-firewall/iptables-1.4"
67 DEPEND="${RDEPEND}"
68 S=${WORKDIR}/ipset-${MY_PV%-*}
69
70 pkg_setup() {
71 myconf="${myconf} PREFIX="
72 myconf="${myconf} LIBDIR=/$(get_libdir)"
73 myconf="${myconf} BINDIR=/sbin"
74 myconf="${myconf} MANDIR=/usr/share/man"
75 myconf="${myconf} INCDIR=/usr/include"
76 myconf="${myconf} KERNEL_DIR=${WORKDIR}/patch-o-matic-ng/patchlets/set/linux-2.6"
77 }
78
79 src_compile() {
80 emake CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" ${myconf} || die "failed to build"
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" ${myconf} install || die "failed to package"
85 }
86
87 pkg_postinst() {
88 elog "To use ${PN} you must have the ip_set kernel module compiled!"
89 elog "To patch you kernel run:"
90 elog
91 elog " # emerge --config ipset"
92 elog
93 elog "And follow on-screen instructions"
94 }
95
96 pkg_config() {
97 cd "${ROOT}${PORTAGE_TMPDIR}"
98 [ -d patch-o-matic-ng ] && {
99 einfo "${ROOT}${PORTAGE_TMPDIR}/patch-o-matic-ng directory exist. Cleaning it..." ;
100 rm -rf patch-o-matic-ng;
101 }
102 mkdir patch-o-matic-ng && cd patch-o-matic-ng
103
104 IPTVERINS=`echo $(best_version net-firewall/iptables) | \
105 sed -n 's:^[^/]*/[[:alpha:]]*-\([0-9]\+\([.][0-9]\+\)*[a-z]\?\(_\(pre\|p\|beta\|alpha\|rc\)[0-9]*\)*\)\(-r[0-9]\+\)\?$:\1:p'`
106
107 einfo "Unpacking patch-o-matic-ng-${POM_PV} and iptables-${IPTVERINS} sources"
108 unpack {patch-o-matic-ng-${POM_PV},iptables-${IPTVERINS}}.tar.bz2
109
110 einfo "I'm going to patch sources in ${ROOT}usr/src/linux"
111 cd patch-o-matic-ng
112 KERNEL_DIR="${ROOT}"usr/src/linux IPTABLES_DIR=../iptables-${IPTVERINS} ./runme set
113
114 einfo "Cleaning ${ROOT}${PORTAGE_TMPDIR}/patch-o-matic-ng directory"
115 rm -rf "${ROOT}${PORTAGE_TMPDIR}"/patch-o-matic-ng
116 }
117
118
119
120 --
121 gentoo-commits@l.g.o mailing list