summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog485
-rw-r--r--debian/control27
-rw-r--r--debian/copyright60
-rw-r--r--debian/lunzip.alternatives15
-rw-r--r--debian/lunzip.docs2
-rw-r--r--debian/patches/debian/0001-build.patch19
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/signing-key.asc26
-rw-r--r--debian/watch3
11 files changed, 659 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..797b60f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,485 @@
+lunzip (1.13-5) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating http links to https in copyright.
+ * Updating to standards version 4.6.2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Jan 2023 17:36:54 +0100
+
+lunzip (1.13-4) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.1.
+ * Correcting version mangling in watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 14 Jul 2022 19:38:57 +0200
+
+lunzip (1.13-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Correcting typo in watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 05 Apr 2022 04:01:18 +0200
+
+lunzip (1.13-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Handling pre/rc versions in watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 11 Mar 2022 07:08:09 +0100
+
+lunzip (1.13-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.13.
+ * Updating copyright for 2022.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 21 Feb 2022 17:10:26 +0100
+
+lunzip (1.12-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Moving to dh_installalternatives.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 29 Dec 2021 03:32:25 +0100
+
+lunzip (1.12-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:42:29 +0200
+
+lunzip (1.12-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.12.
+ * 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:36:52 +0100
+
+lunzip (1.11-10) sid; urgency=medium
+
+ * Uploading to sid.
+ * Including buildtools.mk unconditionally in rules.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 19 Aug 2020 06:59:18 +0200
+
+lunzip (1.11-9) sid; urgency=medium
+
+ * Uploading to sid.
+ * Using execute_after targets in rules to be explicit what we're doing.
+ * Updating to debhelper version 13.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 19 Apr 2020 13:50:33 +0200
+
+lunzip (1.11-8) 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:29:01 +0100
+
+lunzip (1.11-7) 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:29:06 +0100
+
+lunzip (1.11-6) sid; urgency=medium
+
+ * Uploading to sid.
+ * Readding dh_auto_configure override, it is still needed.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 10 Aug 2019 14:01:58 +0200
+
+lunzip (1.11-5) sid; urgency=medium
+
+ * Uploading to sid.
+ * Removing dh_auto_configure override, not needed anymore.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 10 Aug 2019 13:58:28 +0200
+
+lunzip (1.11-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:22:12 +0200
+
+lunzip (1.11-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Improving watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 03 Feb 2019 20:13:40 +0100
+
+lunzip (1.11-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:26 +0100
+
+lunzip (1.11-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.11.
+ * Updating year for upstream in copyright for 2019.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 04 Jan 2019 11:52:51 +0100
+
+lunzip (1.10-4) sid; urgency=medium
+
+ * Uploading to sid.
+ * Adding 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> Thu, 27 Dec 2018 19:42:44 +0100
+
+lunzip (1.10-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.2.1.
+ * Harmonizing changelog.
+ * Harmonizing rules file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 26 Aug 2018 12:04:21 +0200
+
+lunzip (1.10-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating years in copyright file.
+ * Updating to standards version 4.1.5.
+ * Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS
+ when cross-compiling (Closes: #902704).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 07 Jul 2018 10:04:20 +0200
+
+lunzip (1.10-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.10.
+ * 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 07:59:29 +0100
+
+lunzip (1.9-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:22:00 +0100
+
+lunzip (1.9-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:32:29 +0100
+
+lunzip (1.9-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:35:15 +0200
+
+lunzip (1.9-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.9.
+ * 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 17:57:21 +0200
+
+lunzip (1.8-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:31:31 +0100
+
+lunzip (1.8-4) sid; urgency=low
+
+ * Uploading to sid.
+ * 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:39:19 +0100
+
+lunzip (1.8-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 07:34:04 +0200
+
+lunzip (1.8-2) sid; urgency=low
+
+ * Uploading to sid.
+ * 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:28:12 +0200
+
+lunzip (1.8-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.8.
+ * Updating vcs fields.
+ * Removing manual settings for xz compression.
+ * Updating years in copyright file.
+ * Updating to standards version 3.9.8.
+ * Wrap and sorting control file.
+ * Refreshing build.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 25 May 2016 18:02:51 +0200
+
+lunzip (1.8~pre1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.8~pre1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 14 Jul 2015 08:51:51 +0200
+
+lunzip (1.7-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Dropping pre-jessie breaks.
+ * Merging upstream version 1.7.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 04 Jun 2015 20:22:02 +0200
+
+lunzip (1.7~pre1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.7~pre1.
+ * Updating years in copyright file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Mar 2015 21:31:33 +0200
+
+lunzip (1.6-2) 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:14:26 +0200
+
+lunzip (1.6-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.6.
+ * Updating copyright file to reflect upstreams change from GPL-3+ to
+ GPL-2+.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 16 Jul 2014 22:03:45 +0200
+
+lunzip (1.5-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.5.
+ * Updating years in copyright file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 26 Apr 2014 07:13:55 +0200
+
+lunzip (1.5~rc2-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating year in copyright file.
+ * Building with dh --parallel.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 31 Mar 2014 21:04:37 +0200
+
+lunzip (1.5~rc2-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.5~rc2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 26 Jan 2014 19:13:46 +0100
+
+lunzip (1.5~rc1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Updating to standards version 3.9.5.
+ * Merging upstream version 1.5~rc1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 21 Nov 2013 07:20:31 +0100
+
+lunzip (1.4-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Updating vcs fields.
+ * Mergign upstream version 1.4.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 01 Oct 2013 20:44:52 +0200
+
+lunzip (1.4~rc1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.4~rc1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 31 Jul 2013 16:23:11 +0200
+
+lunzip (1.3-2) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Adding vcs fields.
+ * Wrapping control fields.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 17 Jul 2013 13:24:06 +0200
+
+lunzip (1.3-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.3.
+ * Rediffing build.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 20 Jun 2013 07:42:05 +0200
+
+lunzip (1.3~rc1-2) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Adding lzip-alternative provides.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 04 Jun 2013 16:52:02 +0200
+
+lunzip (1.3~rc1-1) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Merging upstream version 1.3~rc1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 23 May 2013 18:34:55 +0200
+
+lunzip (1.2-4) 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:10:21 +0200
+
+lunzip (1.2-3) experimental; urgency=low
+
+ * Uploading to experimental.
+ * Sorting targets in rules.
+ * Updating package descriptions.
+ * Adding alternative handling for /usr/bin/lzip.
+ * Removing unused info files removal in rules.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 26 Mar 2013 10:41:23 +0100
+
+lunzip (1.2-2) 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 20:57:20 +0100
+
+lunzip (1.2-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Merging upstream version 1.2.
+ * Updating years in copyright file.
+ * Dropping dpkg-source compression levels.
+ * Rediffing build.patch.
+ * Prefixing patches with four-digit numbers.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 19 Feb 2013 17:20:03 +0100
+
+lunzip (1.1-3) sid; urgency=low
+
+ * Uploading to sid.
+ * Adding dpkg-source local options.
+ * Updating to standards version 3.9.4.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 16 Dec 2012 10:40:08 +0100
+
+lunzip (1.1-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Using license exception description in license field in copyright
+ file.
+ * Switching to xz compression.
+ * Adding patch to avoid overwriting build-environment.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 29 Jun 2012 23:09:27 +0200
+
+lunzip (1.1-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Using compression level 9 also for binary packages.
+ * Merging upstream version 1.1.
+ * Updating to debhelper version 9.
+ * Updating to standards version 3.9.3.
+ * Updating years in copyright.
+ * Updating copyright file machine-readable format version 1.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 16 Apr 2012 08:19:23 +0000
+
+lunzip (1.0-3) 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:09:34 +0200
+
+lunzip (1.0-2) sid; urgency=low
+
+ * Uploading to sid.
+ * Making reference to licenses in copyright distribution neutral.
+ * Improving previous changelog entries.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 22 Jan 2011 21:31:57 +0100
+
+lunzip (1.0-1) sid; urgency=low
+
+ * Uploading to sid.
+ * Updating maintainer and uploaders fields.
+ * Removing vcs fields.
+ * Removing references to my old email address.
+ * Makeing packaging distribution neutral.
+ * Simplyfing debhelper auto_install override in rules.
+ * Removing unneeded build-depends on autotools-dev.
+ * Updating year in copyright file.
+ * Adding enhances field.
+ * Merging upstream version 1.0.
+ * Updating year in copyright file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 18 Jan 2011 18:54:22 +0100
+
+lunzip (1.0~rc1-1) sid; urgency=low
+
+ * Initial upload to sid.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 19 Dec 2010 19:14:54 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a5ba513
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: lunzip
+Section: utils
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper (>= 13.1~),
+ debhelper-compat (= 13),
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Homepage: http://www.nongnu.org/lzip/lunzip.html
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/lunzip
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/lunzip
+
+Package: lunzip
+Section: utils
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Provides:
+ lzip-alternative,
+ lzip-decompressor,
+Description: data compressor based on the LZMA algorithm (decompressor)
+ 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.
+ .
+ This package contains the decompressor.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4f4f00d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lunzip
+Upstream-Contact: lzip-bug@nongnu.org
+Source: https://download.savannah.gnu.org/releases/lzip/
+
+Files: *
+Copyright: 2010-2022 Antonio Diaz Diaz <ant_diaz@teleline.es>
+License: GPL-2+
+
+Files: carg_parser.*
+Copyright: 2010-2022 Antonio Diaz Diaz <ant_diaz@teleline.es>
+License: GPL-2+ with Library exception
+
+Files: debian/*
+Copyright: 2010-2022 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ 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. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+
+License: GPL-2+ with Library exception
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ 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. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+ .
+ As a special exception, you may use this file as part of a free
+ software library without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to
+ produce an executable, this file does not by itself cause the
+ resulting executable to be covered by the GNU General Public
+ License. This exception does not however invalidate any other
+ reasons why the executable file might be covered by the GNU General
+ Public License.
diff --git a/debian/lunzip.alternatives b/debian/lunzip.alternatives
new file mode 100644
index 0000000..55d6245
--- /dev/null
+++ b/debian/lunzip.alternatives
@@ -0,0 +1,15 @@
+# lzip-alternative
+Name: lzip
+Link: /usr/bin/lzip
+Alternative: /usr/bin/lzip.lunzip
+Dependents:
+ /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.lunzip.1.gz
+Priority: -1000
+
+# lzip-decompressor
+Name: lzip-decompressor
+Link: /usr/bin/lzip-decompressor
+Alternative: /usr/bin/lzip.lunzip
+Dependents:
+ /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.lunzip.1.gz
+Priority: -1000
diff --git a/debian/lunzip.docs b/debian/lunzip.docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/lunzip.docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch
new file mode 100644
index 0000000..a12079f
--- /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 lunzip.orig/configure lunzip/configure
+--- lunzip.orig/configure
++++ lunzip/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/rules b/debian/rules
new file mode 100755
index 0000000..14efe40
--- /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) -g'
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/lunzip
+
+execute_after_dh_auto_install:
+ # update-alternatives
+ mv debian/lunzip/usr/bin/lunzip debian/lunzip/usr/bin/lzip.lunzip
+ ln -s /usr/bin/lzip.lunzip debian/lunzip/usr/bin/lunzip
+
+ mv debian/lunzip/usr/share/man/man1/lunzip.1 debian/lunzip/usr/share/man/man1/lzip.lunzip.1
+ ln -s /usr/share/man/man1/lzip.lunzip.1.gz debian/lunzip/usr/share/man/man1/lunzip.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..2b89a62
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="pgpmode=auto, uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
+https://download.savannah.gnu.org/releases/lzip/lunzip/@PACKAGE@@ANY_VERSION@\.tar\.lz