3 # Executed after cron.unchecked
5 ARCHS_oldstable="alpha amd64 arm hppa i386 ia64 mips mipsel powerpc sparc s390"
6 ARCHS_stable="alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc sparc s390"
7 ARCHS_testing="alpha amd64 armel hppa i386 ia64 mips mipsel powerpc sparc s390"
8 DISTS="oldstable stable testing"
9 SSH_SOCKET=~/.ssh/buildd.debian.org.socket
12 export SCRIPTVARS=/org/security.debian.org/dak/config/debian-security/vars
15 if [ -e $ftpdir/Archive_Maintenance_In_Progress ]; then
21 eval SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
22 eval PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
25 apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd
28 eval NEW_SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
29 eval NEW_PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
32 if [ ${!new} -gt ${!old} ]; then
33 if [ -z "$dists" ]; then
42 if [ ${!new} -gt ${!old} ]; then
43 if [ -z "$dists" ]; then
52 if [ ! -z "$dists" ]; then
53 # setup ssh master process
54 ssh wbadm@buildd -S $SSH_SOCKET -MN 2> /dev/null &
56 while [ ! -S $SSH_SOCKET ]; do
59 trap 'kill -TERM $SSH_PID' 0
61 ssh wbadm@buildd -S $SSH_SOCKET trigger.security $d