diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-10-28 08:38:17 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-10-28 08:38:17 +0000 |
commit | e723f83c86165933d31a16fedca60db0692a4326 (patch) | |
tree | a349562b1af974d411ac6d3ce568e0f018e25933 /net-analyzer/fail2ban | |
parent | initial import, ebuild by me (diff) | |
download | historical-e723f83c86165933d31a16fedca60db0692a4326.tar.gz historical-e723f83c86165933d31a16fedca60db0692a4326.tar.bz2 historical-e723f83c86165933d31a16fedca60db0692a4326.zip |
Version bump.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r-- | net-analyzer/fail2ban/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/fail2ban/Manifest | 10 | ||||
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-0.9.1.ebuild | 93 |
3 files changed, 105 insertions, 5 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog index 512e57d2eb6c..bd87c691eaaf 100644 --- a/net-analyzer/fail2ban/ChangeLog +++ b/net-analyzer/fail2ban/ChangeLog @@ -1,6 +1,11 @@ # 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.143 2014/08/22 15:25:20 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.144 2014/10/28 08:38:15 jer Exp $ + +*fail2ban-0.9.1 (28 Oct 2014) + + 28 Oct 2014; Jeroen Roovers <jer@gentoo.org> +fail2ban-0.9.1.ebuild: + Version bump. *fail2ban-99999999 (22 Aug 2014) diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest index 17066010de54..900fa5ff0197 100644 --- a/net-analyzer/fail2ban/Manifest +++ b/net-analyzer/fail2ban/Manifest @@ -7,16 +7,18 @@ AUX fail2ban-0.9.0-python3-regex.patch 1415 SHA256 fcd61ca6f367c90ebca8c4159ee8e 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 2348 SHA256 0f2490899c5a9c52bbbbe9c2c592acbacd35ea93bca361e7ba1c303027d68857 SHA512 a5d20b18d0f47fceb5fea72479b2ae3cd708cdc45d6d2572e9664af358c203e702cacfc169e8c795a6cbffb18c2f5302d3cf0b20ffe7adb05f22a6e7b79f1d41 WHIRLPOOL 40778439f38282f93b3e362d3545538d93ea1969c9bdb095abd57b2b382929c77a66845fe520d4de90e28102a994c0a36c0cc73e1ddf51c657916375669437d0 EBUILD fail2ban-0.8.14.ebuild 2353 SHA256 ebae2a57f30f33e96db04237ddf9654fac90f7a739019d24e908aaf198cb38fa SHA512 c452819f8a6d2a9aebdb7ce8f3cc91906edde74eb38572218f59c7027680c9fb58612cc68ee42cc63c2698233ef9067c13a8e87426f31b4f58620cadd5ca5b1e WHIRLPOOL d7eff97b0a44f50f59d89abae8e512479c22a8b082d8473f5f851fbfaa20767f5eeb42952873be2c39c430fb919b7c47b52b7d7895f66818a7c67ca137faf976 EBUILD fail2ban-0.9.0-r2.ebuild 3068 SHA256 ed09c5bf52fbce7dd4eb0ada7851705d7b02fd1e2f050be2ca69731a87738d34 SHA512 ae423ccf789bbc7f6edc90270d7ce876e8726d7c6ed39865530a9702ceed62982cb25d28d7d2f9c04f5a04bf0a232442e5364e4869b9a5266dee0547e4c63bb4 WHIRLPOOL 49bd886bc942f912a6cc27ed8345bf8d046be287be01c14af6eeff8a657e53fa9fa19169fddd52e49442f8488d3e9dc3e100ed7f58258cb58be9078d2fd92bea +EBUILD fail2ban-0.9.1.ebuild 2847 SHA256 2d14fe03ea05b3f193d731f87001856c59c05b7662122795af406cf3e1e55d14 SHA512 2496993ea67f4cdaa9760163621c5909396281366e6211550fbbc1291cdb3e4c3e4a0ec91db8d549116eff914b7730017d3409098d7b812ee40e7f858334ddc6 WHIRLPOOL c75d549eae4ff0ec5da74093cbdda9a2517a71c7c37f0f6e6a773c5487047cdc4c0ece845ebea0874c0f8ea5cadf27326d022ebdf880e8e7ccfa13508d7f6943 EBUILD fail2ban-99999999.ebuild 2845 SHA256 f80b0157c2b9422a0dc97fb5a21a61ab9ab7c0fbaa86cf5065a220f4dcaea802 SHA512 7bfe3184cb8775c9deca6c8610251611a794f38024793ad61900fbb1e3a170a0950fdf1380486bec3cd73c71db23c17119ff28d9a95675eef4f1d48218265a3d WHIRLPOOL 985f4e7049bc0d97bd62fc703b2fa2c95b6a1c5df477c924d7de5fed008c2b66f4521316c7bdc81d6253f651104037a298b63e34cdc9bfd94c357644f0c7327f -MISC ChangeLog 20995 SHA256 5606e055bba2bb3fb156fb5d2c47487b054188b582106639f2bb6a86105dc003 SHA512 58eacbdfc513dc8c4189f92b2676c2d0690eeccb429775a3cff456790d4a26d33ef74ee47f8a73bb26bca3398528a84b9dd99955af6fe4142b77907312afef59 WHIRLPOOL 2f818ec14e98feebbae1dab1049fce4ff5950b90084e63cf45114cc43267908aff514c06630be7918ec4312209674c4beb3c7cc2037750e0add939ccbfa79e06 +MISC ChangeLog 21114 SHA256 bf1838725f8a31e2e31134761602aea536917ec3e4a204634d9a51c2df4f152b SHA512 bd84dfd99c0d777ef50b9d7271c1197135dfbc8b8f4610c4db59eaeff83ed67f16fc567583db77690724b2e6923ea95552393c9681c1b11d6918c9b1b8a1b420 WHIRLPOOL 9846063aa7cd6470de2abd169401e777fd6dd8f3f0a8fd6abc829d9b95fd5aba0ce52411ff22aa8d1a4e505e742f8926b3e29a8c332e584a8e077479d0f56e8a MISC metadata.xml 161 SHA256 442ce683981a7e51854e06ffdc2bdbbd956decf0d7a1f0c1ca056439a7230ebd SHA512 24f0086dfd65743d480e231efa20106ecd3980449864d6158b7e92542a0f4cfe58d3dbcbabd0042201beb43f5a57f6d30a912037cfcdc56ed56ac0532362c5da WHIRLPOOL de3b36cfc647f36b482a403ce526a395d38a69100917ee50aa5cbd888708678a6d4f67aae3381ef373b5ccb1df196503a2554765598491bd71da9c0415f24a80 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlP3YOEACgkQVWmRsqeSphO3gQCeJbuHP9ATAbooDGo9hbAjYcXR -vdsAn0XE+sKZwYVoeyiGBJFe9POo96wQ -=O8j5 +iEYEAREIAAYFAlRPVfkACgkQVWmRsqeSphPZ6QCfdXOI+/gHNjYKN7cHKfmoFm9S +xkUAn2li+lVm70l9w2sPnaDh2dRjkA9O +=WHh/ -----END PGP SIGNATURE----- diff --git a/net-analyzer/fail2ban/fail2ban-0.9.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.1.ebuild new file mode 100644 index 000000000000..23f0e59419e1 --- /dev/null +++ b/net-analyzer/fail2ban/fail2ban-0.9.1.ebuild @@ -0,0 +1,93 @@ +# 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.1.ebuild,v 1.1 2014/10/28 08:38:15 jer Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy pypy2_0 ) + +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="selinux? ( sec-policy/selinux-fail2ban )" +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 + + 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 +} |