+APT::FTPArchive::Contents off;
+
Dir
{
ArchiveDir "/org/security.debian.org/ftp/";
Default
{
- Packages::Compress ". gzip";
- Sources::Compress "gzip";
+ Packages::Compress ". gzip bzip2";
+ Sources::Compress "gzip bzip2";
DeLinkLimit 0;
FileMode 0664;
}
FileList "/org/security.debian.org/dak-database/dists/oldstable_updates/$(SECTION)_binary-$(ARCH).list";
SourceFileList "/org/security.debian.org/dak-database/dists/oldstable_updates/$(SECTION)_source.list";
Sections "main contrib non-free";
- Architectures "alpha arm hppa i386 ia64 mips mipsel m68k powerpc s390 sparc source";
- BinOverride "override.woody.$(SECTION)";
- ExtraOverride "override.woody.extra.$(SECTION)";
- SrcOverride "override.woody.$(SECTION).src";
+ Architectures "alpha amd64 arm hppa i386 ia64 mips mipsel m68k powerpc s390 sparc source";
+ BinOverride "override.sarge.$(SECTION)";
+ ExtraOverride "override.sarge.extra.$(SECTION)";
+ SrcOverride "override.sarge.$(SECTION).src";
Contents " ";
};
FileList "/org/security.debian.org/dak-database/dists/stable_updates/$(SECTION)_binary-$(ARCH).list";
SourceFileList "/org/security.debian.org/dak-database/dists/stable_updates/$(SECTION)_source.list";
Sections "main contrib non-free";
- Architectures "alpha amd64 arm hppa i386 ia64 mips mipsel m68k powerpc s390 sparc source";
- BinOverride "override.sarge.$(SECTION)";
- ExtraOverride "override.sarge.extra.$(SECTION)";
- SrcOverride "override.sarge.$(SECTION).src";
+ Architectures "alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc source";
+ BinOverride "override.etch.$(SECTION)";
+ ExtraOverride "override.etch.extra.$(SECTION)";
+ SrcOverride "override.etch.$(SECTION).src";
Contents " ";
+ Packages::Compress "gzip bzip2";
+ Sources::Compress "gzip bzip2";
};
tree "dists/testing/updates"
FileList "/org/security.debian.org/dak-database/dists/testing_updates/$(SECTION)_binary-$(ARCH).list";
SourceFileList "/org/security.debian.org/dak-database/dists/testing_updates/$(SECTION)_source.list";
Sections "main contrib non-free";
- Architectures "alpha amd64 arm hppa i386 ia64 mips mipsel m68k powerpc s390 sparc source";
- BinOverride "override.etch.$(SECTION)";
- ExtraOverride "override.etch.extra.$(SECTION)";
- SrcOverride "override.etch.$(SECTION).src";
+ Architectures "alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc source";
+ BinOverride "override.lenny.$(SECTION)";
+ ExtraOverride "override.lenny.extra.$(SECTION)";
+ SrcOverride "override.lenny.$(SECTION).src";
Contents " ";
Packages::Compress "gzip bzip2";
Sources::Compress "gzip bzip2";
+APT::FTPArchive::Contents off;
+
Dir
{
- ArchiveDir "/org/security.debian.org/buildd/";
- OverrideDir "/org/security.debian.org/override/";
- CacheDir "/org/security.debian.org/dak-database/";
+ ArchiveDir "/srv/security.debian.org/buildd/";
+ OverrideDir "/srv/security.debian.org/override/";
+ CacheDir "/srv/security.debian.org/dak-database/";
};
Default
Contents " ";
BinOverride "override.etch.all3";
+ SrcOverride "override.etch.all3.src";
BinCacheDB "packages-accepted-etch.db";
PathPrefix "";
Packages::Extensions ".deb .udeb";
};
-bindirectory "woody"
+bindirectory "lenny"
{
- Packages "woody/Packages";
- Sources "woody/Sources";
+ Packages "lenny/Packages";
+ Sources "lenny/Sources";
Contents " ";
- BinOverride "override.woody.all3";
- BinCacheDB "packages-accepted-woody.db";
+ BinOverride "override.lenny.all3";
+ SrcOverride "override.lenny.all3.src";
+ BinCacheDB "packages-accepted-lenny.db";
PathPrefix "";
Packages::Extensions ".deb .udeb";
};
Contents " ";
BinOverride "override.sarge.all3";
+ SrcOverride "override.sarge.all3.src";
BinCacheDB "packages-accepted-sarge.db";
PathPrefix "";
Packages::Extensions ".deb .udeb";
#
# Executed after cron.unchecked
-ARCHS_oldstable="alpha arm hppa i386 ia64 m68k mips mipsel powerpc sparc s390"
-ARCHS_stable="$ARCHS_oldstable"
+ARCHS_oldstable="alpha arm hppa i386 ia64 m68k mips mipsel powerpc sparc s390 amd64"
+ARCHS_stable="alpha amd64 arm hppa i386 ia64 mips mipsel powerpc sparc s390"
ARCHS_testing="$ARCHS_stable"
DISTS="oldstable stable testing"
SSH_SOCKET=~/.ssh/buildd.debian.org.socket
export SCRIPTVARS=/org/security.debian.org/dak/config/debian-security/vars
. $SCRIPTVARS
-if [ ! -e $ftpdir/Archive_Maintenance_In_Progress ]; then
- cd $masterdir
- for d in $DISTS; do
- eval SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
- eval PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
- done
- apt-ftparchive -qq generate apt.conf.buildd-security
- dists=
- for d in $DISTS; do
- eval NEW_SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
- eval NEW_PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
- old=SOURCES_$d
- new=NEW_$old
- if [ ${!new} -gt ${!old} ]; then
- if [ -z "$dists" ]; then
- dists="$d"
- else
- dists="$dists $d"
- fi
- continue
+if [ -e $ftpdir/Archive_Maintenance_In_Progress ]; then
+ exit 0
+fi
+
+cd $masterdir
+for d in $DISTS; do
+ eval SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
+ eval PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
+done
+
+apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd
+dists=
+for d in $DISTS; do
+ eval NEW_SOURCES_$d=`stat -c "%Y" $base/buildd/$d/Sources.gz`
+ eval NEW_PACKAGES_$d=`stat -c "%Y" $base/buildd/$d/Packages.gz`
+ old=SOURCES_$d
+ new=NEW_$old
+ if [ ${!new} -gt ${!old} ]; then
+ if [ -z "$dists" ]; then
+ dists="$d"
+ else
+ dists="$dists $d"
fi
- old=PACKAGES_$d
- new=NEW_$old
- if [ ${!new} -gt ${!old} ]; then
- if [ -z "$dists" ]; then
- dists="$d"
- else
- dists="$dists $d"
- fi
- continue
+ continue
+ fi
+ old=PACKAGES_$d
+ new=NEW_$old
+ if [ ${!new} -gt ${!old} ]; then
+ if [ -z "$dists" ]; then
+ dists="$d"
+ else
+ dists="$dists $d"
fi
+ continue
+ fi
+done
+
+if [ ! -z "$dists" ]; then
+ # setup ssh master process
+ ssh buildd@buildd -S $SSH_SOCKET -MN 2> /dev/null &
+ SSH_PID=$!
+ while [ ! -S $SSH_SOCKET ]; do
+ sleep 1
done
- if [ ! -z "$dists" ]; then
- # setup ssh master process
- ssh buildd@buildd -S $SSH_SOCKET -MN 2> /dev/null &
- SSH_PID=$!
- while [ ! -S $SSH_SOCKET ]; do
- sleep 1
- done
- trap 'kill -TERM $SSH_PID' 0
- for d in $dists; do
- archs=ARCHS_$d
- ARCHS=${!archs}
- cd /org/security.debian.org/buildd/$d
+ trap 'kill -TERM $SSH_PID' 0
+ for d in $dists; do
+ archs=ARCHS_$d
+ ARCHS=${!archs}
+ cd /org/security.debian.org/buildd/$d
+ if [ "$d" != "oldstable" ]; then
+ # disabled for oldstable-security by ajt 2008-01-01
for a in $ARCHS; do
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
+
ssh buildd@buildd -S $SSH_SOCKET wanna-build -d $d-security -A $a -b $a/build-db --merge-packages < Packages
done
- done
- fi
+ else
+ ssh buildd@bester.farm.ftbfs.de -i ~/.ssh/id_bester sleep 1
+ fi
+ done
fi
-ssh buildd@bester.farm.ftbfs.de -i ~/.ssh/id_bester sleep 1
# Fix overrides
-rsync -ql ftp-master::indices/override\* $overridedir
+# disabled by ajt 2008-01-01: requires auth
+#rsync -ql ftp-master::indices/override\* $overridedir
cd $overridedir
find . -name override\*.gz -type f -maxdepth 1 -mindepth 1 | xargs gunzip -f
-find . -type l -maxdepth 1 -mindepth 1 | xargs rm
-
-rm -fr non-US
-mkdir non-US
-cd non-US
-rsync -ql non-us::indices/override\* .
-find . -name override\*.gz -type f -maxdepth 1 -mindepth 1 | xargs gunzip
-find . -type l -maxdepth 1 -mindepth 1 | xargs rm
-for i in *; do
- if [ -f ../$i ]; then
- cat $i >> ../$i;
- fi;
-done
-cd ..
-rm -fr non-US
+find . -type l -maxdepth 1 -mindepth 1 | xargs --no-run-if-empty rm
for suite in $suites; do
case $suite in
- oldstable) override_suite=woody;;
- stable) override_suite=sarge;;
- testing) override_suite=etch;;
+ oldstable) override_suite=sarge;;
+ stable) override_suite=etch;;
+ testing) override_suite=lenny;;
*) echo "Unknown suite type ($suite)"; exit 1;;
esac
for component in $components; do
# XXX RUN AFUCKINGAWAY
if [ "$override_type" = "udeb" ]; then
if [ ! "$component" = "main" ]; then
- continue;
+ continue
fi
if [ "$suite" = "unstable" ]; then
dak control-overrides -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type
fi
else
- dak control-overrides -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type
+ # XXX removed 2007-08-16 ajt
+ #dak control-overrides -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type
+ true
fi
case $suite in
oldstable)
- if [ ! "$override_type" = "udeb" ]; then
- dak control-overrides -q -a -t $override_type -s $suite -c updates/$component < override.sarge.$component$type
- fi
dak control-overrides -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
;;
stable)
done
# Generate .all3 overides for the buildd support
-for dist in woody sarge etch; do
+for dist in sarge etch lenny; do
rm -f override.$dist.all3
components="main contrib non-free";
if [ -f override.$dist.main.debian-installer ]; then
- components="$components main.debian-installer";
+ components="$components main.debian-installer"
fi
for component in $components; do
- cat override.$dist.$component >> override.$dist.all3;
- done;
+ cat override.$dist.$component >> override.$dist.all3
+ if [ -e "override.$dist.$component.src" ]; then
+ cat override.$dist.$component.src >> override.$dist.all3.src
+ fi
+ done
done
################################################################################
exit 0
fi
-sh $masterdir/cron.buildd-security
+sh $masterdir/cron.buildd
Dinstall
{
GPGKeyring {
- "/org/keyring.debian.org/keyrings/debian-keyring.gpg";
- "/org/keyring.debian.org/keyrings/debian-keyring.pgp";
+ "/org/keyring.debian.org/keyrings/debian-keyring.gpg";
+ "/org/keyring.debian.org/keyrings/debian-keyring.pgp";
};
SigningKeyring "/org/non-us.debian.org/s3kr1t/dot-gnupg/secring.gpg";
SigningPubKeyring "/org/non-us.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
- SigningKeyIds "2D230C5F";
+ SigningKeyIds "6070D3A1";
SendmailCommand "/usr/sbin/sendmail -odq -oi -t";
MyEmailAddress "Debian Installer <installer@ftp-master.debian.org>";
MyAdminAddress "ftpmaster@debian.org";
PackagesServer "packages.debian.org";
LockFile "/org/security.debian.org/dak/lock";
Bcc "archive@ftp-master.debian.org";
+ // GroupOverrideFilename "override.group-maint";
FutureTimeTravelGrace 28800; // 8 hours
PastCutoffYear "1984";
SkipTime 300;
};
SecurityQueueHandling "true";
SecurityQueueBuild "true";
- DefaultSuite "Testing";
+ DefaultSuite "oldstable";
SuiteSuffix "updates";
OverrideMaintainer "dak@security.debian.org";
StableDislocationSupport "false";
LegacyStableHasNoSections "false";
};
-Process-Unchecked
+Process-New
{
AcceptedLockFile "/org/security.debian.org/lock/unchecked.lock";
};
{
Directories
{
- byhand;
- new;
- accepted;
+ // byhand;
+ // new;
+ unembargoed;
};
};
{
source;
all;
- alpha;
+ alpha;
+ amd64;
arm;
hppa;
i386;
sparc;
};
Announce "dak@security.debian.org";
- Version "3.0";
+ Version "3.1";
Origin "Debian";
Label "Debian-Security";
- Description "Debian 3.0 Security Updates";
- CodeName "woody";
- OverrideCodeName "woody";
+ Description "Debian 3.1 Security Updates";
+ CodeName "sarge";
+ OverrideCodeName "sarge";
CopyDotDak "/org/security.debian.org/queue/done/";
};
{
source;
all;
- alpha;
amd64;
+ alpha;
arm;
hppa;
i386;
ia64;
- m68k;
mips;
mipsel;
powerpc;
sparc;
};
Announce "dak@security.debian.org";
- Version "3.1";
+ Version "";
Origin "Debian";
Label "Debian-Security";
- Description "Debian 3.1 Security Updates";
- CodeName "sarge";
- OverrideCodeName "sarge";
+ Description "Debian 4.0 Security Updates";
+ CodeName "etch";
+ OverrideCodeName "etch";
CopyDotDak "/org/security.debian.org/queue/done/";
};
hppa;
i386;
ia64;
- m68k;
mips;
mipsel;
powerpc;
Origin "Debian";
Label "Debian-Security";
Description "Debian testing Security Updates";
- CodeName "etch";
- OverrideCodeName "etch";
+ CodeName "lenny";
+ OverrideCodeName "lenny";
CopyDotDak "/org/security.debian.org/queue/done/";
};
-
};
SuiteMappings
"silent-map stable-security stable";
// JT - FIXME, hackorama
// "silent-map testing-security stable";
- "silent-map etch-secure testing";
+ "silent-map etch-secure stable";
"silent-map testing-security testing";
};
New "/org/security.debian.org/queue/new/";
Reject "/org/security.debian.org/queue/reject/";
Unchecked "/org/security.debian.org/queue/unchecked/";
+ ProposedUpdates "/does/not/exist/"; // XXX fixme
Embargoed "/org/security.debian.org/queue/embargoed/";
Unembargoed "/org/security.debian.org/queue/unembargoed/";