summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-02-27 20:34:38 +0000
committerCédric Krier <cedk@gentoo.org>2008-02-27 20:34:38 +0000
commit3ad385f3960ef7b3f3540fec6b67e6e4b9ea4908 (patch)
tree630f1e4ba614cb416ec46ceae2665559ac889f48 /net-analyzer
parentFix apache eclass handling, patch by Jakub Moc in #209655 (diff)
downloadgentoo-2-3ad385f3960ef7b3f3540fec6b67e6e4b9ea4908.tar.gz
gentoo-2-3ad385f3960ef7b3f3540fec6b67e6e4b9ea4908.tar.bz2
gentoo-2-3ad385f3960ef7b3f3540fec6b67e6e4b9ea4908.zip
Fix logrotate for bug #207527
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/fail2ban/ChangeLog8
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.8.1.ebuild6
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-logrotate2
3 files changed, 10 insertions, 6 deletions
diff --git a/net-analyzer/fail2ban/ChangeLog b/net-analyzer/fail2ban/ChangeLog
index fa5a4431bf6b..b9d8a5d02b40 100644
--- a/net-analyzer/fail2ban/ChangeLog
+++ b/net-analyzer/fail2ban/ChangeLog
@@ -1,6 +1,10 @@
# 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.38 2007/10/24 12:08:44 uberlord Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.39 2008/02/27 20:34:37 cedk Exp $
+
+ 27 Feb 2008; Cédric Krier <cedk@gentoo.org> files/fail2ban-logrotate,
+ fail2ban-0.8.1.ebuild:
+ Fix logrotate for bug #207527
24 Oct 2007; Roy Marples <uberlord@gentoo.org> fail2ban-0.8.1.ebuild:
Keyworded ~x86-fbsd, #191510.
diff --git a/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
index 51995ddc13a3..64a06c1bfcf6 100644
--- a/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.1.ebuild,v 1.3 2007/10/24 12:08:44 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.1.ebuild,v 1.4 2008/02/27 20:34:37 cedk Exp $
inherit distutils
@@ -28,7 +28,7 @@ src_install() {
# Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
insinto /etc/logrotate.d
- newins ${FILESDIR}/${PN}-logrotate ${PN} || die
+ newins "${FILESDIR}"/${PN}-logrotate ${PN} || die
}
pkg_postinst() {
diff --git a/net-analyzer/fail2ban/files/fail2ban-logrotate b/net-analyzer/fail2ban/files/fail2ban-logrotate
index a3e60e6acc6d..7a4c3fda2d4b 100644
--- a/net-analyzer/fail2ban/files/fail2ban-logrotate
+++ b/net-analyzer/fail2ban/files/fail2ban-logrotate
@@ -4,6 +4,6 @@
missingok
compress
postrotate
- /usr/local/bin/fail2ban-client reload 1>/dev/null || true
+ /usr/bin/fail2ban-client reload 1>/dev/null || true
endscript
}