diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-02-13 01:17:29 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-02-13 01:17:29 +0000 |
commit | 2ac342f27ac3be6d38174f113a23632c278aa7cc (patch) | |
tree | 2ffebc72501d68e1d0849f6c5fe26eaf609fd162 /net-analyzer | |
parent | Mask x11-plugins/desklet-sudoku. Unclear license, desklets dead. (bug #446776) (diff) | |
download | historical-2ac342f27ac3be6d38174f113a23632c278aa7cc.tar.gz historical-2ac342f27ac3be6d38174f113a23632c278aa7cc.tar.bz2 historical-2ac342f27ac3be6d38174f113a23632c278aa7cc.zip |
Install jail.conf(5) (bug #501116 by Balint SZENTE).
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/fail2ban/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/fail2ban/Manifest | 9 | ||||
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-0.8.12-r1.ebuild | 79 |
3 files changed, 90 insertions, 5 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog index 1932354abbee..481827ba5ba5 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.126 2014/02/09 10:49:07 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.127 2014/02/13 01:17:28 jer Exp $ + +*fail2ban-0.8.12-r1 (13 Feb 2014) + + 13 Feb 2014; Jeroen Roovers <jer@gentoo.org> +fail2ban-0.8.12-r1.ebuild: + Install jail.conf(5) (bug #501116 by Balint SZENTE). 09 Feb 2014; Jeroen Roovers <jer@gentoo.org> -fail2ban-0.8.10-r2.ebuild: Old. diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest index 9617af2de5a5..da347c6d64a7 100644 --- a/net-analyzer/fail2ban/Manifest +++ b/net-analyzer/fail2ban/Manifest @@ -2,13 +2,14 @@ Hash: SHA256 DIST fail2ban-0.8.12.tar.gz 221688 SHA256 d03db61265b7ca6e74f087953e8b0b81f2608636ecca7aad8db289c014e3440c SHA512 9244fd7a1caadcc9f63f4af8dcf43a9f90c5010c784e054d45d649fab67488fb1852df60c7cf98d86cc348598730bb8d524c6389b7be1be72ee71eb2c5d98792 WHIRLPOOL edf7b4043a7db15ccda25bf793945d047de1d751c669814e491e96aa4cb211ba61e5715bd40db177f026ab8bf5a31dbf810f3e00218c3f49aa23570a7f319a63 +EBUILD fail2ban-0.8.12-r1.ebuild 2356 SHA256 5c14e748d5feff5a1c529f6944ea7bedc6f167da8bc09fcb07798c4585d71eda SHA512 429228b2cdc9b67e8a497c0ce8290dee53c1d86fb3130b6b9a0dcbe55edebd34101b333dc4614cc1860ac9801eb19ec2bb1722a13a92f8217e9e5604a317d443 WHIRLPOOL 4a556ce88d81d179daa88a84b2ba758b6052e3e9dd5cd76536530913276f39bc39eab18b1634139c841c5822b439e0883c39516458a55baa975a9f3a6b63b2af EBUILD fail2ban-0.8.12.ebuild 2344 SHA256 6eded75d8921b2e1f8a81f5e0516ebe8a50a256f7b57fa9d04d598ada5adaeaf SHA512 d95b08ff044dea2e9a8aadb6a9650940d8f9728c07930fa80a075b731a9de76e386596685b0996a3e1a63232c5c8339a210195794876f3b0d1e0722b12aaf3f4 WHIRLPOOL 6ab7f91a763083018b173fbe06b632a5cca89a6849b08f7ec7cdd5fad7b6fc87814ac2489408e228bde92286c78ef8d3d1a3af98aab20bb9d99c4b45f8af59d2 -MISC ChangeLog 18550 SHA256 90de3fda56313c48f233ca2c08986be91ba69370f78bf6285daa7705900de67f SHA512 0f4b869982226877faf3b0340c32615c7fb23d258dfe3ec853fddbbbeb0349a416d14c1f0589124d4a9773ab7bc3ca22a053b6a2cb4adbb9bacc09b762e6357c WHIRLPOOL ced0ac5741adce263cbdc1ab99ca26efaa064cc5ed4ddc7f8cad2e8c2252a4904b614d99831d3f9a63cf7313d80df7f8859b5f53c1ce00d05a525d0b122971a5 +MISC ChangeLog 18716 SHA256 b35fb25f603d3f8b11f7f3ae6a3d21cf9f170d48a431434d42e288f7c33cfba4 SHA512 921508c1bbfd20806ffd0c0f34c41c6cb8947c8419caa08417657c906a77943492bc1615361f07b7d723a0e19fce524fd7c56fa74506fc74938eaf63ef2173f7 WHIRLPOOL db00faa5a7d7858b479cdfd443a303e0501f978e7f74206151105aba1cf5c2e355c3e5e731fb7062adc809ae2e6321381cb877d49e001251b4972ece153ae2c1 MISC metadata.xml 161 SHA256 442ce683981a7e51854e06ffdc2bdbbd956decf0d7a1f0c1ca056439a7230ebd SHA512 24f0086dfd65743d480e231efa20106ecd3980449864d6158b7e92542a0f4cfe58d3dbcbabd0042201beb43f5a57f6d30a912037cfcdc56ed56ac0532362c5da WHIRLPOOL de3b36cfc647f36b482a403ce526a395d38a69100917ee50aa5cbd888708678a6d4f67aae3381ef373b5ccb1df196503a2554765598491bd71da9c0415f24a80 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEUEAREIAAYFAlL3XSQACgkQVWmRsqeSphNnRACdEkupkVxcnDLNwtCDzID1csI6 -rKgAlRSN8ay3fC9x6+/sNGdzfR62dl0= -=N649 +iEUEAREIAAYFAlL8HSkACgkQVWmRsqeSphNmzwCfaxMH3zLf43XoF7NXlZPtowhE +BCsAl0Ycf951YbbMnXg9+PMjIie9XzA= +=QcwC -----END PGP SIGNATURE----- diff --git a/net-analyzer/fail2ban/fail2ban-0.8.12-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.12-r1.ebuild new file mode 100644 index 000000000000..59633533bf4a --- /dev/null +++ b/net-analyzer/fail2ban/fail2ban-0.8.12-r1.ebuild @@ -0,0 +1,79 @@ +# 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.8.12-r1.ebuild,v 1.1 2014/02/13 01:17:28 jer Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_{6,7} ) +DISTUTILS_SINGLE_IMPL=yes + +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 ~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 )" + +src_prepare() { + sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f ) || die +} + +src_test() { + ./${PN}-testcases-all +} + +DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt ) + +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} && \ + ! 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 +} |