diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-04-14 22:02:22 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-04-14 22:02:22 +0000 |
commit | de6a42a57dc61cf39e622657ebb7616c395800df (patch) | |
tree | 9e5d78b08773e74e94428219a3038972b82bb985 /sys-process/cronbase | |
parent | Mask dev-java/diablo-jdk and dev-java/diablo-jre-bin. (diff) | |
download | historical-de6a42a57dc61cf39e622657ebb7616c395800df.tar.gz historical-de6a42a57dc61cf39e622657ebb7616c395800df.tar.bz2 historical-de6a42a57dc61cf39e622657ebb7616c395800df.zip |
Remove old.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'sys-process/cronbase')
-rw-r--r-- | sys-process/cronbase/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/cronbase/Manifest | 25 | ||||
-rw-r--r-- | sys-process/cronbase/cronbase-0.3.2-r1.ebuild | 45 | ||||
-rw-r--r-- | sys-process/cronbase/cronbase-0.3.2.ebuild | 31 | ||||
-rwxr-xr-x | sys-process/cronbase/files/run-crons-0.3.2 | 104 |
5 files changed, 7 insertions, 206 deletions
diff --git a/sys-process/cronbase/ChangeLog b/sys-process/cronbase/ChangeLog index 1861124d7f43..8c59e08bac25 100644 --- a/sys-process/cronbase/ChangeLog +++ b/sys-process/cronbase/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-process/cronbase -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.41 2014/01/18 03:47:15 vapier Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.42 2015/04/14 22:02:17 mrueg Exp $ + + 14 Apr 2015; Manuel Rüger <mrueg@gentoo.org> -cronbase-0.3.2-r1.ebuild, + -cronbase-0.3.2.ebuild, -files/run-crons-0.3.2: + Remove old. 18 Jan 2014; Mike Frysinger <vapier@gentoo.org> cronbase-0.3.3.ebuild: Add arm64 love. diff --git a/sys-process/cronbase/Manifest b/sys-process/cronbase/Manifest index e84c7589f571..26a966d31881 100644 --- a/sys-process/cronbase/Manifest +++ b/sys-process/cronbase/Manifest @@ -1,27 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX run-crons-0.3.2 2982 SHA256 a9e6f0a4a73c582ce9417c57ab14545feddd83ac911c5e51c30de7237568f1e7 SHA512 f2ba3b4fbc2814e20de2fd793a87823db23ba8d465500634fe350840df6bda696bd900a8eec8c5f37fdc80872898321c3273c8cf67679f074e18b5b2a5f9433d WHIRLPOOL e4116f9c02c7a1c916ad3bf2b82a165241e1dd20d5cd531c8fd5f6e67742b52e56a8dc20a2e3d2f0b55bf64577c31313c44a57ce47fa333762544810cab28ae6 AUX run-crons-0.3.3 3254 SHA256 77aa0820f5827b7fa2c35f877c2dc617c85c0ac80c35002624be091da520141a SHA512 b9f1dce57cb10ae17135bef3d197d411d802feee6645fbd753a08d154a2ab51b08f883995f041be73fd5e9e8c1a3fad487fbb02a141dd6644c339468bfe6c81d WHIRLPOOL 74e31eed4ba85548f89e5a0fa1a6bfb1a47f5b1dad9e2e75c33d796e39216ff6b88ed4e29bbb5ff59f81dfe3aa72268081eb33a4008c440a43303dde3ad2425e -EBUILD cronbase-0.3.2-r1.ebuild 1435 SHA256 d9783ea9ceae13c51c0262a647043f1f9ec0ba8ced3dbc098e9f7f5158180579 SHA512 d8ed8e6d8ee2791bc02db3c02a4d65309b75b80039aa965070d31f74617670b2430e7230a8b278080363dd10cb1cd80670b3e0636a03cf5d70531d8734d11fbd WHIRLPOOL 9880732d38f827c79051b8eecb4593f37d13c307619079bad1022771bf146c2a34fd62bbd841fd5e9c075084fd15ef75643562450a3ae4b459da82457262a9d0 -EBUILD cronbase-0.3.2.ebuild 876 SHA256 015475806ecab599ae27f77ebbcd1b665bb4bee3b27b1083746e368325f2eda9 SHA512 2bf35ac16f006ad0f45ab3e73a238d9e52713f37aa28bb39ddf0bd901ab2669e8c0b0ff23dd4b2f04c9d0d0a0c0f525ad6e6fee3d1c359e929f83b980d5b9317 WHIRLPOOL 8eb179e3c60bff23ca3e3d1a8f761029f7ccc77e525ddee32616f73767b6d01e8b095c30e99ead7cae1e64b2f05bfcf9f00ef9d4ca04a80fe9cecd75019dd184 EBUILD cronbase-0.3.3.ebuild 1401 SHA256 a964082ffb1ec5b03fc534597dd916ed1e8259508a289010957adf1d8facf28a SHA512 c9d6fe9c66345625afef2fbac2d602fcaea7f54acef6e9c5713c43964e3c3f1af96d711e620cbc79b422b5d1157c1cf16e9faac8b43fea6e82ff376677d2c6a4 WHIRLPOOL d2f7abdfd53061e02bbaf6192088a4866d96fb931ba3335b8159974296a4f21ce910bb385818ec3d2d776d8e06b4874b022cd32ca9fae52b0e0dd446f5901339 -MISC ChangeLog 8829 SHA256 1eaefa2c01773244e5618d579cb7f7d156036dc7d464f2c205884a1f9f3a53ee SHA512 c5bc66e7bcfd4be39c62d0a93ce26d98e7dfc075273759941e7ffb7e785c85c0dc68e025b1f9ee77dbfcff669e44bb0a5e19a3dfcc0e67ecf6dbe761ce0c29c6 WHIRLPOOL 300cdb22a3a9254ee5d26baef5fdb6ddeb6d6b57ca35ecb688d042c1656557b03dc193caccec9ccc96bd50817677c7456dbfdff6f40d285f8ae82952d4b8556d +MISC ChangeLog 8968 SHA256 e56457e75039595233a793a6f1a6f286647b9b6b2d259eec78b79478da59ce74 SHA512 e33ab1343422cfc5b6e923cfe38433366973914ea65723ac6f0e324313c8c99dd94444b58ed3ce711de9273e6d018bbfd39c118dd572e3aaaadd7d054c440af1 WHIRLPOOL 0244e61890c3762a25d167343c477f7129e80ae7bf147931c09760f0917a6438a0fed4755f10f9e3eef310e6a5e9167d909405800026cc69ee0519462f95a2c8 MISC metadata.xml 158 SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 SHA512 0848ecc6b5e718ad001952843f69815fd8c3f50d126d3a2bbc48b86a9bfa21eab50fdb2eb11188362b8ead9db4cefb3719b53e0b76e4412a7a9a377a091e60bc WHIRLPOOL 3034b4ecfc87a8678ffab15dfc07af401c1b53660f7369b80a63b5c20300a3701068e87d7f6ff28ac1fd1c373051ce895e0316ecf7d9e91ad4eb627702b1ba02 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iQIcBAEBCAAGBQJS2flKAAoJEPGu1DbS6WIAp48QAIMAyRN4Kzjz5BPZMlI/8Oxy -l9aqTVrzn5RNl/Jn7Cv+c9fHiRGKqSn/iIP1fLpg2s7Zdfa5SWGdbQTsg8K7OqLj -RhIXDV1xTJnR/Rj54/mBz+zgrr9PmqRgrmJR5SrQDLUsf+UYuWsBtK0BxL8EIxa3 -vmmkVoNpgh+KmWAR9Fi1gfurb2IVD+1DPRSO6ndSdBerQEgK+Bno4fFuYIXUaz4L -a6Tuy9eEkpfpW9qRXSuREtBpf6QmxTBwi8k2hO67KGzVz4nWvkWTkm1cR7wUCj33 -Bm5KqQxGWQRlW1fNWPnxAnOEY9nx1G/SZUp4JMtHg3/mOh8jfyXElbqM6UROHUBY -wYdYcy32ko0m+pzGFAuPpB2pEfsjZPPtXOUtl8laobqRBjFKt0C3zV/hvZ6114hv -GJw4m9xl3ELv2tZfgVGt4zWdewGgDVAqkyXKddho1i0eo4Ai3kjAUlIgbk+JmELi -6cBbYbQeIRQXo4DTfYz+U/qYsXe9tQwmWxlHPOAFoYvbVLBN+vYj9tSbpHeFIMm8 -Glvywp69NBD8nzLiFwe9OvC1Y6Vksn9MMKY9+5vjOiYAh61eVRoLk3+1ld6ekuta -VhDTsC17RNCyALrnPucEDGxQ0hQSJoUE1kRlYHPzlz+SuWXw2XZ/IRw7JDkqCmvh -Tng1FulY+aOSR2sesPuT -=qEsJ ------END PGP SIGNATURE----- diff --git a/sys-process/cronbase/cronbase-0.3.2-r1.ebuild b/sys-process/cronbase/cronbase-0.3.2-r1.ebuild deleted file mode 100644 index 2c86d0d6917d..000000000000 --- a/sys-process/cronbase/cronbase-0.3.2-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild,v 1.14 2012/05/24 05:52:37 vapier Exp $ - -inherit user - -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 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -pkg_setup() { - enewgroup cron 16 - enewuser cron 16 -1 /var/spool/cron cron -} - -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 -} - -pkg_postinst() { - echo - elog "Portage doesn't enforce proper permissions on already existing" - elog "directories (bug 141619). Appropriate permissions are now being set" - elog "on ${ROOT}/etc/cron.{hourly,daily,weekly,monthly}," - elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/" - elog "(see bug 182998)" - echo - chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \ - || die "chmod failed" - chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed" - chown root:cron "${ROOT}/var/spool/cron" || die "chown failed" -} diff --git a/sys-process/cronbase/cronbase-0.3.2.ebuild b/sys-process/cronbase/cronbase-0.3.2.ebuild deleted file mode 100644 index d142a21de72a..000000000000 --- a/sys-process/cronbase/cronbase-0.3.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2.ebuild,v 1.21 2012/05/24 05:52:37 vapier Exp $ - -inherit user - -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 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -pkg_setup() { - enewgroup cron 16 - enewuser cron 16 -1 /var/spool/cron cron -} - -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/files/run-crons-0.3.2 b/sys-process/cronbase/files/run-crons-0.3.2 deleted file mode 100755 index 092553967c25..000000000000 --- a/sys-process/cronbase/files/run-crons-0.3.2 +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/bash -# -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/files/run-crons-0.3.2,v 1.2 2007/06/24 20:23:45 vapier Exp $ -# -# 08 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> run-crons: -# Ignore the error messages from find caused by race conditions, since -# we could care less about the error as long as the file has been removed. -# See bug 8506. -# -# 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 {} \; &>/dev/null || true - 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 {} \; &>/dev/null || true |