diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-17 21:24:23 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-17 21:24:23 +0000 |
commit | d1e0a69487ce117a551892104cb816e9c129bac3 (patch) | |
tree | cefd983668834fa880317e731f696c76e2d4686e /app-admin | |
parent | Remove obsolete virtual/libstdc++-3.3 dependency (revisit of bug #146821) (diff) | |
download | gentoo-2-d1e0a69487ce117a551892104cb816e9c129bac3.tar.gz gentoo-2-d1e0a69487ce117a551892104cb816e9c129bac3.tar.bz2 gentoo-2-d1e0a69487ce117a551892104cb816e9c129bac3.zip |
modifiy the cronjob to provide hints about cleaning up portage log files, see bug # 121953
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/tmpwatch/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/tmpwatch/files/tmpwatch.cron | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/app-admin/tmpwatch/ChangeLog b/app-admin/tmpwatch/ChangeLog index 5f31e25b2d45..ab453c20910c 100644 --- a/app-admin/tmpwatch/ChangeLog +++ b/app-admin/tmpwatch/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/tmpwatch -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.49 2005/11/12 16:00:37 weeve Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.50 2007/01/17 21:24:23 antarus Exp $ + + 17 Jan 2007; Alec Warner <antarus@gentoo.org> files/tmpwatch.cron: + modifiy the cronjob to provide hints about cleaning up portage log files, + see bug # 121953 12 Nov 2005; Jason Wever <weeve@gentoo.org> tmpwatch-2.9.4.1.ebuild: Stable on SPARC. diff --git a/app-admin/tmpwatch/files/tmpwatch.cron b/app-admin/tmpwatch/files/tmpwatch.cron index 7bba27e0c009..54f9e13e1afc 100644 --- a/app-admin/tmpwatch/files/tmpwatch.cron +++ b/app-admin/tmpwatch/files/tmpwatch.cron @@ -1,5 +1,5 @@ #!/bin/sh -# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/files/tmpwatch.cron,v 1.2 2004/09/20 09:20:22 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/files/tmpwatch.cron,v 1.3 2007/01/17 21:24:23 antarus Exp $ # vim: ft=sh # This cron script contains several (commented out) examples. You may use @@ -10,6 +10,7 @@ TMPWATCH="/usr/sbin/tmpwatch" #PORTAGE_TMPDIR="$(portageq envvar PORTAGE_TMPDIR)/portage" +#PORTAGE_LOGDIR="$(portageq envvar PORT_LOGDIR)" #DISTDIR="$(portageq distdir)" ### EXAMPLES ### @@ -40,3 +41,8 @@ TMPWATCH="/usr/sbin/tmpwatch" # ${TMPWATCH} --atime --fuser 4320 ${DISTDIR:-/usr/portage/distfiles} # fi +# Delete everything in PORTAGE_LOGDIR that hasn't been accessed in 4 weeks +# +# if [[ -d ${PORTAGE_LOGDIR:-/var/log/portage} ]]; then +# ${TMPWATCH} --atime 772 ${PORTAGE_LOGDIR:-/var/log/portage} +# fi |