[Crosstoolchain-logs] [gdb] 02/14: Switch to .xz for our ".orig" tarballs

Samuel Bronson naesten-guest at moszumanska.debian.org
Wed May 7 20:36:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

naesten-guest pushed a commit to branch master
in repository gdb.

commit 69e0d62e6d09cc9f86a60b33bad6e6c9540fc08c
Author: Samuel Bronson <naesten at gmail.com>
Date:   Sat May 3 22:03:44 2014 -0400

    Switch to .xz for our ".orig" tarballs
---
 debian/README.source   |  3 ++-
 debian/sanitize-gdb.sh | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index ef27e84..e8529f8 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -4,5 +4,6 @@ must go in the Debian non-free section.
 
 To produce the necessary tarballs, download an official GDB release as
 .tar.bz2 from the FSF.  Run debian/sanitize-gdb.sh on it.  That
-will produce a gdb .orig.tar.bz2 and a gdb-doc .orig.tar.bz2.
+will produce a gdb .orig.tar.xz and a gdb-doc .orig.tar.xz
 
+ -- Samuel Bronson <naesten at gmail.com>, Sat,  3 May 2014 17:22:31 -0400
diff --git a/debian/sanitize-gdb.sh b/debian/sanitize-gdb.sh
index a65f125..cf55f26 100644
--- a/debian/sanitize-gdb.sh
+++ b/debian/sanitize-gdb.sh
@@ -13,8 +13,8 @@ tardir=$(cd "$tardir" && pwd)
 version=$(basename "$tarball" | sed "s/^gdb-//; s/\.tar\.bz2\$//")
 debversion=${version}
 tarball="$tardir"/gdb-$version.tar.bz2
-dfsg="$tardir/gdb_$debversion.orig.tar.gz"
-doc="$tardir/gdb-doc_$version.orig.tar.gz"
+dfsg="$tardir/gdb_$debversion.orig.tar.xz"
+doc="$tardir/gdb-doc_$version.orig.tar.xz"
 
 dir=`cd $(dirname "$0") && pwd`
 
@@ -24,7 +24,7 @@ olddir=`pwd`
 cd "$temp"
 mkdir src
 cd src
-tar xjf "$tarball"
+tar -xf "$tarball"
 cd ..
 
 src=src/gdb-$version
@@ -93,8 +93,8 @@ cp -a "$src"/gdb/.gitignore "$dest2"/gdb/
 cp -a "$src"/gdb/version.in "$dest2"/gdb/
 cp -a "$src"/readline/[A-Z]* "$dest2"/readline/
 
-tar czf "$dfsg" gdb-$debversion
-tar czf "$doc" gdb-doc-$version
+tar --auto-compress -cf "$dfsg" gdb-$debversion
+tar --auto-compress -cf "$doc" gdb-doc-$version
 
 cd "$olddir"
 rm -rf $temp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gdb/gdb.git



More information about the Crosstoolchain-logs mailing list