summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-07-06 12:03:25 +0000
committerAnthony G. Basile <blueness@gentoo.org>2015-07-06 12:03:25 +0000
commitfd19304bd0db71d83f8a97455e96b92000faf556 (patch)
treeabbf1e7259b2b46d858c915ae485ff4510c73105 /net-firewall
parentStable for amd64 and x86. Needed for electrum. Bug #541538. (diff)
downloadhistorical-fd19304bd0db71d83f8a97455e96b92000faf556.tar.gz
historical-fd19304bd0db71d83f8a97455e96b92000faf556.tar.bz2
historical-fd19304bd0db71d83f8a97455e96b92000faf556.zip
Version bump.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/xtables-addons/ChangeLog10
-rw-r--r--net-firewall/xtables-addons/Manifest36
-rw-r--r--net-firewall/xtables-addons/xtables-addons-2.7.ebuild169
3 files changed, 195 insertions, 20 deletions
diff --git a/net-firewall/xtables-addons/ChangeLog b/net-firewall/xtables-addons/ChangeLog
index 330f8097fd47..117ced4e94f4 100644
--- a/net-firewall/xtables-addons/ChangeLog
+++ b/net-firewall/xtables-addons/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/xtables-addons
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/ChangeLog,v 1.48 2014/09/30 21:35:28 blueness Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/ChangeLog,v 1.49 2015/07/06 12:03:08 blueness Exp $
+
+*xtables-addons-2.7 (06 Jul 2015)
+
+ 06 Jul 2015; Anthony G. Basile <blueness@gentoo.org>
+ +xtables-addons-2.7.ebuild:
+ Version bump.
*xtables-addons-2.6 (30 Sep 2014)
diff --git a/net-firewall/xtables-addons/Manifest b/net-firewall/xtables-addons/Manifest
index 965c2b77ad0c..2078a38cecc3 100644
--- a/net-firewall/xtables-addons/Manifest
+++ b/net-firewall/xtables-addons/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
DIST xtables-addons-1.37.tar.xz 423784 SHA256 2b60a3ae1c71a5b802625b595edceb14ea0be1fb5517e98a9542c5a1157fb7b6
DIST xtables-addons-1.47.1.tar.xz 323312 SHA256 06535dbefaa7725870750048842b4b53f5a4f8d8b16d5ce61bb4cc28e0b99326 SHA512 4920c9fae1a5b026f48562590b9221d497127197806f52f2eeba269faf8203b3da2e2ab6ff01f273ecac457d19399c42b4d163c18fa405bfe15b54f46478227d WHIRLPOOL 6654fb33c96eb052b94047445682a26f141532c2db5404ec62c29d40741a34ac9138ba1a5de494d7f1b8706a5de425b1188f79fa6195a824d2642ba506f6bdc1
@@ -8,6 +8,7 @@ DIST xtables-addons-2.3.tar.xz 316452 SHA256 7ab43981d594131ec8d72d4604c92c25dcf
DIST xtables-addons-2.4.tar.xz 312564 SHA256 c765a37ea9e8324832d68fd67fdfc2189db1cb9240f2b048aca6064ba9c13cdb SHA512 650182a9078c2ce9b66a26cc0f6224e1a5fc09bb88a714b44c6d0be9fbb73f83a19ab98d085ac24f22ba564d8614d62507ff71d45c1f305f037734f23a842915 WHIRLPOOL 3dd9916cb433b38ea470280a692491b71fbaef9d515d2c32d8c52b2a7507e84e9f0c3769c80043f0f43e4ebbb676d9937a7b23a9d37ea3393e1ed0a649c4c7f1
DIST xtables-addons-2.5.tar.xz 313732 SHA256 2aea0a6ff04d64abfe0cc80b4f23b97e058b4595ab2e29b50ef3fe30952e230d SHA512 c5053d726a1ef93806a32da87f06038c3e8239b5bb4ee226320a27696b282cc10deb44d68a02bd67a5d434a9609be89e442671a71303806df6d7c7cdefee8fd0 WHIRLPOOL e5d3f8d5bc894dc7e85a2bba051969d1ea83d5e7a60733c22723adf30cefb07d97faa88082d42589f129bb8722a8f3480ff4bae0aa5c3bfa1c69b7715f19e9cd
DIST xtables-addons-2.6.tar.xz 313824 SHA256 6f2347df8fdcedfe871fe989e62bb79a729d12b600c057454b21fda8fe9d525b SHA512 e493c7a6e6512f8240d211b4ba5bb9ed705fcef604dca4b2ade717dd45046464087250b4057d9b66c94de92e090c0269e47e2cf665362bfe620b3a942d83d10d WHIRLPOOL f9f06cb1c5c2ca6cdf673ce0c2fabb6c971c3184e4197caf66e983ec5447261f574b10953bce8383f4a24a021bf58d32932a66b55d2e98ada5a15e1b8d3a60a5
+DIST xtables-addons-2.7.tar.xz 320804 SHA256 ce64b607967e576ac4d1f4fd522d0c4d34feada9fd45a54113967a6a2b56a519 SHA512 69c371b8bb5e464a4514dd432027be88a0ad5ab343bbe8c1f3cc2150f86e5a811de7a5d8fee2688499e5e49ac1dc275520eeae9afeeb51ec1cfaacc57892954a WHIRLPOOL 24c441e72764062adea16a32c3b2e9255645d17a7cfeddd1c0839761f003b78abaad2b25de4c1efce8fc62354b5023b91f8468f06ccec6c816ef1b2b02492ffc
EBUILD xtables-addons-1.37.ebuild 5228 SHA256 15ef815012c58c8a068d0962b0b2699fdcd20aaac1906b3b0b649c967d45e382 SHA512 21190fb4c3d0212fb29f51f232dbe762ae0f43bf6c903c18aec8f8894bdb42de80819767e25d157c263592260dc9c3636a369045475c6a1d9e2685c41158947f WHIRLPOOL c2a13ee8cc9ec0fda756213bef2d56e5df6b982f15be97fce5a1638a722083d643b2361de0f5476b7c71872f79084772474bdb626810a6daa9ad0eb5f5fa49bc
EBUILD xtables-addons-1.47.1.ebuild 5265 SHA256 d5295bd97c8df0909859cf5e5f462777986de609e177f3c3c754e10507c30a3d SHA512 a364882eb9dd8d8b07a70b573321bb55e8d0adb79ca2773cc74274f49b05ee7ac868d267f48e7ef9bb7fdf598655771ac2304cfa1a1859c0ad17c77d929bd102 WHIRLPOOL 18c41bb43ca3a729be86a0a99a8500c706df05f00cf39c49d090f5bd53047cc2d78ec593b40a6f3039b5899a924cad77b6d031daed69d68cac4f508db62b725a
EBUILD xtables-addons-2.1.ebuild 5096 SHA256 70d60abd4a0c3adfd79e65d512cbd8eaf9752094751c7564a7615ba2f0ca0f31 SHA512 b5171c3db68277d4055db2096b8440fec64789d96e524c4da3c1d052aa52cc650a4db7591d733d18f5a8d8a7c8f3239f1831157ac00264203e54a6770b1b6bd0 WHIRLPOOL 2bc1f8168b4ba1ef32275af72babf58f83e3ff98bb098e689a834ad13eebf69b885712f7e786c7e56da2ef009a5a7b5d0b372b6bb2affe4f89eee8b63b763533
@@ -15,24 +16,23 @@ EBUILD xtables-addons-2.3.ebuild 5093 SHA256 8e0e08df4d4d7a3c382969050f892e97dbb
EBUILD xtables-addons-2.4.ebuild 5086 SHA256 662d4ab7c027f68a8adf6e432c9a2f5270af293faf1057bf7ac02d829b44ce8b SHA512 908e08739204e40f2d2c9414456a48bc260bd356f26bbd4ec0ffa007089ceebf792e1df43cea086e20ce00ec470ddf6c31c60aeaf10e818d44052e011108487d WHIRLPOOL 977d256a5e3906e572570dff5f6ffa8015cf6e89a735ac6c1e49d8c1def96ec5c22bda64aa270413f34d530dac76de95311021c8e4d10b3c8215c6e5828ec448
EBUILD xtables-addons-2.5.ebuild 5086 SHA256 b08925a71932ff7d6a727d499eb8d798ce3133d48bedefd6af30ef34afd28b08 SHA512 20545f57dd5afb59a1e03f00cb747f21c4b1008e6fef18fa2b870422dabf59ce5d113b5497dc8bea71b4ef34f125557dc287487294fcfa0e9dae834944d4c11c WHIRLPOOL beee17506e9cb1d5993d17968b56d7c88362322ef0a2d04574135583dcee98b2ba454548380efce733a2b74fc83f27e397c5a314d46efd099568e9d4bca1aa27
EBUILD xtables-addons-2.6.ebuild 5085 SHA256 c36f9447f8f85f3bf753a9bb7372eb77e3df5456146e8fc0b71af60290f88a7b SHA512 ba7482c66b2ed248a9820dc1274f4db78ea8ef43a5681ae0492c2507dbd71eb3ae2a38e09a94a5dfe9baf78bbaca61ebb702cc43da5222af28cfb479f7ef8af3 WHIRLPOOL 544d69da7c261cbe7284590b66f50cb84f19435d6136f4daeeed69522f45a997b553ed3e80d8e46dd345013160a8680ae91f7d363d8ac169b25da3ac03e70e8e
-MISC ChangeLog 7947 SHA256 443d01ed84a028a0e9962b59f02247e0c9a1ba041253c2b365318b18cdeab7d4 SHA512 bfbe5604a165740b24b0b7060cf6e796081114471b0999aca26b3e9037e3a9ac2fcbc39f2d8b988062df26204fda6a79f71668c70b71ccf1ec3d599e5281ce5c WHIRLPOOL d952f32a66441dbe5d18871690bd49be20dc73e4d4e1ed817129a971fe7ad28b89696441602c2248b16f83adbfe588f74c8fa16b98ca633bd6a062dafb4b459d
+EBUILD xtables-addons-2.7.ebuild 5085 SHA256 f44af4115a0593772f8451718b7c81a8a208ca06659944d04ac4afb211983ea8 SHA512 f85a201f7c3c192b30a8c5bc332a8b0be297999a3e6bbed229fb32567f1d07096cb251af11456bce34d7f85ae331c5687339cd600c4b7504f66ad85ee6d4093d WHIRLPOOL aaaa4f7e2753d27e4d0f31810e9af1cbd28c32d35b18c5974d537b8a946bf894bffb590f3495aa5a060e76f5c31507986572ce0c511fa2acdd794d199fd548c2
+MISC ChangeLog 8084 SHA256 cafb40a8ac92f4f6e11ba16c1e05127391ac29ae45c86a6e0039695bb7535bca SHA512 67e10643c53fd3aa98d045e1d9c14145af76bf02d16a5786c9dc1f1829cfbd1737b9f24185be0c538b2dfd4e83f04e4df335dad13f652ad54170a55c45c226af WHIRLPOOL cd7530bafa99fd3f6b4695d6608eea2f5313482faeb4b02247365fc8fb46c7370060e981de8684587148e476f60fad628c378008aaef8f67e31b40b0dd7a3df9
MISC metadata.xml 974 SHA256 0becb811339695296e9cf179f86485bfc7bf35bba5adc26b867e2e71464d55e9 SHA512 737730dc3d3c34e7d1f188942d9de97bcc358feb246c89d9d1a606e0f6665bcea1c774770861b4477918bbaa410026c44d7b216a3b29826d8fdc134b4bd85996 WHIRLPOOL 673b228688936dec8aa674f7d59d9d949ed0bbc622eae883972002dab546133bd65bb088f1a82c9f971fd75a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MNhIueNHxa7l0EPmGADRZPvUr1ofsyQy
+g+Ti7zmGaEZtKiubB0xlI5fuIOo2si50QNwic02RGqcAqjhFCDuIyKSvsh+j7pvZ
+pcfCOUQEg2KYPVzeekcCcNEyorVp3cci5H4F+hQHx6sN/OIqSI3tDsbGVkc/rnoh
+54tccxtCGS60lDduRbEAZUPF6yi4FsJsifgN7g+y93ZXLHg43m1FBbjBNBOnmsT2
+q6oMAxkFgd5QFwyon8iC8GpjQmEd937weEXtg3m5TZdR9Ila068z7l+RBod5sQTe
+qjsVJ8KFzPk3Wgs65cBOS8R2J3KU0sPdm/iyiJBplbTtJhmut0DKe1oWZUEp8LxR
+/mU7j5akQLaeBYs25BEKXZVQxrjnIwvbme2KXeQucYbn2PwmeeWM8I5QQpo2nqcE
+at0Ez00rlybwDU9/iAwZaYi+MwIKyJaWq4iVNmOIN+ilxvLwAcUGW27dp7S5LwJ5
+mU1AvcEcRz4pRxNOYOxGD/Du0VsLVN7Teps8Sn8egKxULRJP9aSaI5pssS1fQPHa
+OQMoXZqdoas9j90nBEJmDl0ZhCX09j2wZAkTnATTl+NwVrSc64NlmN4i0h61buOz
+DhCs2XyG5D5V2AXAIGtj
+=qwB8
-----END PGP SIGNATURE-----
diff --git a/net-firewall/xtables-addons/xtables-addons-2.7.ebuild b/net-firewall/xtables-addons/xtables-addons-2.7.ebuild
new file mode 100644
index 000000000000..41d5b3db8aae
--- /dev/null
+++ b/net-firewall/xtables-addons/xtables-addons-2.7.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/xtables-addons-2.7.ebuild,v 1.1 2015/07/06 12:03:08 blueness Exp $
+
+EAPI="5"
+
+inherit eutils linux-info linux-mod multilib
+
+DESCRIPTION="extensions not yet accepted in the main kernel/iptables (patch-o-matic(-ng) successor)"
+HOMEPAGE="http://xtables-addons.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xtables-addons/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="modules"
+
+MODULES="quota2 psd pknock lscan length2 ipv4options ipp2p iface gradm geoip fuzzy condition tarpit sysrq logmark ipmark echo dnetmap dhcpmac delude chaos account"
+
+for mod in ${MODULES}; do
+ IUSE="${IUSE} xtables_addons_${mod}"
+done
+
+DEPEND=">=net-firewall/iptables-1.4.5"
+
+RDEPEND="${DEPEND}
+ xtables_addons_geoip? (
+ app-arch/unzip
+ dev-perl/Text-CSV_XS
+ virtual/perl-Getopt-Long
+ )
+"
+
+DEPEND="${DEPEND}
+ virtual/linux-sources"
+
+SKIP_MODULES=""
+
+# XA_kernel_check tee "2 6 32"
+XA_check4internal_module() {
+ local mod=${1}
+ local version=${2}
+ local kconfigname=${3}
+
+ if use xtables_addons_${mod} && kernel_is -gt ${version}; then
+ ewarn "${kconfigname} should be provided by the kernel. Skipping its build..."
+ if ! linux_chkconfig_present ${kconfigname}; then
+ ewarn "Please enable ${kconfigname} target in your kernel
+ configuration or disable checksum module in ${PN}."
+ fi
+ # SKIP_MODULES in case we need to disable building of everything
+ # like having this USE disabled
+ SKIP_MODULES+=" ${mod}"
+ fi
+}
+
+pkg_setup() {
+ if use modules; then
+ get_version
+ check_modules_supported
+ CONFIG_CHECK="NF_CONNTRACK NF_CONNTRACK_MARK ~CONNECTOR"
+ ERROR_CONNECTOR="Please, enable CONFIG_CONNECTOR if you wish to receive userspace notifications from pknock through netlink/connector"
+ linux-mod_pkg_setup
+
+ if ! linux_chkconfig_present IPV6; then
+ SKIP_IPV6_MODULES="ip6table_rawpost"
+ ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}"
+ fi
+ kernel_is -lt 3 7 && die "${P} requires kernel version >= 3.7, if you have older kernel please use 1.x version instead"
+ fi
+}
+
+# Helper for maintainer: cheks if all possible MODULES are listed.
+XA_qa_check() {
+ local all_modules
+ all_modules=$(sed -n '/^build_/{s/build_\(.*\)=.*/\L\1/;G;s/\n/ /;s/ $//;h}; ${x;p}' "${S}/mconfig")
+ if [[ ${all_modules} != ${MODULES} ]]; then
+ ewarn "QA: Modules in mconfig differ from \$MODULES in ebuild."
+ ewarn "Please, update MODULES in ebuild."
+ ewarn "'${all_modules}'"
+ fi
+}
+
+# Is there any use flag set?
+XA_has_something_to_build() {
+ local mod
+ for mod in ${MODULES}; do
+ use xtables_addons_${mod} && return
+ done
+
+ eerror "All modules are disabled. What do you want me to build?"
+ eerror "Please, set XTABLES_ADDONS to any combination of"
+ eerror "${MODULES}"
+ die "All modules are disabled."
+}
+
+# Parse Kbuid files and generates list of sources
+XA_get_module_name() {
+ [[ $# != 1 ]] && die "XA_get_sources_for_mod: needs exactly one argument."
+ local mod objdir build_mod sources_list
+ mod=${1}
+ objdir=${S}/extensions
+ # Take modules name from mconfig
+ build_mod=$(sed -n "s/\(build_${mod}\)=.*/\1/Ip" "${S}/mconfig")
+ # strip .o, = and everything before = and print
+ sources_list=$(sed -n "/^obj-[$][{]${build_mod}[}]/\
+ {s:obj-[^+]\+ [+]=[[:space:]]*::;s:[.]o::g;p}" \
+ "${objdir}/Kbuild")
+
+ if [[ -d ${S}/extensions/${sources_list} ]]; then
+ objdir=${S}/extensions/${sources_list}
+ sources_list=$(sed -n "/^obj-m/\
+ {s:obj-[^+]\+ [+]=[[:space:]]*::;s:[.]o::g;p}" \
+ "${objdir}/Kbuild")
+ fi
+ for mod_src in ${sources_list}; do
+ has ${mod_src} ${SKIP_IPV6_MODULES} || \
+ echo " ${mod_src}(xtables_addons:${S}/extensions:${objdir})"
+ done
+}
+
+src_prepare() {
+ XA_qa_check
+ XA_has_something_to_build
+
+ local mod module_name
+ if use modules; then
+ MODULE_NAMES="compat_xtables(xtables_addons:${S}/extensions:)"
+ fi
+ for mod in ${MODULES}; do
+ if ! has ${mod} ${SKIP_MODULES} && use xtables_addons_${mod}; then
+ sed "s/\(build_${mod}=\).*/\1m/I" -i mconfig || die
+ if use modules; then
+ for module_name in $(XA_get_module_name ${mod}); do
+ MODULE_NAMES+=" ${module_name}"
+ done
+ fi
+ else
+ sed "s/\(build_${mod}=\).*/\1n/I" -i mconfig || die
+ fi
+ done
+ einfo "${MODULE_NAMES}" # for debugging
+
+ sed -e 's/depmod -a/true/' -i Makefile.in || die
+ sed -e '/^all-local:/{s: modules::}' \
+ -e '/^install-exec-local:/{s: modules_install::}' \
+ -i extensions/Makefile.in || die
+
+ use xtables_addons_geoip || sed -e '/^SUBDIRS/{s/geoip//}' -i Makefile.in
+}
+
+src_configure() {
+ set_arch_to_kernel # .. or it'll look for /arch/amd64/Makefile
+ econf --prefix="${EPREFIX}/" \
+ --libexecdir="${EPREFIX}/$(get_libdir)/" \
+ --with-kbuild="${KV_DIR}"
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" V=1
+ use modules && BUILD_PARAMS="V=1" BUILD_TARGETS="modules" linux-mod_src_compile
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use modules && linux-mod_src_install
+ dodoc -r README doc/*
+ find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+'
+}