diff options
author | Raphaël Marichez <falco@gentoo.org> | 2007-03-03 22:08:16 +0000 |
---|---|---|
committer | Raphaël Marichez <falco@gentoo.org> | 2007-03-03 22:08:16 +0000 |
commit | 5b7b5c710ecb18133f2c50747ed6e4aa4c004536 (patch) | |
tree | 0b1d9e0a90730f3d63b08098a2568fe420a88180 /net-analyzer | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-5b7b5c710ecb18133f2c50747ed6e4aa4c004536.tar.gz gentoo-2-5b7b5c710ecb18133f2c50747ed6e4aa4c004536.tar.bz2 gentoo-2-5b7b5c710ecb18133f2c50747ed6e4aa4c004536.zip |
Add support for "force" startup, bypassing an old socket (bug #168071)
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/fail2ban/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild | 39 | ||||
-rw-r--r-- | net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch | 12 | ||||
-rw-r--r-- | net-analyzer/fail2ban/files/fail2ban.conf.d | 8 |
5 files changed, 69 insertions, 1 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog index add0fa01d692..adbbda405ae1 100644 --- a/net-analyzer/fail2ban/ChangeLog +++ b/net-analyzer/fail2ban/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/fail2ban # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.22 2007/02/01 17:25:07 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.23 2007/03/03 22:08:16 falco Exp $ + +*fail2ban-0.7.6-r1 (03 Mar 2007) + + 03 Mar 2007; Raphael Marichez <falco@gentoo.org> +files/fail2ban.conf.d, + +files/fail2ban-0.7.6.init.d.patch, +fail2ban-0.7.6-r1.ebuild: + Add support for "force" startup, bypassing an old socket (bug #168071) *fail2ban-0.7.5-r1 (01 Feb 2007) *fail2ban-0.6.2-r1 (01 Feb 2007) diff --git a/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild new file mode 100644 index 000000000000..61df0d4b2157 --- /dev/null +++ b/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild,v 1.1 2007/03/03 22:08:16 falco Exp $ + +inherit distutils + +DESCRIPTION="Bans IP that make too many password failures" +HOMEPAGE="http://fail2ban.sourceforge.net/" +SRC_URI="mirror://sourceforge/fail2ban/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.4" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}.init.d.patch" +} + +src_install() { + distutils_src_install + + newconfd "${FILESDIR}"/fail2ban.conf.d fail2ban || die "newconfd failed" + newinitd files/gentoo-initd fail2ban || die "newinitd failed" + dodoc CHANGELOG README TODO + doman man/*.1 +} + +pkg_postinst() { + einfo + einfo "Configuration files are now in /etc/fail2ban" + einfo +} + diff --git a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 new file mode 100644 index 000000000000..584dfdbff762 --- /dev/null +++ b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1 @@ -0,0 +1,3 @@ +MD5 e5d79eacf0a5fb9cfbbfa8e6dc8a12c1 fail2ban-0.7.6.tar.bz2 46501 +RMD160 36482469975191f8724633cfe3262951cc405755 fail2ban-0.7.6.tar.bz2 46501 +SHA256 44bb5c8b0a5e1192482d2e2695e65ed2bfe35601376cbe6ed584e304e41dfa92 fail2ban-0.7.6.tar.bz2 46501 diff --git a/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch b/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch new file mode 100644 index 000000000000..8ebe9b37c7b3 --- /dev/null +++ b/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch @@ -0,0 +1,12 @@ +diff -uNr -r fail2ban-0.7.6.orig/files/gentoo-initd fail2ban-0.7.6/files/gentoo-initd +--- fail2ban-0.7.6.orig/files/gentoo-initd 2006-12-17 23:32:53.000000000 +0100 ++++ fail2ban-0.7.6/files/gentoo-initd 2007-03-03 22:46:09.191746854 +0100 +@@ -21,7 +21,7 @@ + + opts="start stop restart reload showlog" + +-FAIL2BAN="/usr/bin/fail2ban-client" ++FAIL2BAN="/usr/bin/fail2ban-client ${FAIL2BAN_OPTIONS}" + + depend() { + need net diff --git a/net-analyzer/fail2ban/files/fail2ban.conf.d b/net-analyzer/fail2ban/files/fail2ban.conf.d new file mode 100644 index 000000000000..3c957b9221ae --- /dev/null +++ b/net-analyzer/fail2ban/files/fail2ban.conf.d @@ -0,0 +1,8 @@ +# Config file for /etc/init.d/fail2ban + +# For information on options, see "/usr/bin/fail2ban-client -h". + +FAIL2BAN_OPTIONS="" + +# Force execution of the server even if the socket already exists: +#FAIL2BAN_OPTIONS="-x" |