summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-02-17 19:05:59 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-02-17 19:05:59 +0000
commit41a67ad327e85b2f291dff42cfc0d489da5f98cd (patch)
treee47bfa963c9d7a245fcb99f14e9dfed94ba3923e /net-firewall/ipset
parentMake build process verbose, wrt bug #458008 (diff)
downloadhistorical-41a67ad327e85b2f291dff42cfc0d489da5f98cd.tar.gz
historical-41a67ad327e85b2f291dff42cfc0d489da5f98cd.tar.bz2
historical-41a67ad327e85b2f291dff42cfc0d489da5f98cd.zip
Version bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'net-firewall/ipset')
-rw-r--r--net-firewall/ipset/ChangeLog7
-rw-r--r--net-firewall/ipset/Manifest18
-rw-r--r--net-firewall/ipset/ipset-6.16.1.ebuild111
3 files changed, 127 insertions, 9 deletions
diff --git a/net-firewall/ipset/ChangeLog b/net-firewall/ipset/ChangeLog
index a26bfb08f65a..f0f8ad2187dd 100644
--- a/net-firewall/ipset/ChangeLog
+++ b/net-firewall/ipset/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/ipset
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.67 2013/02/17 19:01:11 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.68 2013/02/17 19:05:58 pinkbyte Exp $
+
+*ipset-6.16.1 (17 Feb 2013)
+
+ 17 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.16.1.ebuild:
+ Version bump
17 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> ipset-6.15.ebuild,
ipset-6.16.ebuild:
diff --git a/net-firewall/ipset/Manifest b/net-firewall/ipset/Manifest
index 53bff958c4ad..7a3cc9033dd8 100644
--- a/net-firewall/ipset/Manifest
+++ b/net-firewall/ipset/Manifest
@@ -10,6 +10,7 @@ DIST ipset-6.11.tar.bz2 382101 SHA256 828f6f216037b528a63081c21ee32d585cf6e34ab7
DIST ipset-6.13.tar.bz2 430383 SHA256 be0353699cee53b3a1692dbea745d385766a606b0ea750ff8621fc269c4d2a49 SHA512 717ec7c7ef0cac7f2c7174c045cf86954c5e94b440add2a06ebec3fbb886fc9b4b5dc31afa3cda60f94a7d1ad0be1a44c605105508da9501c4221f57e3ce0d07 WHIRLPOOL a0af600f96fdcc5d4209f689d78d8bd2753d3eb4245ce8d2a2cb37a5296cf285b4705aa7c35d0e5d16e7632bf5e6318c17647e5085561d001690da5eb01e20b5
DIST ipset-6.14.tar.bz2 431736 SHA256 d744016e2550aba61af849519abb791612a6655b7999dbb873fb2c8347af6ee2 SHA512 c355ca59bfc70002a8d9e9fea23c7346cee946801d54532a2752eb5b5ebfa2f15156736cdde7131804938fe5e3c8bbccdc2ef9d602df04c76531a8c67d8e0d3a WHIRLPOOL 411444d6e07ced576021a30c45c188a96bbe1a31aa91a4f65936df8efbc0d2b58847dc06a108567fb1b8425b85febf039f1375919969ab393d26c048420192ca
DIST ipset-6.15.tar.bz2 432771 SHA256 6f60a472bc2ef7b1c864be6472de65365c90e264dfadf28da48c2361393d8fd1 SHA512 f72329bb8610717ccdddbfaf7b7774e717a34d71fdb7f9c7eac97e3d1b314915500c88137b6e229411df99c86d2228bef447f26c116bc2cf992cfb60ab1422d3 WHIRLPOOL 868ee3cd722c2d86c273aca8f3ca7695e8ef5d00d30111ef0f2bf972a119211008d8cadec1760b43b4f0efb24690f20a2cf5f0fdbbb0700cf66e5660d363ab2a
+DIST ipset-6.16.1.tar.bz2 433347 SHA256 cb5b02deab8521946fd473b77c40f00452b76fed621f0eee76746c74e89e4c3c SHA512 e54d32932875a9d06acba598280de9e83529f36326cbaaeb05d38b985bc40d276dc46e37eae3d1d4c1afcdd69b3074678512349ebd964b6189ca1c6871efe304 WHIRLPOOL ff2276446c7dbb4005de236b73bf9879ead8273f3ec014883160b779f6c089eaf7d4c4dce06233ef357f0a8b5376754b158eec29187ae5f5f7bb52bfd2d8ae3c
DIST ipset-6.16.tar.bz2 433118 SHA256 bc3ea05cfbacd43aebff6668825453d0a626edd5d3495a8670103ab895fba464 SHA512 34ef44af76f3609035ae1bdacb7586f2288ee66701ed8a1a5a0632fb23b5f651fe02b070e0f0f1b0ebae6cab02b3f827cc7e67f740cf77f51ba494c25dcc47dd WHIRLPOOL 3b3c2172626530145401bd813c39114f31bf3546ebe0af6e168ed32ade102c158f3bc5f4690ee8bf0540415adc35929da5d8ca8e4e1c2ec83bf631849a24b8a7
DIST ipset-6.8.tar.bz2 122954 SHA256 d7b499ee961cd92ba5f0f698e5de49909d8b2c6697ff5aea3a1535e183f9b809 SHA512 428356b1593b0925f6f8ca7d240a29caff24a8416d0f1ff897c4432d557846432879e545a0b5b75ac318eee18386e80cd936229c09153ca9f7a0f09483cbb60d WHIRLPOOL 1e6faa416a7745541e1bae7461cdfa251a5a9141846654a9e036c21d8ce8de5622fd30bc68e1dfe47728570178b59378fb39e8759c6b3bac0c687a01cb3bd165
DIST ipset-6.9.1.tar.bz2 123268 SHA256 db099044022f767046ec89c77de01ad6f0faf7f50f8f42b886c3c71ac5994abe SHA512 024a071613fd56577a2fd37ea6e2a961c113f3ca816077fd24b1698e4bd78a8cb3897291505ea02a9b6565b110170ba93b321b3e1a6476ce93b8d93abe3bd1ed WHIRLPOOL d036dc2ba2b6d0d4e9a449450af3773bc8f445b13aff202ca1f0c6a1278490ff20cb72f6e979d3b477c9052e99808ebe58a6bbf51e4cdbc9359c69f3c943ea01
@@ -19,19 +20,20 @@ EBUILD ipset-6.11.ebuild 3438 SHA256 7b120cf6ea2af79fcc878d340f43a3063c3c603fc2c
EBUILD ipset-6.13.ebuild 3472 SHA256 43e1ce00c90087f9970726acae7c3fda07bec6f825de58e2750ab57ddf519a91 SHA512 7ffec961fd866254a22cbdae7436888b6cd8d66c55b414fe7e3d5d3ea2e5375c386e3490e4452a25c623b6863f6a30787e71665b170c3ed1bc3be14bec5d3f17 WHIRLPOOL 9cb9f2c53751083d7d2df1c217a4e0ab0e9e6beea1e7ab9490419edb81eb0fd52f992a91b84ed78faf9621e447b31001892eb8271c477a9f0edda192e3618cb6
EBUILD ipset-6.14.ebuild 3315 SHA256 99b8b8431d0ebf36a37a9b3bbe25ffae9a0538da733778f1e09b36c3bd50fe88 SHA512 551ba830d99cce557c5c727f4028c7bb1f502fabca76460adc7cde1b7c9ad56a30450d548deced248e8d4341746d4cebbf49c5d5d5209aece9279bb6625cd3b8 WHIRLPOOL e6a56733cfefededa432fcccb21a949bf6cb8f5d88f29355900f2772a6c6ba7f401385e5db3ec72304e4b73b058c8154834a68374306576c83fecaeb25dd34f3
EBUILD ipset-6.15.ebuild 3340 SHA256 0a84e355c2e9a87e4e321c6db6f88680d546939fafaa9049b81304c2cf73ea2d SHA512 41cf7a912d6359384aaa8444d6cd5696df16a1babfe3c2d26bdd96d328e8a0e0f9a8ea88df84f126b11fb91dcfc084fd6417093f3160402d9e0d190ec0d5826a WHIRLPOOL ddd0fa4b2fb0a689ea6ae5cf209290196fb6a77a33fea169ef59c032895037e82e6b913a49fdec09575d2fc0837adea7b0edc702d05132a714717c91e44b6ca9
+EBUILD ipset-6.16.1.ebuild 3317 SHA256 21ed030cf52286c01d606275ec6cbe540e7494ee9aaffadefec9940647ebe69d SHA512 72cee79bb4347bd10db533763ab9145c56397ca134eca02de934f907565a520558f3d13ba3f50e429c059c3dcacb56d6adcce09e37da7d3f27c8ced5f1f15113 WHIRLPOOL b1caa8d5b01055e051f79445f7561d7335022dac561c4186baa717d0ec3b1d45a1ad5b3689290845068eaad9965966afc69f7bae55ecf2de80714ee1223fa80d
EBUILD ipset-6.16.ebuild 3315 SHA256 176714fc62f02a89a724915945683a49f7f85ed0b062aa7f45f6c450d39e137f SHA512 fb411c9c8ee4b42fd38fea98d6a8f2bfcf360ad4150d44442c5cedf2e77ecf24ad951b89b6eb2a24d8f8465a4df77d96c666b99e74f92877aca187af4052f4af WHIRLPOOL 263fe190d2c4a1ab4f513ffef96ad9542be68ca52a86068e8b1f0b38223d3ad9a5a144de8ac662cb7f0f42f542de6b7c30fbf8690b537203e70f18678e4053c0
EBUILD ipset-6.8.ebuild 3250 SHA256 adc276a151d484a522464376d127cd4437acdef5bd7a871fcea79c65fa7a1c9c SHA512 e54e1bf397429d717fa970e60404db922f22af8f65f138184f44e440ded6f9dbc63fa5e4c0c610e27eba013fcc20a5e66c3ba4da62403e16d1947f7b30f5d02f WHIRLPOOL 71aab8a35a0441a2212ace54be132e53fdc5bbc52d00e976473febc1ac414207b776ae596b853c19575274811e32d6dfd6c6f3397bfe54f1eed07cd84d679bf4
EBUILD ipset-6.9.1-r2.ebuild 3397 SHA256 349e0b63af1730d016d2963a0e10519d104a33828df1d3079d345462f355427f SHA512 67fe9b4e0bac4675391f337f76bced0f9d174d456fe79fc1830cdbd4a2ffe647199da6583b018fd64cd820f14c2c7ad81c2f312787138918ed42a22bc8776143 WHIRLPOOL 1122d7270e89d35bbb8b2ba75c9ebeb8bbd3e117ff572d237b07dd404b061d82a3a1cc8bd21b945b122b9ad5ce54e5f316b12caabfcc355e0d048996d0319697
-MISC ChangeLog 11743 SHA256 75f2df2f76f7aa031cff393d96e82a6b54d9a61f2366b9614917b060e94315a0 SHA512 13c5806f88cc1c68e30f0749a0b1dc8140d0ba80938aa9df2d7f8a3f31d8f5258742fb8420ff57abb9312a0d40de7f7a075bf4617ed8ec2ef907a206fd51b691 WHIRLPOOL dc94e8607337274d1c52fdd3e637bf330de7641f5d8f9c949513d63cb078f7e05004d38b77b6eba49055833c3b440cdc9e1c64c941489496776bfdd37b70c7a3
+MISC ChangeLog 11860 SHA256 dce4bed145abb5bb0b0ab0b69d284cea9d02d285b63c62abdd4fa5d72802fbd3 SHA512 1501fdbe91e704943c6e8d023aadef45c957a8280ab5f7a8ef7b218f6ee9d7df89549ee3c797596b9792f216d3bb3bc179119edbfe35ae720839a6a9c5d2616d WHIRLPOOL 12d61eaf784322b2f76f124771e2c01bf55418946c3839db424061ceb90dc6e980114f1e36114ee070345b8453d1fa3288d8bfdc91136d341c0874de22b73270
MISC metadata.xml 202 SHA256 76dbb4a720140d78f0ddfb2b2782c03852169c201c1f507eb17ef4d2a82f212a SHA512 bd1c14da72bdd52e3bea3056f5b9f908c31d6915b651d15d80a0a7d26778c97cde493ae9ca4352bd313eb16ddbed9b169c6b620c7f4a9b77973f7077fa8d997c WHIRLPOOL c073cc4c903e3377c7aee652c5661a1657cc5ba70c3deb4b2d7b2d0e31a78fb8b362b2f255de3faddbf4c46250d14d2d5d39a6a13b910ad18f8d53df362163a0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJRISj4AAoJECo/aRed9267D5gH/0ZgTJJ1jVmxGJaTN93ekc5Y
-Xxsbc+2aEe1ae8kEPQXIKF10pgNTQFhpeSkWsMbeC53gCl5Bi1djodS32aVLWXFF
-ial1ODAifZI26Sr5iLkP1G2+G60r6xgm0SfD4Hls3P62daXFQkrr3mzhiupw/igJ
-qiaCcgvO2/gzWFlk7Egp+GkZSugXYVcy8ApIywy49udU1CLrfKOVXsGRQWfHyLne
-L1FuyJI5sFgJi+8FR1sxhXkZBmw7PPKwRTktP55zyJnEb63JQ8LW1N7L9UjKuUTQ
-yIWsa8y3PR7OpgkeXSRr4VNdHBL0YPy5mSIXi0im1oozJiobAt+R683SQYhJZU8=
-=VylV
+iQEcBAEBCAAGBQJRISoXAAoJECo/aRed9267PVYIALPx/E4Qe3wi51jtyxUjBfGR
++n2gZdQqXgRYWq9CDGE/mn5YtX+pOO5ZQDeibhzUxK8AyQJo1isddpW1CI1drVOz
+XpsvUuXSCYLLEdop4Hbelg8VtstRWUmnxRHm1Hy5l/So6ezTULO6/Yr58g188h8J
+EVtLZ/ALZGMyOUE+nh51PsBx5jDsOSpSRAnx7Lz86lLRjogBvVHMYAvMBA6J4B9u
+XUFr007g8Q/GwiTDK/XQybIHEp91Dya2UiYtdp0p2QkoDHvSzzdjwGUtxX7fnVoy
+hZdaxqEXOcJsZgpKrq76NlKuOCPaJ82YZ0NHPoqsiK3MJYDS4wFdbeNTj/4qvZ0=
+=HHIk
-----END PGP SIGNATURE-----
diff --git a/net-firewall/ipset/ipset-6.16.1.ebuild b/net-firewall/ipset/ipset-6.16.1.ebuild
new file mode 100644
index 000000000000..75daaa1b2981
--- /dev/null
+++ b/net-firewall/ipset/ipset-6.16.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.16.1.ebuild,v 1.1 2013/02/17 19:05:58 pinkbyte Exp $
+
+EAPI="5"
+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"
+IUSE="modules"
+
+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,net{port,iface}},_list_set}; do
+ MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
+done
+
+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 should recompile and run new kernel to avoid runtime errors."
+ die "Unpatched kernel"
+ fi
+}
+
+pkg_setup() {
+ get_version
+ CONFIG_CHECK="NETFILTER"
+ ERROR_NETFILTER="ipset requires NETFILTER 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() {
+ [[ ${build_modules} -eq 1 ]] && check_header_patch
+ 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-r2 ${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
+}