3 # Executed after cron.unchecked
5 ARCHS_oldstable="alpha arm hppa i386 ia64 m68k mips mipsel powerpc sparc s390"
6 ARCHS_stable="$ARCHS_oldstable"
7 ARCHS_testing="$ARCHS_stable"
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
18 eval SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
19 eval PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
21 apt-ftparchive -qq generate apt.conf.buildd-security
24 eval NEW_SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
25 eval NEW_PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
28 if [ ${!new} -gt ${!old} ]; then
29 if [ -z "$dists" ]; then
38 if [ ${!new} -gt ${!old} ]; then
39 if [ -z "$dists" ]; then
47 if [ ! -z "$dists" ]; then
48 # setup ssh master process
49 ssh buildd@buildd -S $SSH_SOCKET -MN 2> /dev/null &
51 while [ ! -S $SSH_SOCKET ]; do
54 trap 'kill -TERM $SSH_PID' 0
58 cd /org/security.debian.org/buildd/$d
60 quinn-diff -a /org/security.debian.org/buildd/Packages-arch-specific -A $a 2>/dev/null | ssh buildd@buildd -S $SSH_SOCKET wanna-build -d $d-security -b $a/build-db --merge-partial-quinn
61 ssh buildd@buildd -S $SSH_SOCKET wanna-build -d $d-security -A $a -b $a/build-db --merge-packages < Packages
67 ssh buildd@bester.farm.ftbfs.de -i ~/.ssh/id_bester sleep 1