Patch for dpkg-scansources / Packages without sources
Package: ftp.debian.org
Severity: important
dpkg-scansources fails to read some .dsc files. That's why some source
packages are not listed in the Sources.gz files. This really annoys me
since I use this file in the CD building process ... so here's the patch
that should be applied to dpkg-scansources (it does apply on the
dpkg-scansources file i've found in Guy Maor's home directory on master).
I cced debian-devel and debian-dpkg so that those NMUing dpkg can
also apply the patch to their dpkg-scansources ...
BTW, the problem is generated by some GPG signed .dsc files. They add a
Hash field that wasn't recognized by dpkg-scansources (glibc's .dsc file
is an example).
--- dpkg-scansources.old Thu Jul 29 12:00:54 1999
+++ dpkg-scansources Thu Jul 29 12:00:57 1999
@@ -232,7 +232,7 @@
sub de_pgp {
my ($file, $s) = @_;
- if ($s =~ s/^-----BEGIN PGP SIGNED MESSAGE-----\n\n//) {
+ if ($s =~ s/^-----BEGIN PGP SIGNED MESSAGE-----\n(?:Hash: \S+\n)?\n//) {
unless ($s =~ s/\n
-----BEGIN\040PGP\040SIGNATURE-----\n
.*?\n
Furthermore, there are many packages that are no more built by any source
packages. Many should be removed, in general they have been renamed or
splitted, here's the list (it's does come from a log from my CD build
script) :
I wonder why libstdc++2.9 is no more built by any sources ... this one
shouldn't be removed. :) Also some kernel related packages do not have
"official" sources (ie the packages are not mentionned in a "Binary"
field in the Sources.gz files).
Package `liblockfile0' has no sources ...
Package `libstdc++2.9' has no sources ...
Package `lsof-2.2' has no sources ...
Package `lsof-2.0.35' has no sources ...
Package `ftape-module-2.0.35' has no sources ...
Package `libg++2.8.2' has no sources ...
Package `pcmcia-modules-2.0.35' has no sources ...
Package `pcmcia-modules-2.0.36' has no sources ...
Package `pcmcia-modules-2.2.1' has no sources ...
Package `pcmcia-modules-2.2.10' has no sources ...
Package `pcmcia-modules-2.2.5' has no sources ...
Package `pcmcia-modules-2.2.7' has no sources ...
Package `pcmcia-modules-2.2.9' has no sources ...
Package `c-client-dev' has no sources ...
Package `clanlib0-dev' has no sources ...
Package `libcdaudio-dev' has no sources ...
Package `libcdaudio' has no sources ...
Package `libg++2.8.2-dev' has no sources ...
Package `libgimp1.1.4-dev' has no sources ...
Package `libgimp1.1.5-dev' has no sources ...
Package `libgimp1.1.6-dev' has no sources ...
Package `libpwdb-doc' has no sources ...
Package `libwraster2-dev' has no sources ...
Package `libwraster2' has no sources ...
Package `mysql-gpl-dev' has no sources ...
Package `popt' has no sources ...
Package `gnat-rm' has no sources ...
Package `gnat-user-guide' has no sources ...
Package `kernel-doc-2.1.125' has no sources ...
Package `libgimp1.1.6' has no sources ...
Package `libgimp1.1.4' has no sources ...
Package `libgimp1.1.5' has no sources ...
Package `libcompface1' has no sources ...
Package `libcompface1-altdev' has no sources ...
Package `kbd-data' has no sources ...
Package `libxdelta1' has no sources ...
Package `libxdelta1-dev' has no sources ...
Package `xcin-doc' has no sources ...
--
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/
Reply to: