]> git.deb.at Git - deb/packages.git/commitdiff
100syncarchive*: Use check-release to check Release files
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 26 Apr 2008 19:59:03 +0000 (21:59 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 26 Apr 2008 20:29:25 +0000 (22:29 +0200)
Failing checks have no consequences yet, but they are at least logged.

config.sh.sed.in
cron.d/100syncarchive
cron.d/100syncarchive_amd64
cron.d/100syncarchive_backports
cron.d/100syncarchive_debports
cron.d/100syncarchive_installer
cron.d/100syncarchive_m68k
cron.d/100syncarchive_volatile

index 576ba3f6ec9acda7913d15316c5a9f38673e16b7..c2088787c1c5fc2887ad9e7696d55ca4d1cbd75b 100644 (file)
@@ -32,7 +32,8 @@ amd64_ftpsite=http://amd64.debian.net/debian
 debports_ftpsite=http://ftp.debian-ports.org/debian
 ddtp_ftpsite=http://ddtp.debian.net/debian
 
-wget_cmd="wget --no-verbose --tries=2 --timeout=60" 
+wget_cmd="wget --no-verbose --tries=2 --timeout=60"
+check_release_cmd="perl -I${libdir} ${bindir}/check-release --verbose --ignoremissing --keyring ${configdir}/trusted.gpg"
 
 root=""
 
index 01a2c4300b7d67e48a51ad7d1bc7b287dd6fd08d..cb6f18c2869067e794a6b69b9768b99217bfa8d5 100755 (executable)
@@ -43,6 +43,8 @@ then
             (cd us/${dist}/${part}/source &&
                 $wget_cmd -N ${ftpsite}/dists/${dist}/${part}/source/Sources.gz)
        done
+
+       $check_release_cmd $archivedir/us/${dist}/Release
     done
 else
     echo using local mirror
@@ -78,6 +80,8 @@ else
             rsync -t ${localdir}/dists/${dist}/${part}/source/Sources.gz \
                us/${dist}/${part}/source/Sources.gz
        done
+
+       $check_release_cmd $archivedir/us/${dist}/Release
     done
 fi
 
@@ -109,4 +113,6 @@ do
         (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
index 535604f9a978b919fdcc1ffec97ccfec48c727c4..070e6d7bd91cd7e156d5f6570bd632045f3147de 100755 (executable)
@@ -27,5 +27,7 @@ for dist in sarge
   echo retrieve Contents $dist/$arch
   (cd amd64/${dist} &&
       $wget_cmd -N ${amd64_ftpsite}/dists/${dist}/Contents-${arch}.gz)
+
+  $check_release_cmd $archivedir/amd64/${dist}/Release
 done
 
index 069b1e41c0e8699a4c5d90229617c5d14bfe3a19..84820cb306d68629639964a83a16f37b8a8df1dc 100755 (executable)
@@ -36,4 +36,6 @@ do
         (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
index 6fb224d5d07574dbb0bb1a1f949a5a85d1d79db4..ba5986e6e69fc88387b9179a053a5fdc997e8d78 100755 (executable)
@@ -30,4 +30,6 @@ for dist in sid experimental
     (cd debports/${dist} &&
        $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Contents-${arch}.gz)
   done
+
+  $check_release_cmd $archivedir/debports/${dist}/Release
 done
index ea9598911cf83c787120c31f66d3cf5efc9714b4..90b9145b1b667fd306140560938346f89f5135e7 100755 (executable)
@@ -29,6 +29,8 @@ then
                    $wget_cmd -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
            done
        done
+
+       $check_release_cmd $archivedir/us/${dist}/Release
     done
 else
     echo using local mirror
@@ -51,5 +53,7 @@ else
                    us/${dist}/${part}/binary-${arch}/Packages.gz
            done
        done
+
+       $check_release_cmd $archivedir/us/${dist}/Release
     done
 fi
index f0d0aac42756a26d82fde0a4de4d7011cd64dd4a..00b01cfa0b66047c396995359f3a5e684a7d9999 100755 (executable)
@@ -42,6 +42,8 @@ then
             (cd us/${dist}-${arch}/${part}/source &&
                 $wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/${part}/source/Sources.gz)
        done
+
+       $check_release_cmd $archivedir/us/${dist}-${arch}/Release
     done
 else
     echo using local mirror
@@ -76,6 +78,7 @@ else
             rsync -t ${localdir}/dists/${dist}-${arch}/${part}/source/Sources.gz \
                us/${dist}-${arch}/${part}/source/Sources.gz
        done
+       $check_release_cmd $archivedir/us/${dist}-${arch}/Release
     done
 fi
 
index a01d19ff4334db6c2807cf23f5472af46b2f3960..567ebfb8a34fdafefa46a2861f0bdc6b8c4fe0b3 100755 (executable)
@@ -37,4 +37,6 @@ do
         (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