diff options
author | Thilo Bangert <bangert@gentoo.org> | 2008-10-12 07:28:59 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2008-10-12 07:28:59 +0000 |
commit | bef8d4b7f742276d4380797120c25bf9083f6700 (patch) | |
tree | 41ef682a6680080d0760082b7e8b9eb5096de03c /sys-process/cronbase | |
parent | mask qmai-vmailmgr for removal (diff) | |
download | historical-bef8d4b7f742276d4380797120c25bf9083f6700.tar.gz historical-bef8d4b7f742276d4380797120c25bf9083f6700.tar.bz2 historical-bef8d4b7f742276d4380797120c25bf9083f6700.zip |
remove old versions
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-process/cronbase')
-rw-r--r-- | sys-process/cronbase/ChangeLog | 9 | ||||
-rw-r--r-- | sys-process/cronbase/Manifest | 8 | ||||
-rw-r--r-- | sys-process/cronbase/cronbase-0.2.1-r3.ebuild | 26 | ||||
-rw-r--r-- | sys-process/cronbase/cronbase-0.3.1.ebuild | 24 | ||||
-rw-r--r-- | sys-process/cronbase/cronbase-0.3.ebuild | 26 | ||||
-rwxr-xr-x | sys-process/cronbase/files/run-crons-0.2.1 | 83 | ||||
-rwxr-xr-x | sys-process/cronbase/files/run-crons-0.3 | 96 | ||||
-rwxr-xr-x | sys-process/cronbase/files/run-crons-0.3.1 | 103 |
8 files changed, 8 insertions, 367 deletions
diff --git a/sys-process/cronbase/ChangeLog b/sys-process/cronbase/ChangeLog index 4ddadd632822..23321720ae69 100644 --- a/sys-process/cronbase/ChangeLog +++ b/sys-process/cronbase/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/cronbase -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.29 2007/09/28 19:18:06 dertobi123 Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.30 2008/10/12 07:28:59 bangert Exp $ + + 12 Oct 2008; Thilo Bangert <bangert@gentoo.org> -files/run-crons-0.2.1, + -files/run-crons-0.3, -files/run-crons-0.3.1, -cronbase-0.2.1-r3.ebuild, + -cronbase-0.3.ebuild, -cronbase-0.3.1.ebuild: + remove old versions 28 Sep 2007; Tobias Scherbaum <dertobi123@gentoo.org> cronbase-0.3.2-r1.ebuild: diff --git a/sys-process/cronbase/Manifest b/sys-process/cronbase/Manifest index c58a7cb18809..180ea00f556a 100644 --- a/sys-process/cronbase/Manifest +++ b/sys-process/cronbase/Manifest @@ -1,11 +1,5 @@ -AUX run-crons-0.2.1 1962 RMD160 1057460dae488e0382a6ebb7a5b4d8f6039c7686 SHA1 88e1c9be8aee40fca588691b91f3b869ee64ca3e SHA256 6b303e34b0c016ed05ea892a5aea68c70f66e146b5896c8aa96b9c99da12b9ce -AUX run-crons-0.3 2641 RMD160 d6eb0363a0bfc02f59505b277383a07904ac4d85 SHA1 75e8f48b4a72acc1727eadd31d28a9ab94ed10ee SHA256 e43c0ab21e32879d6ed34f80d55a600829ce16d0f18eb8c75372ab60023e3564 -AUX run-crons-0.3.1 2802 RMD160 84733d8e81ba3556f7678d1e0cea5d98f44373cf SHA1 bdfb0f5d3ba95681293886a4cb3ec26ff4374025 SHA256 92c392daf47b967e17cfef7ffe28eacab79e3e99dc232f718335f24615443444 AUX run-crons-0.3.2 2982 RMD160 356b881d39f2ee4be23b688487044eee31c605ec SHA1 0bad7320dc22b4032541e9304a186700fd6edf2b SHA256 a9e6f0a4a73c582ce9417c57ab14545feddd83ac911c5e51c30de7237568f1e7 -EBUILD cronbase-0.2.1-r3.ebuild 773 RMD160 7652367e4e094c49609c9751d2582f107a6ff7e4 SHA1 d47446f865a65c7e740a93ea6cf07a54235b9959 SHA256 7a8c627b92f4b73b726949e94609546d67b7a9a5c6682971047a221b0654a63d -EBUILD cronbase-0.3.1.ebuild 761 RMD160 25fbf107ebc8f6d7e965391259e5a77d9b1deca6 SHA1 a0bae5d0501afda76351d27a0f7b06dd84581212 SHA256 e0bdda77c72c9f076e9ed0480174052661a7c3181df3273d615eb2ee26a8cc0d EBUILD cronbase-0.3.2-r1.ebuild 1436 RMD160 88cda6e86dcbaa6271e38f815efffbbf818ec725 SHA1 a6cf0cc63d5a39f7d9d54313abecb3ca9236458f SHA256 368c195b7cbfc38203bfca6dce53b728aae15461ad006ad6ead9b42015aed5bb EBUILD cronbase-0.3.2.ebuild 878 RMD160 bf1b052e1916e01b96a92110d2dbe9a5230bf9d4 SHA1 d9a169b71b2a7b782e5b0b6f5fd2edd0395337da SHA256 0e979391efe9455c94b4d02889b2e7d436fcd4ca4aee32e4dcb469896b743e86 -EBUILD cronbase-0.3.ebuild 768 RMD160 fc36b9d4950b995f38f8c5d57a44ce9a553c0341 SHA1 7d49847afd6d70d2460a3b6406f4fce5abb7e1eb SHA256 6c8cb34fc079f7c4fbc5d5ecdd258a3eaf4e3d84cb2b28640744b226f1fccc3d -MISC ChangeLog 7166 RMD160 43658d95bdd1bc0253d96d3d9d8acdea680880fa SHA1 124e71b961494b01b7aa2cdb8795b302495498ef SHA256 7b7729f36c6068c5fe53dcd7e1ef9916d683bdba689e5401e565df26584e21f4 +MISC ChangeLog 7383 RMD160 6055d89e1fd0161c6b3eadbc1a8feb6a318043db SHA1 50efb0d41d332cb6d4ccf41b36ffbe217151f5ef SHA256 d67075481e68173e8c898033742f9ad298d3c77dd89c7167d4799ccb57dc5fb6 MISC metadata.xml 158 RMD160 298878d8b5da225547b337739a1a48192546d7b8 SHA1 5a9f7a1c9f0f56d1b0e72ee9b67b5cc5771f6d7d SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 diff --git a/sys-process/cronbase/cronbase-0.2.1-r3.ebuild b/sys-process/cronbase/cronbase-0.2.1-r3.ebuild deleted file mode 100644 index 425f167b6f85..000000000000 --- a/sys-process/cronbase/cronbase-0.2.1-r3.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.2.1-r3.ebuild,v 1.2 2006/11/02 22:33:11 bangert Exp $ - -IUSE="" - -DESCRIPTION="base for all cron ebuilds" -HOMEPAGE="http://www.gentoo.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc ppc64 sparc mips alpha arm hppa amd64 ia64 s390" - -src_install() { - exeinto /usr/sbin - newexe ${FILESDIR}/run-crons-${PV} run-crons || die - - diropts -m0750; keepdir /etc/cron.hourly - diropts -m0750; keepdir /etc/cron.daily - diropts -m0750; keepdir /etc/cron.weekly - diropts -m0750; keepdir /etc/cron.monthly - - diropts -m0750 -o root -g cron; keepdir /var/spool/cron - - diropts -m0750; keepdir /var/spool/cron/lastrun -} diff --git a/sys-process/cronbase/cronbase-0.3.1.ebuild b/sys-process/cronbase/cronbase-0.3.1.ebuild deleted file mode 100644 index 1390b8b615db..000000000000 --- a/sys-process/cronbase/cronbase-0.3.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.1.ebuild,v 1.3 2006/11/02 22:33:11 bangert Exp $ - -DESCRIPTION="base for all cron ebuilds" -HOMEPAGE="http://www.gentoo.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -src_install() { - newsbin "${FILESDIR}"/run-crons-${PV} run-crons || die - - diropts -m0750; keepdir /etc/cron.hourly - diropts -m0750; keepdir /etc/cron.daily - diropts -m0750; keepdir /etc/cron.weekly - diropts -m0750; keepdir /etc/cron.monthly - - diropts -m0750 -o root -g cron; keepdir /var/spool/cron - - diropts -m0750; keepdir /var/spool/cron/lastrun -} diff --git a/sys-process/cronbase/cronbase-0.3.ebuild b/sys-process/cronbase/cronbase-0.3.ebuild deleted file mode 100644 index eb94789ea359..000000000000 --- a/sys-process/cronbase/cronbase-0.3.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.ebuild,v 1.2 2006/11/02 22:33:11 bangert Exp $ - -IUSE="" - -DESCRIPTION="base for all cron ebuilds" -HOMEPAGE="http://www.gentoo.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc ppc64 sparc mips alpha arm hppa amd64 ia64 s390" - -src_install() { - exeinto /usr/sbin - newexe ${FILESDIR}/run-crons-${PV} run-crons || die - - diropts -m0750; keepdir /etc/cron.hourly - diropts -m0750; keepdir /etc/cron.daily - diropts -m0750; keepdir /etc/cron.weekly - diropts -m0750; keepdir /etc/cron.monthly - - diropts -m0750 -o root -g cron; keepdir /var/spool/cron - - diropts -m0750; keepdir /var/spool/cron/lastrun -} diff --git a/sys-process/cronbase/files/run-crons-0.2.1 b/sys-process/cronbase/files/run-crons-0.2.1 deleted file mode 100755 index 7f0ad86c7fc6..000000000000 --- a/sys-process/cronbase/files/run-crons-0.2.1 +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/files/run-crons-0.2.1,v 1.1 2005/03/04 23:24:54 ciaranm Exp $ -# -# 23 Jun 2002; Jon Nelson <jnelson@gentoo.org> run-crons: -# -# fixed a race condition, where cron jobs and run-crons wanted to delete -# touch files -# -# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> run-crons: -# -# moved lastrun directory to /var/spool/cron/lastrun -# -# Author: Achim Gottinger <achim@gentoo.org> -# -# Mostly copied from SuSE -# -# this script looks into /etc/cron.[hourly|daily|weekly|monthly] -# for scripts to be executed. The info about last run is stored in -# /var/spool/cron/lastrun - -mkdir -p /var/spool/cron/lastrun - -# Make sure its not running multiple instances at once. -if test -f /var/spool/cron/lastrun/lock -then - cronpid=`cat /var/spool/cron/lastrun/lock` - if `kill -0 $cronpid >/dev/null 2>&1` - then - exit 0 - fi -fi - -echo "$$" >/var/spool/cron/lastrun/lock - -for BASE in hourly daily weekly monthly -do - CRONDIR=/etc/cron.${BASE} - - test -d $CRONDIR || continue - - if test -e /var/spool/cron/lastrun/cron.$BASE - then - case $BASE in - hourly) - #>= 1 hour, 5 min -=> +65 min - TIME="-cmin +65" ;; - daily) - #>= 1 day, 5 min -=> +1445 min - TIME="-cmin +1445" ;; - weekly) - #>= 1 week, 5 min -=> +10085 min - TIME="-cmin +10085" ;; - monthly) - #>= 31 days, 5 min -=> +44645 min - TIME="-cmin +44645" ;; - esac - find /var/spool/cron/lastrun -name cron.$BASE $TIME -exec rm {} \; - fi - - # if there is no touch file, make one then run the scripts - if test ! -f /var/spool/cron/lastrun/cron.$BASE - then - - touch /var/spool/cron/lastrun/cron.$BASE - - set +e - for SCRIPT in $CRONDIR/* - do - test -d $SCRIPT && continue - if test -x $SCRIPT ; then - $SCRIPT - fi - done - fi -done - -# Remove lock, we're done. -rm -f /var/spool/cron/lastrun/lock - -touch /var/spool/cron/lastrun -find /var/spool/cron/lastrun -newer /var/spool/cron/lastrun -exec /bin/rm -f {} \; - diff --git a/sys-process/cronbase/files/run-crons-0.3 b/sys-process/cronbase/files/run-crons-0.3 deleted file mode 100755 index 3d1c46298b7a..000000000000 --- a/sys-process/cronbase/files/run-crons-0.3 +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/files/run-crons-0.3,v 1.1 2005/03/04 23:24:54 ciaranm Exp $ -# -# -# 06 May 2004; Aron Griffis <agriffis@gentoo.org> run-crons: -# Make the locking actually work. The old code was racy. -# Thanks to Mathias Gumz in bug 45155 for some cleanups. -# -# 23 Jun 2002; Jon Nelson <jnelson@gentoo.org> run-crons: -# fixed a race condition, where cron jobs and run-crons wanted to -# delete touch files -# -# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> run-crons: -# moved lastrun directory to /var/spool/cron/lastrun -# -# Author: Achim Gottinger <achim@gentoo.org> -# -# Mostly copied from SuSE -# -# this script looks into /etc/cron.[hourly|daily|weekly|monthly] -# for scripts to be executed. The info about last run is stored in -# /var/spool/cron/lastrun - -LOCKDIR=/var/spool/cron/lastrun -LOCKFILE=${LOCKDIR}/lock - -mkdir -p ${LOCKDIR} - -# Make sure we're not running multiple instances at once. -# Try twice to lock, otherwise give up. -for ((i = 0; i < 2; i = i + 1)); do - ln -sn $$ ${LOCKFILE} 2>/dev/null - if [[ $? != 0 ]]; then - # lock failed, check for a running process. - # handle both old- and new-style locking. - cronpid=$(readlink ${LOCKFILE} 2>/dev/null || - cat ${LOCKFILE} 2>/dev/null) - if [[ $? == 0 ]]; then - if kill -0 ${cronpid} 2>/dev/null; then - # whoa, another process is really running - exit 0 - else - rm -f ${LOCKFILE} - fi - fi - fi -done - -# Set a trap to remove the lockfile when we're finished -trap "rm -f ${LOCKFILE}" 0 1 2 3 15 - - -for BASE in hourly daily weekly monthly -do - CRONDIR=/etc/cron.${BASE} - - test -d $CRONDIR || continue - - if [ -e ${LOCKDIR}/cron.$BASE ] - then - case $BASE in - hourly) - #>= 1 hour, 5 min -=> +65 min - TIME="-cmin +65" ;; - daily) - #>= 1 day, 5 min -=> +1445 min - TIME="-cmin +1445" ;; - weekly) - #>= 1 week, 5 min -=> +10085 min - TIME="-cmin +10085" ;; - monthly) - #>= 31 days, 5 min -=> +44645 min - TIME="-cmin +44645" ;; - esac - find ${LOCKDIR} -name cron.$BASE $TIME -exec rm {} \; - fi - - # if there is no touch file, make one then run the scripts - if [ ! -e ${LOCKDIR}/cron.$BASE ] - then - touch ${LOCKDIR}/cron.$BASE - - set +e - for SCRIPT in $CRONDIR/* - do - if [[ -x $SCRIPT && ! -d $SCRIPT ]]; then - $SCRIPT - fi - done - fi -done - -# Clean out bogus cron.$BASE files with future times -touch ${LOCKDIR} -find ${LOCKDIR} -newer ${LOCKDIR} -exec /bin/rm -f {} \; diff --git a/sys-process/cronbase/files/run-crons-0.3.1 b/sys-process/cronbase/files/run-crons-0.3.1 deleted file mode 100755 index 836e074900a3..000000000000 --- a/sys-process/cronbase/files/run-crons-0.3.1 +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/bash -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/files/run-crons-0.3.1,v 1.1 2005/03/04 23:24:54 ciaranm Exp $ -# -# -# 06 May 2004; Aron Griffis <agriffis@gentoo.org> run-crons: -# Make the locking actually work. The old code was racy. -# Thanks to Mathias Gumz in bug 45155 for some cleanups. -# -# 23 Jun 2002; Jon Nelson <jnelson@gentoo.org> run-crons: -# fixed a race condition, where cron jobs and run-crons wanted to -# delete touch files -# -# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> run-crons: -# moved lastrun directory to /var/spool/cron/lastrun -# -# Author: Achim Gottinger <achim@gentoo.org> -# -# Mostly copied from SuSE -# -# this script looks into /etc/cron.[hourly|daily|weekly|monthly] -# for scripts to be executed. The info about last run is stored in -# /var/spool/cron/lastrun - -LOCKDIR=/var/spool/cron/lastrun -LOCKFILE=${LOCKDIR}/lock - -mkdir -p ${LOCKDIR} - -# Make sure we're not running multiple instances at once. -# Try twice to lock, otherwise give up. -for ((i = 0; i < 2; i = i + 1)); do - ln -sn $$ ${LOCKFILE} 2>/dev/null && break - - # lock failed, check for a running process. - # handle both old- and new-style locking. - cronpid=$(readlink ${LOCKFILE} 2>/dev/null) || - cronpid=$(cat ${LOCKFILE} 2>/dev/null) || - continue # lockfile disappeared? try again - - # better than kill -0 because we can verify that it's really - # another run-crons process - if [[ $(</proc/${cronpid}/cmdline) == $(</proc/$$/cmdline) ]] 2>/dev/null; then - # whoa, another process is really running - exit 0 - else - rm -f ${LOCKFILE} - fi -done - -# Check to make sure locking was successful -if [[ ! -L ${LOCKFILE} ]]; then - echo "Can't create or read existing ${LOCKFILE}, giving up" - exit 1 -fi - -# Set a trap to remove the lockfile when we're finished -trap "rm -f ${LOCKFILE}" 0 1 2 3 15 - - -for BASE in hourly daily weekly monthly -do - CRONDIR=/etc/cron.${BASE} - - test -d $CRONDIR || continue - - if [ -e ${LOCKDIR}/cron.$BASE ] - then - case $BASE in - hourly) - #>= 1 hour, 5 min -=> +65 min - TIME="-cmin +65" ;; - daily) - #>= 1 day, 5 min -=> +1445 min - TIME="-cmin +1445" ;; - weekly) - #>= 1 week, 5 min -=> +10085 min - TIME="-cmin +10085" ;; - monthly) - #>= 31 days, 5 min -=> +44645 min - TIME="-cmin +44645" ;; - esac - find ${LOCKDIR} -name cron.$BASE $TIME -exec rm {} \; - fi - - # if there is no touch file, make one then run the scripts - if [ ! -e ${LOCKDIR}/cron.$BASE ] - then - touch ${LOCKDIR}/cron.$BASE - - set +e - for SCRIPT in $CRONDIR/* - do - if [[ -x $SCRIPT && ! -d $SCRIPT ]]; then - $SCRIPT - fi - done - fi -done - -# Clean out bogus cron.$BASE files with future times -touch ${LOCKDIR} -find ${LOCKDIR} -newer ${LOCKDIR} -exec /bin/rm -f {} \; |