Package: devscripts

Version: 2.11.2
Severity: wishlist
Tags: patch

Emdebian is using dscextract from devscripts but I'm using a local
copy so that I can have the version from sid running on Squeeze.

Recently, source packages using debian.xz arrived in sid and I have
adapted dscextract to understand this compression. The patch is
small and available via Emdebian SVN:

http://www.emdebian.org/trac/changeset/8170

Also attached.


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

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev   1.16.1.2
ii  libc6      2.13-21 
ii  perl       5.14.2-5
ii  python     2.7.2-9 
ii  python2.6  2.6.7-4 
ii  python2.7  2.7.2-7 

Versions of packages devscripts recommends:
ii  at                        3.1.13-1             
ii  dctrl-tools               2.19                 
ii  debian-keyring            <none>               
ii  dput                      0.9.6.2              
ii  dupload                   2.7.0                
ii  equivs                    <none>               
ii  fakeroot                  1.18.1-1             
ii  gnupg                     1.4.11-3             
ii  libcrypt-ssleay-perl      0.57-2+b3            
ii  libjson-perl              <none>               
ii  libparse-debcontrol-perl  2.005-3              
ii  libsoap-lite-perl         0.714-1              
ii  liburi-perl               1.59-1               
ii  libwww-perl               6.03-1               
ii  lintian                   2.5.4                
ii  man-db                    2.6.0.2-3            
ii  patch                     2.6.1-2              
ii  patchutils                0.3.2-1              
ii  python-debian             0.1.21               
ii  python-magic              <none>               
ii  sensible-utils            0.0.6                
ii  strace                    4.5.20-2.3           
ii  unzip                     6.0-5                
ii  wdiff                     0.6.5-1              
ii  wget                      1.13.4-1             
ii  xz-utils                  5.1.1alpha+20110809-3

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20111106cvs-1
ii  build-essential              11.5                 
ii  cvs-buildpackage             5.23                 
ii  devscripts-el                <none>               
ii  gnuplot                      <none>               
ii  libauthen-sasl-perl          <none>               
ii  libfile-desktopentry-perl    <none>               
ii  libnet-smtp-ssl-perl         <none>               
ii  libterm-size-perl            <none>               
ii  libtimedate-perl             1.2000-1             
ii  libyaml-syck-perl            <none>               
ii  mutt                         1.5.21-5             
ii  openssh-client [ssh-client]  1:5.9p1-2            
ii  svn-buildpackage             0.8.4                
ii  w3m                          0.5.3-4              

-- no debconf information
Index: /current/host/trunk/debian-grip/trunk/dscextract
===================================================================
--- /current/host/trunk/debian-grip/trunk/dscextract	(revision 8083)
+++ /current/host/trunk/debian-grip/trunk/dscextract	(revision 8170)
@@ -72,5 +72,5 @@
 fi
 
-if DEBIANTARGZ=$(egrep '^ [0-9a-f]{32,64} [0-9]+ [^ ]+\.debian\.tar\.(gz|bz2)$' "$DSC") ; then
+if DEBIANTARGZ=$(egrep '^ [0-9a-f]{32,64} [0-9]+ [^ ]+\.debian\.tar\.(gz|bz2|xz)$' "$DSC") ; then
 	case $FILE in
 		debian/*)
@@ -80,4 +80,5 @@
 				*.gz) ZIP=--gzip ;;
 				*.bz2) ZIP=--bzip2 ;;
+				*.xz) ZIP=--xz ;;
 			esac
 			tar --extract --to-stdout $ZIP --file "$DSCDIR/$DEBIANTARGZ" "$FILE" > "$WORKDIR/output" 2>/dev/null || :

Reply via email to