Fix logrotate for bug #207527
authorCédric Krier <cedk@gentoo.org>
Wed, 27 Feb 2008 20:34:38 +0000 (20:34 +0000)
committerCédric Krier <cedk@gentoo.org>
Wed, 27 Feb 2008 20:34:38 +0000 (20:34 +0000)
Package-Manager: portage-2.1.4.4

net-analyzer/fail2ban/ChangeLog
net-analyzer/fail2ban/fail2ban-0.8.1.ebuild
net-analyzer/fail2ban/files/fail2ban-logrotate

index fa5a4431bf6bd11eafc42e09952ce5ee921c45b7..b9d8a5d02b4030063b89320447940df3f99c4f1c 100644 (file)
@@ -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.
index 51995ddc13a3d11da48947c8282271c2fdaef279..64a06c1bfcf653fb80aed3532963b444d60fb747 100644 (file)
@@ -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() {
index a3e60e6acc6ddae3ab0e51ab97d8cc27851c9dd3..7a4c3fda2d4b21fe2640cb5c4a9f1c836e72f8ee 100644 (file)
@@ -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
 }