]> git.deb.at Git - deb/packages.git/commitdiff
Download Release and Release.gpg files. We could use them one day
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 27 Nov 2006 23:47:09 +0000 (23:47 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Mon, 27 Nov 2006 23:47:09 +0000 (23:47 +0000)
to verify downloaded Packages.gz files

cron.d/100syncarchive
cron.d/100syncarchive_amd64
cron.d/100syncarchive_backports
cron.d/100syncarchive_kfreebsd
cron.d/100syncarchive_volatile

index 5b534763f17842491b094f8e2a5da99105ed1925..fd46a9934e3dceee22c70ae6d020ae74fb97a3f1 100755 (executable)
@@ -12,6 +12,12 @@ then
     echo using remote mirror
     for dist in $dists
     do
+        echo "retrieve Release(.gpg) $dist"
+       test -d us/${dist} || mkdir -p us/${dist}
+       (cd us/${dist} &&
+           wget -q -N ${ftpsite}/dists/${dist}/Release &&
+           wget -q -N ${ftpsite}/dists/${dist}/Release.gpg )
+        
        foo=\$arch_${dist//-/_}
        for arch in `eval echo $foo`
        do
@@ -41,6 +47,12 @@ else
     echo using local mirror
     for dist in $dists
     do
+        echo "retrieve Releases(.gpg) $dist"
+       test -d us/${dist} || mkdir -p us/${dist}
+       (cd us/${dist} &&
+           rsync -t ${localdir}/dists/${dist}/Release &&
+           rsync -t ${localdir}/dists/${dist}/Release.gpg )
+
        foo=\$arch_${dist//-/_}
        for arch in `eval echo $foo`
        do
index 69bef37c5454c6763afe86f7da22604a57183bab..90a50b8b35fefa9e8c1f2c00274d8ac803fa0de6 100755 (executable)
@@ -11,6 +11,12 @@ arch=amd64
 
 for dist in stable
   do
+  echo "retrieve Release(.gpg) $dist"
+  test -d amd64/${dist} || mkdir -p amd64/${dist}
+  (cd amd64/${dist} &&
+      wget -q -N ${amd64_ftpsite}/dists/${dist}/Release &&
+      wget -q -N ${amd64_ftpsite}/dists/${dist}/Release.gpg )
+
   for part in ${parts} main/debian-installer
     do
     echo retrieve Packages $dist/$part/$arch
index fef94c2af3086acfc7c2fdec47994c87be15bda9..7860f2b1ee978637f663e09e5d981b06ba33f04d 100755 (executable)
@@ -9,6 +9,12 @@ cd ${archivedir}
 #
 for dist in stable
 do
+  echo "retrieve Release(.gpg) $dist-backports"
+  test -d backports/${dist}-backports || mkdir -p backports/${dist}-backports
+  (cd backports/${dist}-backports &&
+           wget -q -N ${backports_ftpsite}/dists/sarge-backports/Release &&
+           wget -q -N ${backports_ftpsite}/dists/sarge-backports/Release.gpg )
+
     foo=\$arch_${dist//-/_}
     for arch in `eval echo $foo`
     do
index 85160dca068d630c7fd93809d5c74c63d6abe842..287b00a410c44a5baaf48c371d0133f3e322c6b7 100755 (executable)
@@ -9,9 +9,15 @@ cd ${archivedir}
 #
 architectures="kfreebsd-i386 kfreebsd-amd64"
 
-for arch in $architectures
+for dist in unstable experimental
   do
-  for dist in unstable experimental
+  echo "retrieve Release(.gpg) $dist"
+  test -d kfreebsd/${dist} || mkdir -p kfreebsd/${dist}
+  (cd kfreebsd/${dist} &&
+           wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/Release &&
+           wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/Release.gpg )
+
+  for arch in $architectures
     do
     for part in ${parts} main/debian-installer
       do
index b983e6493921a9022d572f4581c42d0980f3dffd..d62f7d2c7f7ff613a24ade07692e10329b069964 100755 (executable)
@@ -9,6 +9,12 @@ cd ${archivedir}
 #
 for dist in stable
 do
+  echo "retrieve Release(.gpg) $dist-volatile"
+  test -d volatile/${dist}-volatile || mkdir -p volatile/${dist}-volatile
+  (cd volatile/${dist}-volatile &&
+      wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/Release &&
+      wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/Release.gpg )
+
     foo=\$arch_${dist//-/_}
     for arch in `eval echo $foo`
     do