summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2015-05-14 06:25:12 +0000
committerYixun Lan <dlan@gentoo.org>2015-05-14 06:25:12 +0000
commit5ab3d4de7b44d23385ce92b2409a465c0be29077 (patch)
tree4c1107f6a65ed73e5e2f09fa0a79bcd472e89a48 /net-firewall/ipset
parentCleanup. (diff)
downloadhistorical-5ab3d4de7b44d23385ce92b2409a465c0be29077.tar.gz
historical-5ab3d4de7b44d23385ce92b2409a465c0be29077.tar.bz2
historical-5ab3d4de7b44d23385ce92b2409a465c0be29077.zip
version bump, bug 532754; drop check_header_patch() which only required by < kernel-2.6.35
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xAABEFD55
Diffstat (limited to 'net-firewall/ipset')
-rw-r--r--net-firewall/ipset/ChangeLog10
-rw-r--r--net-firewall/ipset/Manifest24
-rw-r--r--net-firewall/ipset/ipset-6.24.ebuild103
3 files changed, 130 insertions, 7 deletions
diff --git a/net-firewall/ipset/ChangeLog b/net-firewall/ipset/ChangeLog
index d324bcd96a0d..c5163ad6cf87 100644
--- a/net-firewall/ipset/ChangeLog
+++ b/net-firewall/ipset/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/ipset
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.78 2014/08/10 20:55:50 slyfox Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.79 2015/05/14 06:25:02 dlan Exp $
+
+*ipset-6.24 (14 May 2015)
+
+ 14 May 2015; Yixun Lan <dlan@gentoo.org> +ipset-6.24.ebuild:
+ version bump, bug 532754; drop check_header_patch() which only required by <
+ kernel-2.6.35
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> ipset-6.15.ebuild,
ipset-6.16.1.ebuild, ipset-6.16.ebuild, ipset-6.17.ebuild, ipset-6.19.ebuild,
diff --git a/net-firewall/ipset/Manifest b/net-firewall/ipset/Manifest
index bf95b68c98e4..12d148621365 100644
--- a/net-firewall/ipset/Manifest
+++ b/net-firewall/ipset/Manifest
@@ -11,6 +11,7 @@ DIST ipset-6.17.tar.bz2 448076 SHA256 7987bb8de1b0490b32084ab72165ae53038e497a96
DIST ipset-6.19.tar.bz2 465927 SHA256 058e7950efdf8b9539ab79eb145de7be60d6cb7b92c0c011edda37e70135024c SHA512 9e9fdccd8ae34ad56c5fc6da03060b39b3acc9a53154acf7e82df3f2c1545b2bdcc7b5b9b4f6ddd6ee3e8582e81b1fa51fae37cb4f46948c053d5153bdca6f39 WHIRLPOOL 31472a732781598c8d99ee562766492c225e359b8153ff68a7769d8fa86f41cac9749eda08e4e3922a6ada5a815192109104b42c59ba3079530f6c0b0169613c
DIST ipset-6.20.1.tar.bz2 500898 SHA256 356cac020438cd0871acbfc4cb119b8296030f0bb4661ad0d44bbc115ccbce92 SHA512 3fda3a71c18c8d5f9567038fc72f95abec81b4c789fbca7f7b9c032b15000cfbd2829f11a07f2f9ad2afcff54d6851923caff0917b2ead73756673a6b3667565 WHIRLPOOL f31cd533d286238e63f38aecbf281d428d75e856b393f61db5f6622d0dc0cd0a6de7aa4d3eaa2831e1da7dd0846e95c22f92b3a586cf3918cee074360a4caff3
DIST ipset-6.21.1.tar.bz2 510013 SHA256 cf46c9c35a15aa0f2e0fbab0422586757bd82386c8ad3864936e6cffbd74a331 SHA512 c2ffb2eafc780e15370fd48841f4323c39e8fef1893216c8bc0b8aa8d143f9daf078c6e261e4558243004fe9612ce1d5ca4cca16f8b3f324f4194700c1b0accb WHIRLPOOL 230ebb4756891283980f5b7f67c0c64772b1527b8e8c0b6cdd2714de450b3f6c2a75d961d44563e440edd1399bdee8cce820fe59f46c28355a6f053ad6b1c37b
+DIST ipset-6.24.tar.bz2 518811 SHA256 3071fc283f00a6472b5b352ef57f9825c9face70dda5b0d8715f8d43d0e995d0 SHA512 107bf492030dc4e8e4c2a939e46a715f58458126bfb636dae993e5bf31151d33c2a41b89eb5cca85b71d95b3e36debf97cdfc72c568f351091df17159003d6c6 WHIRLPOOL d34e8d5d197be85cf00ea6a5dbfeb7c52b5d42d9e78299620928e69ba1fbbe124cb16b9f5f2e05d1213b2b7a29a2bed2c1edac2f15ee3c83d8dc19eb3afcc112
EBUILD ipset-6.15.ebuild 3337 SHA256 3a10f70af23adb6acfee2e85550ada9dac653256b97993ef60833e47de484f1f SHA512 204cbcd1bb7d770305eb6cd33f38e970f039496125fd765095f5b2d5fa5fff3cc9311a21d877ce1ebeee934c8446e4c6f4ffa810cfa911219dcbe726e482ca9e WHIRLPOOL ec66bb902e50ceaab0d7b244fbf8e66b94ddb9a867e32dbb2b4c2d0592793868fcca82420e9034af6ba5dfa164b9f39207a097365152f6e3d455f09ddc3c0662
EBUILD ipset-6.16.1.ebuild 3314 SHA256 3a3968ce95d406e6e094e7bed03204c8406cbcf29df5518c25e461baba3a3070 SHA512 7226aa8ecde71108921bd0d9038fa0c72bb13b44573c4687950becb999340b9f30279330d8b6e0f8186bb22dca0370d336a80944aa0d3996467414fc2eb4577f WHIRLPOOL 9a09d61803729f5d448d7ac6ef5447bbfacef64649b3c4d492ddee7f28f0fba62aef91561e27f05f74125761dee118301480fac103b4a69bcb45fcebedf5734d
EBUILD ipset-6.16.ebuild 3312 SHA256 e438557d0d77e1802e7bee7cca889f69cc2ca8160591a786d93e7140654c4a03 SHA512 0d1625a9479820a77c55f6f129a7bce4eb4d157167124b9a59664ca26885b92ee5873abc32d8134e48d8bf356501819c68e50b3c592a9ca3ad302ac83ff55656 WHIRLPOOL becb5d94e409fd9e94a383720b49f4ef62ad91202a772e27a50e9984f5a9fd138e2d4053e006566470693508f0514890d47d203c4dcbc8bc50b6e3c9e23fc4a0
@@ -18,12 +19,25 @@ EBUILD ipset-6.17.ebuild 3310 SHA256 194139ab6f37af3bb26e5892ffd38c55804b11511b1
EBUILD ipset-6.19.ebuild 3312 SHA256 edc862ea8e227d7f7f73010a5165c09efd6466a9bf3ff92e3d841939ea1f492a SHA512 a005c1269354899b9d6077295a39c83f520a764cd7ab49a44e43b2d7662ab2bc692e4ff4785eb289a7d35bc90f773cd620e7279afb6757e6cebc61cd331fe40e WHIRLPOOL e0dc91de6371f1b5e723b5d2b85c4def6faede8f2a0173f2120750691c5d90a56523eb73d0371a380f0c028044e6430bd538d4889c0aced6665415c5d7c7c19c
EBUILD ipset-6.20.1.ebuild 3528 SHA256 0e26c03575a0a1963be785b4bb6e574bfcf0714397b27b5b2e4e0905089af677 SHA512 2b1db27af377a83d53e82329bfa7633d824731b6ac08e9163c4e8c5e79a690c49afefdd88737b61f6040d15f674c7d6d517bfb8f1c4f1a762ac15d5e5481bd41 WHIRLPOOL a72f2db72bc0dab6918ed9a19adeb4f7afd94cc16251fe1b84809c384e422ff438a616c8c33d9b1de8cf479d9410fa5792bc676e513e1888de4ed8a05419e756
EBUILD ipset-6.21.1.ebuild 3529 SHA256 12265edca1260882cbd4d27e8b3e918bcfc76132a3c255e12543f78225cd64ee SHA512 cdd70afc9b440e98c9bee033f7303d1991d31dd085b7a63734137ea9de19960227079a65d396dd7fdbd05c09068a4d101eeb84e02b769cdeafbaaa624db16fe9 WHIRLPOOL 74c71b15d215a4f8901bc8c0fe435047c9fd8825a2257719fdd5cf04dba22324de4ca4534c9e949e3847e18a793f8156ead61f5a2e9e4d32050acf41ba030dd8
-MISC ChangeLog 13574 SHA256 d73e3d809bacd323fb7cdcd022f674c2a8e1ddbc5930334fc18b20dbf35bb4b2 SHA512 8e6cf0a204ba1c6004c1c2d2ebde036dbccee48d3d34f2f59a2894307b47afad337423043caf91b5b780678cce1c4fa4db71441f9a5cf77d3652c7ff88bb4916 WHIRLPOOL c20e7fdf4ed4bcba1237e4381f6af0df7747338c4f2c55be6c5c9447a066188277ce6f22fafadf431165294155126ae6922c69a331f0b938528396d5465334fe
+EBUILD ipset-6.24.ebuild 3102 SHA256 2453b626b504ef2caf2e8e032146ef8f867ed22d2e0b45dfd2eeef506a30d46e SHA512 4f48281583e60b73cfe1f0922c695d06a2d3baee2e17643a5b62d56a4d40ddb59428e50ed1e887acd275b269e4c92b420392ba5cf5e3bf5436718d5fd698201a WHIRLPOOL 12d0284051e18ef84dd81a393b20f5c78f8bcabdab3850885376e9abee7ccbf1f132e7a52ac2f8b8cd969e3d5efce889fa75892f76d4540667313ffd0c0932a8
+MISC ChangeLog 13758 SHA256 27fcbac08b65bff92d005acff99837b659b9d5b4e35b8caff074bc806c391944 SHA512 16a2bb6094b0934630108bb336838887457672f74c374316ff5450ee8af8e94432661d85c879b233f16ce751fc3d2abf86888d920d588bbfefbb7b1504f8fba1 WHIRLPOOL d2f52c40acc89740fd22475cd55c92062dc749601fb02cc813d82ac1b8369c33df8f4d0a26d1505ef78715ca7c3f08e491cbcf673be8e7b8ac4a813c203e198a
MISC metadata.xml 202 SHA256 76dbb4a720140d78f0ddfb2b2782c03852169c201c1f507eb17ef4d2a82f212a SHA512 bd1c14da72bdd52e3bea3056f5b9f908c31d6915b651d15d80a0a7d26778c97cde493ae9ca4352bd313eb16ddbed9b169c6b620c7f4a9b77973f7077fa8d997c WHIRLPOOL c073cc4c903e3377c7aee652c5661a1657cc5ba70c3deb4b2d7b2d0e31a78fb8b362b2f255de3faddbf4c46250d14d2d5d39a6a13b910ad18f8d53df362163a0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
+Version: GnuPG v2.1
-iEYEAREIAAYFAlPn3FcACgkQcaHudmEf86rEGACfWRVrKzAnS8pbqy5NbkHiPQ1N
-23IAn3nPM2FebIPTN1BZPPexAGIJCKSJ
-=31XG
+iQJ8BAEBCABmBQJVVLBoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCNUJBQjhDOUMzMUI3MTE1NjcwMjIzREMz
+MUFBRUE0NzU5NERCQkVEAAoJEDGq6kdZTbvtOR0P/Rrwu98jsvSKGlZKewIhY0ra
+W0X5qbE7AuNwv4zy6XySwhqPHd92cfRbB4qydm/qQpzDrRBNodH6Igx8PTwoRPoJ
+rPJ4MHbwQ6HU5Nr0lRs3Ze7Q/4G6+oN34iKkX+1x+XkXMo7Y6TzmgKmZ1/7H8U26
+Yo8Fb3b70AaoiwRF59cg1qlatc3UTnrTmGK3AYnv7V7Dy8tzukif0VV74/rkdaAd
+Py1ZrT0YyKmDYR6kRKrxfSoDRynOyRHhPOsg8alBwAG2HYytFjdDV9018QNTuNr8
+BU5JfkosbYTpLdDH6eFNtq/D2OsitGB2VAVK33sP4Ve+nr3jhfVecAWiuQJEW6DU
+43glkrTxhrlmXe4pa/zOjjlr2iKcp6OAbYXGAYoeQXDvGar9zUo3Jc3gzFSynXDc
+vaq2xRL8fjb0EHRU5xbYdGqv16nP17Qia5N87L5GsLg0crl77AHfPS4S58NPlfUW
+s5irckEsBnSJHZO4TghbGO269i4T3EUod2Ocatbxjm4UMFuz840njBTC5XNsUxdW
+3HkBBrmJCtdZAfl+A4cMMSJrITKSU3JxF0fRSL4QBH7cB7Nbrslepl6eaJHLG8Sb
+XV1DTXOM6aL3kysqKqB1tbMv9iyv52EkUoQ0VYpWnUa9mFzzHr05aUwIZlq1i10M
+KFA1b026tuQKCnsKVPJh
+=PVWI
-----END PGP SIGNATURE-----
diff --git a/net-firewall/ipset/ipset-6.24.ebuild b/net-firewall/ipset/ipset-6.24.ebuild
new file mode 100644
index 000000000000..e32be155c3ce
--- /dev/null
+++ b/net-firewall/ipset/ipset-6.24.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.24.ebuild,v 1.1 2015/05/14 06:25:02 dlan Exp $
+
+EAPI="5"
+MODULES_OPTIONAL_USE=modules
+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 ~ppc ~x86"
+
+RDEPEND=">=net-firewall/iptables-1.4.7
+ net-libs/libmnl"
+DEPEND="${RDEPEND}"
+
+DOCS=( ChangeLog INSTALL README UPGRADE )
+
+# 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{,port{,net},iface,net}},_list_set}; do
+ MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
+done
+
+pkg_setup() {
+ get_version
+ CONFIG_CHECK="NETFILTER"
+ ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
+ # It does still build without NET_NS, but it may be needed in future.
+ #CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
+ #ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
+
+ 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_present "IP_NF_SET" || \
+ linux_chkconfig_present "IP_SET"; then #274577
+ eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
+ eerror "Please either build ipset with modules USE flag disabled"
+ eerror "or rebuild kernel without IP_SET support and make sure"
+ eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
+ die "USE=modules and in-kernel ipset support detected."
+ else
+ einfo "Modular kernel detected. Gonna build kernel modules..."
+ build_modules=1
+ fi
+ else
+ eerror "Nonmodular kernel detected, but USE=modules. Either build"
+ eerror "modular kernel (without IP_SET) or disable USE=modules"
+ die "Nonmodular kernel detected, will not build kernel modules"
+ fi
+ fi
+ [[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
+}
+
+#src_prepare() {
+# eautoreconf
+#}
+
+src_configure() {
+ econf \
+ $(use_with modules kmod) \
+ --disable-static \
+ --with-maxsets=${IP_NF_SET_MAX} \
+ --libdir="${EPREFIX}/$(get_libdir)" \
+ --with-ksource="${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"
+ default
+ prune_libtool_files
+
+ newinitd "${FILESDIR}"/ipset.initd-r3 ${PN}
+ newconfd "${FILESDIR}"/ipset.confd ${PN}
+ keepdir /var/lib/ipset
+
+ if [[ ${build_modules} -eq 1 ]]; then
+ einfo "Installing kernel modules"
+ linux-mod_src_install
+ fi
+}