summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2009-03-08 01:26:34 +0000
committerDawid Węgliński <cla@gentoo.org>2009-03-08 01:26:34 +0000
commit3365062c5339406cb869c7339712acfe9ea2db54 (patch)
tree6afece52338d43da48e5b82c9881c5387734b873 /net-analyzer
parentBump to 2.18.6. Build fixes and translation updates. (diff)
downloadgentoo-2-3365062c5339406cb869c7339712acfe9ea2db54.tar.gz
gentoo-2-3365062c5339406cb869c7339712acfe9ea2db54.tar.bz2
gentoo-2-3365062c5339406cb869c7339712acfe9ea2db54.zip
Migrate to EAPI 2
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/fail2ban/ChangeLog7
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild17
2 files changed, 10 insertions, 14 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index 2cfa13763490..dcb40c8f39ee 100644
--- a/net-analyzer/fail2ban/ChangeLog
+++ b/net-analyzer/fail2ban/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/fail2ban
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.44 2008/07/30 14:40:56 jer Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.45 2009/03/08 01:26:34 cla Exp $
+
+ 08 Mar 2009; Dawid Węgliński <cla@gentoo.org> fail2ban-0.8.0-r1.ebuild:
+ Migration to EAPI 2
*fail2ban-0.8.3 (30 Jul 2008)
diff --git a/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild
index dbce3e8940ec..4a49312057d7 100644
--- a/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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.7 2008/06/15 09:21:26 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.0-r1.ebuild,v 1.8 2009/03/08 01:26:34 cla Exp $
+
+EAPI="2"
inherit distutils
@@ -13,7 +15,7 @@ SLOT="0"
KEYWORDS="amd64 hppa ~ppc ~ppc64 x86"
IUSE=""
-DEPEND=">=dev-lang/python-2.4"
+DEPEND=">=dev-lang/python-2.4[readline]"
RDEPEND=${DEPEND}
src_unpack() {
@@ -50,12 +52,3 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
}
-
-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
-}