3 # Executed after cron.unchecked
5 ARCHS_oldstable="alpha arm hppa i386 ia64 m68k mips mipsel powerpc sparc s390 amd64"
6 ARCHS_stable="alpha amd64 arm hppa i386 ia64 mips mipsel powerpc sparc s390"
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
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 buildd@buildd -S $SSH_SOCKET -MN 2> /dev/null &
56 while [ ! -S $SSH_SOCKET ]; do
59 trap 'kill -TERM $SSH_PID' 0
63 cd /org/security.debian.org/buildd/$d
64 if [ "$d" != "oldstable" ]; then
65 # disabled for oldstable-security by ajt 2008-01-01
67 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
69 ssh buildd@buildd -S $SSH_SOCKET wanna-build -d $d-security -A $a -b $a/build-db --merge-packages < Packages
72 ssh buildd@bester.farm.ftbfs.de -i ~/.ssh/id_bester sleep 1