1
0
Fork 0

Removing lzd from lzip alternatives as it doesn't provide the '--test' parameter to verify compressed file integrity (which now is the base-line requirement for all lzip variants providing alternatives).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-20 15:07:08 +01:00
parent f900bc3aa0
commit 0073df3f8c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 0 additions and 70 deletions

4
debian/control vendored
View file

@ -16,10 +16,6 @@ Architecture: any
Depends: Depends:
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
Provides:
lzip-alternative,
lzip-compressor,
lzip-decompressor,
Description: Educational, lossless data compressor based on the LZMA algorithm Description: Educational, lossless data compressor based on the LZMA algorithm
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
integrity checking and a user interface similar to the one of gzip or bzip2. integrity checking and a user interface similar to the one of gzip or bzip2.

32
debian/lzd.postinst vendored
View file

@ -1,32 +0,0 @@
#!/bin/sh
set -e
case "${1}" in
configure)
# lzip-alternative
update-alternatives --quiet \
--install /usr/bin/lzip lzip /usr/bin/lzip.lzd -2000
# lzip-compressor
update-alternatives --quiet \
--install /usr/bin/lzip-compressor lzip-compressor /usr/bin/lzip.lzd -2000
# lzip-decompressor
update-alternatives --quiet \
--install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.lzd -2000
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

29
debian/lzd.prerm vendored
View file

@ -1,29 +0,0 @@
#!/bin/sh
set -e
case "${1}" in
remove|upgrade|deconfigure)
# lzip-alternative
update-alternatives --quiet --remove lzip /usr/bin/lzip.lzd
# lzip-compressor
update-alternatives --quiet --remove lzip-compressor /usr/bin/lzip.lzd
# lzip-decompressor
update-alternatives --quiet --remove lzip-decompressor /usr/bin/lzip.lzd
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

5
debian/rules vendored
View file

@ -10,8 +10,3 @@ override_dh_auto_configure:
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
execute_after_dh_auto_install:
# update-alternatives
mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.lzd
ln -s /usr/bin/lzip.lzd debian/lzd/usr/bin/lzd