Your message dated Wed, 16 Nov 2011 03:08:31 +0000
with message-id <[email protected]>
and subject line Bug#631713: fixed in devscripts 2.11.2
has caused the Debian Bug report #631713,
regarding devscripts: [uscan] Please support orig.tar.{lzma,xz}
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
631713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631713
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.11.1
Severity: wishlist
Tags: patch

Hello,

Now that the source format 3.0 (quilt) supports upstream tarballs compressed
with LZMA or XZ, it would be nice to support it with uscan: here is a
git-formatted patch for that. You can apply it with:
$ git am 0001-Updated-uscan-to-support-orig.tar.-lzma-xz.patch

Regards,

-- 
Tanguy Ortolo

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBEMAIL="[email protected]"
DEBSIGN_KEYID=4B10D847
USCAN_SYMLINK=rename

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                     1.16.0.3    Debian package development tools
ii  libc6                        2.13-7      Embedded GNU C Library: Shared lib
ii  perl                         5.12.3-7+b1 Larry Wall's Practical Extraction 
ii  python                       2.6.6-14    interactive high-level object-orie
ii  python2.6                    2.6.6-10    An interactive high-level object-o
ii  python2.7                    2.7.1-8     An interactive high-level object-o

Versions of packages devscripts recommends:
ii  at                            3.1.12-1   Delayed job execution and batch pr
ii  curl                          7.21.6-1   Get a file from an HTTP, HTTPS or 
pn  dctrl-tools                   <none>     (no description available)
pn  debian-keyring                <none>     (no description available)
pn  debian-maintainers            <none>     (no description available)
ii  dput                          0.9.6.2    Debian package upload tool
ii  dupload                       2.7.0      utility to upload Debian packages
pn  equivs                        <none>     (no description available)
ii  fakeroot                      1.16-1     tool for simulating superuser priv
ii  gnupg                         1.4.11-3   GNU privacy guard - a free PGP rep
ii  libcrypt-ssleay-perl          0.57-2+b2  Support for https protocol in LWP
ii  libjson-perl                  2.53-1     module for manipulating JSON-forma
pn  libparse-debcontrol-perl      <none>     (no description available)
pn  libsoap-lite-perl             <none>     (no description available)
ii  liburi-perl                   1.58-1     module to manipulate and access UR
ii  libwww-perl                   6.02-1     simple and consistent interface to
ii  lintian                       2.5.0      Debian package checker
ii  man-db                        2.6.0.2-1  on-line manual pager
ii  patch                         2.6.1-2    Apply a diff file to an original
pn  patchutils                    <none>     (no description available)
ii  python-debian                 0.1.20     Python modules to work with Debian
ii  python-magic                  5.04-5+b1  File type determination library us
ii  sensible-utils                0.0.6      Utilities for sensible alternative
pn  strace                        <none>     (no description available)
ii  unzip                         6.0-4      De-archiver for .zip files
pn  wdiff                         <none>     (no description available)
ii  wget                          1.12-3.1   retrieves files from the web
ii  xz-utils                      5.0.0-2    XZ-format compression utilities

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  build-essential    11.5                  Informational list of build-essent
pn  cvs-buildpackage   <none>                (no description available)
pn  devscripts-el      <none>                (no description available)
pn  gnuplot            <none>                (no description available)
pn  libauthen-sasl-per <none>                (no description available)
ii  libfile-desktopent 0.04-2                Perl module to handle freedesktop 
pn  libnet-smtp-ssl-pe <none>                (no description available)
ii  libterm-size-perl  0.2-4+b2              Perl extension for retrieving term
ii  libtimedate-perl   1.2000-1              collection of modules to manipulat
pn  libyaml-syck-perl  <none>                (no description available)
ii  mutt               1.5.21-5              text-based mailreader supporting M
ii  openssh-client [ss 1:5.5p1-6             secure shell (SSH) client, for sec
pn  svn-buildpackage   <none>                (no description available)
ii  w3m                0.5.3-2+b1            WWW browsable pager with excellent

-- no debconf information
>From 7ad081ba76a3ac140ad8e3bdbdf78c4615326505 Mon Sep 17 00:00:00 2001
From: Tanguy Ortolo <[email protected]>
Date: Sun, 26 Jun 2011 15:09:26 +0200
Subject: [PATCH] Updated uscan to support orig.tar.{lzma|xz}.
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.7.5.4"

This is a multi-part message in MIME format.
--------------1.7.5.4
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
 scripts/uscan.pl |   91 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 86 insertions(+), 5 deletions(-)


--------------1.7.5.4
Content-Type: text/x-patch; 
name="0001-Updated-uscan-to-support-orig.tar.-lzma-xz.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; 
filename="0001-Updated-uscan-to-support-orig.tar.-lzma-xz.patch"

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index c1599d3..e361efb 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -92,9 +92,10 @@ Options:
                    servers to respond (default 20 seconds)
     --symlink      Make an orig.tar.gz symlink to downloaded file (default)
     --rename       Rename to orig.tar.gz instead of symlinking
-                   (Both will use orig.tar.bz2 if appropriate)
-    --repack       Repack downloaded archives from orig.tar.bz2 or orig.zip to
-                   orig.tar.gz
+                   (Both will use orig.tar.bz2, orig.tar.lzma or orig.tar.xz if
+                   appropriate)
+    --repack       Repack downloaded archives from orig.tar.bz2, orig.tar.lzma,
+                   orig.tar.xz or orig.zip to orig.tar.gz
                    (does nothing if downloaded archive orig.tar.gz)
     --no-symlink   Don\'t make symlink or rename
     --verbose      Give verbose output
@@ -164,7 +165,7 @@ my $download = 1;
 my $download_version;
 my $force_download = 0;
 my $report = 0; # report even on up-to-date packages?
-my $repack = 0; # repack .tar.bz2 or .zip to .tar.gz
+my $repack = 0; # repack .tar.bz2, .tar.lzma, .tar.xz or .zip to .tar.gz
 my $symlink = 'symlink';
 my $verbose = 0;
 my $check_dirname_level = 1;
@@ -1264,6 +1265,16 @@ EOF
                if $verbose or ($download == 0 and ! $dehs);
            return 0;
        }
+       elsif (-f "$destdir/${pkg}_${newversion}.orig.tar.lzma") {
+           print " => ${pkg}_${newversion}.orig.tar.lzma already in package 
directory '$destdir'\n"
+               if $verbose or ($download == 0 and ! $dehs);
+           return 0;
+       }
+       elsif (-f "$destdir/${pkg}_${newversion}.orig.tar.xz") {
+           print " => ${pkg}_${newversion}.orig.tar.xz already in package 
directory '$destdir'\n"
+               if $verbose or ($download == 0 and ! $dehs);
+           return 0;
+       }
     }
 
     if ($force_download and $verbose) {
@@ -1387,7 +1398,7 @@ EOF
        $newfile_base = $newfile_base_gz;
     }
 
-    if ($newfile_base =~ /\.(tar\.gz|tgz|tar\.bz2|tbz2?)$/) {
+    if ($newfile_base =~ 
/\.(tar\.gz|tgz|tar\.bz2|tbz2?|tar\.lzma|tar\.xz|txz)$/) {
        my $filetype = `file -b -k $destdir/$newfile_base`;
        unless ($filetype =~ /compressed data/) {
            warn "$progname warning: $destdir/$newfile_base does not appear to 
be a compressed file;\nthe file command says: $filetype\nNot processing this 
file any further!\n";
@@ -1409,6 +1420,20 @@ EOF
            move "$destdir/$newfile_base", 
"$destdir/${pkg}_${newversion}.orig.tar.bz2";
        }
     }
+    elsif ($newfile_base =~ /\.(tar\.lzma)$/) {
+       if ($symlink eq 'symlink') {
+           symlink $newfile_base, 
"$destdir/${pkg}_${newversion}.orig.tar.lzma";
+       } elsif ($symlink eq 'rename') {
+           move "$destdir/$newfile_base", 
"$destdir/${pkg}_${newversion}.orig.tar.lzma";
+       }
+    }
+    elsif ($newfile_base =~ /\.(tar\.xz|txz)$/) {
+       if ($symlink eq 'symlink') {
+           symlink $newfile_base, "$destdir/${pkg}_${newversion}.orig.tar.xz";
+       } elsif ($symlink eq 'rename') {
+           move "$destdir/$newfile_base", 
"$destdir/${pkg}_${newversion}.orig.tar.xz";
+       }
+    }
 
     if ($verbose) {
        print "-- Successfully downloaded updated package $newfile_base\n";
@@ -1426,6 +1451,20 @@ EOF
                print "    and renamed it as 
${pkg}_${newversion}.orig.tar.bz2\n";
            }
        }
+       elsif ($newfile_base =~ /\.(tar\.lzma)$/) {
+           if ($symlink eq 'symlink') {
+               print "    and symlinked ${pkg}_${newversion}.orig.tar.lzma to 
it\n";
+           } elsif ($symlink eq 'rename') {
+               print "    and renamed it as 
${pkg}_${newversion}.orig.tar.lzma\n";
+           }
+       }
+       elsif ($newfile_base =~ /\.(tar\.xz|txz)$/) {
+           if ($symlink eq 'symlink') {
+               print "    and symlinked ${pkg}_${newversion}.orig.tar.xz to 
it\n";
+           } elsif ($symlink eq 'rename') {
+               print "    and renamed it as 
${pkg}_${newversion}.orig.tar.xz\n";
+           }
+       }
     } elsif ($dehs) {
        my $msg = "Successfully downloaded updated package $newfile_base";
        if ($newfile_base =~ /\.(tar\.gz|tgz)$/) {
@@ -1448,6 +1487,26 @@ EOF
                $dehs_tags{'target'} = $newfile_base;
            }
        }
+       elsif ($newfile_base =~ /\.(tar\.lzma)$/) {
+           $dehs_tags{'target'} = "${pkg}_${newversion}.orig.tar.lzma";
+           if ($symlink eq 'symlink') {
+               $msg .= " and symlinked ${pkg}_${newversion}.orig.tar.lzma to 
it";
+           } elsif ($symlink eq 'rename') {
+               $msg .= " and renamed it as ${pkg}_${newversion}.orig.tar.lzma";
+           } else {
+               $dehs_tags{'target'} = $newfile_base;
+           }
+       }
+       elsif ($newfile_base =~ /\.(tar\.xz|txz)$/) {
+           $dehs_tags{'target'} = "${pkg}_${newversion}.orig.tar.xz";
+           if ($symlink eq 'symlink') {
+               $msg .= " and symlinked ${pkg}_${newversion}.orig.tar.xz to it";
+           } elsif ($symlink eq 'rename') {
+               $msg .= " and renamed it as ${pkg}_${newversion}.orig.tar.xz";
+           } else {
+               $dehs_tags{'target'} = $newfile_base;
+           }
+       }
        dehs_msg($msg);
     } else {
        print "$pkg: Successfully downloaded updated package $newfile_base\n";
@@ -1465,6 +1524,20 @@ EOF
                print "    and renamed it as 
${pkg}_${newversion}.orig.tar.bz2\n";
            }
        }
+       elsif ($newfile_base =~ /\.(tar\.lzma)$/) {
+           if ($symlink eq 'symlink') {
+               print "    and symlinked ${pkg}_${newversion}.orig.tar.lzma to 
it\n";
+           } elsif ($symlink eq 'rename') {
+               print "    and renamed it as 
${pkg}_${newversion}.orig.tar.lzma\n";
+           }
+       }
+       elsif ($newfile_base =~ /\.(tar\.xz|txz)$/) {
+           if ($symlink eq 'symlink') {
+               print "    and symlinked ${pkg}_${newversion}.orig.tar.xz to 
it\n";
+           } elsif ($symlink eq 'rename') {
+               print "    and renamed it as 
${pkg}_${newversion}.orig.tar.xz\n";
+           }
+       }
     }
 
     # Do whatever the user wishes to do
@@ -1479,6 +1552,14 @@ EOF
            and $newfile_base =~ /\.(tar\.bz2|tbz2)$/) {
            $usefile = "$destdir/${pkg}_${newversion}.orig.tar.bz2";
        }
+       elsif ($symlink =~ /^(symlink|rename)$/
+           and $newfile_base =~ /\.(tar\.lzma)$/) {
+           $usefile = "$destdir/${pkg}_${newversion}.orig.tar.lzma";
+       }
+       elsif ($symlink =~ /^(symlink|rename)$/
+           and $newfile_base =~ /\.(tar\.xz|txz)$/) {
+           $usefile = "$destdir/${pkg}_${newversion}.orig.tar.xz";
+       }
 
        # Any symlink requests are already handled by uscan
        if ($action =~ /^uupdate(\s|$)/) {

--------------1.7.5.4--



--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.11.2

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive:

devscripts_2.11.2.dsc
  to main/d/devscripts/devscripts_2.11.2.dsc
devscripts_2.11.2.tar.gz
  to main/d/devscripts/devscripts_2.11.2.tar.gz
devscripts_2.11.2_amd64.deb
  to main/d/devscripts/devscripts_2.11.2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 15 Nov 2011 21:36:40 -0500
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.11.2
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James McCoy <[email protected]>
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 376595 509983 515058 599777 625990 631713 638602 639204 639813 640782 
641497 641979 644983 646562 647524 647526 647527 648654
Changes: 
 devscripts (2.11.2) unstable; urgency=low
 .
   [ Gerfried Fuchs ]
   * Remove the word "of" from the BSD 3 clause check, it might not be in
     there.
 .
   [ James McCoy ]
   * Remove support for PGP-style commands from debsign/debrsign.  (Closes:
     #639204)
     + DEBSIGN_SIGNLIKE config variable removed
   * Update scripts to use GNU getopt-compatible option parsing. (Closes:
     #641979)
     + For Perl scripts, use Getopt::Long's "gnu_compat" and "bundling" modes.
       When allowed, also use "permute" for full GNU getopt compatibility.
     + For shell scripts, use getopt instead of manual option parsing.
       - Update uses of getopt to show usage when getopt fails.
   * licensecheck:
     + Recognize more generated files, MIT/X11 variants, Microsoft Permissive
       License (Ms-PL), and a libpng variant.  Thanks to Paweł Hajdan, Jr for
       the patches.  (Closes: #641497, #647524, #647526, #647527)
   * debchange: Document that only `$1' backreference replacements are
     supported.  Thanks to Matthijs Kooijman for the patch.  (Closes: #639813)
   * mergechanges: Use awk instead of sed to handle massaging the final output
     so we can better control the processing.  (Closes: #640782)
   * uscan: Fully support lzma and xz tarballs.  Based on a patch from Tanguy
     Ortolo.  (Closes: #631713)
   * debi: Document --multi, --with-depends, and --tool in the man page.
     (Closes: #644983)
   * dd-list:
     + Correctly handle maintainer names which have a comma.  (Closes: #646562)
     + Sort results by full-name instead of trying to parse the names.
       (Closes: #638602)
     + Parse sources files directly instead of invoking apt-cache.  (Closes:
       #376595)
     + Allow specifying which sources files to read.  (Closes: #509983)
   * Remove references to obsolete PGP keyrings in who-uploads/dscverify.
   * who-uploads: Don't check for default keyrings with --no-default-keyrings.
     (Closes: #515058)
 .
   [ Stefano Rivera ]
   * debchange: Add precise as a recognised Ubuntu distro.
 .
   [ David Prévot ]
   * bts: Remove outdated information from documentation for owner command.
     (Closes: #625990)
 .
   [ Steve Langasek ]
   * new script dep3changelog, which parses a DEP3 patch header and feeds a
     suitable changelog entry to dch.  (Closes: #599777)
 .
   [ Michael Prokop ]
   * debcheckout: Use DESTDIR also for debian/ only VCS packages.  (Closes:
     648654)
Checksums-Sha1: 
 8360812e802e5f342bd19391ef80d0eb7899f637 1626 devscripts_2.11.2.dsc
 8e9e930f913ba27b0ae27794b35fcb834e9fcf9c 769865 devscripts_2.11.2.tar.gz
 c3bd3438b8d8d0ecd06a77e3e47656d44cce9685 697928 devscripts_2.11.2_amd64.deb
Checksums-Sha256: 
 f1d38c76cdcc0200adf3ea797a8e39e205c79f61ebd35d12413b1e0c1fbcfe89 1626 
devscripts_2.11.2.dsc
 4292c2c384315868357d0d3851f71f48e7b6ddf1ede1ca2d65774165b7397228 769865 
devscripts_2.11.2.tar.gz
 de6436b9632a1efa6d98ef3ad1655e4e307bd98e841e8c60ed3b058bdc20d067 697928 
devscripts_2.11.2_amd64.deb
Files: 
 84d80b31df1e3726a8d12eb03be33dbd 1626 devel optional devscripts_2.11.2.dsc
 dd5d5219c16cc24c1df56e2081369872 769865 devel optional devscripts_2.11.2.tar.gz
 86a452ca3483c41569d7080842e1ddcc 697928 devel optional 
devscripts_2.11.2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7DJyAACgkQDb3UpmEybUALFACdH9ACSgRFquRfqy3A+jll7WsM
hfYAn38Q9UjVx6MrWCqbie6VOXUt2gva
=OdHa
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to