summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-11 00:42:14 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-11 00:42:14 +0000
commit9e38a30d0bf012d4fc12ea1c0ea4673fab670716 (patch)
treedd55ed67f1f4a5ac3d05c4704ce71970d4a94dd1 /sys-apps
parentVersion bump #63914 by José Romildo Malaquias / tove. (Manifest recommit) (diff)
downloadgentoo-2-9e38a30d0bf012d4fc12ea1c0ea4673fab670716.tar.gz
gentoo-2-9e38a30d0bf012d4fc12ea1c0ea4673fab670716.tar.bz2
gentoo-2-9e38a30d0bf012d4fc12ea1c0ea4673fab670716.zip
Install a logrotate file #52672 by BlueRaven.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/dcron/ChangeLog6
-rw-r--r--sys-apps/dcron/dcron-2.9-r2.ebuild5
-rw-r--r--sys-apps/dcron/files/dcron.logrotate3
3 files changed, 12 insertions, 2 deletions
diff --git a/sys-apps/dcron/ChangeLog b/sys-apps/dcron/ChangeLog
index cc098a28e10a..6c680e457719 100644
--- a/sys-apps/dcron/ChangeLog
+++ b/sys-apps/dcron/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/dcron
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/ChangeLog,v 1.37 2004/09/05 01:11:51 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/ChangeLog,v 1.38 2004/11/11 00:42:14 vapier Exp $
+
+ 10 Nov 2004; Mike Frysinger <vapier@gentoo.org> +files/dcron.logrotate,
+ dcron-2.9-r2.ebuild:
+ Install a logrotate file #52672 by BlueRaven.
04 Sep 2004; <solar@gentoo.org> +files/dcron-2.9-ldflags.patch,
dcron-2.9-r2.ebuild:
diff --git a/sys-apps/dcron/dcron-2.9-r2.ebuild b/sys-apps/dcron/dcron-2.9-r2.ebuild
index f2a3ac39bdd6..bd1316c1e762 100644
--- a/sys-apps/dcron/dcron-2.9-r2.ebuild
+++ b/sys-apps/dcron/dcron-2.9-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.9-r2.ebuild,v 1.19 2004/11/08 06:48:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.9-r2.ebuild,v 1.20 2004/11/11 00:42:14 vapier Exp $
inherit eutils toolchain-funcs
@@ -62,6 +62,9 @@ src_install() {
doinitd ${FILESDIR}/dcron
+ insinto /etc/logrotate.d
+ newins ${FILESDIR}/dcron.logrotate dcron
+
insopts -o root -g root -m 0644
insinto /etc
doins ${FILESDIR}/crontab
diff --git a/sys-apps/dcron/files/dcron.logrotate b/sys-apps/dcron/files/dcron.logrotate
new file mode 100644
index 000000000000..0577ad1186ae
--- /dev/null
+++ b/sys-apps/dcron/files/dcron.logrotate
@@ -0,0 +1,3 @@
+/var/log/cron.log {
+ copytruncate
+}