X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=cron.d%2F100syncarchive;h=e57ed70007613000c205802717c5e7ba89df0fc5;hb=078cc8c6e35382b28dc8b94782626d8de5ec64ba;hp=f2458ba67302f18b8183fa23466fd78f3a7255f8;hpb=096a79d06fd998a27562d6ad875b4d359f2b623b;p=deb%2Fpackages.git diff --git a/cron.d/100syncarchive b/cron.d/100syncarchive index f2458ba..e57ed70 100755 --- a/cron.d/100syncarchive +++ b/cron.d/100syncarchive @@ -84,3 +84,35 @@ else $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