1 |
pva 07/11/05 14:23:32 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: ipset-2.3.0.20070828.ebuild |
5 |
Log: |
6 |
Version bump. Added myself in metadata. Added emerge --config to patch the kernel. |
7 |
(Portage version: 2.1.3.17) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 net-firewall/ipset/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 12 Apr 2007 18:37:15 -0000 1.10 |
23 |
+++ ChangeLog 5 Nov 2007 14:23:31 -0000 1.11 |
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.10 2007/04/12 18:37:15 genstef Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.11 2007/11/05 14:23:31 pva Exp $ |
29 |
+ |
30 |
+*ipset-2.3.0.20070828 (05 Nov 2007) |
31 |
+ |
32 |
+ 05 Nov 2007; <pva@g.o> metadata.xml, +ipset-2.3.0.20070828.ebuild: |
33 |
+ Version bump. Added myself in metadata. Added emerge --config to patch the |
34 |
+ kernel. |
35 |
|
36 |
12 Apr 2007; Stefan Schweizer <genstef@g.o> |
37 |
-ipset-2.1.0.20050119.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.2 net-firewall/ipset/metadata.xml |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/metadata.xml?rev=1.2&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/metadata.xml?rev=1.2&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/metadata.xml?r1=1.1&r2=1.2 |
46 |
|
47 |
Index: metadata.xml |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipset/metadata.xml,v |
50 |
retrieving revision 1.1 |
51 |
retrieving revision 1.2 |
52 |
diff -u -r1.1 -r1.2 |
53 |
--- metadata.xml 10 Mar 2005 09:56:57 -0000 1.1 |
54 |
+++ metadata.xml 5 Nov 2007 14:23:31 -0000 1.2 |
55 |
@@ -5,4 +5,7 @@ |
56 |
<maintainer> |
57 |
<email>robbat2@g.o</email> |
58 |
</maintainer> |
59 |
+<maintainer> |
60 |
+ <email>pva@g.o</email> |
61 |
+</maintainer> |
62 |
</pkgmetadata> |
63 |
|
64 |
|
65 |
|
66 |
1.1 net-firewall/ipset/ipset-2.3.0.20070828.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ipset-2.3.0.20070828.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ipset-2.3.0.20070828.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: ipset-2.3.0.20070828.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2007 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-2.3.0.20070828.ebuild,v 1.1 2007/11/05 14:23:31 pva Exp $ |
76 |
|
77 |
inherit eutils versionator toolchain-funcs |
78 |
|
79 |
POM_PV="20071021" |
80 |
|
81 |
MY_PV=$(replace_version_separator 3 -) |
82 |
DESCRIPTION="IPset userspace tool for iptables, successor to ippool." |
83 |
HOMEPAGE="http://ipset.netfilter.org/" |
84 |
SRC_URI="http://ipset.netfilter.org/${PN}-${MY_PV}.tar.bz2 |
85 |
http://ipset.netfilter.org/patch-o-matic-ng-${POM_PV}.tar.bz2" |
86 |
LICENSE="GPL-2" |
87 |
SLOT="0" |
88 |
KEYWORDS="~x86 ~amd64 ~ppc" |
89 |
IUSE="" |
90 |
RDEPEND=">=net-firewall/iptables-1.3" |
91 |
DEPEND="${RDEPEND}" |
92 |
S=${WORKDIR}/ipset-${MY_PV%-*} |
93 |
|
94 |
src_defs() { |
95 |
# these are used in both of src_compile and src_install |
96 |
myconf="${myconf} PREFIX=" |
97 |
myconf="${myconf} LIBDIR=/lib" |
98 |
myconf="${myconf} BINDIR=/sbin" |
99 |
myconf="${myconf} MANDIR=/usr/share/man" |
100 |
myconf="${myconf} INCDIR=/usr/include" |
101 |
myconf="${myconf} KERNEL_DIR=${WORKDIR}/patch-o-matic-ng/patchlets/set/linux-2.6" |
102 |
export myconf |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
src_defs |
107 |
emake CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" ${myconf} || die "failed to build" |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
src_defs |
112 |
emake DESTDIR="${D}" ${myconf} install || die "failed to package" |
113 |
} |
114 |
|
115 |
pkg_postinst() { |
116 |
elog "To use ${PN} you must have the ip_set kernel module compiled!" |
117 |
elog "To patch your kernel run:" |
118 |
elog |
119 |
elog " # emerge --config ipset" |
120 |
elog |
121 |
elog "And follow on-screen instructions." |
122 |
} |
123 |
|
124 |
pkg_config() { |
125 |
cd "${ROOT}${PORTAGE_TMPDIR}" |
126 |
mkdir patch-o-matic-ng |
127 |
cd patch-o-matic-ng |
128 |
|
129 |
IPTVERINS=`echo $(best_version net-firewall/iptables) | \ |
130 |
sed -n 's:^[^/]*/[[:alpha:]]*-\([0-9]\+\([.][0-9]\+\)*[a-z]\?\(_\(pre\|p\|beta\|alpha\|rc\)[0-9]*\)*\)\(-r[0-9]\+\)\?$:\1:p'` |
131 |
|
132 |
einfo "Unpacking patch-o-matic-ng-${POM_PV}" |
133 |
tar -jxf "${DISTDIR}"/patch-o-matic-ng-${POM_PV}.tar.bz2 || \ |
134 |
die "Unable to unpack patch-o-matic-ng-${POM_PV}" |
135 |
einfo "Unpacking iptables-${IPTVERINS}" |
136 |
tar -jxf "${DISTDIR}"/iptables-${IPTVERINS}.tar.bz2 || \ |
137 |
die "Unable to unpack iptables-${IPTVERINS}.tar.bz2" |
138 |
|
139 |
cd patch-o-matic-ng |
140 |
einfo "Enter path to your kernel sources, relative to ${ROOT}" |
141 |
echo -n "[/usr/src/linux]: " |
142 |
read K_DIR |
143 |
[ "${ROOT}${K_DIR}" == "/" ] && K_DIR=${ROOT}/usr/src/linux |
144 |
if [ -d "${K_DIR}" ] ; then |
145 |
pwd |
146 |
einfo "Running KERNEL_DIR=${K_DIR} IPTABLES_DIR=../iptables-${IPTVERINS} ./runme set" |
147 |
KERNEL_DIR=${K_DIR} IPTABLES_DIR=../iptables-${IPTVERINS} ./runme set |
148 |
else |
149 |
eerror "${K_DIR} is not a directory" |
150 |
fi |
151 |
|
152 |
rm -rf "${ROOT}${PORTAGE_TMPDIR}"/patch-o-matic-ng |
153 |
} |
154 |
|
155 |
|
156 |
|
157 |
-- |
158 |
gentoo-commits@g.o mailing list |