From a019bf7c57954901aff29f574a4834f3e6a49c85 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 10 Apr 2007 10:12:08 +0000 Subject: [PATCH] New version from upstream, bug #173218. Please note that while this version will compile without a patched kernel, you still need a patched kernel to use it!. Package-Manager: portage-2.1.2.3 --- net-firewall/ipset/ChangeLog | 12 ++++- net-firewall/ipset/Manifest | 17 +++++-- .../ipset/files/digest-ipset-2.2.9.20070401 | 6 +++ .../ipset/ipset-2.2.9.20070401.ebuild | 46 +++++++++++++++++++ 4 files changed, 75 insertions(+), 6 deletions(-) create mode 100644 net-firewall/ipset/files/digest-ipset-2.2.9.20070401 create mode 100644 net-firewall/ipset/ipset-2.2.9.20070401.ebuild diff --git a/net-firewall/ipset/ChangeLog b/net-firewall/ipset/ChangeLog index a415b2827616..1491f115cf93 100644 --- a/net-firewall/ipset/ChangeLog +++ b/net-firewall/ipset/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-firewall/ipset -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.8 2006/05/25 06:00:32 robbat2 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.9 2007/04/10 10:12:08 robbat2 Exp $ + +*ipset-2.2.9.20070401 (10 Apr 2007) + + 10 Apr 2007; Robin H. Johnson + +ipset-2.2.9.20070401.ebuild: + New version from upstream, bug #173218. Please note that while this version + will compile without a patched kernel, you still need a patched kernel to + use it!. *ipset-2.2.9.20060508 (25 May 2006) diff --git a/net-firewall/ipset/Manifest b/net-firewall/ipset/Manifest index 2527105d0a2a..1ddfc3644a36 100644 --- a/net-firewall/ipset/Manifest +++ b/net-firewall/ipset/Manifest @@ -1,6 +1,8 @@ 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-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 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 @@ -17,10 +19,14 @@ EBUILD ipset-2.2.9.20060508.ebuild 1625 RMD160 a9a8e6b79ceea4cd4c16b24b0c52e0919 MD5 7aae0c9d76bfe5b96aca741c8f4a1bde ipset-2.2.9.20060508.ebuild 1625 RMD160 a9a8e6b79ceea4cd4c16b24b0c52e09192cf562f ipset-2.2.9.20060508.ebuild 1625 SHA256 07b94e6583f45fd5a40fb3a8d93feed769b6e417cc914aa2f2be6cd0b41116bb ipset-2.2.9.20060508.ebuild 1625 -MISC ChangeLog 1653 RMD160 37fe7f2c5d0535d7485dcb2303fe8546bce585d5 SHA1 1fbc9ce66caeec94b486c850e2c3bb4b1b0fb452 SHA256 3744686b2418ce10676ad7831b2f7572da94ab69704dca7c50cad69177b8869b -MD5 cc089c2aabd325e1e80065110dc0c926 ChangeLog 1653 -RMD160 37fe7f2c5d0535d7485dcb2303fe8546bce585d5 ChangeLog 1653 -SHA256 3744686b2418ce10676ad7831b2f7572da94ab69704dca7c50cad69177b8869b ChangeLog 1653 +EBUILD ipset-2.2.9.20070401.ebuild 1351 RMD160 877b9870fb66b4d904cb273b0d00816f7dd6d6b0 SHA1 c54e7f0ff56721a880f75a0cbd9bebb0f38cdf1e SHA256 3b10eab93ffbe748bdcda5110e6808396e7cc91b93a6664392e69e9c6ef5c9c8 +MD5 dd77b88413b77566987dea762f4b8f29 ipset-2.2.9.20070401.ebuild 1351 +RMD160 877b9870fb66b4d904cb273b0d00816f7dd6d6b0 ipset-2.2.9.20070401.ebuild 1351 +SHA256 3b10eab93ffbe748bdcda5110e6808396e7cc91b93a6664392e69e9c6ef5c9c8 ipset-2.2.9.20070401.ebuild 1351 +MISC ChangeLog 1941 RMD160 e225d818412c381035975b9e9ab00bb6aed71789 SHA1 9ee4a1cdd70527feb10c163ff011dc706c734eba SHA256 648b9c929e9b68d05ea6392051b9c78fe287e29afc70fee266706a2333ca49b8 +MD5 2f19311c50131dc0b7efda3a275a26a1 ChangeLog 1941 +RMD160 e225d818412c381035975b9e9ab00bb6aed71789 ChangeLog 1941 +SHA256 648b9c929e9b68d05ea6392051b9c78fe287e29afc70fee266706a2333ca49b8 ChangeLog 1941 MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223 @@ -37,3 +43,6 @@ SHA256 d044355d3cac452599f833aa395257096bca99d3176363fe6663be030300e5e6 files/di MD5 00bc9e2fce1e1218097071b42968c53c files/digest-ipset-2.2.9.20060508 262 RMD160 17f16c5a04c2f3e0b9a05a3d7bb3f624da782a09 files/digest-ipset-2.2.9.20060508 262 SHA256 28db3f51d561e02a1289f4173e16482bf3164d1351f5b3f697fae44d229e5976 files/digest-ipset-2.2.9.20060508 262 +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 diff --git a/net-firewall/ipset/files/digest-ipset-2.2.9.20070401 b/net-firewall/ipset/files/digest-ipset-2.2.9.20070401 new file mode 100644 index 000000000000..b53a795bdca9 --- /dev/null +++ b/net-firewall/ipset/files/digest-ipset-2.2.9.20070401 @@ -0,0 +1,6 @@ +MD5 cdac11a1c348569f1d288bb18701ed7a ipset-20070401.tar.bz2 28279 +RMD160 a51faccf276b5c90a83de1e3a0c5af9d2a93975e ipset-20070401.tar.bz2 28279 +SHA256 0a0c8b96c979148d652bc4b9b6ce601144abecc8c3aceba50f898c58edab1c90 ipset-20070401.tar.bz2 28279 +MD5 da7d15be3b58649892148971b2bfdae7 patch-o-matic-ng-20070401.tar.bz2 142585 +RMD160 34e5c2ad672b7384867d2953bc889c9526ebb754 patch-o-matic-ng-20070401.tar.bz2 142585 +SHA256 8176cfdc36bcf015a2a662589e96bdf23d85240c8ef1f14cad76eb08777700f0 patch-o-matic-ng-20070401.tar.bz2 142585 diff --git a/net-firewall/ipset/ipset-2.2.9.20070401.ebuild b/net-firewall/ipset/ipset-2.2.9.20070401.ebuild new file mode 100644 index 000000000000..5647dc9fb49a --- /dev/null +++ b/net-firewall/ipset/ipset-2.2.9.20070401.ebuild @@ -0,0 +1,46 @@ +# 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.2.9.20070401.ebuild,v 1.1 2007/04/10 10:12:08 robbat2 Exp $ + +inherit eutils + +MY_PV="${PV/2.2.9.}" +MY_P="${PN}-${MY_PV}" +MY_P_POM="patch-o-matic-ng-${MY_PV}" +DESCRIPTION="IPset userspace tool for iptables, successor to ippool." +HOMEPAGE="http://ipset.netfilter.org/" +SRC_URI="http://ftp.netfilter.org/pub/ipset/snapshot/${MY_P}.tar.bz2 + http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/${MY_P_POM}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" +RDEPEND=">=net-firewall/iptables-1.3" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_P}" + + +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}/${MY_P_POM}/patchlets/set/linux-2.6" + export myconf +} + +src_compile() { + src_defs + emake 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 ${PF} you must have the ip_set kernel module compiled!" +} -- 2.26.2