]> git.decadent.org.uk Git - dak.git/blob - cron.buildd-security
fix bogus reject on warnings by not prefixing reject strings from check_dsc_against_d...
[dak.git] / cron.buildd-security
1 #! /bin/sh
2 #
3 # Executed after jennifer (merge there??)
4
5 ARCHS_oldstable="alpha arm i386 m68k powerpc sparc"
6 ARCHS_stable="alpha arm hppa i386 ia64 m68k mips mipsel powerpc sparc s390"
7 ARCHS_testing="alpha arm hppa i386 ia64 m68k mips mipsel powerpc sparc s390"
8 #DISTS="oldstable stable testing"
9 DISTS="oldstable stable"
10
11 set -e
12 export SCRIPTVARS=/org/security.debian.org/katie/vars-security
13 . $SCRIPTVARS
14
15 if [ ! -e $ftpdir/Archive_Maintenance_In_Progress ]; then
16         cd $masterdir
17         apt-ftparchive -qq generate apt.conf.buildd-security
18         for d in $DISTS; do
19                 case "$d" in
20                         oldstable)
21                                 ARCHS="$ARCHS_oldstable"
22                                 ;;
23                         stable)
24                                 ARCHS="$ARCHS_stable"
25                                 ;;
26                         testing)
27                                 ARCHS="$ARCHS_testing"
28                                 ;;
29                         *)
30                                 echo "unknown value in dists: $d"
31                                 exit 1
32                                 ;;
33                 esac
34                 cd /org/security.debian.org/buildd/$d
35                 for a in $ARCHS; do
36                         quinn-diff -a /org/security.debian.org/buildd/Packages-arch-specific -A $a 2>/dev/null | ssh buildd@auric wanna-build -d $d-security -b $a/build-db --merge-partial-quinn
37                         ssh buildd@auric wanna-build -d $d-security -A $a -b $a/build-db --merge-packages < Packages
38                 done
39         done
40 fi