From: Guillem Jover Date: Fri, 24 Aug 2007 14:39:22 +0000 (+0300) Subject: Allow overriding Homepage from a package stanza in the control file X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f836cd4fe6925a990347766d78653859ca7f9d00;p=dpkg Allow overriding Homepage from a package stanza in the control file --- diff --git a/ChangeLog b/ChangeLog index dee1fdae..aefeb62b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-24 Guillem Jover + + * scripts/dpkg-gencontrol.pl: Allow a package stanza to override the + Homepage field from the source stanza. + 2007-08-20 Guillem Jover * dpkg-deb/build.c (arbitrary_fields): New variable. diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl index 98fb7c47..9a9524b3 100755 --- a/scripts/dpkg-gencontrol.pl +++ b/scripts/dpkg-gencontrol.pl @@ -157,7 +157,7 @@ for $_ (keys %fi) { else { $_ = "C $_"; &unknown(_g('general section of control info file')); } } elsif (s/^C$myindex //) { #print STDERR "P key >$_< value >$v<\n"; - if (m/^(Package|Description|Essential|Optional)$/) { + if (m/^(Package|Description|Homepage|Essential|Optional)$/) { $f{$_}= $v; } elsif (exists($pkg_dep_fields{$_})) { } elsif (m/^Section$|^Priority$/) {