1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From: Juerg Haefliger <juergh@proton.me>
Date: Sat, 29 Nov 2025 22:04:49 +0100
Subject: Switch to xz-compressed gdb tarball
Use the xz-compressed tarball. This prepares us for using the xz-compressed
tarball provided by the gdb-source package.
Signed-off-by: Juerg Haefliger <juergh@proton.me>
---
Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index fc7b7c8..182205a 100644
--- a/Makefile
+++ b/Makefile
@@ -335,12 +335,12 @@ gdb_unzip:
@rm -f gdb.files
@for FILE in ${GDB_FILES} dummy; do\
echo $$FILE >> gdb.files; done
- @if [ ! -f ${GDB}.tar.gz ] && [ ! -f /usr/bin/wget ]; then \
- echo /usr/bin/wget is required to download ${GDB}.tar.gz; echo; exit 1; fi
- @if [ ! -f ${GDB}.tar.gz ] && [ -f /usr/bin/wget ]; then \
+ @if [ ! -f ${GDB}.tar.xz ] && [ ! -f /usr/bin/wget ]; then \
+ echo /usr/bin/wget is required to download ${GDB}.tar.xz; echo; exit 1; fi
+ @if [ ! -f ${GDB}.tar.xz ] && [ -f /usr/bin/wget ]; then \
[ ! -t 2 ] && WGET_OPTS="--progress=dot:mega"; \
- wget $$WGET_OPTS http://ftp.gnu.org/gnu/gdb/${GDB}.tar.gz; fi
- @tar --exclude-from gdb.files -xzmf ${GDB}.tar.gz
+ wget $$WGET_OPTS http://ftp.gnu.org/gnu/gdb/${GDB}.tar.xz; fi
+ @tar --exclude-from gdb.files -xJmf ${GDB}.tar.xz
@$(MAKE) gdb_patch
gdb_patch:
@@ -674,7 +674,7 @@ do_release:
@tar cf - ${SOURCE_FILES} Makefile ${GDB_FILES} ${GDB_PATCH_FILES} ${GPL_FILES} \
.rh_rpm_package crash.8 ${EXTENSION_SOURCE_FILES} ${MEMORY_DRIVER_FILES} | \
(cd ./RELDIR/${PROGRAM}-${VERSION}; tar xf -)
- @cp ${GDB}.tar.gz ./RELDIR/${PROGRAM}-${VERSION}
+ @cp ${GDB}.tar.xz ./RELDIR/${PROGRAM}-${VERSION}
@./${PROGRAM} --no_scroll --no_crashrc -h README > README
@cp README ./RELDIR/${PROGRAM}-${VERSION}/README
@(cd ./RELDIR; find . -exec chown root {} ";")
|