diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-10-22 21:16:45 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-10-22 21:16:45 +0000 |
commit | 1d1513f4073c6dc6e928d23f2e9ddba4d2368801 (patch) | |
tree | e7141d66fe5416245e4c8dd1fade7f00345696d4 /sys-apps/logwatch | |
parent | missing changelog entry (diff) | |
download | historical-1d1513f4073c6dc6e928d23f2e9ddba4d2368801.tar.gz historical-1d1513f4073c6dc6e928d23f2e9ddba4d2368801.tar.bz2 historical-1d1513f4073c6dc6e928d23f2e9ddba4d2368801.zip |
removing auto-adding to cron. Closes #29012.
Diffstat (limited to 'sys-apps/logwatch')
-rw-r--r-- | sys-apps/logwatch/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/logwatch/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/logwatch/logwatch-4.3.2.ebuild | 26 |
3 files changed, 11 insertions, 24 deletions
diff --git a/sys-apps/logwatch/ChangeLog b/sys-apps/logwatch/ChangeLog index d0f5a6cd9ef5..15ed9f665a43 100644 --- a/sys-apps/logwatch/ChangeLog +++ b/sys-apps/logwatch/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/logwatch # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.8 2003/05/02 06:47:50 jhhudso Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.9 2003/10/22 21:16:41 mholzer Exp $ + + 23 Oct 2003; Martin Holzer <mholzer@gentoo.org> logwatch-4.3.2.ebuild: + removing auto-adding to cron. Closes #29012. 01 May 2003; Jared Hudson <jhhudso@gentoo.org> logwatch-4.2.1-r1.ebuild, logwatch-4.3.1-r1.ebuild : Changed pkg_postrm() to remove the symbolic diff --git a/sys-apps/logwatch/Manifest b/sys-apps/logwatch/Manifest index 0f86df6d6bc0..516db867dbc4 100644 --- a/sys-apps/logwatch/Manifest +++ b/sys-apps/logwatch/Manifest @@ -1,9 +1,9 @@ -MD5 a40c38b77d8201c8f24a75bb45f3b017 ChangeLog 1982 +MD5 a1222f6df8b85eb59a125a3d5f7c8308 ChangeLog 2103 MD5 96b28d0158118e133ec543ed52e9e1c2 logwatch-4.2.1-r1.ebuild 3113 MD5 00130c8af152b2890aac71bea7e9c022 logwatch-4.2.1.ebuild 3051 MD5 064d87887405b622cbf94f69f0642d8e logwatch-4.3.1-r1.ebuild 3114 MD5 792ac56db95af66a45b4880dd88da823 logwatch-4.3.1.ebuild 3052 -MD5 ae923dae661ba53f91f2605ae41aead7 logwatch-4.3.2.ebuild 1897 +MD5 149233009fd4464f72174128de464d0c logwatch-4.3.2.ebuild 1354 MD5 be883cfa8e65503e2612348707139dd6 files/digest-logwatch-4.2.1 65 MD5 be883cfa8e65503e2612348707139dd6 files/digest-logwatch-4.2.1-r1 65 MD5 baacdb0038bac76fabc4e0ac0d2c2f17 files/digest-logwatch-4.3.1 65 diff --git a/sys-apps/logwatch/logwatch-4.3.2.ebuild b/sys-apps/logwatch/logwatch-4.3.2.ebuild index 3909fa08c279..956f2fdb47de 100644 --- a/sys-apps/logwatch/logwatch-4.3.2.ebuild +++ b/sys-apps/logwatch/logwatch-4.3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-4.3.2.ebuild,v 1.2 2003/06/21 21:19:40 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-4.3.2.ebuild,v 1.3 2003/10/22 21:16:41 mholzer Exp $ DESCRIPTION="Analyzes and Reports on system logs" HOMEPAGE="http://www.logwatch.org" @@ -51,24 +51,8 @@ src_install() { } pkg_postinst() { - # this will avoid duplicate entries in the crontab - if [ "`grep logwatch.pl ${ROOT}var/spool/cron/crontabs/root`" == "" ]; - then - einfo "adding to cron..." - echo "0 0 * * * ${ROOT}usr/sbin/logwatch.pl 2>&1 > /dev/null" \ - >> ${ROOT}var/spool/cron/crontabs/root - fi -} - -pkg_postrm() { - # this fixes a bug when logwatch package gets updated - if [ "`ls -d ${ROOT}var/db/pkg/sys-apps/logwatch* \ - | wc -l | tail -c 2`" -lt 2 ]; - then - sed "/^0.*\/usr\/sbin\/logwatch.*null$/d" \ - ${ROOT}var/spool/cron/crontabs/root \ - > ${ROOT}var/spool/cron/crontabs/root.new - mv --force ${ROOT}var/spool/cron/crontabs/root.new \ - ${ROOT}var/spool/cron/crontabs/root - fi + einfo + einfo "you have to manually add ${PN} to cron..." + einfo "0 0 * * * /usr/sbin/logwatch.pl 2>&1 > /dev/null" + einfo } |