summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-09-19 05:49:29 +0000
committerPeter Volkov <pva@gentoo.org>2011-09-19 05:49:29 +0000
commita7b4a5ae862385b838a9511fd21c3abc890c6763 (patch)
tree0666082b53be20a1148bdfc644e74992b9b95d19 /net-firewall
parentAdd ~x86-fbsd for 1.0.2a-r3 (diff)
downloadhistorical-a7b4a5ae862385b838a9511fd21c3abc890c6763.tar.gz
historical-a7b4a5ae862385b838a9511fd21c3abc890c6763.tar.bz2
historical-a7b4a5ae862385b838a9511fd21c3abc890c6763.zip
Drop old.
Package-Manager: portage-2.1.10.16/cvs/Linux x86_64
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/ipset/ChangeLog6
-rw-r--r--net-firewall/ipset/Manifest17
-rw-r--r--net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch21
-rw-r--r--net-firewall/ipset/ipset-4.4.ebuild101
-rw-r--r--net-firewall/ipset/ipset-6.7-r1.ebuild107
5 files changed, 6 insertions, 246 deletions
diff --git a/net-firewall/ipset/ChangeLog b/net-firewall/ipset/ChangeLog
index 88c5db2d1f6d..7078d2a478c1 100644
--- a/net-firewall/ipset/ChangeLog
+++ b/net-firewall/ipset/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/ipset
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.52 2011/09/16 13:26:44 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.53 2011/09/19 05:49:29 pva Exp $
+
+ 17 Sep 2011; Peter Volkov <pva@gentoo.org> -files/ipset-2.4.7-LDFLAGS.patch,
+ -ipset-4.4.ebuild, -ipset-6.7-r1.ebuild:
+ Drop old.
16 Sep 2011; Tony Vroon <chainsaw@gentoo.org> ipset-4.5.ebuild,
ipset-6.8.ebuild:
diff --git a/net-firewall/ipset/Manifest b/net-firewall/ipset/Manifest
index 03e2debd7a82..1c2da772aec6 100644
--- a/net-firewall/ipset/Manifest
+++ b/net-firewall/ipset/Manifest
@@ -1,23 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX ipset-2.4.7-LDFLAGS.patch 645 RMD160 93e2564e4c1138515a143fa9358d88b7f21f9a6a SHA1 213693f41ba7504b4485669b4f12cfa35f4380ba SHA256 3c64df05ecfcc361e92389e9c4e9a857be5b8097855311a7c3c7f6cf731f458a
-DIST ipset-4.4.tar.bz2 72636 RMD160 464de587beacab53f2ca6a73f5a081ddd0156d16 SHA1 fb86d8b00ed57e13b3ae8dd876f9b45995cabbf3 SHA256 19bb07a39d6c1e705cc0715e9e3ed07f450bc4869e2534169cfd7be59271bfd9
DIST ipset-4.5.tar.bz2 72428 RMD160 eb986eee5daa5f49be5df0eeb7f09c595b415ee1 SHA1 696a5cd96459c8fb028f0dfb9927a5c4f183d28b SHA256 f94200f39398f90b60633b5fa45f0c327d5915e2c5a68e6c90fcb8ea13be6994
-DIST ipset-6.7.tar.bz2 121850 RMD160 3a55f03e6d3a81cd6a721cb8c8c4e4ff08aeac0c SHA1 968bc0e9f1bd248333a4483e5cb2c57cd1788454 SHA256 2422f35020d943729832e74cc1f4d88074f1b8d6f1430d4d492d6f7493cf3f24
DIST ipset-6.8.tar.bz2 122954 RMD160 94ee3177540743153013b04e560839596dde1aad SHA1 0f4abb79fe8a65088f687e8a274aaddb542bc86a SHA256 d7b499ee961cd92ba5f0f698e5de49909d8b2c6697ff5aea3a1535e183f9b809
DIST ipset-6.9.1.tar.bz2 123268 RMD160 068e5e37e761374089e53815b0ddca9ffd1894bb SHA1 781d5ad6a9e4d5bf6f8ccad3dfee8a578ed06c2a SHA256 db099044022f767046ec89c77de01ad6f0faf7f50f8f42b886c3c71ac5994abe
-EBUILD ipset-4.4.ebuild 2842 RMD160 f5ffe005565e60e51e8f5560ca9cf57284ff9b4f SHA1 e878ddbf78b3d15d45a23e0ea21ba9ac3c4e4ad3 SHA256 7d7df9f7ca95b31107e88bb35a3b31fa12857e2ed8552371e2f5fcd5457819a6
EBUILD ipset-4.5.ebuild 2840 RMD160 bae015ed7f806cee6c6c8cb411815afff8bdfae4 SHA1 94cd6b8724e0f403f5d9969cd2de4a5ac2ab1abf SHA256 96e2d91d9a1f27abe2e44f380705536e4894fd27e4c9a684ebd4540d24da0ca0
-EBUILD ipset-6.7-r1.ebuild 3006 RMD160 851a5f73daec32601024320b2705e1bc66743d6b SHA1 22ec5612ac7f4f6f9fddd4e0a4e3593100f1a6ab SHA256 0b25ee458be99655bc2004af8f73f96bcd6d2f6d25d1e8dd3b32e9805fbb6144
EBUILD ipset-6.8.ebuild 3250 RMD160 6e9ffa7ff745b7a0ae2053222f449d1553cb5f32 SHA1 e8efe33efc46bec20d20cf33b34e9aa124ae0660 SHA256 adc276a151d484a522464376d127cd4437acdef5bd7a871fcea79c65fa7a1c9c
EBUILD ipset-6.9.1.ebuild 3249 RMD160 4a32a1a7ceb39a8a986d4e1f0217799522185ee0 SHA1 e63a469a55f3b60191822e09d21b4def1e16b7c9 SHA256 990e629564a4849fb8aafb3344d11132298d3bb20b0653ff28b2b145dec750c5
-MISC ChangeLog 9219 RMD160 d8318db78740eed7e0bd75585667ad586e9679da SHA1 319b48fafa89d9b813fe9c9495a49d43a3401784 SHA256 504466321c83a1841c92606208d9c46fa284ae7d7f56674e5637eddeaae1cd58
+MISC ChangeLog 9349 RMD160 70ec8349cc8cedeea0afa642cf314ab2b4b400e8 SHA1 63bc8178321643ed5775b4ca6ef7645acc6cd3b0 SHA256 2f6f5858db880b3fafc27cfa3c332a6cb67c466779792c0908a49224e897c4b8
MISC metadata.xml 282 RMD160 aa8f4511de4ce6c391a019bfe77d4fbb42d0abb6 SHA1 721fca55a38262a0101e2e6680443986c27a681d SHA256 f4824882e12d63f3488e08077df95b12dca429a0275b82c541e4098527773fa5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iEYEARECAAYFAk5zTp8ACgkQp5vW4rUFj5qfWgCgo7Rwo08vSl6hxKmToKIWGlWk
-uCsAniLSJ3fAfWDVzyHqRzwAQv1e9yYd
-=EEvH
------END PGP SIGNATURE-----
diff --git a/net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch b/net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch
deleted file mode 100644
index 9f8bcaf9e22f..000000000000
--- a/net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-=== modified file 'Makefile'
---- Makefile 2009-01-30 16:53:06 +0000
-+++ Makefile 2009-01-30 20:13:44 +0000
-@@ -105,14 +105,14 @@
- $(CC) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $<
-
- ipset: ipset.o
-- $(CC) $(CFLAGS) -rdynamic -o $@ $^ -ldl
-+ $(CC) $(CFLAGS) $(LDFLAGS) -rdynamic -o $@ $^ -ldl
-
- #Pooltypes
- ipset_%.o: ipset_%.c ipset.h
- $(CC) $(SH_CFLAGS) -o $@ -c $<
-
- libipset_%.so: ipset_%.o
-- $(CC) -shared -o $@ $<
-+ $(CC) -shared $(LDFLAGS) -o $@ $<
-
- $(DESTDIR)$(LIBDIR)/ipset/libipset_%.so: libipset_%.so
- @[ -d $(DESTDIR)$(LIBDIR)/ipset ] || mkdir -p $(DESTDIR)$(LIBDIR)/ipset
-
diff --git a/net-firewall/ipset/ipset-4.4.ebuild b/net-firewall/ipset/ipset-4.4.ebuild
deleted file mode 100644
index 8a560584208e..000000000000
--- a/net-firewall/ipset/ipset-4.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-4.4.ebuild,v 1.4 2011/03/25 20:19:06 xarthisius Exp $
-
-EAPI="2"
-
-inherit eutils versionator toolchain-funcs linux-mod
-
-DESCRIPTION="IPset tool for iptables, successor to ippool."
-HOMEPAGE="http://ipset.netfilter.org/"
-SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="modules"
-
-RDEPEND=">=net-firewall/iptables-1.4.4"
-DEPEND="${RDEPEND}"
-
-# configurable from outside
-[ -z "${IP_NF_SET_MAX}" ] && IP_NF_SET_MAX=256
-[ -z "${IP_NF_SET_HASHSIZE}" ] && IP_NF_SET_HASHSIZE=1024
-BUILD_PARAMS="IP_NF_SET_MAX=$IP_NF_SET_MAX IP_NF_SET_HASHSIZE=${IP_NF_SET_HASHSIZE}"
-# module fun
-BUILD_TARGETS="all"
-MODULE_NAMES_ARG="kernel/net/ipv4/netfilter:${S}/kernel"
-MODULE_NAMES=""
-for i in ip_set{,_{setlist,{ip,port,macip}map,{ip,net,ipport,ipportip,ipportnet}hash,iptree{,map}}} \
- ipt_{SET,set}; do
- MODULE_NAMES="${MODULE_NAMES} ${i}(${MODULE_NAMES_ARG})"
-done
-# sanity
-CONFIG_CHECK="NETFILTER"
-ERROR_CFG="ipset requires netfilter support in your kernel."
-
-pkg_setup() {
- get_version
-
- build_modules=0
- if use modules; then
- if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
- if linux_chkconfig_builtin "IP_NF_SET"; then #274577
- einfo "Modular kernel detected but IP_NF_SET=y, will not build kernel modules"
- else
- build_modules=1
- einfo "Modular kernel detected, will build kernel modules"
- fi
- else
- einfo "Nonmodular kernel detected, will not build kernel modules"
- fi
- fi
-
- [[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
- myconf="${myconf} PREFIX="
- myconf="${myconf} LIBDIR=/$(get_libdir)"
- myconf="${myconf} BINDIR=/sbin"
- myconf="${myconf} MANDIR=/usr/share/man"
- myconf="${myconf} INCDIR=/usr/include"
- myconf="${myconf} NO_EXTRA_WARN_FLAGS=yes"
- export myconf
-}
-
-src_prepare() {
- sed -i \
- -e 's/KERNELDIR/(KERNELDIR)/g' \
- -e 's/^(\?KERNEL_\?DIR.*/KERNELDIR ?= /' \
- -e '/^all::/iV ?= 0' \
- -e '/^all::/iKBUILD_OUTPUT ?=' \
- -e '/$(MAKE)/{s/$@/ V=$(V) KBUILD_OUTPUT=$(KBUILD_OUTPUT) modules/}' \
- "${S}"/kernel/Makefile
-}
-
-src_compile() {
- einfo "Building userspace"
- emake \
- CC="$(tc-getCC)" \
- COPT_FLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- ${myconf} \
- binaries || die "failed to build"
-
- if [[ ${build_modules} -eq 1 ]]; then
- einfo "Building kernel modules"
- cd "${S}/kernel"
- export KERNELDIR="${KERNEL_DIR}"
- linux-mod_src_compile || die "failed to build modules"
- fi
-}
-
-src_install() {
- einfo "Installing userspace"
- emake DESTDIR="${D}" ${myconf} binaries_install || die "failed to package"
-
- if [[ ${build_modules} -eq 1 ]]; then
- einfo "Installing kernel modules"
- cd "${S}/kernel"
- export KERNELDIR="${KERNEL_DIR}"
- linux-mod_src_install
- fi
-}
diff --git a/net-firewall/ipset/ipset-6.7-r1.ebuild b/net-firewall/ipset/ipset-6.7-r1.ebuild
deleted file mode 100644
index e48c8a9aec4e..000000000000
--- a/net-firewall/ipset/ipset-6.7-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.7-r1.ebuild,v 1.2 2011/07/02 13:04:17 swegener Exp $
-
-EAPI="4"
-inherit autotools linux-info linux-mod
-
-DESCRIPTION="IPset tool for iptables, successor to ippool."
-HOMEPAGE="http://ipset.netfilter.org/"
-SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="modules"
-
-RDEPEND=">=net-firewall/iptables-1.4.4
- net-libs/libmnl"
-DEPEND="${RDEPEND}"
-
-# configurable from outside, e.g. /etc/make.conf
-IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
-
-BUILD_TARGETS="modules"
-MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
-MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
-for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
- MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
-done
-CONFIG_CHECK="NETFILTER IP6_NF_IPTABLES"
-ERROR_CFG="ipset requires netfilter support in your kernel."
-
-check_header_patch() {
- if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
- eerror "Sorry, but you have to patch kernel sources with the following patch:"
- eerror " # cd ${KV_DIR}"
- eerror " # patch -i ${S}/netlink.patch -p1"
- eerror "You do not need to recompile your kernel."
- die "Unpatched kernel"
- fi
-}
-
-pkg_setup() {
- get_version
-
- build_modules=0
- if use modules; then
- kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
- if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
- if linux_chkconfig_builtin "IP_NF_SET"; then #274577
- einfo "Modular kernel detected but IP_NF_SET=y, will not build kernel modules"
- else
- if kernel_is -gt 2 6 39; then
- einfo "This kernel has modules inside, will not build kernel modules"
- else
- einfo "Modular kernel detected, will build kernel modules"
- build_modules=1
- fi
- fi
- else
- einfo "Nonmodular kernel detected, will not build kernel modules"
- fi
- fi
-
- [[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
-}
-
-src_prepare() {
- [[ ${build_modules} -eq 1 ]] && check_header_patch
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-maxsets=${IP_NF_SET_MAX} \
- --libdir="${EPREFIX}"/$(get_libdir) \
- --with-source="${KV_DIR}" \
- --with-kbuild="${KV_OUT_DIR}"
-}
-
-src_compile() {
- einfo "Building userspace"
- emake
-
- if [[ ${build_modules} -eq 1 ]]; then
- einfo "Building kernel modules"
- set_arch_to_kernel
- emake modules
- fi
-}
-
-src_install() {
- einfo "Installing userspace"
- emake DESTDIR="${D}" install
-
- if [[ ${build_modules} -eq 1 ]]; then
- einfo "Installing kernel modules"
- linux-mod_src_install
- fi
- find "${ED}" \( -name '*.la' -o -name '*.a' \) -exec rm -f '{}' +
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- elog "Note you need to rebuid and run kernel with netlink.patch or you'll get error:"
- elog "Kernel error received: Invalid argument"
-}