#ftproot=/org/ftp.root
ftpsite=http://archive.debian.org/debian-archive
-ddtp_ftpsite=
+security_ftpsite=http://archive.debian.org/debian-security
+volatile_ftpsite=http://archive.debian.org/debian-volatile
+backports_ftpsite=http://archive.debian.org.org/backports.org
+ddtp_ftpsite=http://ftp.de.debian.org/debian
wget_cmd="wget --no-verbose --tries=2 --timeout=60"
check_release_cmd="perl -I${libdir} ${bindir}/check-release --verbose --ignoremissing --keyring ${configdir}/trusted.gpg"
#
polangs="de fi fr hu ja nl ru sv uk zh-cn"
ddtplangs="ca cs da de eo es eu fi fr hu it ja km ko nl pl pt pt-br ru sk sv uk zh zh-cn zh-tw"
-archives="us"
+archives="us security backports volatile"
sections="main contrib non-free"
parts="$sections"
-suites="bo hamm slink potato woody sarge"
+suites="bo hamm slink potato woody sarge sarge-volatile sarge-backports"
priorities="required important standard optional extra"
dists="$suites"
architectures="alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc"
$check_release_cmd $archivedir/us/${dist}/Release
done
fi
+
+# security archive
+#
+for dist in slink potato woody sarge
+do
+ echo "retrieve Release(.gpg) $dist"
+ test -d security/${dist} || mkdir -p security/${dist}
+ (cd security/${dist} &&
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/Release &&
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/Release.gpg )
+
+ foo=\$arch_${dist//-/_}
+ for arch in `eval echo $foo`
+ do
+ for part in ${parts}
+ do
+ echo retrieve Packages $dist/$part/security/$arch
+ test -d security/${dist}/${part}/binary-${arch} || mkdir -p security/${dist}/${part}/binary-${arch}
+ (cd security/${dist}/${part}/binary-${arch} &&
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/${part}/binary-${arch}/Packages.gz)
+ done
+ done
+ for part in ${parts}
+ do
+ echo retrieve Sources $dist/$part/security
+ test -d security/${dist}/${part}/source || mkdir -p security/${dist}/${part}/source
+ (cd security/${dist}/${part}/source &&
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/${part}/source/Sources.gz)
+ done
+
+ $check_release_cmd $archivedir/security/${dist}/Release
+done
--- /dev/null
+#!/bin/bash
+
+. `dirname $0`/../config.sh
+
+test -d ${archivedir} || mkdir -p ${archivedir}
+cd ${archivedir}
+
+# backports archive
+#
+for dist in sarge
+do
+ echo "retrieve Release(.gpg) $dist-backports"
+ test -d backports/${dist}-backports || mkdir -p backports/${dist}-backports
+ (cd backports/${dist}-backports &&
+ $wget_cmd -N ${backports_ftpsite}/dists/${dist}-backports/Release &&
+ $wget_cmd -N ${backports_ftpsite}/dists/${dist}-backports/Release.gpg )
+
+ foo=\$arch_${dist//-/_}
+ for arch in `eval echo $foo`
+ do
+ for part in ${parts}
+ do
+ echo retrieve Packages $dist-backports/$part/$arch
+ test -d backports/${dist}-backports/${part}/binary-${arch} || mkdir -p backports/${dist}-backports/${part}/binary-${arch}
+ (cd backports/${dist}-backports/${part}/binary-${arch} &&
+ $wget_cmd -N ${backports_ftpsite}/dists/${dist}-backports/${part}/binary-${arch}/Packages.gz)
+ done
+ echo retrieve Contents $dist-backports/$arch
+ (cd backports/${dist}-backports &&
+ $wget_cmd -N ${backports_ftpsite}/dists/${dist}-backports/Contents-${arch}.gz)
+ done
+ for part in ${parts}
+ do
+ echo retrieve Sources $dist-backports/$part
+ test -d backports/${dist}-backports/${part}/source || mkdir -p backports/${dist}-backports/${part}/source
+ (cd backports/${dist}-backports/${part}/source &&
+ $wget_cmd -N ${backports_ftpsite}/dists/${dist}-backports/${part}/source/Sources.gz)
+ done
+
+ $check_release_cmd $archivedir/backports/${dist}-backports/Release
+done
--- /dev/null
+#!/bin/bash
+
+. `dirname $0`/../config.sh
+
+test -d ${archivedir} || mkdir -p ${archivedir}
+cd ${archivedir}
+
+# volatile archive
+#
+for dist in sarge
+do
+ echo "retrieve Release(.gpg) $dist-volatile"
+ test -d volatile/${dist}-volatile || mkdir -p volatile/${dist}-volatile
+ (cd volatile/${dist}-volatile &&
+ $wget_cmd -N ${volatile_ftpsite}/dists/${dist}/volatile/Release &&
+ $wget_cmd -N ${volatile_ftpsite}/dists/${dist}/volatile/Release.gpg )
+
+ foo=\$arch_${dist//-/_}
+ for arch in `eval echo $foo`
+ do
+ for part in ${parts}
+ do
+ echo retrieve Packages $dist-volatile/$part/$arch
+ test -d volatile/${dist}-volatile/${part}/binary-${arch} || mkdir -p volatile/${dist}-volatile/${part}/binary-${arch}
+ (cd volatile/${dist}-volatile/${part}/binary-${arch} &&
+ $wget_cmd -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/binary-${arch}/Packages.gz)
+ done
+ echo retrieve Contents $dist-volatile/$arch
+ (cd volatile/${dist}-volatile &&
+ $wget_cmd -N ${volatile_ftpsite}/dists/${dist}/volatile/Contents-${arch}.gz)
+
+ done
+ for part in ${parts}
+ do
+ echo retrieve Sources $dist-volatile/$part
+ test -d volatile/${dist}-volatile/${part}/source || mkdir -p volatile/${dist}-volatile/${part}/source
+ (cd volatile/${dist}-volatile/$part/source &&
+ $wget_cmd -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/source/Sources.gz)
+ done
+
+ $check_release_cmd $archivedir/volatile/${dist}-volatile/Release
+done