summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-05-14 03:31:22 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-05-14 03:31:22 +0000
commit0ee4d85e487d16a7da011e39ca3d1d2a7a8925d2 (patch)
tree34756e1e1689bb1796d42df264f3dc9b33269968 /app-admin/logrotate/files
parentadd missing antivirus and inetd virtuals. ran sort on the file to make it (diff)
downloadgentoo-2-0ee4d85e487d16a7da011e39ca3d1d2a7a8925d2.tar.gz
gentoo-2-0ee4d85e487d16a7da011e39ca3d1d2a7a8925d2.tar.bz2
gentoo-2-0ee4d85e487d16a7da011e39ca3d1d2a7a8925d2.zip
new revision of logrotate ebuild:
Diffstat (limited to 'app-admin/logrotate/files')
-rw-r--r--app-admin/logrotate/files/digest-logrotate-3.6.5-r11
-rw-r--r--app-admin/logrotate/files/logrotate.conf34
-rw-r--r--app-admin/logrotate/files/logrotate.cron3
3 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/logrotate/files/digest-logrotate-3.6.5-r1 b/app-admin/logrotate/files/digest-logrotate-3.6.5-r1
new file mode 100644
index 000000000000..a2b611fc81fc
--- /dev/null
+++ b/app-admin/logrotate/files/digest-logrotate-3.6.5-r1
@@ -0,0 +1 @@
+MD5 1c707f826f783ffc461a32b34cba5056 logrotate_3.6.5.orig.tar.gz 32086
diff --git a/app-admin/logrotate/files/logrotate.conf b/app-admin/logrotate/files/logrotate.conf
new file mode 100644
index 000000000000..81f60b3d87f1
--- /dev/null
+++ b/app-admin/logrotate/files/logrotate.conf
@@ -0,0 +1,34 @@
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/files/logrotate.conf,v 1.1 2003/05/14 03:31:18 msterret Exp $
+#
+# Logrotate default configuration file for Gentoo Linux
+#
+# See "man logrotate" for details
+
+# rotate log files weekly
+weekly
+#daily
+
+# keep 4 weeks worth of backlogs
+rotate 4
+
+# create new (empty) log files after rotating old ones
+create
+
+# uncomment this if you want your log files compressed
+compress
+
+# packages can drop log rotation information into this directory
+include /etc/logrotate.d
+
+notifempty
+nomail
+noolddir
+
+# no packages own lastlog or wtmp -- we'll rotate them here
+/var/log/wtmp {
+ monthly
+ create 0664 root utmp
+ rotate 1
+}
+
+# system-specific logs may be also be configured here.
diff --git a/app-admin/logrotate/files/logrotate.cron b/app-admin/logrotate/files/logrotate.cron
new file mode 100644
index 000000000000..63cbe96891b9
--- /dev/null
+++ b/app-admin/logrotate/files/logrotate.cron
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+/usr/sbin/logrotate /etc/logrotate.conf