Prechádzať zdrojové kódy

Add ~ to the list of legal characters in a package filename

Wichert Akkerman 24 rokov pred
rodič
commit
03df37f308
3 zmenil súbory, kde vykonal 8 pridanie a 1 odobranie
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/dpkg-genchanges.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Sun Jun 23 00:45:19 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
+
+  * scripts/dpkg-genchanges.pl: Add ~ to the list of legal characters
+    in a package filename
+
 Sat Jun 22 16:13:42 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
 
   * scripts/dpkg-checkbuilddeps.pl: remove forced check for build-essential,

+ 2 - 0
debian/changelog

@@ -4,6 +4,8 @@ dpkg (1.11) unstable; urgency=low
   * Improve long package descriptions
   * Improve formatting of dpkg manpage
   * dpkg-checkbuilddeps no longer checks for build-essential
+  * Make dpkg-genchanges accept ~ as part of a package filename.
+    Closes: Bug#150739
 
  -- Wichert Akkerman <wakkerma@debian.org>  Sat, 22 Jun 2002 14:02:59 +0200
 

+ 1 - 1
scripts/dpkg-genchanges.pl

@@ -276,7 +276,7 @@ if (!$binaryonly) {
     $files= $fi{'S Files'};
     for $file (split(/\n /,$files)) {
         next if $file eq '';
-        $file =~ m/^([0-9a-f]{32})[ \t]+\d+[ \t]+([0-9a-zA-Z][-+:.,=0-9a-zA-Z_]+)$/
+        $file =~ m/^([0-9a-f]{32})[ \t]+\d+[ \t]+([0-9a-zA-Z][-+:.,=0-9a-zA-Z_~]+)$/
             || &error("Files field contains bad line \`$file'");
         ($md5sum{$2},$file) = ($1,$2);
         push(@sourcefiles,$file);