summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Marichez <falco@gentoo.org>2007-06-18 12:34:52 +0000
committerRaphaël Marichez <falco@gentoo.org>2007-06-18 12:34:52 +0000
commitc43432b556f106efc26be9946c9da1a8b0e9487c (patch)
tree611bb2537ef2a48c94cd3c44fd79db6cab55eb7d /net-analyzer/fail2ban
parentAdded ~ppc64 (diff)
downloadgentoo-2-c43432b556f106efc26be9946c9da1a8b0e9487c.tar.gz
gentoo-2-c43432b556f106efc26be9946c9da1a8b0e9487c.tar.bz2
gentoo-2-c43432b556f106efc26be9946c9da1a8b0e9487c.zip
Ensure python is compiled with readline support bug 182220 and prune old versions
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/ChangeLog10
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.6.2-r1.ebuild13
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.7.5-r1.ebuild32
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild39
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.7.6.ebuild32
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.7.8.ebuild33
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.7.9.ebuild10
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild10
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.8.0.ebuild10
-rw-r--r--net-analyzer/fail2ban/files/digest-fail2ban-0.7.5-r13
-rw-r--r--net-analyzer/fail2ban/files/digest-fail2ban-0.7.63
-rw-r--r--net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r13
-rw-r--r--net-analyzer/fail2ban/files/digest-fail2ban-0.7.83
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch12
14 files changed, 48 insertions, 165 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index fb0fcd9c3177..d3ca35d70e5f 100644
--- a/net-analyzer/fail2ban/ChangeLog
+++ b/net-analyzer/fail2ban/ChangeLog
@@ -1,6 +1,14 @@
# 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.31 2007/06/10 13:23:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.32 2007/06/18 12:34:52 falco Exp $
+
+ 18 Jun 2007; Raphael Marichez <falco@gentoo.org>
+ -files/fail2ban-0.7.6.init.d.patch, fail2ban-0.6.2-r1.ebuild,
+ -fail2ban-0.7.5-r1.ebuild, -fail2ban-0.7.6.ebuild,
+ -fail2ban-0.7.6-r1.ebuild, -fail2ban-0.7.8.ebuild, fail2ban-0.7.9.ebuild,
+ fail2ban-0.8.0.ebuild, fail2ban-0.8.0-r1.ebuild:
+ Ensure python is compiled with readline support, thanks to Friedrich Oslage
+ <bluebird@mnet-online.de>, bug 182220. Prune old ~arched versions.
10 Jun 2007; Raúl Porcel <armin76@gentoo.org> fail2ban-0.8.0-r1.ebuild:
x86 stable wrt security #181214
diff --git a/net-analyzer/fail2ban/fail2ban-0.6.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.6.2-r1.ebuild
index 0fff645e2f73..24078fec8069 100644
--- a/net-analyzer/fail2ban/fail2ban-0.6.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.6.2-r1.ebuild
@@ -1,6 +1,8 @@
# 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.6.2-r1.ebuild,v 1.3 2007/04/22 10:27:49 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.6.2-r1.ebuild,v 1.4 2007/06/18 12:34:52 falco Exp $
+
+inherit distutils
DESCRIPTION="Bans IP that make too many password failures"
HOMEPAGE="http://fail2ban.sourceforge.net/"
@@ -32,3 +34,12 @@ pkg_postinst() {
einfo "Please edit /etc/fail2ban.conf with parameters"
einfo "that correspond to your system."
}
+
+pkg_setup() {
+ if ! built_with_use dev-lang/python readline ; then
+ echo
+ eerror "dev-lang/python is missing readline support. Please add"
+ eerror "'readline' to your USE flags, and re-emerge dev-lang/python."
+ die "dev-lang/python needs readline support"
+ fi
+}
diff --git a/net-analyzer/fail2ban/fail2ban-0.7.5-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.5-r1.ebuild
deleted file mode 100644
index 128cd2ce03a0..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.7.5-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# 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.5-r1.ebuild,v 1.1 2007/02/01 17:25:07 jokey 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_install() {
- distutils_src_install
-
- newinitd files/gentoo-initd fail2ban
- 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/fail2ban-0.7.6-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild
deleted file mode 100644
index 61df0d4b2157..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.7.6-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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/fail2ban-0.7.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.6.ebuild
deleted file mode 100644
index 6caf2e0f2b23..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.7.6.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# 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.ebuild,v 1.1 2007/02/01 17:19:46 jokey 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_install() {
- distutils_src_install
-
- newinitd files/gentoo-initd fail2ban
- 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/fail2ban-0.7.8.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.8.ebuild
deleted file mode 100644
index ed9a035bfc9c..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.7.8.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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.8.ebuild,v 1.1 2007/04/04 21:29:58 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_install() {
- distutils_src_install
-
- newconfd files/gentoo-confd fail2ban
- newinitd files/gentoo-initd fail2ban
- dodoc CHANGELOG README TODO || die "dodoc failed"
- doman man/*.1 || die "doman failed"
-}
-
-pkg_postinst() {
- elog
- elog "Configuration files are now in /etc/fail2ban"
- elog
-}
-
diff --git a/net-analyzer/fail2ban/fail2ban-0.7.9.ebuild b/net-analyzer/fail2ban/fail2ban-0.7.9.ebuild
index 104ddd00653b..55fe1588d055 100644
--- a/net-analyzer/fail2ban/fail2ban-0.7.9.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.7.9.ebuild
@@ -1,6 +1,6 @@
# 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.9.ebuild,v 1.1 2007/04/28 23:46:29 falco Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.7.9.ebuild,v 1.2 2007/06/18 12:34:52 falco Exp $
inherit distutils
@@ -36,3 +36,11 @@ pkg_postinst() {
elog
}
+pkg_setup() {
+ if ! built_with_use dev-lang/python readline ; then
+ echo
+ eerror "dev-lang/python is missing readline support. Please add"
+ eerror "'readline' to your USE flags, and re-emerge dev-lang/python."
+ die "dev-lang/python needs readline support"
+ fi
+}
diff --git a/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild
index 1e7bf60e9040..75f03d9a51dd 100644
--- a/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild
@@ -1,6 +1,6 @@
# 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.8.0-r1.ebuild,v 1.3 2007/06/10 13:23:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild,v 1.4 2007/06/18 12:34:52 falco Exp $
inherit distutils
@@ -44,3 +44,11 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
}
+pkg_setup() {
+ if ! built_with_use dev-lang/python readline ; then
+ echo
+ eerror "dev-lang/python is missing readline support. Please add"
+ eerror "'readline' to your USE flags, and re-emerge dev-lang/python."
+ die "dev-lang/python needs readline support"
+ fi
+}
diff --git a/net-analyzer/fail2ban/fail2ban-0.8.0.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.0.ebuild
index b9c02ee52de9..e950e7e6da68 100644
--- a/net-analyzer/fail2ban/fail2ban-0.8.0.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.8.0.ebuild
@@ -1,6 +1,6 @@
# 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.8.0.ebuild,v 1.1 2007/05/13 13:52:14 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.0.ebuild,v 1.2 2007/06/18 12:34:52 falco Exp $
inherit distutils
@@ -38,3 +38,11 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
}
+pkg_setup() {
+ if ! built_with_use dev-lang/python readline ; then
+ echo
+ eerror "dev-lang/python is missing readline support. Please add"
+ eerror "'readline' to your USE flags, and re-emerge dev-lang/python."
+ die "dev-lang/python needs readline support"
+ fi
+}
diff --git a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.5-r1 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.5-r1
deleted file mode 100644
index 403587031204..000000000000
--- a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.5-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a094886f2cd48bd2facdd2588ba8e522 fail2ban-0.7.5.tar.bz2 38478
-RMD160 ee839a2d53284723ed3f7c6d7cdab4e5de65244a fail2ban-0.7.5.tar.bz2 38478
-SHA256 40d17a73100229d5e4d396b2c35de4a8f94367d44eea44b1e584740620d4a56c fail2ban-0.7.5.tar.bz2 38478
diff --git a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6
deleted file mode 100644
index 584dfdbff762..000000000000
--- a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6
+++ /dev/null
@@ -1,3 +0,0 @@
-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/digest-fail2ban-0.7.6-r1 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1
deleted file mode 100644
index 584dfdbff762..000000000000
--- a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.6-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-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/digest-fail2ban-0.7.8 b/net-analyzer/fail2ban/files/digest-fail2ban-0.7.8
deleted file mode 100644
index aa4ce4a9d59f..000000000000
--- a/net-analyzer/fail2ban/files/digest-fail2ban-0.7.8
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 3c8e3977f47904c2a3eb6025160b06b3 fail2ban-0.7.8.tar.bz2 54566
-RMD160 2551780b193f671c7348c23bcb13aa62c6d3d485 fail2ban-0.7.8.tar.bz2 54566
-SHA256 ab990dc8296bb48309c4459a32e671789da6eecb20e29461d803e8e393753288 fail2ban-0.7.8.tar.bz2 54566
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
deleted file mode 100644
index 8ebe9b37c7b3..000000000000
--- a/net-analyzer/fail2ban/files/fail2ban-0.7.6.init.d.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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