From c6847ff045157ada41f93c578767794b53afab79 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Wed, 17 Jan 2007 21:24:23 +0000 Subject: [PATCH] modifiy the cronjob to provide hints about cleaning up portage log files, see bug # 121953 Package-Manager: portage-2.1.1-r2 --- app-admin/tmpwatch/ChangeLog | 8 +++-- app-admin/tmpwatch/Manifest | 41 ++++++++++++++++---------- app-admin/tmpwatch/files/tmpwatch.cron | 8 ++++- 3 files changed, 39 insertions(+), 18 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 files/tmpwatch.cron: + modifiy the cronjob to provide hints about cleaning up portage log files, + see bug # 121953 12 Nov 2005; Jason Wever tmpwatch-2.9.4.1.ebuild: Stable on SPARC. diff --git a/app-admin/tmpwatch/Manifest b/app-admin/tmpwatch/Manifest index 0e5dace45139..fdac2d879b34 100644 --- a/app-admin/tmpwatch/Manifest +++ b/app-admin/tmpwatch/Manifest @@ -1,17 +1,28 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 62640e5fa103a11cf2e64529ec8771a2 ChangeLog 5670 -MD5 704d114213dba07ca8bbb2a1fe8baca7 files/digest-tmpwatch-2.9.2.2 68 -MD5 ed9c3f3744c20d2c5946a551ac3bd2ce files/digest-tmpwatch-2.9.4.1 68 -MD5 c2b96ff8dc2c589482deaa38b4a03016 files/tmpwatch.cron 1365 -MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 +AUX tmpwatch.cron 1616 RMD160 e97ee234cf2e8fb970f6667fc56d79e80d78793a SHA1 0369447139cb9679b8fb9f7c2f683bbd97701531 SHA256 acc62bfd5d1a22a39dd2f8a9a7f8f601834316f987add26a34d4d859fd85e355 +MD5 2e15d29b182bf0c2d4249ed4ee7dc82e files/tmpwatch.cron 1616 +RMD160 e97ee234cf2e8fb970f6667fc56d79e80d78793a files/tmpwatch.cron 1616 +SHA256 acc62bfd5d1a22a39dd2f8a9a7f8f601834316f987add26a34d4d859fd85e355 files/tmpwatch.cron 1616 +DIST tmpwatch-2.9.2-2.src.rpm 19298 +DIST tmpwatch-2.9.4-1.src.rpm 19872 +EBUILD tmpwatch-2.9.2.2.ebuild 1417 RMD160 08f0ff2b2a9c42e5c7d281ae2fa8cc733b9993a9 SHA1 f10a40235625dae4be56adfb26b84e5ce7990925 SHA256 c6ea3b05e981a0b893deb27d5f1e43d3ef07addba8d45f92358a31bc81e25052 MD5 80ecd707bde231d292df4cb5f04d89da tmpwatch-2.9.2.2.ebuild 1417 +RMD160 08f0ff2b2a9c42e5c7d281ae2fa8cc733b9993a9 tmpwatch-2.9.2.2.ebuild 1417 +SHA256 c6ea3b05e981a0b893deb27d5f1e43d3ef07addba8d45f92358a31bc81e25052 tmpwatch-2.9.2.2.ebuild 1417 +EBUILD tmpwatch-2.9.4.1.ebuild 1237 RMD160 4f8a06571fed82fb6f816a111563e268ed839d88 SHA1 032b6e8c504a7b02cc779aa07900453ddba5cd98 SHA256 73db613fad04dd62ea9548c738408d47edc9880149136f2e257cf140a0bfa78e MD5 18e87fcb2879f781b4f770d140113430 tmpwatch-2.9.4.1.ebuild 1237 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDo3bV2+ySkm8kpY0RAnVpAKCj0CHSCtgBsXADzdLnVTHt2TJpowCdF4yx -1bVgIJiTqgwxnHHKg3bNtM8= -=W4ti ------END PGP SIGNATURE----- +RMD160 4f8a06571fed82fb6f816a111563e268ed839d88 tmpwatch-2.9.4.1.ebuild 1237 +SHA256 73db613fad04dd62ea9548c738408d47edc9880149136f2e257cf140a0bfa78e tmpwatch-2.9.4.1.ebuild 1237 +MISC ChangeLog 5837 RMD160 61e22f3b19f5782d642cdbec71d2eb19189759b9 SHA1 5b017f485b19b76196615d84abb21ce2e817cf07 SHA256 d1491e17c0c2a058599397c8cf90acc95a809dc85d691b089d9ce5fb0fb10b43 +MD5 e5674609d3b34d29affea8e91b96d469 ChangeLog 5837 +RMD160 61e22f3b19f5782d642cdbec71d2eb19189759b9 ChangeLog 5837 +SHA256 d1491e17c0c2a058599397c8cf90acc95a809dc85d691b089d9ce5fb0fb10b43 ChangeLog 5837 +MISC metadata.xml 254 RMD160 2a9e181efd140c3c1a2136376000c63f7459246d SHA1 2d72cad2ed2c3fce67f5ae575a00c3a3ee4e1604 SHA256 ddd8e09da8727f957651a073ae2b61e4a381ee69ab83c93a3077a653743b887f +MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 +RMD160 2a9e181efd140c3c1a2136376000c63f7459246d metadata.xml 254 +SHA256 ddd8e09da8727f957651a073ae2b61e4a381ee69ab83c93a3077a653743b887f metadata.xml 254 +MD5 704d114213dba07ca8bbb2a1fe8baca7 files/digest-tmpwatch-2.9.2.2 68 +RMD160 cf44461f4627661a064b59862822906fd0074340 files/digest-tmpwatch-2.9.2.2 68 +SHA256 b5a1f53441630b3a48b1b4e75dedfe0bcb6afe45649684ca03f6b2be78969b88 files/digest-tmpwatch-2.9.2.2 68 +MD5 ed9c3f3744c20d2c5946a551ac3bd2ce files/digest-tmpwatch-2.9.4.1 68 +RMD160 ecbf49fa184caa6dd6b539ddcc574983c7ab6239 files/digest-tmpwatch-2.9.4.1 68 +SHA256 1ce92ca5d7f7882ce06173d5350fe12d44b0e177f139376876c3ab496831f36c files/digest-tmpwatch-2.9.4.1 68 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 -- 2.26.2