summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-03-18 19:09:33 +0000
committerJeroen Roovers <jer@gentoo.org>2008-03-18 19:09:33 +0000
commit03a5810e45c4a731faa2190a6514075f0507db1d (patch)
tree9d5e9e39a954e00e1e5dbf80633b21f79cc63719 /net-analyzer/fail2ban
parentAdd >=x11-misc/afbinit-1.0.1-r7 to package mask because it is intended for in... (diff)
downloadgentoo-2-03a5810e45c4a731faa2190a6514075f0507db1d.tar.gz
gentoo-2-03a5810e45c4a731faa2190a6514075f0507db1d.tar.bz2
gentoo-2-03a5810e45c4a731faa2190a6514075f0507db1d.zip
Commit the changes proposed in bug #213796.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/ChangeLog5
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.8.2.ebuild17
2 files changed, 10 insertions, 12 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index ed6ab82cab8f..136ea14a96f1 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.40 2008/03/17 19:00:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.41 2008/03/18 19:09:33 jer Exp $
+
+ 18 Mar 2008; Jeroen Roovers <jer@gentoo.org> fail2ban-0.8.2.ebuild:
+ Commit the changes proposed in bug #213796.
*fail2ban-0.8.2 (17 Mar 2008)
diff --git a/net-analyzer/fail2ban/fail2ban-0.8.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.2.ebuild
index e1013fa0aab3..30c2a0ac9048 100644
--- a/net-analyzer/fail2ban/fail2ban-0.8.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.8.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.2.ebuild,v 1.1 2008/03/17 19:00:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.2.ebuild,v 1.2 2008/03/18 19:09:33 jer Exp $
inherit distutils
@@ -20,9 +20,13 @@ RDEPEND="${DEPEND}
src_install() {
distutils_src_install
+ diropts -m 0755 -o root -g root
+ dodir /var/run/${PN}
+ keepdir /var/run/${PN}
+
newconfd files/gentoo-confd fail2ban
newinitd files/gentoo-initd fail2ban
- dodoc CHANGELOG README TODO || die "dodoc failed"
+ dodoc ChangeLog README TODO || die "dodoc failed"
doman man/*.1 || die "doman failed"
# Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
@@ -45,12 +49,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
-}