summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-12-05 15:32:56 +0000
committerJeroen Roovers <jer@gentoo.org>2014-12-05 15:32:56 +0000
commit5ec8928255b8ee760c012b5b4ccfd95e5ac22fe3 (patch)
treedb23ab8cd3138522334e577e5facbe496558cca1 /net-analyzer/fail2ban
parentUnmask PulseAudio after reaching a compromise. (diff)
downloadhistorical-5ec8928255b8ee760c012b5b4ccfd95e5ac22fe3.tar.gz
historical-5ec8928255b8ee760c012b5b4ccfd95e5ac22fe3.tar.bz2
historical-5ec8928255b8ee760c012b5b4ccfd95e5ac22fe3.zip
Old.
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/ChangeLog8
-rw-r--r--net-analyzer/fail2ban/Manifest23
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.9.0-r2.ebuild98
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-0.9.0-empty-run-dir.patch12
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-0.9.0-loglevel-int.patch11
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-0.9.0-python3-regex.patch39
6 files changed, 11 insertions, 180 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index 7ee0a9f696b6..2b3ea04182a5 100644
--- a/net-analyzer/fail2ban/ChangeLog
+++ b/net-analyzer/fail2ban/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/fail2ban
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.154 2014/12/05 10:15:37 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.155 2014/12/05 15:32:54 jer Exp $
+
+ 05 Dec 2014; Jeroen Roovers <jer@gentoo.org> -fail2ban-0.9.0-r2.ebuild,
+ -files/fail2ban-0.9.0-empty-run-dir.patch,
+ -files/fail2ban-0.9.0-loglevel-int.patch,
+ -files/fail2ban-0.9.0-python3-regex.patch:
+ Old.
05 Dec 2014; Agostino Sarubbo <ago@gentoo.org> fail2ban-0.9.1.ebuild:
Stable for x86, wrt bug #530346
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index aa64a77cc04f..1aac321f2686 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,34 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX fail2ban-0.9.0-empty-run-dir.patch 203 SHA256 1d598060f7b631e0e9841d17c1d6a27a0894118768fdf29f1e4428a8bae63630 SHA512 78c0fe591539ae25c388ae2096326299b47280f686578f5582da4903672d7cd93cc675acac31a1cc5fae626148269323bd39dfd03dedf46f24b0018e2f6cbf4d WHIRLPOOL 9e2cff388542cf56813a4c8f5bfaa5f0dca916078f6d99fc5db2e05b73365334728ca4bc78b3c0e96ff38b0eef2e6010598e95509bacc5ee26add084ce1d571f
-AUX fail2ban-0.9.0-loglevel-int.patch 410 SHA256 de6d4a9e15512468879cdbdb5c1df28dc66a23f12d87eb59ce6dd4a91cd5dac0 SHA512 4e0f0fb68226856002ae180ed9959d4eb67605e69199eeabaab267b667d5452492cfd48af6f10be1ffc224752d10f50c51582205f1d3ff55f40426cf969d1cea WHIRLPOOL 0673afae846344079cb0ecb493d1365e637fe9ae531afcf50fefa554ceea4854cecc79ba4dc6999a11ffe447850d4e640c839e6ed88968a479c0d750a843d670
-AUX fail2ban-0.9.0-python3-regex.patch 1415 SHA256 fcd61ca6f367c90ebca8c4159ee8e487b3aac727a4691bf6e9e1a622d067b0ac SHA512 581b64795ff89d3b30e4b56d50e5a1ce960bc661f3f393f5150a7e0cb05d43e8928d03211f09754e37e86deb0fedde6a7bc1a99c9644cae5d93a22a8fe636abe WHIRLPOOL c1f02c5a776d428edf6734fd6280dae5e2476156c849a0e581dd674b34229ae66f0ae3ff6a456c4bb797ad829a1a0f7ff4f9df0625534d360184ca7914ec9174
DIST fail2ban-0.8.13.tar.gz 226759 SHA256 94977b9d8070a5e2480e5b6e3abd4bf288567ad6c2c5ab78e3a9fbb712f46090 SHA512 c93f5ff70064e31f419bb1b2153e7b350f3723b926bab46d28dda02f66eb580ac5762154fec33d9963bae41c999bee35b111d2ba188ff600512c824e32dabb24 WHIRLPOOL 28650f5109c91cad380e518a937d7003be56ed1a9930742297976f724b3940d892122ff2dc776d6d1d52ae75293807e8772de3d44e65ea6530126d792758df2d
DIST fail2ban-0.8.14.tar.gz 228146 SHA256 6331b6330380157a7f4addbc5f6d81225927857c882b877e9c3401025fe821f0 SHA512 bc747faf467bf9b4988299add32775c5b120b2bb18836aae0e8af8094ed90d304cdd100d6a1d0e61819d46afc281d8f1856783ff77abc622f2921a13773893d0 WHIRLPOOL 0c21692163eea4c5d0f31ab45e8437b57b8da7823cb1946113870c1763a29413a10baa9c74af861a4604ee8e5f3b213c5685479f6839a1460347adb87aff0064
-DIST fail2ban-0.9.0.tar.gz 274108 SHA256 981d2461a75d818934e2dcacf618ad9460ac4a6c05956f845f4d51c4d88000e0 SHA512 92b031a904cd3ed9fe88a60c5cfbe7b0cfc614055f6fbcc6953a9dfa560cdd38f3e8e9664bbb38622fdb62450d69c0f4343c7204f7bfd13aea2eb59646be232d WHIRLPOOL 772c16bd949d6ae2758d78a3ff5ab87faf71d1d6f5d2332e71dddd7ad7684a29974dae064200e60a72a1ceb39df2547ff70681bdc646b24f1d029119d2e82d22
DIST fail2ban-0.9.1.tar.gz 299033 SHA256 8ad1135d4669d5fb0890f364880a4125ff793a39084100b80b65e52ab19deb78 SHA512 802cd386392b35e4a4c4fb471cd5a656f81c5d3852c84962c7d10ac19fde96376ed54400065cb81d0d1cfa140de3205c43889b2a8d9f65f3e67078d402520847 WHIRLPOOL 58b933be027de3a5bcf893526c03e79c76af492b41be32de625df117cfe762fb9502c1ee5381762ec1ae96e33672858a3d47efc31c5059cefc688416c8bcd8f9
EBUILD fail2ban-0.8.13.ebuild 2310 SHA256 bbc55e509bfb9c71abfd8d3d26ea3e305c007547f11ddd6e1ec675d97daf3627 SHA512 deea2a3ec4cedd897ce1b2e2b755fd5915f1ca0ba7dedcc1fa8ddabad2b54115c80ba85bfd5c58e15c726d88a626b8b7ac25a118207949b91741f13f8ec5637f WHIRLPOOL 051417fc1db083f47d4ba2f9b6d4cd6ed301a80f7ae4680e7fdd372d89280588cd23ffeaa7d82fa96c8a5750b2004bc8d72d38182001ca45ba7fe569b95b5cf1
EBUILD fail2ban-0.8.14.ebuild 2315 SHA256 611a0d6a4a197a4b85b1c4666641d9e4a3d6b6612a88103d33a381a817150959 SHA512 c65e773dff82d6bcdba44d9e578acb58e956502a79e57fbaa16178deea0d5791aa9fe4e6016c9c5e33914c948b9f4a6682ce5f78fb218606512e5393d6f58a27 WHIRLPOOL 66836403b618e109f0c4902826f48f525af685a9f64529f187b1f86551ab1a14bccc0c6d44210dd0162e2b1aaabbcbfcd4184c49fc1c448a8069aa4c66310eb5
-EBUILD fail2ban-0.9.0-r2.ebuild 3030 SHA256 fcb76b7fd7a988bcc10abdadb901c6867d6493115814c8fc510bb4412b520275 SHA512 7bb436fec0d797bcb52e0012289820813cb2c159e7cd46ce5c2e12283a525bea01c6e7cee169b159aedf6db0238f4aa0bf214e667419f9c32757410dc372db2b WHIRLPOOL 604fc6cbb0dd7cb448f09574ed97712e5d4ce865e0219919ba78b140db689bf2e3ff013471dbd82572ba3eef466f3875254c05295c8a600bd31f7596f9f195c4
EBUILD fail2ban-0.9.1.ebuild 2853 SHA256 7fbc9f4460b2d5bdb10400f66cd227130fc26075d1f11c836730a03004bbc2f0 SHA512 82555e4da9407f4d6c4030325cc093d505e3a17fbb8ce5035cc7804339b203d029afdb18ca43dfabe0b5540bb5ac2d6df24234b82d8d6b699464d963ed59ced5 WHIRLPOOL 19ea6e4b9d56a7328371d9a61cbd1c070279fad39450866d1761049fc6e721e347c937e29d70e483d589739abc64a20cdc1fa34d6b2e6fd1b089fa190e9f6204
EBUILD fail2ban-99999999.ebuild 2832 SHA256 86a67ccb6b9c2900bde08fa1bfaed105bcd263772a73c495fec8f4c9d7733511 SHA512 e11dabbf95053c695437178976b25775751365c49fddd08497c05586252ab415eb5d1dc0c29127b0cf0276c2aad4e37ee5a488a5aa4236334a126d5f928124d6 WHIRLPOOL 6bb81d4dc4e1247d691d8c97ceaea7c5b4a1f8350c6127955915617c28891945542bac394480a5b9aa4739856574973e4148ff1d09103e51e809361042f1abfd
-MISC ChangeLog 22385 SHA256 f034ed54e8a6c062366df7ea5d8d6f393381b8399f8722a8e265fb5287608222 SHA512 5f1c82c353a2958ed12020093334d30f125e9ca1c9533b0aa6bcf184d346d316fb6f42ee04d52e412f6ac8b2213ece271283a6af830d187677ff29412894a6ce WHIRLPOOL 1d533075e17e008dc472a16b8365e1da2fc330a23776eecfa96380369622ca18a7df8783a1286df305b01ced3eb9fcaa099a76dbd418c6e345e01206b70902fb
+MISC ChangeLog 22601 SHA256 4ed5a2531e878d81cf28cde4bea651c528d1a770de4e4b16e3e6144146ddcb54 SHA512 9a1a2961bb23b0d36b70bb187e3e3a17124cac5ca7cef645fdd6c987757f4ab0bcd3b7782d6b50a18769005482eda5544da2f0f352552f115cc2d9cb794a76f7 WHIRLPOOL 5787940d07ddec0b0b9ccd28c275227e371ab24a18c77394ed99e9ced9455e8bbbc2928168f0f4f8bdc1f2d5ab522eaf9444eb3f5378884ad1c62cafea75531b
MISC metadata.xml 161 SHA256 442ce683981a7e51854e06ffdc2bdbbd956decf0d7a1f0c1ca056439a7230ebd SHA512 24f0086dfd65743d480e231efa20106ecd3980449864d6158b7e92542a0f4cfe58d3dbcbabd0042201beb43f5a57f6d30a912037cfcdc56ed56ac0532362c5da WHIRLPOOL de3b36cfc647f36b482a403ce526a395d38a69100917ee50aa5cbd888708678a6d4f67aae3381ef373b5ccb1df196503a2554765598491bd71da9c0415f24a80
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJUgYXKAAoJELp701BxlEWf5WQQAIYvYZ0JkiXX1TxH/qVXs8uV
-Tm4l2qoRPPHjxNzwofR+r15ysGkshQHYq4dy+EdE0mVno6wZA5+aEvZQx21hc7vb
-Hfk0XYL++KxB4vcD8/yQ+/alimgSGXVAR3guYWkCfuDUOCLS9WL1d9lHkSORImDI
-Sc5XuRENo7F82Ss00/sga9sAeqoBhV6xwxFiob1G2sVZn3qZIrI4VR+wqwm78Hwk
-oBcp8/Nfp9+gjSHvYiBUYeAXVWNaCkQnyMbaQW75qn994AN7pyp1fjDWncRtHq5N
-+1Kpeme+GDG2Zaap2ZBmlSqHywG/FY+RWL631SXSkC/3e7WbKJ9OCUpFN1gy9Xle
-5/EVaYEm9yfSvy6iJ5l47RsHNf0dzie2ed4ez7LdQDVHxm5BowC73tCDIwRUktx0
-Zdyb40v50u6rA4Eg/bib2KcItx4l9sGc8Gl1C2msnDxFrhCxBWF8NMKu73WSVx1C
-ns2UcoyqZ3kxEleIM5q0MchGfSB/fQ+SnGuAE4fFp0zLW74pCDj4VvbbSZ2ElRgi
-SaHAS0GMfofyZxPyv17yGNkPsfq+/i62UTEFiev+OJoCztdoTqMot9y/Kp7fbEmd
-Y7BP5Et8bZ1S0mL9p5cxZnQghAkd7aekrQv4bYKihYGsGZaFm8dLE5Zvw9nym4/W
-kHTVChQ1FK34KL+uBQK/
-=/dEz
+iEYEAREIAAYFAlSB0CgACgkQVWmRsqeSphPl1gCeOKOVOh4UBAqtgeqUZUM3NT9A
+1+4An2DC90NSacwT+xYRYkKMIgkF1rPt
+=tw12
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.0-r2.ebuild
deleted file mode 100644
index 9889a3191df5..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.9.0-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.9.0-r2.ebuild,v 1.2 2014/11/02 08:44:31 swift Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1 systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="selinux"
-
-DEPEND=""
-RDEPEND="net-misc/whois
- virtual/mta
- virtual/logger
- net-firewall/iptables
- selinux? ( sec-policy/selinux-fail2ban )"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-src_prepare() {
- # Replace /var/run with /run, but not in the top source directory
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f -mindepth 2 ) || die
-
- # Do not install /run/fail2ban
- epatch "${FILESDIR}"/${P}-empty-run-dir.patch
-
- # Upstream patches
- epatch "${FILESDIR}"/${P}-python3-regex.patch
- epatch "${FILESDIR}"/${P}-loglevel-int.patch
-
- distutils-r1_src_prepare
-}
-
-python_test() {
- ${EPYTHON} bin/${PN}-testcases
-}
-
-src_install() {
- distutils-r1_src_install
-
- rm -rf "${D}"/usr/share/doc/${PN}
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
- if ! has_version ${CATEGORY}/${PN}; then
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
- fi
-}
diff --git a/net-analyzer/fail2ban/files/fail2ban-0.9.0-empty-run-dir.patch b/net-analyzer/fail2ban/files/fail2ban-0.9.0-empty-run-dir.patch
deleted file mode 100644
index 326ea9db7dc3..000000000000
--- a/net-analyzer/fail2ban/files/fail2ban-0.9.0-empty-run-dir.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -136,9 +136,6 @@
- ('/etc/fail2ban/jail.d',
- ''
- ),
-- ('/var/run/fail2ban',
-- ''
-- ),
- ('/var/lib/fail2ban',
- ''
- ),
diff --git a/net-analyzer/fail2ban/files/fail2ban-0.9.0-loglevel-int.patch b/net-analyzer/fail2ban/files/fail2ban-0.9.0-loglevel-int.patch
deleted file mode 100644
index ce4f50606b44..000000000000
--- a/net-analyzer/fail2ban/files/fail2ban-0.9.0-loglevel-int.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/fail2ban/client/fail2banreader.py
-+++ b/fail2ban/client/fail2banreader.py
-@@ -45,7 +45,7 @@
- return ConfigReader.getOptions(self, "Definition", opts)
-
- def getOptions(self):
-- opts = [["int", "loglevel", "INFO" ],
-+ opts = [["string", "loglevel", "INFO" ],
- ["string", "logtarget", "STDERR"],
- ["string", "dbfile", "/var/lib/fail2ban/fail2ban.sqlite3"],
- ["int", "dbpurgeage", 86400]]
diff --git a/net-analyzer/fail2ban/files/fail2ban-0.9.0-python3-regex.patch b/net-analyzer/fail2ban/files/fail2ban-0.9.0-python3-regex.patch
deleted file mode 100644
index be69ae3b137c..000000000000
--- a/net-analyzer/fail2ban/files/fail2ban-0.9.0-python3-regex.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From e193e67718b77a1603a91079d7ab4d2307570a8e Mon Sep 17 00:00:00 2001
-From: Steven Hiscocks <steven@hiscocks.me.uk>
-Date: Sun, 16 Mar 2014 18:25:16 +0000
-Subject: [PATCH] BF: fail2ban-regex mix of tabs and spaces
-
----
- bin/fail2ban-regex | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/bin/fail2ban-regex b/bin/fail2ban-regex
-index 270b70d..4317d06 100755
---- a/bin/fail2ban-regex
-+++ b/bin/fail2ban-regex
-@@ -395,7 +395,7 @@ class Fail2banRegex(object):
- if lines < self._maxlines or getattr(self, '_print_all_' + ltype):
- ans = [[]]
- for arg in [l, regexlist]:
-- ans = [ x + [y] for x in ans for y in arg ]
-+ ans = [ x + [y] for x in ans for y in arg ]
- b = map(lambda a: a[0] + ' | ' + a[1].getFailRegex() + ' | ' + debuggexURL(a[0], a[1].getFailRegex()), ans)
- pprint_list([x.rstrip() for x in b], header)
- else:
-@@ -466,11 +466,11 @@ if __name__ == "__main__":
- if opts.print_no_missed and opts.print_all_missed:
- sys.stderr.write("ERROR: --print-no-missed and --print-all-missed are mutually exclusive.\n\n")
- parser.print_help()
-- sys.exit(-1)
-+ sys.exit(-1)
- if opts.print_no_ignored and opts.print_all_ignored:
- sys.stderr.write("ERROR: --print-no-ignored and --print-all-ignored are mutually exclusive.\n\n")
- parser.print_help()
-- sys.exit(-1)
-+ sys.exit(-1)
-
- print
- print "Running tests"
---
-1.8.5.5
-