summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-10-03 17:50:29 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-10-03 17:50:29 +0000
commit825a85b484b7d5b7f3b400fd68da5c45f81aaee8 (patch)
tree60d44c279bdbc07eda5125a9fd5e7092510e205c /sys-cluster/corosync
parentold (diff)
downloadgentoo-2-825a85b484b7d5b7f3b400fd68da5c45f81aaee8.tar.gz
gentoo-2-825a85b484b7d5b7f3b400fd68da5c45f81aaee8.tar.bz2
gentoo-2-825a85b484b7d5b7f3b400fd68da5c45f81aaee8.zip
Add logrotate script wrt bug 336848. Drop old.
(Portage version: 2.1.9.13/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/corosync')
-rw-r--r--sys-cluster/corosync/ChangeLog9
-rw-r--r--sys-cluster/corosync/corosync-1.2.8-r1.ebuild (renamed from sys-cluster/corosync/corosync-1.2.8.ebuild)5
-rw-r--r--sys-cluster/corosync/files/corosync.logrotate5
3 files changed, 17 insertions, 2 deletions
diff --git a/sys-cluster/corosync/ChangeLog b/sys-cluster/corosync/ChangeLog
index 6f66d20de0ad..e5227bbe73b1 100644
--- a/sys-cluster/corosync/ChangeLog
+++ b/sys-cluster/corosync/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-cluster/corosync
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.8 2010/09/02 19:24:20 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.9 2010/10/03 17:50:29 xarthisius Exp $
+
+*corosync-1.2.8-r1 (03 Oct 2010)
+
+ 03 Oct 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ -corosync-1.2.8.ebuild, +corosync-1.2.8-r1.ebuild,
+ +files/corosync.logrotate:
+ Add logrotate script wrt bug 336848. Drop old.
*corosync-1.2.8 (02 Sep 2010)
diff --git a/sys-cluster/corosync/corosync-1.2.8.ebuild b/sys-cluster/corosync/corosync-1.2.8-r1.ebuild
index ef5724e31c20..1f62fef02281 100644
--- a/sys-cluster/corosync/corosync-1.2.8.ebuild
+++ b/sys-cluster/corosync/corosync-1.2.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/corosync-1.2.8.ebuild,v 1.1 2010/09/02 19:24:20 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/corosync-1.2.8-r1.ebuild,v 1.1 2010/10/03 17:50:29 xarthisius Exp $
EAPI=3
@@ -52,5 +52,8 @@ src_install() {
base_src_install
newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotate ${PN} || die
+
keepdir /var/lib/corosync
}
diff --git a/sys-cluster/corosync/files/corosync.logrotate b/sys-cluster/corosync/files/corosync.logrotate
new file mode 100644
index 000000000000..6c0952dcb521
--- /dev/null
+++ b/sys-cluster/corosync/files/corosync.logrotate
@@ -0,0 +1,5 @@
+/var/log/cluster/corosync.log {
+ missingok
+ notifempty
+ sharedscripts
+}