commit:     d8466105dfb6f3323561445488afa300634013b0
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 11:21:17 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 11:21:17 2020 +0000
URL:        https://gitweb.gentoo.org/proj/apache.git/commit/?id=d8466105

rolltarball.sh: Create xz compressed tarballs

instead of bzip2 compressed ones

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 rolltarball.sh | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/rolltarball.sh b/rolltarball.sh
index 1962c00..2660564 100755
--- a/rolltarball.sh
+++ b/rolltarball.sh
@@ -18,11 +18,12 @@
 #      05-Jun-2005     Complete rewrite to clean up code
 #      20-Apr-2014     Use git instead of svn. Change patchname in ebuild as
 #                      well
+#       01-Dec-2020    Replace bzip2 with xz to compress tarballs
 #
 
-# Please increase version number before each commit which includes changes to
-# this script.
-MYVERSION='2.0'
+# Please increase version number before or on each commit which includes
+# changes to this script.
+MYVERSION='2.1'
 
 # ********** Begin functions **********
 
@@ -433,8 +434,8 @@ build_tarball() {
                echo ${CURTIME} > ${TB_DIR}/DATESTAMP
                echo "Packaged by ${G_USER}" >> ${TB_DIR}/DATESTAMP
                echo "$0 v${MYVERSION}" >> ${TB_DIR}/DATESTAMP
-               edebug "Create bzip2-ed tarball ${TB} from ${TB_DIR} excluding 
vcs files"
-               tar --create --bzip2 --verbose --exclude-vcs --exclude=*~ 
--file ${TB} ${TB_DIR} >&9
+               edebug "Create xz-ed tarball ${TB} from ${TB_DIR} excluding vcs 
files"
+               tar --create --xz --verbose --exclude-vcs --exclude=*~ --file 
${TB} ${TB_DIR} >&9
                eend $? "Tarball creation failed" || die
                edebug "Remove temporary directory" 
                rm -rf ${TB_DIR} || ewarn "Couldn't clean up, manually remove 
${TB_DIR}/"

Reply via email to