Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: /
Date: Sat, 09 Apr 2022 03:02:36
Message-Id: 1649473323.7e6af77f9d31dbfa692a8efeb283799ae531b1b3.sam@gentoo
1 commit: 7e6af77f9d31dbfa692a8efeb283799ae531b1b3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 03:02:03 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 03:02:03 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7e6af77f
7
8 make-tarball.sh: use xz
9
10 We're doing it everywhere else, so why not?
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 make-tarball.sh | 20 ++++++++++----------
15 1 file changed, 10 insertions(+), 10 deletions(-)
16
17 diff --git a/make-tarball.sh b/make-tarball.sh
18 index 6e7fc82..fa59a44 100755
19 --- a/make-tarball.sh
20 +++ b/make-tarball.sh
21 @@ -95,7 +95,7 @@ echo " - BOUNDS: ${HTB_GCC_VER}-${HTB_VER}"
22 echo " - MAN: ${MAN_VER}"
23
24 rm -rf tmp
25 -rm -f gcc-${gver}-*.tar.bz2
26 +rm -f gcc-${gver}-*.tar.bz2 gcc-${gver}-*.tar.xz
27
28 # standard jobbies
29 mkdir -p tmp/patch/exclude tmp/musl tmp/piepatch tmp/specs
30 @@ -113,28 +113,28 @@ find tmp/ -name CVS -type d | xargs rm -rf
31
32 # standard jobbies
33 [[ -n ${PATCH_VER} ]] && {
34 -tar -jcf gcc-${sgver}-patches-${PATCH_VER}.tar.bz2 \
35 +tar -jcf gcc-${sgver}-patches-${PATCH_VER}.tar.xz \
36 -C tmp patch || exit 1 ; }
37 [[ -n ${MUSL_VER} ]] && {
38 -tar -jcf gcc-${sgver}-musl-patches-${MUSL_VER}.tar.bz2 \
39 +tar -jcf gcc-${sgver}-musl-patches-${MUSL_VER}.tar.xz \
40 -C tmp musl || exit 1 ; }
41 [[ -n ${PIE_VER} ]] && {
42 -tar -jcf gcc-${sgver}-piepatches-v${PIE_VER}.tar.bz2 \
43 +tar -jcf gcc-${sgver}-piepatches-v${PIE_VER}.tar.xz \
44 -C tmp piepatch || exit 1 ; }
45 [[ -n ${SPECS_VER} ]] && {
46 -tar -jcf gcc-${sgver}-specs-${SPECS_VER}.tar.bz2 \
47 +tar -jcf gcc-${sgver}-specs-${SPECS_VER}.tar.xz \
48 -C tmp specs || exit 1 ; }
49 [[ -n ${PP_VER} ]] && {
50 mv tmp/ssp/protector.patch tmp/ssp/gcc-${gver}-ssp.patch
51 -tar -jcf gcc-${gver}-ssp-${PP_VER}.tar.bz2 \
52 +tar -jcf gcc-${gver}-ssp-${PP_VER}.tar.xz \
53 -C tmp ssp || exit 1 ; }
54 [[ -d ${gver}/man ]] && {
55 -tar -jcf gcc-${MAN_VER}-manpages.tar.bz2 \
56 +tar -jcf gcc-${MAN_VER}-manpages.tar.xz \
57 -C tmp/man . || exit 1 ; }
58 # extra cruft
59 [[ -n ${HTB_VER} ]] && {
60 -bzip2 tmp/bounds-checking-*.patch \
61 - && cp tmp/bounds-checking-*.patch.bz2 . || exit 1 ; }
62 +xz tmp/bounds-checking-*.patch \
63 + && cp tmp/bounds-checking-*.patch.xz . || exit 1 ; }
64 rm -rf tmp
65
66 -du -b *.bz2
67 +du -b *.xz