# locations used by many scripts
base=/srv/backports-master.debian.org
+bindir=$base/bin
ftpdir=$base/ftp/
+indices=$ftpdir/indices
webdir=$base/web
+scriptdir=$base/scripts
-archs="alpha amd64 arm armel hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sh sparc"
+archs="alpha amd64 arm armel hppa hurd-i386 i386 ia64 mips mipsel powerpc s390 sparc kfreebsd-i386 kfreebsd-amd64 "
masterdir=$base/dak/
overridedir=$base/scripts/override
extoverridedir=$scriptdir/external-overrides
-configdir=$base/dak/config/backports.org/
-scriptsdir=$base/dak/scripts/backports.org/
+configdir=$base/dak/config/backports/
+scriptsdir=$base/dak/scripts/backports/
+dbdir=$base/database/
queuedir=$base/queue
unchecked=$queuedir/unchecked/
done=$queuedir/done/
over=$base/over/
lockdir=$base/lock/
+stagedir=$lockdir/stages
incoming=$base/incoming
+logdir=$base/log/cron/
+mirrordir=$base/mirror/
+newstage=$queuedir/newstage/
-dbdir=$base/database/
-indices=$ftpdir/indices
ftpgroup=debadmin
PATH=$masterdir:$PATH
umask 022
+
+# Set the database variables
+eval $(dak admin config db-shell)