summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2013-10-14 14:10:16 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2013-10-14 14:10:16 +0000
commit8ffe0bae0a631742b1dfde1b3d792c53bdcbdecd (patch)
tree333f62c9fa9ab0dffb51568141e5880b1f8f0415 /net-firewall
parentsci-libs/metis: Import patches from fedora and add test phase (diff)
downloadhistorical-8ffe0bae0a631742b1dfde1b3d792c53bdcbdecd.tar.gz
historical-8ffe0bae0a631742b1dfde1b3d792c53bdcbdecd.tar.bz2
historical-8ffe0bae0a631742b1dfde1b3d792c53bdcbdecd.zip
Remove old ebuilds, thanks to slepnoga
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xF8DBDADE
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/xtables-addons/ChangeLog7
-rw-r--r--net-firewall/xtables-addons/Manifest32
-rw-r--r--net-firewall/xtables-addons/xtables-addons-1.38.ebuild178
-rw-r--r--net-firewall/xtables-addons/xtables-addons-1.39.ebuild177
-rw-r--r--net-firewall/xtables-addons/xtables-addons-1.45.ebuild171
-rw-r--r--net-firewall/xtables-addons/xtables-addons-2.2.ebuild169
6 files changed, 15 insertions, 719 deletions
diff --git a/net-firewall/xtables-addons/ChangeLog b/net-firewall/xtables-addons/ChangeLog
index cda338ae3754..33f8d6f43a5b 100644
--- a/net-firewall/xtables-addons/ChangeLog
+++ b/net-firewall/xtables-addons/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/xtables-addons
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/ChangeLog,v 1.42 2013/06/18 19:36:55 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/ChangeLog,v 1.43 2013/10/14 14:10:09 maksbotan Exp $
+
+ 14 Oct 2013; Maxim Koltsov <maksbotan@gentoo.org> -xtables-addons-1.38.ebuild,
+ -xtables-addons-1.39.ebuild, -xtables-addons-1.45.ebuild,
+ -xtables-addons-2.2.ebuild:
+ Remove old ebuilds, thanks to slepnoga
*xtables-addons-2.3 (18 Jun 2013)
diff --git a/net-firewall/xtables-addons/Manifest b/net-firewall/xtables-addons/Manifest
index 07245b5ea5a4..c1fadb588f1d 100644
--- a/net-firewall/xtables-addons/Manifest
+++ b/net-firewall/xtables-addons/Manifest
@@ -2,37 +2,23 @@
Hash: SHA256
DIST xtables-addons-1.37.tar.xz 423784 SHA256 2b60a3ae1c71a5b802625b595edceb14ea0be1fb5517e98a9542c5a1157fb7b6
-DIST xtables-addons-1.38.tar.xz 424488 SHA256 c4365028fd9778184dcd1e10b6a591fbb1bfb6dcdd891fda467346b5920a6017
-DIST xtables-addons-1.39.tar.xz 379928 SHA256 ef7a89405c97879efee9944237373c3ecff36e9512aba948e7b40ae005a8946b
-DIST xtables-addons-1.45.tar.xz 317316 SHA256 b18113ca9320240eb7f33997a3d5b5da33d12c5f03cbe13da11c98fe0983341c SHA512 4853b37d489e922a2a315bc5c871cb2f73d66cd1d219cbdbc28a4419d24995be704526f91b576977b1ff5e51a21e5e49f78ae41e6ebf3b169c60f891676a080b WHIRLPOOL 199cfd156eaca9d31fd61434ae2c6a5f09453d7f6ce7d0a2ab92723e0ee78df20f7a30cb7eb74d6111790577bcc1a2cfdfbee0d74f1980535ddd7025559c6083
DIST xtables-addons-1.47.1.tar.xz 323312 SHA256 06535dbefaa7725870750048842b4b53f5a4f8d8b16d5ce61bb4cc28e0b99326 SHA512 4920c9fae1a5b026f48562590b9221d497127197806f52f2eeba269faf8203b3da2e2ab6ff01f273ecac457d19399c42b4d163c18fa405bfe15b54f46478227d WHIRLPOOL 6654fb33c96eb052b94047445682a26f141532c2db5404ec62c29d40741a34ac9138ba1a5de494d7f1b8706a5de425b1188f79fa6195a824d2642ba506f6bdc1
DIST xtables-addons-2.1.tar.xz 316412 SHA256 1d788bf647d96cfbcc2e61c3a32702cfdde40fea857407d2674731b41ac3ae79 SHA512 df8617f8dbc386e1264063fa1650a18021a199e8d301b7a2133c840f1cd54d348d5b6e46b823a778feb9682d65d898c8d31c0df35ee2b914865b126485973973 WHIRLPOOL d9146f96fb5c166e2944d45b69c929f56fb8104df9599fb9bdc4be83fc6540f26782dd8fd8866a06b7b0531207db7ce41f95439efdb07f0fa5d73a34e2028cd0
-DIST xtables-addons-2.2.tar.xz 316840 SHA256 bafaf53b896272adcf17f240339c866eff07d30b51be8893a08deaf69f8f13ef SHA512 1bfdfe5a540a4aeb32511c8092662a9694bc8b58c5b369065380fdca2044b24edb1e47ed7bf301771ee36c782f8ff457fd1f8cfa76ded5aaadf35f41292f6f8e WHIRLPOOL 154f3dbc8e3e4c7063bef0cca8fa999099d8136c4e11245f058590325c09c8d1ea1a96a8927be5f5d9ff359c1bfdcd760892b9a1ea14e6056a01c304d4b1d777
DIST xtables-addons-2.3.tar.xz 316452 SHA256 7ab43981d594131ec8d72d4604c92c25dcf67dd4cae6aabb71113238a27cdff9 SHA512 08d529f0a2fa96ba715d2142934d6568a3c4f0ddb49f06c3c4d4ac200de0a4d2b59a4007302b557ca21014cbacda104e7781df0d5158e5313a673a928453abcc WHIRLPOOL d9929c3ede195ae87fd5b063814f2d27a0ccc772b8cc7eaee7c4d551af58e9f91e4fbbf420c058522563ea9f7ee082e280f124118bee4997763eb35738e3facc
EBUILD xtables-addons-1.37.ebuild 5228 SHA256 15ef815012c58c8a068d0962b0b2699fdcd20aaac1906b3b0b649c967d45e382 SHA512 21190fb4c3d0212fb29f51f232dbe762ae0f43bf6c903c18aec8f8894bdb42de80819767e25d157c263592260dc9c3636a369045475c6a1d9e2685c41158947f WHIRLPOOL c2a13ee8cc9ec0fda756213bef2d56e5df6b982f15be97fce5a1638a722083d643b2361de0f5476b7c71872f79084772474bdb626810a6daa9ad0eb5f5fa49bc
-EBUILD xtables-addons-1.38.ebuild 5575 SHA256 19a3c5949e827c440f22d6ffd025ff3df46bb8a20014da8d064ea7e68c533ca4 SHA512 2e4936ad623359aef07c711254473c995345c5b268775338c8c214ce84bff46d6c46b4bf3bb8debea96fc63bfda86f8dffd06d3ee9d5e6bac1862aa523719a40 WHIRLPOOL 6fc29ddf6b1268f2e0141399ff212476a322d5524d4c85d75519e68dd8c758cc0fa551a79fb5b113e5a722d38bd099bbb2518cf2f7f87830ca1938dd4b5fb5ac
-EBUILD xtables-addons-1.39.ebuild 5384 SHA256 ad6d93a0f1ae2bb74d9afb0078a83411855af1304616616c146b31c741be1a4c SHA512 5b1df369a53ddf04588a4a9439890509fb147a4b0123e96560f509145e237ceb5c705c65878f86c190a123b54be00216a8641aa0873b4c57dd7a158f052560c7 WHIRLPOOL 13ddcc1d8f8c5ee9785c1fc09df7549786294612602b0769bfb5f4cdfffbcf65a78df28f6260eb876dda1ea05fdb564493a7e911c4a8eac06dd844c915229de7
-EBUILD xtables-addons-1.45.ebuild 5181 SHA256 448a0a164d1eb73afd21f438f7d48c5e99c876129c70537b6a07d385fc5ad461 SHA512 a7838059c502c87831ca3a83374ab3cdcdcb86add801d306adfbdadfa6a6c7981b3a5f2909771016c188f97ea2bc461c79bc45fb4598e6bb23dfceeac67bd992 WHIRLPOOL 295b5a6865fe5a3f8fcbabe3f3ce6fdc0e3961721831a8e14bf8fbf4841980cf48dcc7e2711583419ae35cd83e45d73491db90378b54047777374baa269bfde9
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
-EBUILD xtables-addons-2.2.ebuild 5099 SHA256 e62bea46642ce709763f1da2da13c87ab62c9d4ab3485eff6db5a9531e9ee72c SHA512 61b1148949dad10ddf7896983c6ef10d514eda6375fa280e733844664cb5fc12939867d14d38c37c63839a6ea4a0f4803d68a8518849f264502d4c166d854817 WHIRLPOOL a37560f31b6418abc5e99eb2c8edee3e5cdeacc1cc44a3ae49c7e7605b55e6f8c08e0db560c55e57470fa7e1234377e6861394b2cfa2a538bc4f84d1f15d6e1d
EBUILD xtables-addons-2.3.ebuild 5098 SHA256 7161eb11e62530ad4ea882053ed4b8724fa693a31a5bd70381ff24359291ead0 SHA512 2c867e94265cb3fd9198335285057d4747e799ab15e7a7daca08d82a2b6b3c9cd38fb5e1a437e06cb70d28548e0348e960db0b7aa9a50d9c0a801f7632b26826 WHIRLPOOL a8040616db4990721dc63586c28403b3d58ece3f08bbdb07ae2fc7fe38be7c812f3fd9b310ab8a22d8bbb697e938581a0a5a753727e9aff8b00f7d29c918ca0f
-MISC ChangeLog 7086 SHA256 9e7e093723d0a53a36027f3d90285b2053cfd8b29a93b5668cd603bf95c13a8c SHA512 93c7df63ebe73751c5a5643c46ccabc7e2317225ffaf175376cdee14d3dc192dda0318448090562b05eb0fc483f11fcb52d6bb4e7070bcffa99ede1bc9b4d824 WHIRLPOOL 7c70ecba388b723142858c4a1bf6b4ad0ba080cd7792d2835833baa22fb988d001378b23a4f33eb726ea2cf60a59f4cc7fc534f86a244d5490b0be9c39a540c1
+MISC ChangeLog 7300 SHA256 a18b0700927bd250d778d3a757d9468f11cb541574a73fccbf3fc2f2315b2547 SHA512 fde0f855272219fd536556f8d7e81b0ab6a6a8fd38c02e720a064f0c849f41fd9540275687ce424b99ceb9ef16652efd7d058e5ef95388638652d171fc70fc2c WHIRLPOOL 34477aa9fcbe521b852d7f7cbf396cd3cabad5c3ce0cb324b9643eca62ab95f55e574e95a7317c698ca774ac48578489d4ce923d65798a61bd5c1f5ff4253af5
MISC metadata.xml 879 SHA256 f285cbfe58c7e6eb33e8abbf92a14e20826d29020931872fa15b773b7885419e SHA512 a4eb5230ac1d2f39767d694c7ae6a86c4b90c4c64d4e18183677e5086b68e05c65e5f86f5555ef9d972595a8622f5b3893badf0077ee46559fa607986442d4a9 WHIRLPOOL 9ad00e9ca70a6205cfdc30b97526ea9afda17e0b3663a0c0a2ec7564a0837d411f2deb8648c796701cd0dbfebd7a3bd2df405098e746cdd47789ccd85ca3a314
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJRwLcqAAoJEJOE+m71LUu6VQsQAKRDgEFbskLyBj6pBbi4ks59
-VN2Bao18NzPydH08CpMQIHdzKw5dFU0Ggnn6/TnOSUjiEzSky6b9ypMmWtMJMC0x
-VeeSFdbwxKLoH8t17wcMPhA5pJ0LOmgiGX21upzL9wnOQ0FM0vJYDTkId7Py5s2K
-dC02PY4q6hwVQOkfsjSSR1ucomM3HVq+hAGMVoV2ICSEBRqT+ukFIR3rvFdUM6Ab
-pJHePNvKK4btlJHYLdh6R60RHROx/uL0u7YQFwNBHo3Ddy8ZsyATjfE+xa+yshp4
-XjfgulEbcZ7NIhnfWjgmDUe1oNRuYp2WkLqJYESXmaRUE/vkLXsQTuvil9W9CS3h
-PkkfW1Vvc9R0ynrUvxL2Z9DIeP20G4V7zJP/fAmGs7CiYlFuSZLgM+BbdmDpg46a
-MUfvQnZWHV94RcdMNvXKK5jR9oaTSTjnun5A0NLKtgC0Qj0FefnfF1ioE+siFVhD
-nyRfpt12WkvQ437EVcpM7nF3iObJD3at7iyXGLavHh5F15P/7YZKFdME4Hgm4+as
-eTLrEdpSHU1MTtoNH9wogX72MeFSrBO5P4oCzbPQy+QMgLXbLEOeg9ZIEHKGNUsK
-iimPDM8xeWWXCehqhJj/qkf/WLdoVigj4y6V0vOsmZIpLLa2t6Fe9DNqrXv2+YV1
-e/57wTvsWtJdNGzHBEac
-=/nIl
+iQEcBAEBCAAGBQJSW/rbAAoJEAmJmMX429reSocIAKnSAlCO3jvwnIX79gLIu/ri
+KRX43KyHVXV1iWJw31NSeXO15HO+QZge+4P/6c6inzahyLZ8Ee8vZaAqQlI4tWMr
+sC06N3O3jBgNzo9RMP9KcNP/pmDN2WPKMbOCBRx92zc6zYF5iFG/pF/HTwZiBg/q
+wWdmFYz2BbJGWhVEiOoEIOoizvjziFOG7fCERiVBkAPzyikSWZ+AXtlVsmxZGiAq
+Yyex2A11pFKkjObaX+531H/SGkvF/rPPeQ0xO3ZI4p1BA3G0woh1t914C1oq2iS5
+iZcDG8y1j1lMYI1bV0Sb1H2OzT5V++/t/SecgZgutiimvGubzr1DbKY22P43ELQ=
+=F7LQ
-----END PGP SIGNATURE-----
diff --git a/net-firewall/xtables-addons/xtables-addons-1.38.ebuild b/net-firewall/xtables-addons/xtables-addons-1.38.ebuild
deleted file mode 100644
index b019c0025615..000000000000
--- a/net-firewall/xtables-addons/xtables-addons-1.38.ebuild
+++ /dev/null
@@ -1,178 +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/xtables-addons/xtables-addons-1.38.ebuild,v 1.4 2011/09/25 15:49:11 swegener Exp $
-
-EAPI="4"
-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"
-
-REQUIRED_USE="
- xtables_addons_ipset4? ( !xtables_addons_ipset6 )
- xtables_addons_ipset6? ( !xtables_addons_ipset4 )"
-
-MODULES="quota2 psd pknock lscan length2 ipv4options ipset6 ipset4 ipp2p iface gradm geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark echo dnetmap dhcpmac delude checksum chaos account"
-
-for mod in ${MODULES}; do
- IUSE="${IUSE} xtables_addons_${mod}"
-done
-
-DEPEND=">=net-firewall/iptables-1.4.3"
-
-RDEPEND="${DEPEND}
- xtables_addons_ipset4? ( !net-firewall/ipset )
- xtables_addons_ipset6? (
- !net-firewall/ipset
- net-libs/libmnl )
- xtables_addons_geoip? ( virtual/perl-Getopt-Long
- dev-perl/Text-CSV_XS )"
-
-DEPEND="${DEPEND}
- virtual/linux-sources"
-
-SKIP_MODULES=""
-
-# XA_kernel_check tee "2 6 26"
-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 ipset6"
- ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}"
- fi
- if (use xtables_addons_ipset4 || use xtables_addons_ipset6) &&
- kernel_is -lt 2 6 35; then
- die "${PN} with ipset requires kernel version >= 2.6.35"
- fi
- kernel_is -lt 2 6 29 && die "${PN} requires kernel version >= 2.6.29"
- XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE
- XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM
- 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_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 '{}' '+'
-}
diff --git a/net-firewall/xtables-addons/xtables-addons-1.39.ebuild b/net-firewall/xtables-addons/xtables-addons-1.39.ebuild
deleted file mode 100644
index 2f730deb63f2..000000000000
--- a/net-firewall/xtables-addons/xtables-addons-1.39.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/xtables-addons-1.39.ebuild,v 1.2 2012/06/19 21:02:06 jer Exp $
-
-EAPI="4"
-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 ipset6 ipp2p iface gradm geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark echo dnetmap dhcpmac delude checksum chaos account"
-
-for mod in ${MODULES}; do
- IUSE="${IUSE} xtables_addons_${mod}"
-done
-
-DEPEND=">=net-firewall/iptables-1.4.3"
-
-RDEPEND="${DEPEND}
- xtables_addons_ipset6? (
- !net-firewall/ipset
- net-libs/libmnl
- )
- 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 26"
-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 ipset6"
- ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}"
- fi
- if use xtables_addons_ipset6 && kernel_is -lt 2 6 35; then
- die "${PN} with ipset requires kernel version >= 2.6.35"
- fi
- kernel_is -lt 2 6 29 && die "${PN} requires kernel version >= 2.6.29"
- XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE
- XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM
- 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_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 '{}' '+'
-}
diff --git a/net-firewall/xtables-addons/xtables-addons-1.45.ebuild b/net-firewall/xtables-addons/xtables-addons-1.45.ebuild
deleted file mode 100644
index dea9d92a44d1..000000000000
--- a/net-firewall/xtables-addons/xtables-addons-1.45.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/xtables-addons/xtables-addons-1.45.ebuild,v 1.1 2012/12/27 10:39:13 pinkbyte 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 tee tarpit sysrq steal rawnat logmark ipmark echo dnetmap dhcpmac delude checksum 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 26"
-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 2 6 29 && die "${PN} requires kernel version >= 2.6.29"
- XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE
- XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM
- 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_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 '{}' '+'
-}
diff --git a/net-firewall/xtables-addons/xtables-addons-2.2.ebuild b/net-firewall/xtables-addons/xtables-addons-2.2.ebuild
deleted file mode 100644
index 10ecc59d761a..000000000000
--- a/net-firewall/xtables-addons/xtables-addons-2.2.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2013 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.2.ebuild,v 1.1 2013/05/17 18:59:32 maksbotan 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 steal rawnat 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 '{}' '+'
-}