summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog93
-rw-r--r--debian/control6
-rw-r--r--debian/copyright6
-rw-r--r--debian/lzd.manpages1
-rwxr-xr-xdebian/lzd.postinst32
-rwxr-xr-xdebian/lzd.prerm29
-rw-r--r--debian/manpages/lzd.117
-rw-r--r--debian/patches/debian/0001-build.patch8
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/watch2
10 files changed, 123 insertions, 77 deletions
diff --git a/debian/changelog b/debian/changelog
index d99272b..79c4926 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,96 @@
+lzd (1.4-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.4.
+ * Refreshing build.patch.
+ * Disabling testsuite for now as the current upstream release misses
+ some files for it to run at all.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 23 Jan 2024 06:17:15 +0100
+
+lzd (1.3-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Jan 2023 17:37:57 +0100
+
+lzd (1.3-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.3.
+ * Updating http links to https in copyright.
+ * Updating year in upstream copyright for 2022.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 05 Nov 2022 19:38:20 +0100
+
+lzd (1.2-7) sid; urgency=medium
+
+ * Uploading to sid.
+ * Correcting version mangling in watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 14 Jul 2022 19:39:00 +0200
+
+lzd (1.2-6) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.1.
+ * Adding manpage for lzd, thanks to Sakirnth Nagarasa
+ <sakirnth@gmail.com> (Closes: #1013327).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 14 Jul 2022 14:42:47 +0200
+
+lzd (1.2-5) sid; urgency=medium
+
+ * Uploading to sid.
+ * Correcting typo in watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 05 Apr 2022 04:01:21 +0200
+
+lzd (1.2-4) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating packaging copyright for 2022.
+ * Handling pre/rc versions in watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 11 Mar 2022 07:09:04 +0100
+
+lzd (1.2-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * 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).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 29 Dec 2021 03:34:31 +0100
+
+lzd (1.2-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating watch file.
+ * Updating to standards version 4.6.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 09 Oct 2021 09:44:40 +0200
+
+lzd (1.2-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.2.
+ * Refreshing build.patch.
+ * Updating to standards version 4.5.1.
+ * Updating years in copyright file for 2021.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 25 Jan 2021 14:41:39 +0100
+
+lzd (1.1-8) sid; urgency=medium
+
+ * Uploading to sid.
+ * Dropping using help2man.
+ * Adding patch from Helmut Grohne <helmut@subdivi.de> to improve cross
+ building by using the host compiler (Closes: #959521).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 14 Jun 2020 11:22:25 +0200
+
lzd (1.1-7) sid; urgency=medium
* Uploading to sid.
diff --git a/debian/control b/debian/control
index 4738b40..22a9f66 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Build-Depends:
debhelper-compat (= 13),
Rules-Requires-Root: no
-Standards-Version: 4.5.0
+Standards-Version: 4.7.0
Homepage: http://www.nongnu.org/lzip/lzd.html
Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzd
Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzd
@@ -16,10 +16,6 @@ Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
-Provides:
- lzip-alternative,
- lzip-compressor,
- lzip-decompressor,
Description: Educational, lossless data compressor based on the LZMA algorithm
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.
diff --git a/debian/copyright b/debian/copyright
index fed08e3..0f3d3cf 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,14 +1,14 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Lzd
Upstream-Contact: lzip-bug@nongnu.org
-Source: http://download.savannah.gnu.org/releases/lzip/
+Source: https://download.savannah.gnu.org/releases/lzip/
Files: *
-Copyright: 2013-2019 Antonio Diaz Diaz <ant_diaz@teleline.es>
+Copyright: 2013-2024 Antonio Diaz Diaz <ant_diaz@teleline.es>
License: PD
Files: debian/*
-Copyright: 2013-2020 Daniel Baumann <daniel.baumann@progress-linux.org>
+Copyright: 2013-2024 Daniel Baumann <daniel.baumann@progress-linux.org>
License: PD
License: PD
diff --git a/debian/lzd.manpages b/debian/lzd.manpages
new file mode 100644
index 0000000..2fb19fb
--- /dev/null
+++ b/debian/lzd.manpages
@@ -0,0 +1 @@
+debian/manpages/*
diff --git a/debian/lzd.postinst b/debian/lzd.postinst
deleted file mode 100755
index 877e3c1..0000000
--- a/debian/lzd.postinst
+++ /dev/null
@@ -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
diff --git a/debian/lzd.prerm b/debian/lzd.prerm
deleted file mode 100755
index 3ad403d..0000000
--- a/debian/lzd.prerm
+++ /dev/null
@@ -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
diff --git a/debian/manpages/lzd.1 b/debian/manpages/lzd.1
new file mode 100644
index 0000000..b65f5df
--- /dev/null
+++ b/debian/manpages/lzd.1
@@ -0,0 +1,17 @@
+.TH LZD "1" "2022-06-21" "lzd" "User Commands"
+.SH NAME
+lzd \- simplified lzip format decompressor
+.SH SYNOPSIS
+.B lzd
+[ -d ] < file.lz > file
+.SH DESCRIPTION
+This manual describes the usage of lzd. It is a simplified lzip decompressor for educational purpose. lzd is compliant with the lzip specification. Therefore it can verify the 3 integrity factors.
+.PP
+The command can take a lzip compressed file in stdin and it will decompress it to stdout.
+.SH OPTIONS
+.TP
+\fB\-d\fR
+Only for compatibility for other lzip tools.
+.PP
+.SH SEE ALSO
+lzip(1)
diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch
index fa83fa9..7d55240 100644
--- a/debian/patches/debian/0001-build.patch
+++ b/debian/patches/debian/0001-build.patch
@@ -4,16 +4,18 @@ Description: Avoid overwriting build-environment.
diff -Naurp lzd.orig/configure lzd/configure
--- lzd.orig/configure
+++ lzd/configure
-@@ -21,9 +21,9 @@ datarootdir='$(prefix)/share'
+@@ -20,10 +20,10 @@ bindir='$(exec_prefix)/bin'
+ datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
- CXX=g++
+-CXX=g++
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
++#CXX=g++
+#CPPFLAGS=
+#CXXFLAGS='-Wall -W -O2'
+#LDFLAGS=
+ MAKEINFO=makeinfo
# checking whether we are using GNU C++.
- /bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
diff --git a/debian/rules b/debian/rules
index 1315012..14ddc7d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,5 @@ override_dh_auto_configure:
override_dh_auto_install:
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
+override_dh_auto_test:
+ # disabled: incomplete upstream testsuite
diff --git a/debian/watch b/debian/watch
index 0137853..cce2c21 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=4
opts="pgpmode=auto, uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
-https://download.savannah.gnu.org/releases/lzip/lzd/lzd-(.+)\.tar\.lz
+https://download.savannah.gnu.org/releases/lzip/lzd/@PACKAGE@@ANY_VERSION@\.tar\.lz