summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-11-05 14:23:32 +0000
committerPeter Volkov <pva@gentoo.org>2007-11-05 14:23:32 +0000
commit789234a8368a798e075767894a4ff111e072e7f9 (patch)
tree7c679b802655a1e4410ea6f902c0ec1452b42b49 /net-firewall/ipset
parentia64 stable wrt #197693 (diff)
downloadhistorical-789234a8368a798e075767894a4ff111e072e7f9.tar.gz
historical-789234a8368a798e075767894a4ff111e072e7f9.tar.bz2
historical-789234a8368a798e075767894a4ff111e072e7f9.zip
Version bump. Added myself in metadata. Added emerge --config to patch the kernel.
Package-Manager: portage-2.1.3.17
Diffstat (limited to 'net-firewall/ipset')
-rw-r--r--net-firewall/ipset/ChangeLog8
-rw-r--r--net-firewall/ipset/Manifest25
-rw-r--r--net-firewall/ipset/files/digest-ipset-2.3.0.200708286
-rw-r--r--net-firewall/ipset/ipset-2.3.0.20070828.ebuild81
-rw-r--r--net-firewall/ipset/metadata.xml3
5 files changed, 114 insertions, 9 deletions
diff --git a/net-firewall/ipset/ChangeLog b/net-firewall/ipset/ChangeLog
index f4c3c928d3ea..871dc702f4f4 100644
--- a/net-firewall/ipset/ChangeLog
+++ b/net-firewall/ipset/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/ipset
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.10 2007/04/12 18:37:15 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.11 2007/11/05 14:23:31 pva Exp $
+
+*ipset-2.3.0.20070828 (05 Nov 2007)
+
+ 05 Nov 2007; <pva@gentoo.org> metadata.xml, +ipset-2.3.0.20070828.ebuild:
+ Version bump. Added myself in metadata. Added emerge --config to patch the
+ kernel.
12 Apr 2007; Stefan Schweizer <genstef@gentoo.org>
-ipset-2.1.0.20050119.ebuild:
diff --git a/net-firewall/ipset/Manifest b/net-firewall/ipset/Manifest
index b0efa7afb334..e089e4fd3509 100644
--- a/net-firewall/ipset/Manifest
+++ b/net-firewall/ipset/Manifest
@@ -1,8 +1,10 @@
DIST ipset-2.1.0-20050119.tar.bz2 23821 RMD160 315f62e029237beb328dab54e28a0178f6b91ea0 SHA1 87c02d754d274d80c987021be4318924721c7641 SHA256 23cfac9c5f08453f3b3567adc4ed4c3d4055da6f25be56c251eb7785e81aa8a6
DIST ipset-2.2.8-20051203.tar.bz2 27392 RMD160 dfccbfd3d20e142b7777d4b35bd7472362a7aea8 SHA1 d38c7a86c4d5731c0fa52dab4a838772684e75b0 SHA256 5396ac8b164b9a00511f68833a5e4f572dce972f881e6da13a6175ff49c33e63
DIST ipset-2.2.9-20060508.tar.bz2 27530 RMD160 c300304303c5f52eeff156a1900cccf1c1b2f7e0 SHA1 053addb8595da7fc1c0953eece8d6921344ed5fa SHA256 09fe3e64e2715792dbd24f9e37b78cc0a66963ca226dc94f75f8b55dac5cb3d2
+DIST ipset-2.3.0-20070828.tar.bz2 29442 RMD160 f87edd407fdda85d8fefb8ca31865a22a65753a4 SHA1 b831b0a0f6a7987b2eda8f7b1545da8b191673e8 SHA256 216f9bc128c2d0afab549baf1586ab9f2359e32fd1ccfe5ed0dc57e193d8f66a
DIST ipset-20070401.tar.bz2 28279 RMD160 a51faccf276b5c90a83de1e3a0c5af9d2a93975e SHA1 b2ac74384513f4c235bb55e02dc6931f501dd9d5 SHA256 0a0c8b96c979148d652bc4b9b6ce601144abecc8c3aceba50f898c58edab1c90
DIST patch-o-matic-ng-20070401.tar.bz2 142585 RMD160 34e5c2ad672b7384867d2953bc889c9526ebb754 SHA1 b8cad77065a97d3fd8f1740fd75736eac2c0117f SHA256 8176cfdc36bcf015a2a662589e96bdf23d85240c8ef1f14cad76eb08777700f0
+DIST patch-o-matic-ng-20071021.tar.bz2 136199 RMD160 3e211f5a2c930d582d0d7e4d47b1f6313b68e302 SHA1 303295dc853dd3947ae4e2c98c3b1ab69c276cf8 SHA256 558d3f1cb35e92faedc067bb34073f77db065c7a5c88ce1d4d6ea5588266e3ae
EBUILD ipset-2.1.0.20050119-r1.ebuild 1608 RMD160 839b3367269ec00d5d7dfa12a337835e1c4fb361 SHA1 1de1c73ee077c41dc0d3890bcd4ad31e350d0c7d SHA256 f8ceb257ea4baba233dec0669e3a7ff09cf29a21db60ece251c5223df57f50f7
MD5 81097c0394419fcc18c0d10d5e11bca7 ipset-2.1.0.20050119-r1.ebuild 1608
RMD160 839b3367269ec00d5d7dfa12a337835e1c4fb361 ipset-2.1.0.20050119-r1.ebuild 1608
@@ -19,14 +21,18 @@ EBUILD ipset-2.2.9.20070401.ebuild 1346 RMD160 6150cf7a7e2b1dd66d1f947b4e48b85dd
MD5 405f1e9b55c952085c202bd7d5f6d6b2 ipset-2.2.9.20070401.ebuild 1346
RMD160 6150cf7a7e2b1dd66d1f947b4e48b85ddec19074 ipset-2.2.9.20070401.ebuild 1346
SHA256 f98e5e539450767affeb439197d8441f4956943a6314b1938ef1d8e687dd11a5 ipset-2.2.9.20070401.ebuild 1346
-MISC ChangeLog 2080 RMD160 2c48cad48f5bc395d5c062fae581533f2fbae0e7 SHA1 3bd455d226989f1bdf9f729f9d089dd2ffcb1a6b SHA256 b6ac21017bec4070cc57565fb2dc364c49691cb251a707c910976624e04881a0
-MD5 70e74fb9216def95a7789406351db35c ChangeLog 2080
-RMD160 2c48cad48f5bc395d5c062fae581533f2fbae0e7 ChangeLog 2080
-SHA256 b6ac21017bec4070cc57565fb2dc364c49691cb251a707c910976624e04881a0 ChangeLog 2080
-MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
-MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
-RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223
-SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223
+EBUILD ipset-2.3.0.20070828.ebuild 2564 RMD160 0849a77943d7269b66f2555975b444b16add4cd3 SHA1 bb3359262ba71c7621c4f6ba669a80c0224a396f SHA256 f777f1406d506cea5e59ec6bcb2c40844f8290e9377c8422a77a80c33b27809d
+MD5 90a842122cbad6d535f8e53204dca269 ipset-2.3.0.20070828.ebuild 2564
+RMD160 0849a77943d7269b66f2555975b444b16add4cd3 ipset-2.3.0.20070828.ebuild 2564
+SHA256 f777f1406d506cea5e59ec6bcb2c40844f8290e9377c8422a77a80c33b27809d ipset-2.3.0.20070828.ebuild 2564
+MISC ChangeLog 2277 RMD160 dc41f53fd902101219044115e2fc3867245fbc76 SHA1 b30cbcb113679ce5e1912cfbc781e956dbd6d5d3 SHA256 b529c426dc39fefe522d0fb150f39e44dca875a7412e74c2e4eb533dbdd9f8ee
+MD5 a1f65e4621888a9dbb50ac427de9cf9c ChangeLog 2277
+RMD160 dc41f53fd902101219044115e2fc3867245fbc76 ChangeLog 2277
+SHA256 b529c426dc39fefe522d0fb150f39e44dca875a7412e74c2e4eb533dbdd9f8ee ChangeLog 2277
+MISC metadata.xml 282 RMD160 aa8f4511de4ce6c391a019bfe77d4fbb42d0abb6 SHA1 721fca55a38262a0101e2e6680443986c27a681d SHA256 f4824882e12d63f3488e08077df95b12dca429a0275b82c541e4098527773fa5
+MD5 8ab2c0902840e20d96a96d223a570b79 metadata.xml 282
+RMD160 aa8f4511de4ce6c391a019bfe77d4fbb42d0abb6 metadata.xml 282
+SHA256 f4824882e12d63f3488e08077df95b12dca429a0275b82c541e4098527773fa5 metadata.xml 282
MD5 30f2b541893fab9277557175a8e43c7a files/digest-ipset-2.1.0.20050119-r1 262
RMD160 416753938043f7fdc05f788426279e0fdbf018e9 files/digest-ipset-2.1.0.20050119-r1 262
SHA256 e437a5e451004627651ac3c44adad37ac3deb662c74c5e781ebaa03d17fb92a5 files/digest-ipset-2.1.0.20050119-r1 262
@@ -39,3 +45,6 @@ SHA256 28db3f51d561e02a1289f4173e16482bf3164d1351f5b3f697fae44d229e5976 files/di
MD5 e93640bd1cc3f86407a6d26af74fe905 files/digest-ipset-2.2.9.20070401 524
RMD160 8418e33552f6f7c7af56ccba769603f97b98ce2c files/digest-ipset-2.2.9.20070401 524
SHA256 b3257e11fd72bbd917f4fc5a21f404bd40f17a32688a8956f894a12c62394ad4 files/digest-ipset-2.2.9.20070401 524
+MD5 0473a01f0eb88da8961a5e98781b826a files/digest-ipset-2.3.0.20070828 542
+RMD160 5a1449b3f42fb74279143ffa2438a13f6c5d3e01 files/digest-ipset-2.3.0.20070828 542
+SHA256 5147303c7b5a110de39f98a3acc167757c313e8249489b255da2205ff32ba9b2 files/digest-ipset-2.3.0.20070828 542
diff --git a/net-firewall/ipset/files/digest-ipset-2.3.0.20070828 b/net-firewall/ipset/files/digest-ipset-2.3.0.20070828
new file mode 100644
index 000000000000..8aefb0736d49
--- /dev/null
+++ b/net-firewall/ipset/files/digest-ipset-2.3.0.20070828
@@ -0,0 +1,6 @@
+MD5 9e17798dfd8ed87c63a1f3498f9fe64d ipset-2.3.0-20070828.tar.bz2 29442
+RMD160 f87edd407fdda85d8fefb8ca31865a22a65753a4 ipset-2.3.0-20070828.tar.bz2 29442
+SHA256 216f9bc128c2d0afab549baf1586ab9f2359e32fd1ccfe5ed0dc57e193d8f66a ipset-2.3.0-20070828.tar.bz2 29442
+MD5 71528acdf62d41316727c0763ca65750 patch-o-matic-ng-20071021.tar.bz2 136199
+RMD160 3e211f5a2c930d582d0d7e4d47b1f6313b68e302 patch-o-matic-ng-20071021.tar.bz2 136199
+SHA256 558d3f1cb35e92faedc067bb34073f77db065c7a5c88ce1d4d6ea5588266e3ae patch-o-matic-ng-20071021.tar.bz2 136199
diff --git a/net-firewall/ipset/ipset-2.3.0.20070828.ebuild b/net-firewall/ipset/ipset-2.3.0.20070828.ebuild
new file mode 100644
index 000000000000..52390ed4a5de
--- /dev/null
+++ b/net-firewall/ipset/ipset-2.3.0.20070828.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+inherit eutils versionator toolchain-funcs
+
+POM_PV="20071021"
+
+MY_PV=$(replace_version_separator 3 -)
+DESCRIPTION="IPset userspace tool for iptables, successor to ippool."
+HOMEPAGE="http://ipset.netfilter.org/"
+SRC_URI="http://ipset.netfilter.org/${PN}-${MY_PV}.tar.bz2
+ http://ipset.netfilter.org/patch-o-matic-ng-${POM_PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE=""
+RDEPEND=">=net-firewall/iptables-1.3"
+DEPEND="${RDEPEND}"
+S=${WORKDIR}/ipset-${MY_PV%-*}
+
+src_defs() {
+ # these are used in both of src_compile and src_install
+ myconf="${myconf} PREFIX="
+ myconf="${myconf} LIBDIR=/lib"
+ myconf="${myconf} BINDIR=/sbin"
+ myconf="${myconf} MANDIR=/usr/share/man"
+ myconf="${myconf} INCDIR=/usr/include"
+ myconf="${myconf} KERNEL_DIR=${WORKDIR}/patch-o-matic-ng/patchlets/set/linux-2.6"
+ export myconf
+}
+
+src_compile() {
+ src_defs
+ emake CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" ${myconf} || die "failed to build"
+}
+
+src_install() {
+ src_defs
+ emake DESTDIR="${D}" ${myconf} install || die "failed to package"
+}
+
+pkg_postinst() {
+ elog "To use ${PN} you must have the ip_set kernel module compiled!"
+ elog "To patch your kernel run:"
+ elog
+ elog " # emerge --config ipset"
+ elog
+ elog "And follow on-screen instructions."
+}
+
+pkg_config() {
+ cd "${ROOT}${PORTAGE_TMPDIR}"
+ mkdir patch-o-matic-ng
+ cd patch-o-matic-ng
+
+ IPTVERINS=`echo $(best_version net-firewall/iptables) | \
+ sed -n 's:^[^/]*/[[:alpha:]]*-\([0-9]\+\([.][0-9]\+\)*[a-z]\?\(_\(pre\|p\|beta\|alpha\|rc\)[0-9]*\)*\)\(-r[0-9]\+\)\?$:\1:p'`
+
+ einfo "Unpacking patch-o-matic-ng-${POM_PV}"
+ tar -jxf "${DISTDIR}"/patch-o-matic-ng-${POM_PV}.tar.bz2 || \
+ die "Unable to unpack patch-o-matic-ng-${POM_PV}"
+ einfo "Unpacking iptables-${IPTVERINS}"
+ tar -jxf "${DISTDIR}"/iptables-${IPTVERINS}.tar.bz2 || \
+ die "Unable to unpack iptables-${IPTVERINS}.tar.bz2"
+
+ cd patch-o-matic-ng
+ einfo "Enter path to your kernel sources, relative to ${ROOT}"
+ echo -n "[/usr/src/linux]: "
+ read K_DIR
+ [ "${ROOT}${K_DIR}" == "/" ] && K_DIR=${ROOT}/usr/src/linux
+ if [ -d "${K_DIR}" ] ; then
+ pwd
+ einfo "Running KERNEL_DIR=${K_DIR} IPTABLES_DIR=../iptables-${IPTVERINS} ./runme set"
+ KERNEL_DIR=${K_DIR} IPTABLES_DIR=../iptables-${IPTVERINS} ./runme set
+ else
+ eerror "${K_DIR} is not a directory"
+ fi
+
+ rm -rf "${ROOT}${PORTAGE_TMPDIR}"/patch-o-matic-ng
+}
diff --git a/net-firewall/ipset/metadata.xml b/net-firewall/ipset/metadata.xml
index 5d9f5be9d49d..f38b7dc9f3be 100644
--- a/net-firewall/ipset/metadata.xml
+++ b/net-firewall/ipset/metadata.xml
@@ -5,4 +5,7 @@
<maintainer>
<email>robbat2@gentoo.org</email>
</maintainer>
+<maintainer>
+ <email>pva@gentoo.org</email>
+</maintainer>
</pkgmetadata>