Re: Patch for dpkg-scansources / Packages without sources
Le Thu, Jul 29, 1999 at 02:41:32PM +0200, Richard Braakman écrivait:
> This is not quite correct. Instead of looking specifically for Hash:,
> you should skip until after the first empty line. PGP headers
> function just like "normal" headers in this regard. (The only
> difference is that normally there are zero header lines).
>
> Sorry, it's too early in the morning for safe perling for me.
Ok, here's the corrected patch :
--- dpkg-scansources.old Thu Jul 29 12:00:54 1999
+++ dpkg-scansources Thu Jul 29 16:28:15 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(?:[^:]+: [^\n]+\n)*\n//) {
unless ($s =~ s/\n
-----BEGIN\040PGP\040SIGNATURE-----\n
.*?\n
But please apply it otherwise glibc.*.orig.tar.gz will be missing from
Debian potato CD. :-)
> > Package `c-client-dev' has no sources ...
>
> Hmm... I remember accepting a c-client package recently. Maybe it
> got renamed to libc-client-dev or something.
Yes.
> > Package `clanlib0-dev' has no sources ...
>
> Not sure about this one.
It's no more built by clanlib0.
> > 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 `libgimp1.1.6' has no sources ...
> > Package `libgimp1.1.4' has no sources ...
> > Package `libgimp1.1.5' has no sources ...
>
> More old libraries. These change soname frequently.
Why aren't there automatically removed ? Do you keep old packages until no
other packages depends on them ?
> We have scripts for detecting this sort of thing, but I don't often have
> time to run them and fix things. I think your scripts will have to be
> able to live with it, because I doubt the archive will ever be completely
> happy about source-binary package relationships. You should see how much
> bogus output the scripts generate... there's the pcmcia stuff, the libc6.1
> madness, the egcs confusion, the libcompface situation, and lots more fun
> for the whole family.
Looks like you need help for maintaining the FTP archive ... anyway my
script will work ok with bogus packages, but I wanted to share the
information that my script generates. :-)
Cheers,
--
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/
Reply to: