+2007-08-31 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-genchanges.pl: Ignore Vcs-Browser, Vcs-Arch, Vcs-Bzr,
+ Vcs-Cvs, Vcs-Darcs, Vcs-Git, Vcs-Hg, Vcs-Mtn and Vcs-Svn fields
+ from control file source stanza.
+ * scripts/dpkg-gencontrol.pl: Likewise.
+ * scripts/dpkg-source.pl: Parse them instead.
+ (@dsc_fields): Add them here.
+
2007-08-31 Guillem Jover <guillem@debian.org>
* scripts/dpkg-genchanges.pl: Do not leave unknown fields unwarned
stanzas in dpkg-genchanges.
* Explicitely ignore all known fields from the control file source package
stanza in dpkg-genchanges, instead of leaving unknown fields unwarned.
+ * Implement support for Vcs-Browser, Vcs-Arch, Vcs-Bzr, Vcs-Cvs, Vcs-Darcs,
+ Vcs-Git, Vcs-Hg, Vcs-Mtn and Vcs-Svn fields in control file source
+ package stanza.
[ Updated scripts translations ]
* French (Frédéric Bothamy, Christian Perrier).
elsif (s/^X[BS]*C[BS]*-//i) { $f{$_}= $v; }
elsif (m/^X[BS]+-/i ||
m/^Build-(Depends|Conflicts)(-Indep)?$/i ||
- m/^(Standards-Version|Uploaders|Homepage|Origin|Bugs)$/i) {
+ m/^(Standards-Version|Uploaders|Homepage|Origin|Bugs)$/i ||
+ m/^Vcs-(Browser|Arch|Bzr|Cvs|Darcs|Git|Hg|Mtn|Svn)$/i) {
}
else { &unknown(_g('general section of control info file')); }
} elsif (s/^C(\d+) //) {
setsourcepackage($v);
}
elsif (s/^X[CS]*B[CS]*-//i) { $f{$_}= $v; }
- elsif (m/^X[CS]+-|^(Standards-Version|Uploaders)$|^Build-(Depends|Conflicts)(-Indep)?$/i) { }
+ elsif (m/^X[CS]+-/i ||
+ m/^Build-(Depends|Conflicts)(-Indep)?$/i ||
+ m/^(Standards-Version|Uploaders)$/i ||
+ m/^Vcs-(Browser|Arch|Bzr|Cvs|Darcs|Git|Hg|Mtn|Svn)$/i) {
+ }
elsif (m/^Section$|^Priority$/) { $spdefault{$_}= $v; }
else { $_ = "C $_"; &unknown(_g('general section of control info file')); }
} elsif (s/^C$myindex //) {
textdomain("dpkg-dev");
my @dsc_fields = (qw(Format Source Binary Architecture Version Origin
- Maintainer Uploaders Homepage Standards-Version),
+ Maintainer Uploaders Homepage Standards-Version
+ Vcs-Browser Vcs-Arch Vcs-Bzr Vcs-Cvs Vcs-Darcs
+ Vcs-Git Vcs-Hg Vcs-Mtn Vcs-Svn),
@src_dep_fields);
if (s/^C //) {
if (m/^Source$/i) {
setsourcepackage($v);
- } elsif (m/^(Standards-Version|Origin|Maintainer|Homepage)$/i) {
+ } elsif (m/^(Standards-Version|Origin|Maintainer|Homepage)$/i ||
+ m/^Vcs-(Browser|Arch|Bzr|Cvs|Darcs|Git|Hg|Mtn|Svn)$/i) {
$f{$_}= $v;
}
elsif (m/^Uploaders$/i) { ($f{$_}= $v) =~ s/[\r\n]//g; }