From 279517213cadf6798105f8e7e4e411c37124a33a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 14:57:57 +0200 Subject: Adding debian version 0.8-1. Signed-off-by: Daniel Baumann --- debian/changelog | 169 +++++++++++++++++++++++++++++++++ debian/control | 27 ++++++ debian/copyright | 49 ++++++++++ debian/patches/debian/0001-build.patch | 21 ++++ debian/patches/series | 1 + debian/rules | 23 +++++ debian/source/format | 1 + debian/upstream/signing-key.asc | 26 +++++ debian/watch | 3 + debian/xlunzip.alternatives | 17 ++++ debian/xlunzip.docs | 2 + 11 files changed, 339 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright 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 create mode 100644 debian/xlunzip.alternatives create mode 100644 debian/xlunzip.docs diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e400849 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,169 @@ +xlunzip (0.8-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.8. + * Minimizing debhelper build-depends for trixie. + * Adding patch to avoid overriding build-environment. + * 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:51:16 +0100 + +xlunzip (0.7-7) 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 18:04:08 +0100 + +xlunzip (0.7-6) 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:22 +0200 + +xlunzip (0.7-5) sid; urgency=medium + + * Uploading to sid. + * Correcting typo in watch file. + + -- Daniel Baumann Tue, 05 Apr 2022 04:01:41 +0200 + +xlunzip (0.7-4) sid; urgency=medium + + * Uploading to sid. + * Updating packaging copyright for 2022. + * Handling pre/rc versions in watch file. + + -- Daniel Baumann Fri, 11 Mar 2022 07:13:48 +0100 + +xlunzip (0.7-3) sid; urgency=medium + + * Uploading to sid. + * Moving to dh_installalternatives. + * Bumping update-alternative priority now that lzd has its alternatives + removed. + + -- Daniel Baumann Wed, 29 Dec 2021 03:48:48 +0100 + +xlunzip (0.7-2) sid; urgency=medium + + * Uploading to sid. + * Updating watch file. + * Updating to standards version 4.6.0. + + -- Daniel Baumann Sat, 09 Oct 2021 09:59:43 +0200 + +xlunzip (0.7-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.7. + * Updating to standards version 4.5.1. + * Updating years in copyright file for 2021. + + -- Daniel Baumann Wed, 27 Jan 2021 17:12:09 +0100 + +xlunzip (0.6-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.6. + * Updating years in copyright. + + -- Daniel Baumann Sun, 28 Jun 2020 11:39:20 +0200 + +xlunzip (0.5-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.5. + * Removing gcc-10.patch, included upstream. + + -- Daniel Baumann Sun, 03 May 2020 17:09:33 +0200 + +xlunzip (0.4-9) sid; urgency=medium + + * Uploading to sid. + * Including buildtools.mk unconditionally in rules. + * Adding patch to fix FTBFS with GCC-10 (Closes: #957986). + + -- Daniel Baumann Sun, 19 Apr 2020 17:19:37 +0200 + +xlunzip (0.4-8) 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 14:19:29 +0200 + +xlunzip (0.4-7) 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:38:52 +0100 + +xlunzip (0.4-6) 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:48:34 +0100 + +xlunzip (0.4-5) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne to fix FTBFS + when cross-compiling (Closes: #932952). + + -- Daniel Baumann Sat, 10 Aug 2019 14:06:07 +0200 + +xlunzip (0.4-4) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.4.0. + + -- Daniel Baumann Tue, 16 Jul 2019 18:40:55 +0200 + +xlunzip (0.4-3) sid; urgency=medium + + * Uploading to sid. + * Improving watch file. + + -- Daniel Baumann Sun, 03 Feb 2019 20:14:31 +0100 + +xlunzip (0.4-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:38:04 +0100 + +xlunzip (0.4-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.4. + + -- Daniel Baumann Fri, 28 Dec 2018 14:34:49 +0100 + +xlunzip (0.3-2) sid; urgency=medium + + * Uploading to sid. + * Adding lzip-decompressor alternative. + * Updating to standards version 4.3.0. + * Updating vcs fields. + * Updating year in copyright for 2019. + * Updating to debhelper 12. + + -- Daniel Baumann Fri, 28 Dec 2018 11:11:44 +0100 + +xlunzip (0.3-1) sid; urgency=medium + + * Initial upload to sid (Closes: #905312). + + -- Daniel Baumann Sun, 26 Aug 2018 09:58:02 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5bb83aa --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: xlunzip +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: http://www.nongnu.org/lzip/xlunzip.html +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/xlunzip +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/xlunzip + +Package: xlunzip +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 using the lzip_decompress linux module + as backend. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..26077af --- /dev/null +++ b/debian/copyright @@ -0,0 +1,49 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Xlunzip +Upstream-Contact: lzip-bug@nongnu.org +Source: https://download.savannah.gnu.org/releases/lzip/xlunzip + +Files: * +Copyright: 2016-2021 Antonio Diaz Diaz +License: GPL-2+ + +Files: carg_parser.* +Copyright: 2006-2021 Antonio Diaz Diaz +License: BSD-2-clause + +Files: debian/* +Copyright: 2018-2022 Daniel Baumann +License: GPL-2+ + +License: BSD-2-clause + This library 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 library 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. + +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. diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch new file mode 100644 index 0000000..2033f45 --- /dev/null +++ b/debian/patches/debian/0001-build.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp xlunzip.orig/configure xlunzip/configure +--- xlunzip.orig/configure ++++ xlunzip/configure +@@ -20,10 +20,10 @@ bindir='$(exec_prefix)/bin' + datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' +-CC=gcc +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CC=gcc ++#CPPFLAGS= ++#CFLAGS='-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..97d1448 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/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/xlunzip + +execute_after_dh_auto_install: + # update-alternatives + mv debian/xlunzip/usr/bin/xlunzip debian/xlunzip/usr/bin/lzip.xlunzip + ln -s /usr/bin/lzip.xlunzip debian/xlunzip/usr/bin/xlunzip + + mv debian/xlunzip/usr/share/man/man1/xlunzip.1 debian/xlunzip/usr/share/man/man1/lzip.xlunzip.1 + ln -s /usr/share/man/man1/lzip.xlunzip.1.gz debian/xlunzip/usr/share/man/man1/xlunzip.1.gz + +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 PUB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Wmwt4ZOl+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..1fbb1bc --- /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/xlunzip/@PACKAGE@@ANY_VERSION@\.tar\.lz diff --git a/debian/xlunzip.alternatives b/debian/xlunzip.alternatives new file mode 100644 index 0000000..78f2a86 --- /dev/null +++ b/debian/xlunzip.alternatives @@ -0,0 +1,17 @@ +# lzip-alternative +Name: lzip +Link: /usr/bin/lzip +Alternative: /usr/bin/lzip.xlunzip +Dependents: + /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.xlunzip.info.gz + /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.xlunzip.1.gz +Priority: -2000 + +# lzip-decompressor +Name: lzip-decompressor +Link: /usr/bin/lzip-decompressor +Alternative: /usr/bin/lzip.xlunzip +Dependents: + /usr/share/info/lzip-decompressor.info.gz lzip-decompressor.info.gz /usr/share/info/lzip.xlunzip.info.gz + /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.xlunzip.1.gz +Priority: -2000 diff --git a/debian/xlunzip.docs b/debian/xlunzip.docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/xlunzip.docs @@ -0,0 +1,2 @@ +NEWS +README -- cgit v1.2.3