gzip: link to pigz, add post-install

This commit is contained in:
Dylan Araps 2021-07-15 12:45:12 +03:00
parent 8f254cb790
commit 3731340c24
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
4 changed files with 14 additions and 17 deletions

View File

@ -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"

1
core/gzip/build Symbolic link
View File

@ -0,0 +1 @@
../pigz/build

View File

@ -1 +0,0 @@
2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d

1
core/gzip/checksums Symbolic link
View File

@ -0,0 +1 @@
../pigz/checksums

11
core/gzip/post-install Executable file
View File

@ -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

View File

@ -1 +1 @@
1.10 2.6
1.10 1