summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-10-09 07:55:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-10-09 07:55:45 +0000
commit995f9168f12f942f04c737261f059b4b4539fa9a (patch)
tree51ab8dbcc85cb994cc47a5a6674db5961c8c87b9
parentAdding upstream version 1.11. (diff)
downloadpdlzip-995f9168f12f942f04c737261f059b4b4539fa9a.tar.xz
pdlzip-995f9168f12f942f04c737261f059b4b4539fa9a.zip
Adding debian version 1.11-2.debian/1.11-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog422
-rw-r--r--debian/control30
-rw-r--r--debian/copyright29
-rw-r--r--debian/patches/debian/0001-build.patch19
-rw-r--r--debian/patches/series1
-rw-r--r--debian/pdlzip.docs2
-rwxr-xr-xdebian/pdlzip.postinst35
-rwxr-xr-xdebian/pdlzip.prerm29
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/signing-key.asc26
-rw-r--r--debian/watch3
12 files changed, 617 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b5fcf86
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,422 @@
+pdlzip (1.11-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:54:29 +0200
+
+pdlzip (1.11-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.11.
+ * Updating years in copyright file for 2021.
+ * Updating to standards version 4.5.1.
+ * Refreshing build.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 25 Jan 2021 15:08:41 +0100
+
+pdlzip (1.10-9) sid; urgency=medium
+
+ * Uploading to sid.
+ * Including buildtools.mk unconditionally in rules.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 19 Aug 2020 06:56:00 +0200
+
+pdlzip (1.10-8) sid; urgency=medium
+
+ * Uploading to sid.
+ * Using execute_after targets in rules to be explicit what we're doing.
+ * Updating copright file to match upstream changes.
+ * Updating to debhelper version 13.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 19 Apr 2020 13:57:54 +0200
+
+pdlzip (1.10-7) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating years in copyright file for 2020.
+ * Updating to standards version 4.5.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 25 Jan 2020 19:35:24 +0100
+
+pdlzip (1.10-6) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.4.1.
+ * Using codenames as upload targets in changelog.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 18 Nov 2019 14:35:36 +0100
+
+pdlzip (1.10-5) sid; urgency=medium
+
+ * Uploading to sid.
+ * Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS
+ when cross-compiling (Closes: #932929).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 10 Aug 2019 14:13:27 +0200
+
+pdlzip (1.10-4) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.4.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 16 Jul 2019 18:34:31 +0200
+
+pdlzip (1.10-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Improving watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 03 Feb 2019 20:14:13 +0100
+
+pdlzip (1.10-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Using build-depends to specify debhelper compatibility.
+ * Repeating Section for binary packages in control.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 20 Jan 2019 19:37:53 +0100
+
+pdlzip (1.10-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.10.
+ * Updating year for upstream in copyright for 2019.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 04 Jan 2019 11:58:30 +0100
+
+pdlzip (1.9-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Adding lzip-compressor and lzip-decompressor alternatives.
+ * Updating to standards version 4.3.0.
+ * Updating vcs fields.
+ * Updating year in copyright for 2019.
+ * Updating to debhelper 12.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 28 Dec 2018 10:46:53 +0100
+
+pdlzip (1.9-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating years in copyright file.
+ * Updating to standards version 4.2.1.
+ * Harmonizing changelog.
+ * Harmonizing rules file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 26 Aug 2018 12:06:01 +0200
+
+pdlzip (1.9-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.9.
+ * Using https in watch file.
+ * Updating to standards version 4.1.3.
+ * Updating to debhelper compat 11.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 13 Feb 2018 08:05:19 +0100
+
+pdlzip (1.8-4) sid; urgency=medium
+
+ * Uploading to sid.
+ * Removing explicit debug package in favour of automated debug packages.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 05 Nov 2017 08:48:16 +0100
+
+pdlzip (1.8-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.1.1.
+ * Deprecating priority extra as of policy 4.0.1.
+ * Adding Rules-Requires-Root field.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 05 Nov 2017 07:44:48 +0100
+
+pdlzip (1.8-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating to standards version 4.0.0.
+ * Using https for copyright format url.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 18 Jun 2017 21:42:58 +0200
+
+pdlzip (1.8-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.8.
+ * Updating vcs fields.
+ * Removing superfluous --parallel when invoking debhelper as it's the
+ default with compat level 10, thanks to Gianfranco Costamagna
+ <locutusofborg@debian.org>.
+ * Refreshing build.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 07 May 2017 18:00:01 +0200
+
+pdlzip (1.7-5) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating year in copyright information for 2017.
+ * Moving debian specific patches to subdirectory within patches
+ directory.
+ * Using consistent email address for all downstream work.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 26 Jan 2017 17:39:02 +0100
+
+pdlzip (1.7-4) sid; urgency=low
+
+ * Uploading to sid.
+ * Adjusting previous changelog entry.
+ * Making maintainer scripts executable in source tree.
+ * Updating upstream signing key.
+ * Sorting alternatives handling in rules.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 10 Dec 2016 10:50:45 +0100
+
+pdlzip (1.7-3) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating debhelper build-depends for version 10.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 15 Oct 2016 08:02:14 +0200
+
+pdlzip (1.7-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Complementing previous changelog entry.
+ * Updating years in copyright file.
+ * Switching to debhelper compat 10.
+ * Adding watch file.
+ * Adding gpg verification to watch file.
+ * Updating vcs fields.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 03 Jul 2016 17:41:43 +0200
+
+pdlzip (1.7-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.7.
+ * Refreshing build.patch.
+ * Wrap and sorting control file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 25 May 2016 11:53:10 +0200
+
+pdlzip (1.6-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating vcs fields.
+ * Removing manual settings for xz compression.
+ * Updating years in copyright file.
+ * Updating to standards version 3.9.8.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 12 May 2016 17:17:41 +0200
+
+pdlzip (1.6-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Dropping pre-jessie breaks.
+ * Merging upstream version 1.6.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 04 Jun 2015 20:18:43 +0200
+
+pdlzip (1.6~rc1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.6~rc1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 21 Apr 2015 18:55:12 +0200
+
+pdlzip (1.5-3) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating to standards version 3.9.6.
+ * Harmonizing update-alternatives handling across all lzip-alternative
+ providing packages.
+ * Harmonizing update-alternatives priority across all lzip-alternative
+ providing packages.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 18 Sep 2014 00:15:44 +0200
+
+pdlzip (1.5-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating to standards version 3.9.5.
+ * Updating year in copyright file.
+ * Building with dh --parallel.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 31 Mar 2014 21:20:30 +0200
+
+pdlzip (1.5-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.5.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 20 Sep 2013 14:23:17 +0200
+
+pdlzip (1.5~rc1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.5~rc1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 29 Jul 2013 20:13:28 +0200
+
+pdlzip (1.4-3) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Adding vcs fields.
+ * Wrapping control fields.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 17 Jul 2013 13:56:44 +0200
+
+pdlzip (1.4-2) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Adding lzip-alternative provides.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 04 Jun 2013 17:07:00 +0200
+
+pdlzip (1.4-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.4.
+ * Rediffing build.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 28 May 2013 17:12:39 +0200
+
+pdlzip (1.4~rc2-2) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Correcting spelling typo in comment in rules.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 16 May 2013 10:26:15 +0200
+
+pdlzip (1.4~rc2-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.4~rc2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 17 Apr 2013 12:50:11 +0200
+
+pdlzip (1.4~rc1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.4~rc1.
+ * Updating years in copyright file.
+ * Dropping dpkg-source compression levels.
+ * Prefixing patches with ffour digits.
+ * Trimming diff headers in patches.
+ * Refreshing build.patch.
+ * Adding alternative handling for /usr/bin/lzip.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 26 Mar 2013 10:16:27 +0100
+
+pdlzip (1.3-4) sid; urgency=low
+
+ * Uploading to sid.
+ * Removing all references to my old email address.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 10 Mar 2013 21:20:29 +0100
+
+pdlzip (1.3-3) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating to standards version 3.9.4.
+ * Adding dpkg-source local options.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 16 Dec 2012 10:44:17 +0100
+
+pdlzip (1.3-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Adding patch to avoid overwriting build-environment.
+ * Switching to xz compression.
+ * Updating copyright file to format version 1.0.
+ * Updating to standards version 3.9.3.
+ * Updating to debhelper version 9.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 30 Jun 2012 05:21:45 +0200
+
+pdlzip (1.3-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Using compression level 9 also for binary packages.
+ * Merging upstream version 1.3.
+ * Updating years in copyright file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 08 Jan 2012 11:13:56 +0100
+
+pdlzip (1.2-4) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating standards version to 3.9.2.
+ * Compacting copyright file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 10 Jul 2011 17:10:49 +0200
+
+pdlzip (1.2-3) sid; urgency=low
+
+ * Uploading to sid.
+ * Improving previous changelog entries.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 22 Jan 2011 21:35:23 +0100
+
+pdlzip (1.2-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating maintainer and uploaders fields.
+ * Removing vcs fields.
+ * Removing references to my old email address.
+ * Updating copyright file.
+ * Simplyfing debhelper auto_install override in rules.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 13 Jan 2011 23:05:11 +0100
+
+pdlzip (1.2-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Updating year in copyright file.
+ * Merging upstream version 1.2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 07 Jan 2011 19:03:07 +0100
+
+pdlzip (1.1-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Switching to source format 3.0 (quilt).
+ * Updating to debhelper version 8.
+ * Removing pre-squeeze depends to dpkg.
+ * Updating copyright file.
+ * Adding dpkg source options file.
+ * Removing README.source and headers in copyright file.
+ * Correcting name of debhelper docs file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 27 Dec 2010 06:44:51 +0100
+
+pdlzip (1.1-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating standards version to 3.9.0.
+ * Merging upstream version 1.1.
+ * Updating standards version to 3.9.1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 01 Sep 2010 15:01:09 +0200
+
+pdlzip (1.0-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 24 Apr 2010 12:11:46 +0200
+
+pdlzip (1.0~rc3-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.0~rc3.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 27 Mar 2010 10:30:07 +0100
+
+pdlzip (1.0~rc2-1) sid; urgency=low
+
+ * Initial upload to sid.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 14 Mar 2010 12:47:23 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ab7c542
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: pdlzip
+Section: utils
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 13),
+Rules-Requires-Root: no
+Standards-Version: 4.6.0
+Homepage: http://www.nongnu.org/lzip/pdlzip.html
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/pdlzip
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/pdlzip
+
+Package: pdlzip
+Section: utils
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Provides:
+ lzip-alternative,
+ lzip-compressor,
+ lzip-decompressor,
+Description: data compressor based on the LZMA algorithm (simple version)
+ 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.
+ .
+ Lzip decompresses almost as fast as gzip and compresses better than bzip2,
+ which makes it well suited for software distribution and data archiving.
+ .
+ This package contains a simpler implementation, put into the public domain.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a3bd55d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pdlzip
+Upstream-Contact: lzip-bug@nongnu.org
+Source: http://download.savannah.gnu.org/releases/lzip/
+
+Files: *
+Copyright: 2010-2021 Antonio Diaz Diaz <ant_diaz@teleline.es>
+ Igor Pavlov
+License: PD
+
+Files: debian/*
+Copyright: 2009-2021 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: BSD-2
+
+License: BSD-2
+ This program is free software. Redistribution and use in source and
+ binary forms, with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch
new file mode 100644
index 0000000..b3a4393
--- /dev/null
+++ b/debian/patches/debian/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp pdlzip.orig/configure pdlzip/configure
+--- pdlzip.orig/configure
++++ pdlzip/configure
+@@ -21,9 +21,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CC=gcc
+-CPPFLAGS=
+-CFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CFLAGS='-Wall -W -O2'
++#LDFLAGS=
+
+ # checking whether we are using GNU C.
+ /bin/sh -c "${CC} --version" > /dev/null 2>&1 || { CC=cc ; CFLAGS=-O2 ; }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..655df63
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian/0001-build.patch
diff --git a/debian/pdlzip.docs b/debian/pdlzip.docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/pdlzip.docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/pdlzip.postinst b/debian/pdlzip.postinst
new file mode 100755
index 0000000..bd2d424
--- /dev/null
+++ b/debian/pdlzip.postinst
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ configure)
+ # lzip-alternative
+ update-alternatives --quiet \
+ --install /usr/bin/lzip lzip /usr/bin/lzip.pdlzip 2000 \
+ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.pdlzip.1.gz
+
+ # lzip-compressor
+ update-alternatives --quiet \
+ --install /usr/bin/lzip-compressor lzip-compressor /usr/bin/lzip.pdlzip 2000 \
+ --slave /usr/share/man/man1/lzip-compressor.1.gz lzip-compressor.1.gz /usr/share/man/man1/lzip.pdlzip.1.gz
+
+ # lzip-decompressor
+ update-alternatives --quiet \
+ --install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.pdlzip 2000 \
+ --slave /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.pdlzip.1.gz
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/pdlzip.prerm b/debian/pdlzip.prerm
new file mode 100755
index 0000000..57beec7
--- /dev/null
+++ b/debian/pdlzip.prerm
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove|upgrade|deconfigure)
+ # lzip-alternative
+ update-alternatives --quiet --remove lzip /usr/bin/lzip.pdlzip
+
+ # lzip-compressor
+ update-alternatives --quiet --remove lzip-compressor /usr/bin/lzip.pdlzip
+
+ # lzip-decompressor
+ update-alternatives --quiet --remove lzip-decompressor /usr/bin/lzip.pdlzip
+ ;;
+
+ failed-upgrade)
+
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..25297c0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/buildtools.mk
+
+%:
+ dh ${@}
+
+override_dh_auto_configure:
+ dh_auto_configure -- 'CC=$(CC)'
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/pdlzip
+
+execute_after_dh_auto_install:
+ # update-alternatives
+ mv debian/pdlzip/usr/bin/pdlzip debian/pdlzip/usr/bin/lzip.pdlzip
+ ln -s /usr/bin/lzip.pdlzip debian/pdlzip/usr/bin/pdlzip
+
+ mv debian/pdlzip/usr/share/man/man1/pdlzip.1 debian/pdlzip/usr/share/man/man1/lzip.pdlzip.1
+ ln -s /usr/share/man/man1/lzip.pdlzip.1.gz debian/pdlzip/usr/share/man/man1/pdlzip.1.gz
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..84a6d1d
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,26 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQGiBD9odIARBADkRI3Qc2qWpoxOFBlD8L5JaQlIEAaPI/19Y/z4ORHESY6s2Tfm
+EtC51vlu8V/hXX8Sh4OZC3CrBIwhvSyIVIXbas+GR09B+8GRsfekRUS7jiwz/FsZ
+Rnb0AjV1zNjJZazjyOUQjBou3Mo1MwiQXzeMQzqLC1xW+ABkAbQnAnZZIwCgvquq
+rmQ1LKpBpYhb876T8x9TZIcD/2KTMvrvJVj+tKiRp6Wfiib8B4unllXAQ04hlul2
+FP5oVIETdhQjsxj7/8F8yOONGgnL5Vn1+6sldd0LQ9il4MiZ36VFOec2xAeyYoB1
+D3hup/zUTjzljj+JyKyGXahrwm0941QhYr+Kw/99dvE0pB8CsaQ5/e5R70uv7YnD
+ZT9xA/wO4acdvGCLDw5ZPVKZW1rcgGL1Pr2nWCc92hv4SxdSWu3FU8aeGOVwJa2q
+I/CwiEk2oEXI/WwTEf9mde3qlsc1SkRKgR0DDj+7Az5MUcilCUDv2BG2mLa+dEus
+zwqLDPmjo2AWP1L2UIx7c46U9suvcGBwsI7NSnD9PLrvrUVGYrQjQW50b25pbyBE
+aWF6IDxhbnRfZGlhekB0ZWxlbGluZS5lcz6IYQQTEQIAGQUCP2h0gAQLBwMCAxUC
+AwMWAgECHgECF4AAEgkQj+mVAxMtd0IHZUdQRwABASgPAJ9FP48ts9GETKX1Kc6m
+P6trpaMZdACfTNqHKHiG5qaFqp1dT93+iM4KMgu0I0FudG9uaW8gRGlheiBEaWF6
+IDxhbnRvbmlvQGdudS5vcmc+iF4EExECAB4FAlGQyJkCGwMGCwkIBwMCAxUCAwMW
+AgECHgECF4AACgkQj+mVAxMtd0IaIQCeM/BA/56UVtCPMlODGCuUiqQDluoAn2Sp
+K4RybxL/e5aCNrnJg/kITt00uQENBD9odJIQBAC7Nr/BOCBOovFtIAnFufclBiUZ
+1jC8kvNTC0i8vparh0WroyRCNfzYujc4H6zLbe/9hPhexSTR8GD0q3m2MxGnADpb
+whHFrsMK+Tpk/dva7twlPWmwt4ZOl+wsmXRG9d6iDXdgVfThuXY009lY6TRUHlPW
+CCe4zkjsRV0Sq9qy0wADBQQAh3FFwHKq2M9qfuykxlhMpDt2CbeiwnIeMpOHwXoV
+cG8ahfxlaT1J9RnKIkzMJ9KSueyqWvjGrDfWAmoFbXgQ/rv82qmEMwKwmg75kzkt
+elVlFMicqX1N1KT1Ttce0UAxuxd1Vi/SfMzJLbc0s4fHDdfnVZH7fgq+SM9F0DHc
+qnuITgQYEQIABgUCP2h0kgASCRCP6ZUDEy13QgdlR1BHAAEBaHYAn1bocEx8GNyk
+RG/RBe2octjFEFlNAKCMIurPIOzYo20sBAq7kIR9x8qvwQ==
+=pg7M
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3eed011
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="pgpmode=auto" \
+https://download.savannah.gnu.org/releases/lzip/pdlzip/@PACKAGE@@ANY_VERSION@\.tar\.lz