* scripts/debian/mkfilesindices: source 'vars' file and use it's
variables instead of hardcoding path names.
+ * config/debian/apt.conf: switch from /org to /srv.
+ * config/debian/apt.conf.buildd: likewise.
+ * config/debian/apt.conf.stable: likewise.
+ * config/debian/cron.daily: likewise.
+ * config/debian/cron.hourly: likewise.
+ * config/debian/cron.monthly: likewise.
+ * config/debian/cron.unchecked: likewise.
+ * config/debian/cron.weekly: likewise.
+ * config/debian/dak.conf: likewise.
+ * config/debian/vars: likewise.
+ * scripts/debian/mkfilesindices: likewise.
+
2007-02-08 James Troup <james@nocrew.org>
* dak/process_unchecked.py (check_signed_by_key): new function to
Dir
{
- ArchiveDir "/org/ftp.debian.org/ftp/";
- OverrideDir "/org/ftp.debian.org/scripts/override/";
- CacheDir "/org/ftp.debian.org/database/";
+ ArchiveDir "/srv/ftp.debian.org/ftp/";
+ OverrideDir "/srv/ftp.debian.org/scripts/override/";
+ CacheDir "/srv/ftp.debian.org/database/";
};
Default
TreeDefault
{
- Contents::Header "/org/ftp.debian.org/dak/config/debian/Contents.top";
+ Contents::Header "/srv/ftp.debian.org/dak/config/debian/Contents.top";
};
tree "dists/proposed-updates"
{
- FileList "/org/ftp.debian.org/database/dists/proposed-updates_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/org/ftp.debian.org/database/dists/proposed-updates_$(SECTION)_source.list";
+ FileList "/srv/ftp.debian.org/database/dists/proposed-updates_$(SECTION)_binary-$(ARCH).list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/proposed-updates_$(SECTION)_source.list";
Sections "main contrib non-free";
Architectures "alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc source";
BinOverride "override.sarge.$(SECTION)";
tree "dists/testing"
{
FakeDI "dists/unstable";
- FileList "/org/ftp.debian.org/database/dists/testing_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/org/ftp.debian.org/database/dists/testing_$(SECTION)_source.list";
+ FileList "/srv/ftp.debian.org/database/dists/testing_$(SECTION)_binary-$(ARCH).list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/testing_$(SECTION)_source.list";
Sections "main contrib non-free";
Architectures "alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc source";
BinOverride "override.etch.$(SECTION)";
tree "dists/testing-proposed-updates"
{
- FileList "/org/ftp.debian.org/database/dists/testing-proposed-updates_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/org/ftp.debian.org/database/dists/testing-proposed-updates_$(SECTION)_source.list";
+ FileList "/srv/ftp.debian.org/database/dists/testing-proposed-updates_$(SECTION)_binary-$(ARCH).list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/testing-proposed-updates_$(SECTION)_source.list";
Sections "main contrib non-free";
Architectures "alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc source";
BinOverride "override.etch.$(SECTION)";
tree "dists/unstable"
{
- FileList "/org/ftp.debian.org/database/dists/unstable_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/org/ftp.debian.org/database/dists/unstable_$(SECTION)_source.list";
+ FileList "/srv/ftp.debian.org/database/dists/unstable_$(SECTION)_binary-$(ARCH).list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/unstable_$(SECTION)_source.list";
Sections "main contrib non-free";
Architectures "alpha amd64 arm hppa hurd-i386 i386 ia64 mips mipsel m68k powerpc s390 sparc source";
BinOverride "override.sid.$(SECTION)";
tree "dists/proposed-updates/main"
{
- FileList "/org/ftp.debian.org/database/dists/proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
+ FileList "/srv/ftp.debian.org/database/dists/proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
Sections "debian-installer";
Architectures "alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc";
BinOverride "override.sarge.main.$(SECTION)";
tree "dists/testing/main"
{
- FileList "/org/ftp.debian.org/database/dists/testing_main_$(SECTION)_binary-$(ARCH).list";
+ FileList "/srv/ftp.debian.org/database/dists/testing_main_$(SECTION)_binary-$(ARCH).list";
Sections "debian-installer";
Architectures "alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc";
BinOverride "override.etch.main.$(SECTION)";
tree "dists/testing-proposed-updates/main"
{
- FileList "/org/ftp.debian.org/database/dists/testing-proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
+ FileList "/srv/ftp.debian.org/database/dists/testing-proposed-updates_main_$(SECTION)_binary-$(ARCH).list";
Sections "debian-installer";
Architectures "alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc";
BinOverride "override.etch.main.$(SECTION)";
tree "dists/unstable/main"
{
- FileList "/org/ftp.debian.org/database/dists/unstable_main_$(SECTION)_binary-$(ARCH).list";
+ FileList "/srv/ftp.debian.org/database/dists/unstable_main_$(SECTION)_binary-$(ARCH).list";
Sections "debian-installer";
Architectures "alpha amd64 arm hppa hurd-i386 i386 ia64 mips mipsel m68k powerpc s390 sparc";
BinOverride "override.sid.main.$(SECTION)";
tree "dists/experimental"
{
- FileList "/org/ftp.debian.org/database/dists/experimental_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/org/ftp.debian.org/database/dists/experimental_$(SECTION)_source.list";
+ FileList "/srv/ftp.debian.org/database/dists/experimental_$(SECTION)_binary-$(ARCH).list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/experimental_$(SECTION)_source.list";
Sections "main contrib non-free";
Architectures "alpha amd64 arm hppa hurd-i386 i386 ia64 mips mipsel m68k powerpc s390 sparc source";
BinOverride "override.sid.$(SECTION)";
Dir
{
- ArchiveDir "/org/incoming.debian.org/buildd/";
- OverrideDir "/org/ftp.debian.org/scripts/override/";
- CacheDir "/org/ftp.debian.org/database/";
+ ArchiveDir "/srv/incoming.debian.org/buildd/";
+ OverrideDir "/srv/ftp.debian.org/scripts/override/";
+ CacheDir "/srv/ftp.debian.org/database/";
};
Default
BinOverride "override.sid.all3";
BinCacheDB "packages-accepted.db";
- FileList "/org/ftp.debian.org/database/dists/unstable_accepted.list";
+ FileList "/srv/ftp.debian.org/database/dists/unstable_accepted.list";
PathPrefix "";
Packages::Extensions ".deb .udeb";
Sources "Sources";
BinOverride "override.sid.all3";
SrcOverride "override.sid.all3.src";
- SourceFileList "/org/ftp.debian.org/database/dists/unstable_accepted.list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/unstable_accepted.list";
};
Dir
{
- ArchiveDir "/org/ftp.debian.org/ftp/";
- OverrideDir "/org/ftp.debian.org/scripts/override/";
- CacheDir "/org/ftp.debian.org/database/";
+ ArchiveDir "/srv/ftp.debian.org/ftp/";
+ OverrideDir "/srv/ftp.debian.org/scripts/override/";
+ CacheDir "/srv/ftp.debian.org/database/";
};
Default
TreeDefault
{
- Contents::Header "/org/ftp.debian.org/dak/config/debian/Contents.top";
+ Contents::Header "/srv/ftp.debian.org/dak/config/debian/Contents.top";
};
tree "dists/stable"
{
- FileList "/org/ftp.debian.org/database/dists/stable_$(SECTION)_binary-$(ARCH).list";
- SourceFileList "/org/ftp.debian.org/database/dists/stable_$(SECTION)_source.list";
+ FileList "/srv/ftp.debian.org/database/dists/stable_$(SECTION)_binary-$(ARCH).list";
+ SourceFileList "/srv/ftp.debian.org/database/dists/stable_$(SECTION)_source.list";
Sections "main contrib non-free";
Architectures "alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc source";
BinOverride "override.sarge.$(SECTION)";
tree "dists/stable/main"
{
- FileList "/org/ftp.debian.org/database/dists/stable_main_$(SECTION)_binary-$(ARCH).list";
+ FileList "/srv/ftp.debian.org/database/dists/stable_main_$(SECTION)_binary-$(ARCH).list";
Sections "debian-installer";
Architectures "alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc";
BinOverride "override.sarge.main.$(SECTION)";
# Executed daily via cron, out of dak's crontab.
set -e
-export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars
+export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
. $SCRIPTVARS
################################################################################
set -e
set -u
-export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars
+export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
. $SCRIPTVARS
dak import-users-from-passwd
set -e
set -u
-export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars
+export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
. $SCRIPTVARS
################################################################################
DATE=`date -d yesterday +%y%m`
-cd /org/ftp.debian.org/mail/archive
+cd /srv/ftp.debian.org/mail/archive
for m in mail bxamail; do
if [ -f $m ]; then
mv $m ${m}-$DATE
set -e
set -u
-export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars
+export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
. $SCRIPTVARS
LOCKDAILY=""
set -e
set -u
-export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars
+export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
. $SCRIPTVARS
################################################################################
Dinstall
{
- PGPKeyring "/org/keyring.debian.org/keyrings/debian-keyring.pgp";
- GPGKeyring "/org/keyring.debian.org/keyrings/debian-keyring.gpg";
- SigningKeyring "/org/ftp.debian.org/s3kr1t/dot-gnupg/secring.gpg";
- SigningPubKeyring "/org/ftp.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
+ PGPKeyring "/srv/keyring.debian.org/keyrings/debian-keyring.pgp";
+ GPGKeyring "/srv/keyring.debian.org/keyrings/debian-keyring.gpg";
+ SigningKeyring "/srv/ftp.debian.org/s3kr1t/dot-gnupg/secring.gpg";
+ SigningPubKeyring "/srv/ftp.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
SigningKeyIds "2D230C5F";
SendmailCommand "/usr/sbin/sendmail -odq -oi -t";
MyEmailAddress "Debian Installer <installer@ftp-master.debian.org>";
BugServer "bugs.debian.org";
PackagesServer "packages.debian.org";
TrackingServer "packages.qa.debian.org";
- LockFile "/org/ftp.debian.org/lock/dinstall.lock";
+ LockFile "/srv/ftp.debian.org/lock/dinstall.lock";
Bcc "archive@ftp-master.debian.org";
GroupOverrideFilename "override.group-maint";
FutureTimeTravelGrace 28800; // 8 hours
{
Options
{
- TempDir "/org/ftp.debian.org/tiffani";
+ TempDir "/srv/ftp.debian.org/tiffani";
MaxDiffs { Default 90; };
};
};
Mirror-Split
{
- FTPPath "/org/ftp.debian.org/ftp";
- TreeRootPath "/org/ftp.debian.org/scratch/dsilvers/treeroots";
- TreeDatabasePath "/org/ftp.debian.org/scratch/dsilvers/treedbs";
+ FTPPath "/srv/ftp.debian.org/ftp";
+ TreeRootPath "/srv/ftp.debian.org/scratch/dsilvers/treeroots";
+ TreeDatabasePath "/srv/ftp.debian.org/scratch/dsilvers/treedbs";
BasicTrees { alpha; arm; hppa; hurd-i386; i386; ia64; mips; mipsel; powerpc; s390; sparc; m68k };
CombinationTrees
{
};
MyEmailAddress "Debian Archive Maintenance <ftpmaster@ftp-master.debian.org>";
- LogFile "/org/ftp.debian.org/web/removals.txt";
+ LogFile "/srv/ftp.debian.org/web/removals.txt";
Bcc "removed-packages@qa.debian.org";
};
Import-Archive
{
- ExportDir "/org/ftp.debian.org/dak/import-archive-files/";
+ ExportDir "/srv/ftp.debian.org/dak/import-archive-files/";
};
Reject-Proposed-Updates
LDAPServer "db.debian.org";
ExtraKeyrings
{
- "/org/keyring.debian.org/keyrings/removed-keys.pgp";
- "/org/keyring.debian.org/keyrings/removed-keys.gpg";
- "/org/keyring.debian.org/keyrings/extra-keys.pgp";
+ "/srv/keyring.debian.org/keyrings/removed-keys.pgp";
+ "/srv/keyring.debian.org/keyrings/removed-keys.gpg";
+ "/srv/keyring.debian.org/keyrings/extra-keys.pgp";
};
KeyServer "wwwkeys.eu.pgp.net";
};
Process-New
{
- AcceptedLockFile "/org/ftp.debian.org/lock/unchecked.lock";
+ AcceptedLockFile "/srv/ftp.debian.org/lock/unchecked.lock";
};
Check-Overrides
};
Announce "debian-changes@lists.debian.org";
CopyChanges "dists/proposed-updates/";
- CopyDotDak "/org/ftp.debian.org/queue/proposed-updates/";
+ CopyDotDak "/srv/ftp.debian.org/queue/proposed-updates/";
Version "3.1-updates";
Origin "Debian";
Description "Debian 3.1 Proposed Updates - Not Released";
Dir
{
- Root "/org/ftp.debian.org/ftp/";
- Pool "/org/ftp.debian.org/ftp/pool/";
- Templates "/org/ftp.debian.org/dak/templates/";
+ Root "/srv/ftp.debian.org/ftp/";
+ Pool "/srv/ftp.debian.org/ftp/pool/";
+ Templates "/srv/ftp.debian.org/dak/templates/";
PoolRoot "pool/";
- Lists "/org/ftp.debian.org/database/dists/";
- Log "/org/ftp.debian.org/log/";
- Lock "/org/ftp.debian.org/lock";
- Morgue "/org/ftp.debian.org/morgue/";
+ Lists "/srv/ftp.debian.org/database/dists/";
+ Log "/srv/ftp.debian.org/log/";
+ Lock "/srv/ftp.debian.org/lock";
+ Morgue "/srv/ftp.debian.org/morgue/";
MorgueReject "reject";
- Override "/org/ftp.debian.org/scripts/override/";
- QueueBuild "/org/incoming.debian.org/buildd/";
- UrgencyLog "/org/ftp.debian.org/testing/urgencies/";
+ Override "/srv/ftp.debian.org/scripts/override/";
+ QueueBuild "/srv/incoming.debian.org/buildd/";
+ UrgencyLog "/srv/ftp.debian.org/testing/urgencies/";
Queue
{
- Accepted "/org/ftp.debian.org/queue/accepted/";
- Byhand "/org/ftp.debian.org/queue/byhand/";
- ProposedUpdates "/org/ftp.debian.org/queue/p-u-new/";
- Done "/org/ftp.debian.org/queue/done/";
- Holding "/org/ftp.debian.org/queue/holding/";
- New "/org/ftp.debian.org/queue/new/";
- Reject "/org/ftp.debian.org/queue/reject/";
- Unchecked "/org/ftp.debian.org/queue/unchecked/";
- BTSVersionTrack "/org/ftp.debian.org/queue/bts_version_track/";
+ Accepted "/srv/ftp.debian.org/queue/accepted/";
+ Byhand "/srv/ftp.debian.org/queue/byhand/";
+ ProposedUpdates "/srv/ftp.debian.org/queue/p-u-new/";
+ Done "/srv/ftp.debian.org/queue/done/";
+ Holding "/srv/ftp.debian.org/queue/holding/";
+ New "/srv/ftp.debian.org/queue/new/";
+ Reject "/srv/ftp.debian.org/queue/reject/";
+ Unchecked "/srv/ftp.debian.org/queue/unchecked/";
+ BTSVersionTrack "/srv/ftp.debian.org/queue/bts_version_track/";
};
};
{
// Pool locations on ftp-master.debian.org
- /org/ftp.debian.org/ftp/pool/
+ /srv/ftp.debian.org/ftp/pool/
{
Archive "ftp-master";
Type "pool";
# locations used by many scripts
-base=/org/ftp.debian.org
+base=/srv/ftp.debian.org
ftpdir=$base/ftp
webdir=$base/web
indices=$ftpdir/indices
#!/bin/sh -e
-export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars
+export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
. $SCRIPTVARS
umask 002
echo "Querying projectb..."
-echo 'SELECT l.path, f.filename, a.arch_string FROM location l JOIN files f ON (f.location = l.id) LEFT OUTER JOIN (binaries b JOIN architecture a ON (b.architecture = a.id)) ON (f.id = b.file)' | psql projectb -At | sed 's/|//;s/|all$/|/;s,^/org/ftp.debian.org/ftp,.,' | sort >$ARCHLIST
+echo 'SELECT l.path, f.filename, a.arch_string FROM location l JOIN files f ON (f.location = l.id) LEFT OUTER JOIN (binaries b JOIN architecture a ON (b.architecture = a.id)) ON (f.id = b.file)' | psql projectb -At | sed 's/|//;s/|all$/|/;s,^/srv/ftp.debian.org/ftp,.,' | sort >$ARCHLIST
includedirs () {
perl -ne 'print; while (m,/[^/]+$,) { $_=$`; print $_ . "\n" unless $d{$_}++; }'
[ "$(readlink $distdir)" != "$distname" ] || echo $distdir
done
)
- suite_list $id | tr -d ' ' | sed 's,^/org/ftp.debian.org/ftp,.,'
+ suite_list $id | tr -d ' ' | sed 's,^/srv/ftp.debian.org/ftp,.,'
) | sort -u | gzip -9 > suite-${suite}.list.gz
done