summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-08-26 23:55:23 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-08-26 23:55:23 +0000
commit4461a645b9190c1cf99f3604e717b7044b114077 (patch)
treeefc229adedf7e4f476669fe1a823df788e407960 /net-analyzer
parentp.mask latest portage, bug 282854 (diff)
downloadgentoo-2-4461a645b9190c1cf99f3604e717b7044b114077.tar.gz
gentoo-2-4461a645b9190c1cf99f3604e717b7044b114077.tar.bz2
gentoo-2-4461a645b9190c1cf99f3604e717b7044b114077.zip
Bug #254968: logrotate config file.
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/munin/ChangeLog6
-rw-r--r--net-analyzer/munin/files/logrotate.d-munin21
-rw-r--r--net-analyzer/munin/munin-1.3.4-r2.ebuild6
3 files changed, 31 insertions, 2 deletions
diff --git a/net-analyzer/munin/ChangeLog b/net-analyzer/munin/ChangeLog
index 0bc41309ab79..8712bdcc2a1c 100644
--- a/net-analyzer/munin/ChangeLog
+++ b/net-analyzer/munin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/munin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.26 2009/08/26 23:47:00 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.27 2009/08/26 23:55:23 robbat2 Exp $
+
+ 26 Aug 2009; Robin H. Johnson <robbat2@gentoo.org> munin-1.3.4-r2.ebuild,
+ +files/logrotate.d-munin:
+ Bug #254968: logrotate config file.
26 Aug 2009; Robin H. Johnson <robbat2@gentoo.org>
+files/munin-1.3.2-plugins.conf, munin-1.3.4-r2.ebuild,
diff --git a/net-analyzer/munin/files/logrotate.d-munin b/net-analyzer/munin/files/logrotate.d-munin
new file mode 100644
index 000000000000..c1a8816ca25e
--- /dev/null
+++ b/net-analyzer/munin/files/logrotate.d-munin
@@ -0,0 +1,21 @@
+/var/log/munin/munin-node.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ copytruncate
+ notifempty
+ create 640 root root
+ postrotate
+ /etc/init.d/munin-node restart 1>/dev/null || true
+ endscript
+}
+
+/var/log/munin/munin-update.log /var/log/munin/munin-graph.log /var/log/munin/munin-html.log /var/log/munin/munin-limits.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ nocreate
+}
diff --git a/net-analyzer/munin/munin-1.3.4-r2.ebuild b/net-analyzer/munin/munin-1.3.4-r2.ebuild
index a13d11520f00..584f28070908 100644
--- a/net-analyzer/munin/munin-1.3.4-r2.ebuild
+++ b/net-analyzer/munin/munin-1.3.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.3.4-r2.ebuild,v 1.4 2009/08/26 23:47:00 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.3.4-r2.ebuild,v 1.5 2009/08/26 23:55:23 robbat2 Exp $
EAPI="2"
@@ -114,6 +114,10 @@ src_install() {
newinitd "${FILESDIR}"/munin-node_init.d_1.3.3-r1 munin-node
newconfd "${FILESDIR}"/munin-node_conf.d_1.3.3-r1 munin-node
dodoc README ChangeLog INSTALL logo.eps logo.svg build/resources/apache*
+
+ # bug 254968
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/logrotate.d-munin munin
}
pkg_config() {