diff options
author | 2013-06-15 15:54:48 +0000 | |
---|---|---|
committer | 2013-06-15 15:54:48 +0000 | |
commit | f3450b5139df4147883fdda6432641f237fa871e (patch) | |
tree | 08e3757b4843d74e8c6f22bc4ee99ed4ecefe249 /net-analyzer | |
parent | add amrenc useflag to have a more finegrained control, bug #473284 (diff) | |
download | gentoo-2-f3450b5139df4147883fdda6432641f237fa871e.tar.gz gentoo-2-f3450b5139df4147883fdda6432641f237fa871e.tar.bz2 gentoo-2-f3450b5139df4147883fdda6432641f237fa871e.zip |
Old.
(Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/fail2ban/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-0.8.8.ebuild | 70 | ||||
-rw-r--r-- | net-analyzer/fail2ban/files/fail2ban-logrotate | 9 |
3 files changed, 5 insertions, 80 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog index da4aff5c732f..a8debba6c969 100644 --- a/net-analyzer/fail2ban/ChangeLog +++ b/net-analyzer/fail2ban/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/fail2ban # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.107 2013/06/14 18:28:36 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.108 2013/06/15 15:54:48 jer Exp $ + + 15 Jun 2013; Jeroen Roovers <jer@gentoo.org> -fail2ban-0.8.8.ebuild, + -files/fail2ban-logrotate: + Old. 14 Jun 2013; Agostino Sarubbo <ago@gentoo.org> fail2ban-0.8.10.ebuild: Stable for ppc64, wrt bug #473118 diff --git a/net-analyzer/fail2ban/fail2ban-0.8.8.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.8.ebuild deleted file mode 100644 index 397927c9a7e9..000000000000 --- a/net-analyzer/fail2ban/fail2ban-0.8.8.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.8.ebuild,v 1.9 2013/06/06 17:00:14 jer Exp $ - -EAPI="4" -PYTHON_DEPEND="2" - -inherit distutils eutils vcs-snapshot - -DESCRIPTION="Bans IP that make too many password failures" -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 )" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f ) || die -} - -src_install() { - distutils_src_install - - # not FILESDIR - newconfd files/gentoo-confd fail2ban - newinitd files/gentoo-initd fail2ban - dodoc ChangeLog README TODO - doman man/*.1 - - # 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 "${FILESDIR}"/${PN}-logrotate ${PN} -} - -pkg_preinst() { - has_version "<${CATEGORY}/${PN}-0.7" - previous_less_than_0_7=$? -} - -pkg_postinst() { - distutils_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 -} diff --git a/net-analyzer/fail2ban/files/fail2ban-logrotate b/net-analyzer/fail2ban/files/fail2ban-logrotate deleted file mode 100644 index 5d22bd03950f..000000000000 --- a/net-analyzer/fail2ban/files/fail2ban-logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/fail2ban.log { - daily - rotate 7 - missingok - compress - postrotate - /usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true - endscript -} |