From 3731340c247c552f7837bf027979f5815712ceee Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 15 Jul 2021 12:45:12 +0300 Subject: [PATCH] gzip: link to pigz, add post-install --- core/gzip/build | 16 +--------------- core/gzip/checksums | 2 +- core/gzip/post-install | 11 +++++++++++ core/gzip/version | 2 +- 4 files changed, 14 insertions(+), 17 deletions(-) mode change 100755 => 120000 core/gzip/build mode change 100644 => 120000 core/gzip/checksums create mode 100755 core/gzip/post-install diff --git a/core/gzip/build b/core/gzip/build deleted file mode 100755 index e0219aa3..00000000 --- a/core/gzip/build +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -e - -make CC="${CC:-cc} -static" - -mkdir -p \ - "$1/usr/bin" \ - "$1/usr/share/man/man1" - -cp -f pigz unpigz "$1/usr/bin" -cp -f pigz.1 "$1/usr/share/man/man1" - -ln -sf pigz "$1/usr/bin/gzip" -ln -sf pigz "$1/usr/bin/zcat" -ln -sf unpigz "$1/usr/bin/gunzip" -ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1" diff --git a/core/gzip/build b/core/gzip/build new file mode 120000 index 00000000..29a0f496 --- /dev/null +++ b/core/gzip/build @@ -0,0 +1 @@ +../pigz/build \ No newline at end of file diff --git a/core/gzip/checksums b/core/gzip/checksums deleted file mode 100644 index 60713b92..00000000 --- a/core/gzip/checksums +++ /dev/null @@ -1 +0,0 @@ -2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d diff --git a/core/gzip/checksums b/core/gzip/checksums new file mode 120000 index 00000000..9d348313 --- /dev/null +++ b/core/gzip/checksums @@ -0,0 +1 @@ +../pigz/checksums \ No newline at end of file diff --git a/core/gzip/post-install b/core/gzip/post-install new file mode 100755 index 00000000..33eca7d4 --- /dev/null +++ b/core/gzip/post-install @@ -0,0 +1,11 @@ +#!/bin/sh -e + +NOTE: The gzip package will be removed 22/07/2021 + and replaced with pigz. Run the following + to transition before the deadline. + + kiss b pigz + kiss i pigz + kiss a | grep ^pigz | kiss a - + kiss r gzip + diff --git a/core/gzip/version b/core/gzip/version index ae65f8fe..82096ecf 100644 --- a/core/gzip/version +++ b/core/gzip/version @@ -1 +1 @@ -1.10 2.6 +1.10 1