X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian-security%2Fcron.buildd;h=cd8a6851d47000fdc3bb42c8f7d3ea9c9f0659dd;hb=f54c87736c85e9c72b1693f9db50848992f88f61;hp=959d4e65a5d2cfcce6e232cb65d1e17269e107aa;hpb=52eb03dccab0a9898bca4d36a0a96ebe377fb977;p=dak.git diff --git a/config/debian-security/cron.buildd b/config/debian-security/cron.buildd index 959d4e65..cd8a6851 100755 --- a/config/debian-security/cron.buildd +++ b/config/debian-security/cron.buildd @@ -9,7 +9,7 @@ set -u export SCRIPTVARS=/srv/security-master.debian.org/dak/config/debian-security/vars . $SCRIPTVARS SSH_SOCKET=~/.ssh/buildd.debian.org.socket -DISTS="stable testing" +DISTS="oldstable stable stable-kfreebsd testing" if [ -e $ftpdir/Archive_Maintenance_In_Progress ]; then exit 0 @@ -20,8 +20,8 @@ now=$(date +%s) check=$(( now - 3*60 )) for dist in $DISTS; do - smodtime=$(stat -c "%Y" $base/buildd/$dist/Sources.gz) - pmodtime=$(stat -c "%Y" $base/buildd/$dist/Packages.gz) + smodtime=$(stat -c "%Y" $base/build-queues/dists/buildd-$dist/updates/*/source/Sources.gz | sort -n | tail -1) + pmodtime=$(stat -c "%Y" $base/build-queues/dists/buildd-$dist/updates/*/binary-*/Packages.gz | sort -n | tail -1) if [ ${smodtime} -gt ${check} ] || [ ${pmodtime} -gt ${check} ]; then # Packages/Sources changed in the last minutes @@ -41,15 +41,21 @@ if [ ! -z "${dists}" ]; then trap 'kill -TERM $SSH_PID' 0 for d in ${dists}; do case ${d} in - oldstable) + oldoldstable) send=squeeze ;; - stable) + oldstable) send=wheezy ;; - testing) + stable) send=jessie ;; + stable-kfreebsd) + send=jessie-kfreebsd + ;; + testing) + send=stretch + ;; *) send=unknown ;;