From 30fb40c33398959817b770d5bb1b02e819957885 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 14:53:35 +0200 Subject: Adding debian version 1.24.1-1. Signed-off-by: Daniel Baumann --- debian/changelog | 692 +++++++++++++++++++++++++++++++++ debian/control | 28 ++ debian/copyright | 60 +++ debian/lzip.README.Debian | 112 ++++++ debian/lzip.alternatives | 26 ++ debian/lzip.docs | 2 + debian/patches/debian/0001-build.patch | 21 + debian/patches/series | 1 + debian/rules | 27 ++ debian/source/format | 1 + debian/upstream/signing-key.asc | 26 ++ debian/watch | 3 + 12 files changed, 999 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/lzip.README.Debian create mode 100644 debian/lzip.alternatives create mode 100644 debian/lzip.docs create mode 100644 debian/patches/debian/0001-build.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/signing-key.asc create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2248afd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,692 @@ +lzip (1.24.1-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.24.1. + + -- Daniel Baumann Sun, 03 Mar 2024 15:05:17 +0100 + +lzip (1.24-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.24. + * Updating years in copyright for 2024. + + -- Daniel Baumann Wed, 31 Jan 2024 06:31:46 +0100 + +lzip (1.24~rc2-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.24~rc2. + * Refreshing build.patch. + * Disabling testsuite for now as the current upstream release misses + some files for it to run at all. + + -- Daniel Baumann Tue, 23 Jan 2024 06:28:11 +0100 + +lzip (1.23-6) sid; urgency=medium + + * Uploading to sid. + * Minimizing debhelper build-depends for trixie. + + -- Daniel Baumann Sat, 24 Jun 2023 16:07:59 +0200 + +lzip (1.23-5) sid; urgency=medium + + * Uploading to sid. + * Updating http links to https in copyright. + * Updating to standards version 4.6.2. + + -- Daniel Baumann Mon, 30 Jan 2023 17:38:43 +0100 + +lzip (1.23-4) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.6.1. + * Correcting version mangling in watch file. + + -- Daniel Baumann Thu, 14 Jul 2022 19:39:04 +0200 + +lzip (1.23-3) sid; urgency=medium + + * Uploading to sid. + * Correcting typo in watch file. + + -- Daniel Baumann Tue, 05 Apr 2022 04:01:24 +0200 + +lzip (1.23-2) sid; urgency=medium + + * Uploading to sid. + * Handling pre/rc versions in watch file. + + -- Daniel Baumann Fri, 11 Mar 2022 07:09:40 +0100 + +lzip (1.23-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.23. + * Updating copyright for 2022. + + -- Daniel Baumann Mon, 21 Feb 2022 13:12:12 +0100 + +lzip (1.22-5) sid; urgency=medium + + * Uploading to sid. + * Moving to dh_installalternatives. + * Updating README.Debian to reflect removal of 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 Wed, 29 Dec 2021 03:37:18 +0100 + +lzip (1.22-4) sid; urgency=medium + + * Uploading to sid. + * Updating watch file. + * Updating to standards version 4.6.0. + + -- Daniel Baumann Sat, 09 Oct 2021 09:47:32 +0200 + +lzip (1.22-3) sid; urgency=medium + + * Uploading to sid. + * Passing CXXFLAGS to actually make hardening flags being used, thanks to + Christian Göttsche (Closes: #981723). + + -- Daniel Baumann Mon, 08 Feb 2021 19:18:57 +0100 + +lzip (1.22-2) sid; urgency=medium + + * Uploading to sid. + * Building with hardening options (Closes: #981267). + + -- Daniel Baumann Sat, 30 Jan 2021 07:51:19 +0100 + +lzip (1.22-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.22. + * Updating to standards version 4.5.1. + * Updating years in copyright file for 2021. + * Refreshing build.patch. + + -- Daniel Baumann Mon, 25 Jan 2021 14:47:11 +0100 + +lzip (1.21-8) sid; urgency=medium + + * Uploading to sid. + * Letting dpkg's buildtools.mk initialize CXX, thanks to Helmut Grohne + . + + -- Daniel Baumann Wed, 19 Aug 2020 06:58:09 +0200 + +lzip (1.21-7) 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 Sun, 19 Apr 2020 13:53:13 +0200 + +lzip (1.21-6) sid; urgency=medium + + * Uploading to sid. + * Updating years in copyright file for 2020. + * Updating to standards version 4.5.0. + + -- Daniel Baumann Sat, 25 Jan 2020 19:32:07 +0100 + +lzip (1.21-5) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.4.1. + * Using codenames as upload targets in changelog. + + -- Daniel Baumann Mon, 18 Nov 2019 14:31:14 +0100 + +lzip (1.21-4) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.4.0. + + -- Daniel Baumann Tue, 16 Jul 2019 18:26:29 +0200 + +lzip (1.21-3) sid; urgency=medium + + * Uploading to sid. + * Improving watch file. + + -- Daniel Baumann Sun, 03 Feb 2019 20:13:56 +0100 + +lzip (1.21-2) sid; urgency=medium + + * Uploading to sid. + * Using build-depends to specify debhelper compatibility. + * Repeating Section for binary packages in control. + + -- Daniel Baumann Sun, 20 Jan 2019 19:37:39 +0100 + +lzip (1.21-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.21. + * Updating year for upstream in copyright for 2019. + + -- Daniel Baumann Sun, 13 Jan 2019 11:15:42 +0100 + +lzip (1.20-4) 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 Thu, 27 Dec 2018 19:55:16 +0100 + +lzip (1.20-3) sid; urgency=medium + + * Uploading to sid. + * Updating wording in README.Debian, thanks to Antonio Diaz Diaz + . + + -- Daniel Baumann Thu, 30 Aug 2018 14:46:39 +0200 + +lzip (1.20-2) sid; urgency=medium + + * Uploading to sid. + * Updating years in copyright file. + * Updating to standards version 4.2.1. + * Harmonizing changelog. + * Harmonizing rules file. + * Adding README.Debian documenting lzip-alternatives. + + -- Daniel Baumann Sun, 26 Aug 2018 12:05:03 +0200 + +lzip (1.20-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.20. + * Using https in watch file. + * Updating to standards version 4.1.3. + * Updating to debhelper compat 11. + + -- Daniel Baumann Fri, 16 Feb 2018 23:54:37 +0100 + +lzip (1.19-5) sid; urgency=medium + + * Uploading to sid. + * Removing explicit debug package in favour of automated debug packages. + * Passing -g to gcc to avoid empty debug files. + + -- Daniel Baumann Sun, 05 Nov 2017 08:35:07 +0100 + +lzip (1.19-4) 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. + * Adding menitioning of upload target to last changelog entry. + + -- Daniel Baumann Sun, 05 Nov 2017 07:36:40 +0100 + +lzip (1.19-3) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne to fix FTBFS + when cross-compiling (Closes: #870516). + + -- Daniel Baumann Wed, 02 Aug 2017 23:32:18 +0200 + +lzip (1.19-2) sid; urgency=low + + * Uploading to sid. + * Updating to standards version 4.0.0. + * Using https for copyright format url. + + -- Daniel Baumann Sun, 18 Jun 2017 21:38:14 +0200 + +lzip (1.19-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.19. + * Updating vcs fields. + * Removing superfluous --parallel when invoking debhelper as it's the + default with compat level 10, thanks to Gianfranco Costamagna + . + * Refreshing build.patch. + + -- Daniel Baumann Sun, 07 May 2017 17:58:40 +0200 + +lzip (1.18-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 Thu, 26 Jan 2017 17:34:29 +0100 + +lzip (1.18-4) sid; urgency=low + + * Uploading to sid. + * Making maintainer scripts executable in source tree. + * Updating upstream signing key. + + -- Daniel Baumann Sat, 10 Dec 2016 10:42:32 +0100 + +lzip (1.18-3) sid; urgency=low + + * Uploading to sid. + * Updating debhelper build-depends for version 10. + + -- Daniel Baumann Sat, 15 Oct 2016 07:58:39 +0200 + +lzip (1.18-2) sid; urgency=low + + * Uploading to sid. + * Adding gpg verification to watch file. + * Updating vcs fields. + + -- Daniel Baumann Sun, 03 Jul 2016 17:36:35 +0200 + +lzip (1.18-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.18. + * Updating vcs fields. + * Removing manual settings for xz compression. + * Updating years in copyright file. + * Harmonizing rules file. + * Updating to standards version 3.9.8. + * Wrap and sorting control file. + * Updating years in copyright file. + * Switching to debhelper compat 10. + * Adding watch file. + * Refreshing build.patch. + + -- Daniel Baumann Fri, 03 Jun 2016 17:52:30 +0200 + +lzip (1.18~pre1-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.18~pre1. + + -- Daniel Baumann Fri, 14 Aug 2015 07:57:27 +0200 + +lzip (1.17-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.17. + + -- Daniel Baumann Tue, 28 Jul 2015 10:02:47 +0200 + +lzip (1.17~rc2-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.17~rc2. + + -- Daniel Baumann Mon, 01 Jun 2015 08:01:09 +0200 + +lzip (1.17~rc1-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.17~rc1. + + -- Daniel Baumann Fri, 24 Apr 2015 22:39:02 +0200 + +lzip (1.17~pre1-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.17~pre1. + * Updating years in copyright file. + * Wrapping build-depends. + + -- Daniel Baumann Mon, 06 Apr 2015 22:44:58 +0200 + +lzip (1.16-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 Thu, 18 Sep 2014 00:14:54 +0200 + +lzip (1.16-1) sid; urgency=low + + * Uploading to sid. + * Updating copyright file. + * Merging upstream version 1.16. + + -- Daniel Baumann Tue, 09 Sep 2014 19:40:20 +0200 + +lzip (1.16~rc1-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.16~rc1. + + -- Daniel Baumann Sat, 05 Jul 2014 08:47:19 +0200 + +lzip (1.16~pre2-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.16~pre2. + + -- Daniel Baumann Mon, 26 May 2014 22:33:43 +0200 + +lzip (1.16~pre1-2) sid; urgency=low + + * Uploading to sid. + * Updating year in copyright file. + + -- Daniel Baumann Mon, 31 Mar 2014 21:11:40 +0200 + +lzip (1.16~pre1-1) experimental; urgency=low + + * Uploading to experimental. + * Updating to standards version 3.9.5. + * Merging upstream version 1.16~pre1. + * Updating years in copyright. + + -- Daniel Baumann Sat, 08 Feb 2014 15:44:10 +0100 + +lzip (1.15-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.15. + + -- Daniel Baumann Tue, 01 Oct 2013 20:48:13 +0200 + +lzip (1.15~rc1-1) experimental; urgency=low + + * Uploading to experimental. + * Updating vcs fields. + * Merging upstream version 1.15~rc1. + + -- Daniel Baumann Mon, 12 Aug 2013 13:32:07 +0200 + +lzip (1.15~pre3-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.15~pre3. + * Rediffing build.patch. + + -- Daniel Baumann Wed, 17 Jul 2013 18:46:09 +0200 + +lzip (1.15~pre2-4) experimental; urgency=low + + * Uploading to experimental. + * Adding vcs fields. + * Wrapping control fields. + + -- Daniel Baumann Wed, 17 Jul 2013 13:29:40 +0200 + +lzip (1.15~pre2-3) experimental; urgency=low + + * Uploading to experimental. + * Correcting lzip-dbg package short-description. + + -- Daniel Baumann Tue, 11 Jun 2013 17:51:07 +0200 + +lzip (1.15~pre2-2) experimental; urgency=low + + * Uploading to experimental. + * Adding lzip-alternative provides. + + -- Daniel Baumann Tue, 04 Jun 2013 16:55:20 +0200 + +lzip (1.15~pre2-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.15~pre2. + * Correcting spelling typo in comment in rules. + * Sorting overrides in rules. + + -- Daniel Baumann Thu, 16 May 2013 10:19:29 +0200 + +lzip (1.15~pre1-1) experimental; urgency=low + + * Uploading to experimental. + * Correcting email address in previous changelog entry. + * Merging upstream version 1.15~pre1. + * Updating years in copyright file. + * Dropping dpkg-source compression levels. + * Prefixing patches with four digits. + * Trimming diff headers in patches. + * Adding alternative handling for /usr/bin/lzip. + + -- Daniel Baumann Mon, 25 Mar 2013 15:33:04 +0100 + +lzip (1.14-2) sid; urgency=low + + * Uploading to sid. + * Removing all references to my old email address. + + -- Daniel Baumann Sun, 10 Mar 2013 21:07:00 +0100 + +lzip (1.14-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.14. + * Rediffing build.patch. + + -- Daniel Baumann Sun, 10 Mar 2013 21:02:15 +0100 + +lzip (1.13-4) sid; urgency=low + + * Uploading to sid. + * Updating to standards version 3.9.4. + * Adding dpkg-source local options. + + -- Daniel Baumann Sun, 16 Dec 2012 10:41:23 +0100 + +lzip (1.13-3) sid; urgency=low + + * Uploading to sid. + * Correcting wrong upstream name in copyright file. + + -- Daniel Baumann Sat, 30 Jun 2012 16:11:15 +0200 + +lzip (1.13-2) sid; urgency=low + + * Uploading to sid. + * Correcting email address in changelog of version 1.13~rc2-1. + * Adding patch to avoid overwriting build-environment. + * Switching to xz compression. + * Using license exception description in license field in copyright + file. + + -- Daniel Baumann Sat, 30 Jun 2012 00:58:24 +0200 + +lzip (1.13-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.13. + * Updating to debhelper version 9. + * Updating to standards version 3.9.3. + * Updating copyright file machine-readable format version 1.0. + * Adding plzip to suggests. + + -- Daniel Baumann Tue, 13 Mar 2012 20:26:54 +0100 + +lzip (1.13~rc2-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.13~rc2. + * Updating years in copyright file. + + -- Daniel Baumann Sun, 08 Jan 2012 10:58:17 +0100 + +lzip (1.13~rc1-1) sid; urgency=low + + * Uploading to sid. + * Using compression level 9 also for binary packages. + * Merging upstream version 1.13~rc1. + * Adding lziprecover to suggests. + + -- Daniel Baumann Tue, 15 Nov 2011 00:09:52 +0100 + +lzip (1.12-2) sid; urgency=low + + * Uploading to sid. + * Compacting copyright file. + + -- Daniel Baumann Sun, 10 Jul 2011 17:09:49 +0200 + +lzip (1.12-1) sid; urgency=low + + * Uploading to sid. + * Updating package descriptions. + * Updating standards version to 3.9.2. + * Merging upstream version 1.12. + * Updating year in copyright files. + + -- Daniel Baumann Mon, 16 May 2011 21:49:48 +0200 + +lzip (1.11-5) sid; urgency=low + + * Uploading to sid. + * Making reference to licenses in copyright distribution neutral. + * Improving previous changelog entries. + + -- Daniel Baumann Sat, 22 Jan 2011 21:33:03 +0100 + +lzip (1.11-4) 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. + * Improving comments in rules file. + * Simplyfing debhelper auto_install override in rules. + * Switching to source format 3.0 (quilt). + * Removing local lunzip wrapper in favour of upstreams own lunzip. + * Updating compat for debhelper version 8. + * Updating year in copyright file. + * Removing pre-squeeze dpkg depends. + * Updating copyright file. + * Removing unneeded build-depends on autotools-dev. + + -- Daniel Baumann Thu, 13 Jan 2011 23:00:51 +0100 + +lzip (1.11-3) experimental; urgency=low + + * Uploading to experimental. + * Updating lunzip wrapper script. + + -- Daniel Baumann Wed, 27 Oct 2010 23:12:20 +0200 + +lzip (1.11-2) experimental; urgency=low + + * Uploading to experimental. + * Adding lunzip wrapper. + * Updating to debhelper version 8. + + -- Daniel Baumann Thu, 14 Oct 2010 22:43:25 +0200 + +lzip (1.11-1) experimental; urgency=low + + * Uploading to experimental. + * Updating standards version to 3.9.0. + * Merging upstream version 1.11. + * Updating standards version to 3.9.1. + + -- Daniel Baumann Sat, 25 Sep 2010 17:44:52 +0200 + +lzip (1.10-1) sid; urgency=low + + * Uploading to sid. + * Updating to standards 3.8.4. + * Merging upstream version 1.10. + * Updating README.source. + + -- Daniel Baumann Fri, 09 Apr 2010 11:56:14 +0200 + +lzip (1.9-1) sid; urgency=low + + * Uploading to sid. + * Bumping versioned build-depends on debhelper. + * Adding explicit debian source version 1.0 until switch to 3.0. + * Updating year in copyright file. + * Merging upstream version 1.9. + * Updating year in copyright file. + * Adding depends on dpkg and install-info. + + -- Daniel Baumann Mon, 18 Jan 2010 21:45:35 +0100 + +lzip (1.8-1) sid; urgency=low + + * Uploading to sid. + * Updating package to standards version 3.8.3. + * Adding maintainer homepage field to control. + * Marking maintainer homepage field to be also included in binary + packages and changelog. + * Adding README.source. + * Merging upstream version 1.8. + * Moving maintainer hompage entry from control to copyright. + + -- Daniel Baumann Fri, 04 Sep 2009 21:58:19 +0200 + +lzip (1.7-3) sid; urgency=low + + * Uploading to sid. + * Updating maintainer field. + * Updating vcs fields. + * Commenting rules file. + * Adding misc depends. + + -- Daniel Baumann Fri, 14 Aug 2009 02:16:06 +0200 + +lzip (1.7-2) sid; urgency=low + + * Uploading to sid. + * Minimizing rules file, which also dropps not required autotools foo + (Closes: #533713). + * Sorting depends. + + -- Daniel Baumann Sun, 09 Aug 2009 11:10:02 +0200 + +lzip (1.7-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.7. + * Updating standards version to 3.8.2. + + -- Daniel Baumann Mon, 06 Jul 2009 13:59:50 +0200 + +lzip (1.6-1) sid; urgency=low + + * Uploading to sid. + * Correcting wrong email address in previous changelog entry. + * Merging upstream version 1.6. + + -- Daniel Baumann Mon, 06 Jul 2009 13:54:00 +0200 + +lzip (1.6~pre3-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.6~pre3: + - Fixes bashism in included shell scripts (Closes: #530135). + + -- Daniel Baumann Mon, 08 Jun 2009 18:14:50 +0200 + +lzip (1.6~pre2-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.6~pre2. + * Removing dir info pages, apparently useless (Closes: #530619). + + -- Daniel Baumann Thu, 28 May 2009 23:42:44 +0200 + +lzip (1.6~pre1-1) sid; urgency=low + + * Initial upload to sid. + + -- Daniel Baumann Thu, 30 Apr 2009 15:31:00 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..46ec065 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: lzip +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + texinfo, +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: http://www.nongnu.org/lzip/lzip.html +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzip +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzip + +Package: lzip +Section: utils +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Provides: + lzip-alternative, + lzip-compressor, + lzip-decompressor, +Description: 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. + Lzip decompresses almost as fast as gzip and compresses better than bzip2, + which makes it well suited for software distribution and data archiving. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a0690cb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,60 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lzip +Upstream-Contact: lzip-bug@nongnu.org +Source: https://download.savannah.gnu.org/releases/lzip/ + +Files: * +Copyright: 2006-2024 Antonio Diaz Diaz +License: GPL-2+ + +Files: arg_parser.* +Copyright: 2006-2024 Antonio Diaz Diaz +License: GPL-2+ with Library exception + +Files: debian/* +Copyright: 2009-2024 Daniel Baumann +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 . + . + 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 . + . + 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/lzip.README.Debian b/debian/lzip.README.Debian new file mode 100644 index 0000000..ba77528 --- /dev/null +++ b/debian/lzip.README.Debian @@ -0,0 +1,112 @@ +Lzip for Debian +=============== + +1. Lzip implementations +----------------------- + +Lzip is available in different implementations: + + lzip original C++ implementation + plzip parallel C++ implementation + + lziprecover C++ implementation with extra recovery functionality + clzip C implementation + + lunzip C implementation, decompressor only + xlunzip C implementation using lzip_decompress kernel module, decompressor only + + lzd simple C implementation, decompressor only, educational purpose + minilzip simple C implementation using lzlib library + pdlzip simple C implementation, Public Domain + +All Lzip implementations are fully compatible (files can be compressed and +decompressed with any implementation interchangeably). + +All Lzip implementations support the same command line switches (except for lzd): +if an option is not implemented it is silently ignored (e.g. the -n option to set +the number of threads is accepted by all implementations but only plzip makes +use of it). + + +2. update-alternatives +---------------------- + +On Debian based systems all Lzip implementations are installed as +lzip.$implementation (e.g. /usr/bin/lzip.plzip) and /usr/bin/lzip is a symlink +managed by update-altenatives to point to the currently selected +implementation. All Lzip packages provide the virtual lzip-alternatives package. + +The following automatic priorities are used: + + Decompressors: + xlunzip -2000 + lunzip -1000 + + Compressor and decompressors: + minilzip 1000 + pdlzip 2000 + clzip 3000 + lziprecover 4000 + lzip 5000 + plzip 6000 + + +This allows: + + * users to manually switch the implementation conveniently with: + + sudo update-alternative --config lzip + + if more than one Lzip imlementation is installed. + + * automatically have the system use the 'best' implementation installed + (using the priorities listed above, e.g. installing plzip will superseed + lzip automatically). + + * switching transparently between implementations, e.g. globally using + the multi-threaded plzip instead of the single-threaded lzip requires only + one command: + + sudo update-alternatives --set lzip /usr/bin/lzip.plzip + + No scripts or commands need to be changed. If you were using lzip + before, install plzip and all your Lzip operations are now parallelized + automatically. + +Additional lzip-compressor and lzip-decompressor are provided, both as virtual +packages as well as alternatives in /usr/bin. This allows one to use a mixed +mode of setting lzip alternatives globally, such as using plzip for +decompression and lzip for compression. + +Note: lzd (decompressor only, educational purpose) doesn't provide the '--test' +parameter to verify compressed file integrity (which now is the base-line +requirement for all lzip variants providing alternatives) and is therefore +not providing any update-alternative handling. + + +3. Best practice +---------------- + +To make the best use of Lzip, the following should be considered: + + * use lzip in scripts and commands, don't hardcode a specific implementation + (e.g. use lzip, not plzip). + + * use alternative depends in debian packages, don't depend on a specific + implementation (e.g. use 'Depends: lzip-alternative | lzip' or + 'Depends: lzip-alternative | plzip', not 'Depends: lzip'). + + * use compressor or decompressor explicitly (e.g. use + 'Depends: lzip-decompressor | lunzip' if you don't need to compress files). + + +4. See also +----------- + + * tarlz: archiver with multimember lzip compression + * zutils: utilities for dealing with compressed files transparently + + * Xz format inadequate for long-term archiving + http://lzip.nongnu.org/xz_inadequate.html + + -- Daniel Baumann Sun, 26 Aug 2018 11:06:17 +0200 diff --git a/debian/lzip.alternatives b/debian/lzip.alternatives new file mode 100644 index 0000000..e6abf05 --- /dev/null +++ b/debian/lzip.alternatives @@ -0,0 +1,26 @@ +# lzip-alternative +Name: lzip +Link: /usr/bin/lzip +Alternative: /usr/bin/lzip.lzip +Dependents: + /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.lzip.info.gz + /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.lzip.1.gz +Priority: 5000 + +# lzip-compressor +Name: lzip-compressor +Link: /usr/bin/lzip-compressor +Alternative: /usr/bin/lzip.lzip +Dependents: + /usr/share/info/lzip-compressor.info.gz lzip-compressor.info.gz /usr/share/info/lzip.lzip.info.gz + /usr/share/man/man1/lzip-compressor.1.gz lzip-compressor.1.gz /usr/share/man/man1/lzip.lzip.1.gz +Priority: 5000 + +# lzip-decompressor +Name: lzip-decompressor +Link: /usr/bin/lzip-decompressor +Alternative: /usr/bin/lzip.lzip +Dependents: + /usr/share/info/lzip-decompressor.info.gz lzip-decompressor.info.gz /usr/share/info/lzip.lzip.info.gz + /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.lzip.1.gz +Priority: 5000 diff --git a/debian/lzip.docs b/debian/lzip.docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/lzip.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..a5c643f --- /dev/null +++ b/debian/patches/debian/0001-build.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp lzip.orig/configure lzip/configure +--- lzip.orig/configure ++++ lzip/configure +@@ -23,10 +23,10 @@ mandir='$(datarootdir)/man' + build=no + check=no + installdir= +-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++. 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..e2fc491 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- CXX='$(CXX) -g' CXXFLAGS='-Wall -Wextra $(CXXFLAGS)' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzip + +execute_after_dh_auto_install: + # update-alternatives + mv debian/lzip/usr/bin/lzip debian/lzip/usr/bin/lzip.lzip + mv debian/lzip/usr/share/info/lzip.info debian/lzip/usr/share/info/lzip.lzip.info + mv debian/lzip/usr/share/man/man1/lzip.1 debian/lzip/usr/share/man/man1/lzip.lzip.1 + + # removing unused files + rm -f debian/lzip/usr/share/info/dir* + +override_dh_auto_test: + # disabled: incomplete upstream testsuite 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..9863cf4 --- /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/@PACKAGE@@ANY_VERSION@\.tar\.lz -- cgit v1.2.3