Contents::Header "/srv/backports-master.debian.org/dak/config/backports/Contents.top";
};
-tree "dists/lenny-backports"
-{
- FileList "/srv/backports-master.debian.org/database/dists/lenny-backports_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/srv/backports-master.debian.org/database/dists/lenny-backports_$(SECTION)_source.list";
- Sections "main contrib non-free";
- Architectures "alpha amd64 arm armel hppa hurd-i386 i386 ia64 mips mipsel powerpc s390 sparc source";
- BinOverride "override.lenny-backports.$(SECTION)";
- ExtraOverride "override.lenny-backports.extra.$(SECTION)";
- SrcOverride "override.lenny-backports.$(SECTION).src";
-};
-
-tree "dists/lenny-backports-sloppy"
-{
- FileList "/srv/backports-master.debian.org/database/dists/lenny-backports-sloppy_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/srv/backports-master.debian.org/database/dists/lenny-backports-sloppy_$(SECTION)_source.list";
- Sections "main contrib non-free";
- Architectures "alpha amd64 arm armel hppa hurd-i386 i386 ia64 mips mipsel powerpc s390 sparc source";
- BinOverride "override.lenny-backports.$(SECTION)";
- ExtraOverride "override.lenny-backports.extra.$(SECTION)";
- SrcOverride "override.lenny-backports.$(SECTION).src";
-};
-
-tree "dists/lenny-backports/main"
-{
- FileList "/srv/backports-master.debian.org/database/dists/lenny-backports_main_$(SECTION)_binary-$(ARCH).list";
- Sections "debian-installer";
- Architectures "alpha amd64 arm armel hppa hurd-i386 i386 ia64 mips mipsel powerpc s390 sparc source";
- BinOverride "override.lenny-backports.main.$(SECTION)";
- SrcOverride "override.lenny-backports.main.src";
- BinCacheDB "packages-debian-installer-$(ARCH).db";
- Packages::Extensions ".udeb";
- Contents "$(DIST)/../Contents-udeb";
-};
-
tree "dists/squeeze-backports"
{
FileList "/srv/backports-master.debian.org/database/dists/squeeze-backports_$(SECTION)_binary-$(ARCH).list";
dak make-overrides &>/dev/null
rm -f override.sid.all3 override.sid.all3.src
for i in main contrib non-free main.debian-installer; do
- cat override.lenny-backports.$i >> override.sid.all3
+ cat override.squeeze-backports.$i >> override.sid.all3
if [ "$i" != "main.debian-installer" ]; then
- cat override.lenny-backports.$i.src >> override.sid.all3.src
+ cat override.squeeze-backports.$i.src >> override.sid.all3.src
fi
done
make_buildd_dir
// If defined then mails to close bugs are sent to the bugserver.
CloseBugs "false";
OverrideDisparityCheck "false";
- DefaultSuite "lenny-backports";
+ DefaultSuite "squeeze-backports";
ReleaseTransitions "/srv/backports-master.debian.org/hints/transitions.yaml";
// If set, only send mails to addresses listed there.
// format of entries: one entry per line. Either an email address directly, or a regular expression,
{
OverrideSuites
{
- lenny-backports
- {
- Process "1";
-// OriginSuite "Unstable";
- };
-
- lenny-backports-sloppy
- {
- Process "1";
-// OriginSuite "Unstable";
- };
-
squeeze-backports
{
Process "1";
Options
{
Component "main";
- Suite "lenny-backports";
+ Suite "squeeze-backports";
Type "deb";
};
};
{
Options
{
- Suite "lenny-backports";
+ Suite "squeeze-backports";
};
LogFile "/srv/backports-web.debian.org/underlay/removals.txt";
Suite
{
- lenny-backports
- {
- Components
- {
- main;
- contrib;
- non-free;
- };
- };
-
- lenny-backports-sloppy
- {
- Components
- {
- main;
- contrib;
- non-free;
- };
- };
-
squeeze-backports
{
Components
SuiteMappings
{
- "map lenny lenny-backports";
- "map lenny-bpo lenny-backports";
- "map lenny-bpo-sloppy lenny-backports-sloppy";
"map squeeze squeeze-backports";
"map squeeze-bpo squeeze-backports";
};
{
MD5Sum
{
- lenny-backports;
- lenny-backports-sloppy;
squeeze-backports;
};
SHA1
{
- lenny-backports;
- lenny-backports-sloppy;
squeeze-backports;
};
SHA256
{
- lenny-backports;
- lenny-backports-sloppy;
squeeze-backports;
};
}
# FIXME
rm -f override.sid.all3
- for i in main contrib non-free main.debian-installer; do cat override.lenny-backports.$i >> override.sid.all3; done
+ for i in main contrib non-free main.debian-installer; do cat override.squeeze-backports.$i >> override.sid.all3; done
}
function mpfm() {
ftpgroup=debadmin
-copyoverrides="lenny-backports.contrib lenny-backports.contrib.src lenny-backports.main lenny-backports.main.debian-installer lenny-backports.main.src lenny-backports.extra.contrib lenny-backports.extra.main"
+copyoverrides="squeeze-backports.contrib squeeze-backports.contrib.src squeeze-backports.main squeeze-backports.main.debian-installer squeeze-backports.main.src squeeze-backports.extra.contrib squeeze-backports.extra.main"
# Change this to your hostname
uploadhost=localhost
# What components to support
components="main contrib non-free"
-suites="lenny-backports"
+suites="squeeze-backports"
override_types="deb dsc udeb"
# export TMP=/srv/backports-master.debian.org/tmp
#RewriteRule ^/$ http://www.debian.org/security/
# New suite aliases
- Alias /buildd-lenny /srv/security-master.debian.org/buildd/lenny/
Alias /buildd-squeeze /srv/security-master.debian.org/buildd/squeeze/
Alias /buildd-wheezy /srv/security-master.debian.org/buildd/wheezy/
# BuildD access list
- <LocationMatch "^/(buildd|buildd-lenny|buildd-squeeze|buildd-wheezy|debian-security)/">
+ <LocationMatch "^/(buildd|buildd-squeeze|buildd-wheezy|debian-security)/">
order deny,allow
deny from all
FileMode 0664;
}
-tree "dists/oldstable/updates"
-{
- FileList "/srv/security-master.debian.org/dak-database/dists/oldstable_updates/$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/srv/security-master.debian.org/dak-database/dists/oldstable_updates/$(SECTION)_source.list";
- Sections "main contrib non-free";
- Architectures "alpha amd64 arm armel 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";
-};
-
-
tree "dists/stable/updates"
{
FileList "/srv/security-master.debian.org/dak-database/dists/stable_updates/$(SECTION)_binary-$(ARCH).list";
FileMode 0664;
}
-bindirectory "lenny"
-{
- Packages "lenny/Packages";
- Sources "lenny/Sources";
- Contents " ";
-
- BinOverride "override.lenny.all3";
- SrcOverride "override.lenny.all3.src";
- BinCacheDB "packages-accepted-lenny.db";
- PathPrefix "";
- Packages::Extensions ".deb .udeb";
-};
-
bindirectory "squeeze"
{
Packages "squeeze/Packages";
trap 'kill -TERM $SSH_PID' 0
for d in ${dists}; do
case ${d} in
- oldstable)
- send=lenny
- ;;
stable)
send=squeeze
;;
for suite in $suites; do
case $suite in
- oldstable) override_suite=lenny;;
stable) override_suite=squeeze;;
testing) override_suite=wheezy;;
*) echo "Unknown suite type ($suite)"; exit 1;;
done
# Generate .all3 overides for the buildd support
-for dist in lenny squeeze wheezy; do
+for dist in squeeze wheezy; do
rm -f override.$dist.all3
components="main contrib non-free";
if [ -f override.$dist.main.debian-installer.gz ]; then
// Priority determines which suite is used for the Maintainers file
// as generated by 'dak make-maintainers' (highest wins).
- OldStable
- {
- Components
- {
- updates/main;
- updates/contrib;
- updates/non-free;
- };
- Announce "dak@security.debian.org";
- Version "";
- Origin "Debian";
- Label "Debian-Security";
- Description "Debian 5.0 Security Updates";
- ValidTime 864000; // 10 days
- CodeName "lenny";
- OverrideCodeName "lenny";
- CopyDotDak "/srv/security-master.debian.org/queue/done/";
- };
-
Stable
{
Components
{
"silent-map stable-security stable";
"silent-map oldstable-security oldstable";
- // JT - FIXME, hackorama
- // "silent-map testing-security stable";
"silent-map etch-secure oldstable";
- "silent-map lenny-secure stable";
"silent-map testing-security testing";
- "silent-map lenny-security oldstable";
"silent-map squeeze-security stable";
"silent-map wheezy-security testing";
};
Contents::Header "/srv/ftp-master.debian.org/dak/config/debian/Contents.top";
};
-tree "dists/oldstable-proposed-updates"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable-proposed-updates_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/srv/ftp-master.debian.org/database/dists/oldstable-proposed-updates_$(SECTION)_source.list";
- Sections "main contrib non-free";
- Architectures "alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc source";
- BinOverride "override.lenny.$(SECTION)";
- ExtraOverride "override.lenny.extra.$(SECTION)";
- SrcOverride "override.lenny.$(SECTION).src";
- Contents " ";
-};
-
tree "dists/proposed-updates"
{
FileList "/srv/ftp-master.debian.org/database/dists/proposed-updates_$(SECTION)_binary-$(ARCH).list";
// debian-installer
-tree "dists/oldstable-proposed-updates/main"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable-proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
- Sections "debian-installer";
- Architectures "alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc";
- BinOverride "override.lenny.main.$(SECTION)";
- SrcOverride "override.lenny.main.src";
- BinCacheDB "packages-debian-installer-$(ARCH).db";
- Packages::Extensions ".udeb";
- Contents " ";
-};
-
tree "dists/proposed-updates/main"
{
FileList "/srv/ftp-master.debian.org/database/dists/proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
SuiteMappings
{
- "silent-map lenny-security oldstable-security";
"silent-map squeeze-security stable-security";
"silent-map wheezy-security testing-security";
"propup-version oldstable-security stable testing testing-proposed-updates unstable";
"propup-version stable-security testing testing-proposed-updates unstable";
"propup-version testing-security unstable";
- "map lenny oldstable";
- "map lenny-proposed-updates oldstable-proposed-updates";
"map squeeze stable";
"map squeeze-proposed-updates proposed-updates";
"map squeeze-updates proposed-updates";
function copyoverrides() {
log 'Copying override files into public view ...'
- for ofile in ${overridedir}/override.{lenny,squeeze,wheezy,sid}.{,extra.}{main,contrib,non-free}*; do
+ for ofile in ${overridedir}/override.{squeeze,wheezy,sid}.{,extra.}{main,contrib,non-free}*; do
bname=${ofile##*/}
gzip -9cv --rsyncable ${ofile} > ${indices}/${bname}.gz
chmod g+w ${indices}/${bname}.gz
apt_trees={}
apt_trees["di"]={}
- apt_trees["oldstable"]="""
-tree "dists/oldstable"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/srv/ftp-master.debian.org/database/dists/oldstable_$(SECTION)_source.list";
- Sections "main contrib non-free";
- Architectures "%(arch)s";
- BinOverride "override.lenny.$(SECTION)";
- ExtraOverride "override.lenny.extra.$(SECTION)";
- SrcOverride "override.lenny.$(SECTION).src";
-};
-"""
-
- apt_trees["di"]["oldstable"]="""
-tree "dists/oldstable/main"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable_main_$(SECTION)_binary-$(ARCH).list";
- Sections "debian-installer";
- Architectures "%(arch)s";
- BinOverride "override.lenny.main.$(SECTION)";
- SrcOverride "override.lenny.main.src";
- BinCacheDB "packages-debian-installer-$(ARCH).db";
- Packages::Extensions ".udeb";
- %(contentsline)s
-};
-
-tree "dists/oldstable/non-free"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable_non-free_$(SECTION)_binary-$(ARCH).list";
- Sections "debian-installer";
- Architectures "%(arch)s";
- BinOverride "override.lenny.main.$(SECTION)";
- SrcOverride "override.lenny.main.src";
- BinCacheDB "packages-debian-installer-$(ARCH).db";
- Packages::Extensions ".udeb";
- %(contentsline)s
-};
-"""
-
apt_trees["stable"]="""
tree "dists/stable"
{
Contents " ";
};
"""
- apt_trees["oldstable-proposed-updates"]="""
-tree "dists/oldstable-proposed-updates"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable-proposed-updates_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/srv/ftp-master.debian.org/database/dists/oldstable-proposed-updates_$(SECTION)_source.list";
- Sections "main contrib non-free";
- Architectures "%(arch)s";
- BinOverride "override.lenny.$(SECTION)";
- ExtraOverride "override.lenny.extra.$(SECTION)";
- SrcOverride "override.lenny.$(SECTION).src";
- Contents " ";
-};
-"""
- apt_trees["di"]["oldstable-proposed-updates"]="""
-tree "dists/oldstable-proposed-updates/main"
-{
- FileList "/srv/ftp-master.debian.org/database/dists/oldstable-proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
- Sections "debian-installer";
- Architectures "%(arch)s";
- BinOverride "override.lenny.main.$(SECTION)";
- SrcOverride "override.lenny.main.src";
- BinCacheDB "packages-debian-installer-$(ARCH).db";
- Packages::Extensions ".udeb";
- Contents " ";
-};
-"""
-
cnf = Config()
try:
# Write apt.conf
import apt_pkg
import rrdtool
-try:
- # starting with squeeze
- from debian import deb822
-except:
- # up to lenny
- from debian_bundle import deb822
+from debian import deb822
from daklib.dbconn import *
from daklib import utils
maintainer
WHERE source.id = source_suite.src
AND source.changedby = maintainer.id
- AND ( suite_name = 'lenny-backports' or suite_name = 'squeeze-backports' )
+ AND ( suite_name = 'squeeze-backports' )
GROUP BY source.source,maintainer.name;
");