1 |
commit: d8466105dfb6f3323561445488afa300634013b0 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 11:21:17 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 11:21:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/apache.git/commit/?id=d8466105 |
7 |
|
8 |
rolltarball.sh: Create xz compressed tarballs |
9 |
|
10 |
instead of bzip2 compressed ones |
11 |
|
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
rolltarball.sh | 11 ++++++----- |
15 |
1 file changed, 6 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/rolltarball.sh b/rolltarball.sh |
18 |
index 1962c00..2660564 100755 |
19 |
--- a/rolltarball.sh |
20 |
+++ b/rolltarball.sh |
21 |
@@ -18,11 +18,12 @@ |
22 |
# 05-Jun-2005 Complete rewrite to clean up code |
23 |
# 20-Apr-2014 Use git instead of svn. Change patchname in ebuild as |
24 |
# well |
25 |
+# 01-Dec-2020 Replace bzip2 with xz to compress tarballs |
26 |
# |
27 |
|
28 |
-# Please increase version number before each commit which includes changes to |
29 |
-# this script. |
30 |
-MYVERSION='2.0' |
31 |
+# Please increase version number before or on each commit which includes |
32 |
+# changes to this script. |
33 |
+MYVERSION='2.1' |
34 |
|
35 |
# ********** Begin functions ********** |
36 |
|
37 |
@@ -433,8 +434,8 @@ build_tarball() { |
38 |
echo ${CURTIME} > ${TB_DIR}/DATESTAMP |
39 |
echo "Packaged by ${G_USER}" >> ${TB_DIR}/DATESTAMP |
40 |
echo "$0 v${MYVERSION}" >> ${TB_DIR}/DATESTAMP |
41 |
- edebug "Create bzip2-ed tarball ${TB} from ${TB_DIR} excluding vcs files" |
42 |
- tar --create --bzip2 --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9 |
43 |
+ edebug "Create xz-ed tarball ${TB} from ${TB_DIR} excluding vcs files" |
44 |
+ tar --create --xz --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9 |
45 |
eend $? "Tarball creation failed" || die |
46 |
edebug "Remove temporary directory" |
47 |
rm -rf ${TB_DIR} || ewarn "Couldn't clean up, manually remove ${TB_DIR}/" |