summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Smee <strerror@gentoo.org>2006-09-19 09:14:58 +0000
committerBenjamin Smee <strerror@gentoo.org>2006-09-19 09:14:58 +0000
commitb1b48375b0a0a464978220f8922edd437d6e9a07 (patch)
treeead7f9a0f66253f5c138463f12b729cb59c76e1a /net-analyzer/fail2ban
parentx86 (diff)
downloadgentoo-2-b1b48375b0a0a464978220f8922edd437d6e9a07.tar.gz
gentoo-2-b1b48375b0a0a464978220f8922edd437d6e9a07.tar.bz2
gentoo-2-b1b48375b0a0a464978220f8922edd437d6e9a07.zip
Version bump. Thanks to Cyril Jaquier
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/ChangeLog7
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.7.2.ebuild41
-rw-r--r--net-analyzer/fail2ban/files/digest-fail2ban-0.7.23
3 files changed, 50 insertions, 1 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index 8fb302e3eac1..f91a296e5b99 100644
--- a/net-analyzer/fail2ban/ChangeLog
+++ b/net-analyzer/fail2ban/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/fail2ban
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.13 2006/08/12 14:20:50 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.14 2006/09/19 09:14:58 strerror Exp $
+
+*fail2ban-0.7.2 (19 Sep 2006)
+
+ 19 Sep 2006; Benjamin Smee <strerror@gentoo.org> +fail2ban-0.7.2.ebuild:
+ Version bump. Thanks to Cyril Jaquier
12 Aug 2006; Markus Rothe <corsair@gentoo.org> fail2ban-0.6.1-r1.ebuild:
Added ~ppc64; bug #142828
diff --git a/net-analyzer/fail2ban/fail2ban-0.7.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.2.ebuild
new file mode 100644
index 000000000000..aa1d9d2bc721
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.7.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.7.2.ebuild,v 1.1 2006/09/19 09:14:58 strerror Exp $
+
+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}
+ net-firewall/iptables"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # mail-report.conf does not exist anymore
+ sed -i -e "s/'config\/action.d\/mail-report.conf',//" setup.py
+}
+
+src_install() {
+ # Use python setup
+ python setup.py install --root="${D}" || die
+
+ # Init.d script
+ newinitd files/gentoo-initd fail2ban
+
+ # Doc
+ #doman man/*.[0-9]
+ dodoc CHANGELOG README TODO
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Configuration files are now in /etc/fail2ban"
+ einfo
+}
+
diff --git a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.2 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.2
new file mode 100644
index 000000000000..33f81aa63a59
--- /dev/null
+++ b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.2
@@ -0,0 +1,3 @@
+MD5 bff25dc486f8535a3accaed6d17980f1 fail2ban-0.7.2.tar.bz2 29557
+RMD160 bc80ef14b98b40ce7c1787e93b337ba5dbe6afa3 fail2ban-0.7.2.tar.bz2 29557
+SHA256 245971d67f9b2fd206feec4ac1b62a2a3e68228cef2194034f7e0d2337967dda fail2ban-0.7.2.tar.bz2 29557