From f8b544ad8eef4c7cfea133073d7360cb4e44ddf3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 14:58:25 +0200 Subject: Adding debian version 1.13-2. Signed-off-by: Daniel Baumann --- debian/changelog | 713 +++++++++++++++++++++++++++++++ debian/control | 37 ++ debian/copyright | 29 ++ debian/patches/debian/0001-build.patch | 21 + debian/patches/debian/0002-zupdate.patch | 15 + debian/patches/series | 2 + debian/rules | 19 + debian/source/format | 1 + debian/upstream/signing-key.asc | 26 ++ debian/watch | 3 + debian/zutils.docs | 2 + debian/zutils.links | 2 + debian/zutils.lintian-overrides | 5 + debian/zutils.maintscript | 1 + debian/zutils.postrm | 27 ++ debian/zutils.preinst | 59 +++ 16 files changed, 962 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/debian/0002-zupdate.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/zutils.docs create mode 100644 debian/zutils.links create mode 100644 debian/zutils.lintian-overrides create mode 100644 debian/zutils.maintscript create mode 100755 debian/zutils.postrm create mode 100755 debian/zutils.preinst diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..888d89a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,713 @@ +zutils (1.13-2) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne to duplicate + diversion via DEP17 M18 (Closes: #1059534). + * Correcting variable name typo in original DEP17 M18 patch. + * Cosmetically harmonizing diversion handling in maintainer scripts for + better readability. + + -- Daniel Baumann Fri, 08 Mar 2024 18:56:11 +0100 + +zutils (1.13-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.13. + + -- Daniel Baumann Wed, 31 Jan 2024 06:36:17 +0100 + +zutils (1.13~rc1-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.13~rc1. + * Updating years in copyright for 2024. + * Refreshing build.patch. + + -- Daniel Baumann Tue, 23 Jan 2024 07:01:25 +0100 + +zutils (1.12-3) sid; urgency=medium + + * Uploading to sid. + * Bumping version in maintscript to re-trigger conffile removal for + /etc/zutilsrc (Closes: #1036528). + + -- Daniel Baumann Fri, 16 Jun 2023 11:37:05 +0200 + +zutils (1.12-2) sid; urgency=medium + + * Uploading to sid. + * Removing old /etc/zutilsrc on upgrade (Closes: #1026067). + + -- Daniel Baumann Tue, 24 Jan 2023 12:45:07 +0100 + +zutils (1.12-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.12. + * Updating to standards version 4.6.2. + + -- Daniel Baumann Wed, 11 Jan 2023 09:12:21 +0100 + +zutils (1.12~rc1-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.12~rc1. + * Refreshing build.patch. + + -- Daniel Baumann Thu, 08 Dec 2022 16:53:05 +0100 + +zutils (1.12~pre2-2) sid; urgency=medium + + * Uploading to sid. + * Building zutils dynamically as static-workaround is not necessary + anymore (Closes: #1018043). + + -- Daniel Baumann Mon, 05 Sep 2022 11:23:09 +0200 + +zutils (1.12~pre2-1) experimental; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.12~pre2. + * Updating http links to https in copyright. + + -- Daniel Baumann Tue, 26 Jul 2022 07:52:48 +0200 + +zutils (1.11-5) 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:25 +0200 + +zutils (1.11-4) sid; urgency=medium + + * Uploading to sid. + * Adding zstd in control (Closes: #1009305). + + -- Daniel Baumann Mon, 11 Apr 2022 16:58:16 +0200 + +zutils (1.11-3) sid; urgency=medium + + * Uploading to sid. + * Correcting typo in watch file. + + -- Daniel Baumann Tue, 05 Apr 2022 04:01:43 +0200 + +zutils (1.11-2) sid; urgency=medium + + * Uploading to sid. + * Handling pre/rc versions in watch file. + + -- Daniel Baumann Fri, 11 Mar 2022 07:14:29 +0100 + +zutils (1.11-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.11. + * Updating copyright for 2022. + * Refreshing zupdate.patch. + + -- Daniel Baumann Thu, 03 Feb 2022 12:21:05 +0100 + +zutils (1.10-2) sid; urgency=medium + + * Uploading to sid. + * Updating watch file. + * Updating to standards version 4.6.0. + + -- Daniel Baumann Sat, 09 Oct 2021 10:01:23 +0200 + +zutils (1.10-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.10. + * Updating to standards version 4.5.1. + * Updating years in copyright file for 2021. + + -- Daniel Baumann Wed, 27 Jan 2021 17:16:35 +0100 + +zutils (1.9-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.9. + * Updating year in copyright file. + + -- Daniel Baumann Fri, 03 Jul 2020 19:56:29 +0200 + +zutils (1.8-6) sid; urgency=medium + + * Updating years in copyright file for 2020. + * Updating to standards version 4.5.0. + * Using execute_after targets in rules to be explicit what we're doing. + * Updating to debhelper version 13. + * Letting dpkg's buildtools.mk initialize CXX, thanks to Helmut Grohne + . + * Replacing help2man generated manpages for zegrep and zfgrep with + symlinks to zgrep (Closes: #945535). + + -- Daniel Baumann Sun, 19 Apr 2020 16:09:59 +0200 + +zutils (1.8-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:49:20 +0100 + +zutils (1.8-4) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.4.0. + + -- Daniel Baumann Tue, 16 Jul 2019 18:42:19 +0200 + +zutils (1.8-3) sid; urgency=medium + + * Uploading to sid. + * Improving watch file. + + -- Daniel Baumann Sun, 03 Feb 2019 20:14:35 +0100 + +zutils (1.8-2) sid; urgency=medium + + * Uploading to sid. + * Using build-depends to specify debhelper compatibility. + * Repeating Section for binary packages in control. + * Temporarily disabling testsuite to workaround FTBFS with newer bash. + + -- Daniel Baumann Sun, 20 Jan 2019 19:38:08 +0100 + +zutils (1.8-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.8. + * Removing upstream zcat-buffer-overrun.patch. + * Updating year for upstream in copyright for 2019. + + -- Daniel Baumann Fri, 04 Jan 2019 12:14:07 +0100 + +zutils (1.7-8) sid; urgency=medium + + * Uploading to sid. + * Adding upgrade target to preinst dummy targets (Closes: #917554). + + -- Daniel Baumann Fri, 28 Dec 2018 21:33:41 +0100 + +zutils (1.7-7) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.3.0. + * Updating vcs fields. + * Updating vcs fields. + * Updating to debhelper 12. + * Dropping temporary upgrade handling from 1.7-2, not needed anymore. + + -- Daniel Baumann Fri, 28 Dec 2018 11:24:57 +0100 + +zutils (1.7-6) sid; urgency=medium + + * Uploading to sid. + * Adding CVE and bug numbers in zcat-buffer-overrun.patch. + * Adding CVE number in changelog. + + -- Daniel Baumann Mon, 10 Sep 2018 10:44:52 +0200 + +zutils (1.7-5) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.2.1. + * Harmonizing changelog. + * Harmonizing postrm. + * Correcting typo in author of zcat-buffer-overrun.patch. + + -- Daniel Baumann Sun, 26 Aug 2018 12:06:51 +0200 + +zutils (1.7-4) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.2.0. + * Handling upgrade from 1.7-2 where zcat was temporarily skipped for + #902936 (Closes: #905306). + + -- Daniel Baumann Fri, 03 Aug 2018 04:58:45 +0200 + +zutils (1.7-3) sid; urgency=medium + + * Uploading to sid. + * Adding patch from upstream to fix a buffer overrun in zcat + [CVE-2018-1000637] (Closes: #902936). + * Including zcat again. + + -- Daniel Baumann Wed, 01 Aug 2018 02:32:41 +0200 + +zutils (1.7-2) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.1.5. + * Skipping zcat for now (Closes: #902936, #903931). + + -- Daniel Baumann Thu, 19 Jul 2018 07:24:16 +0200 + +zutils (1.7-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 1.7. + * Updating years in copyright file. + + -- Daniel Baumann Sat, 24 Feb 2018 14:30:01 +0100 + +zutils (1.6-6) sid; urgency=medium + + * Uploading to sid. + * Using https in watch file. + * Making conflict on zfsutils versioned (see #825268). + * Updating to standards version 4.1.3. + * Updating to debhelper compat 11. + + -- Daniel Baumann Sat, 17 Feb 2018 08:25:14 +0100 + +zutils (1.6-5) sid; urgency=medium + + * Uploading to sid. + * Removing explicit debug package in favour of automated debug packages. + * Creating missing manpages with help2man. + + -- Daniel Baumann Sun, 05 Nov 2017 08:51:29 +0100 + +zutils (1.6-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. + + -- Daniel Baumann Sun, 05 Nov 2017 07:47:48 +0100 + +zutils (1.6-3) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne to fix FTBFS + when cross-compiling (Closes: #864636). + + -- Daniel Baumann Sat, 22 Jul 2017 19:51:30 +0200 + +zutils (1.6-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:46:01 +0200 + +zutils (1.6-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.6. + * Updating vcs fields. + * Removing superfluous --parallel when invoking debhelper as it's the + default with compat level 10, thanks to Gianfranco Costamagna + . + + -- Daniel Baumann Mon, 10 Apr 2017 17:19:07 +0200 + +zutils (1.5-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:41:26 +0100 + +zutils (1.5-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:55:38 +0100 + +zutils (1.5-3) sid; urgency=low + + * Uploading to sid. + * Updating debhelper build-depends for version 10. + + -- Daniel Baumann Sat, 15 Oct 2016 08:05:16 +0200 + +zutils (1.5-2) sid; urgency=low + + * Uploading to sid. + * Updating year in copyright file. + * Complementing previous changelog entry. + * Switching to debhelper compat 10. + * Adding watch file. + * Adding gpg verification to watch file. + * Updating vcs fields. + + -- Daniel Baumann Sun, 03 Jul 2016 17:44:57 +0200 + +zutils (1.5-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.5. + * Wrap and sorting control file. + * Adding (temporary) conflicts against zfsutils (Closes: #824751). + + -- Daniel Baumann Fri, 20 May 2016 08:50:35 +0200 + +zutils (1.4-2) sid; urgency=low + + * Uploading to sid. + * Updating vcs fields. + * Using common spelling of variables in preinst. + * Removing manual settings for xz compression. + * Harmonizing rules file. + * Updating to standards version 3.9.8. + + -- Daniel Baumann Thu, 12 May 2016 17:25:23 +0200 + +zutils (1.4-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.4. + + -- Daniel Baumann Thu, 11 Jun 2015 07:58:11 +0200 + +zutils (1.4~pre2-2) experimental; urgency=low + + * Uploading to experimental. + * Updating glibc depends check to work with some porter architectures as + well (Closes: #784134). + + -- Daniel Baumann Sun, 03 May 2015 18:47:24 +0200 + +zutils (1.4~pre2-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.4~pre2. + * Refreshing zupdate.patch. + * Updating years in copyright file. + + -- Daniel Baumann Fri, 01 May 2015 19:33:30 +0200 + +zutils (1.3-4) sid; urgency=low + + * Uploading to sid. + * Using libc0.1-dev for Built-Using on kfreebsd (Closes: #769563). + + -- Daniel Baumann Sat, 15 Nov 2014 07:27:58 +0100 + +zutils (1.3-3) sid; urgency=low + + * Uploading to sid. + * Adding Built-Using field (Closes: #769344). + + -- Daniel Baumann Thu, 13 Nov 2014 07:42:55 +0100 + +zutils (1.3-2) sid; urgency=low + + * Uploading to sid. + * Updating to standards version 3.9.6. + + -- Daniel Baumann Thu, 18 Sep 2014 00:41:56 +0200 + +zutils (1.3-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.3. + + -- Daniel Baumann Tue, 02 Sep 2014 03:34:06 +0200 + +zutils (1.3~rc1-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.3~rc1. + + -- Daniel Baumann Tue, 29 Jul 2014 00:11:16 +0200 + +zutils (1.3~pre2-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.3~pre2. + + -- Daniel Baumann Fri, 18 Jul 2014 17:28:23 +0200 + +zutils (1.3~pre1-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 1.3~pre1. + * Refreshing build.patch. + * Refreshing zupdate.patch. + * Updating copyright file to reflect upstreams change from GPL-3+ to + GPL-2+. + + -- Daniel Baumann Wed, 16 Jul 2014 22:08:37 +0200 + +zutils (1.2-2) sid; urgency=low + + * Uploading to sid. + * Building with dh --parallel. + + -- Daniel Baumann Mon, 31 Mar 2014 21:35:49 +0200 + +zutils (1.2-1) experimental; urgency=low + + * Uploading to experimental. + * Updating to standards version 3.9.5. + * Merging upstream version 1.2. + * Updating years in copyright for 2014. + + -- Daniel Baumann Mon, 24 Feb 2014 16:42:25 +0100 + +zutils (1.2~pre3-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.2~pre3. + * Updating lintian overrides. + * Refreshing zupdate.patch. + + -- Daniel Baumann Wed, 16 Oct 2013 16:45:47 +0200 + +zutils (1.2~pre2-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.2~pre2. + * Avoid linking zupdate statically. + + -- Daniel Baumann Mon, 09 Sep 2013 13:36:05 +0200 + +zutils (1.1-1) experimental; urgency=low + + * Uploading to experimental. + * Updating vcs fields. + * Merging upstream version 1.1. + + -- Daniel Baumann Sun, 18 Aug 2013 16:35:47 +0200 + +zutils (1.1~rc2-2) experimental; urgency=low + + * Uploading to experimental. + * Adding vcs fields. + * Wrapping control fields. + + -- Daniel Baumann Wed, 17 Jul 2013 14:10:39 +0200 + +zutils (1.1~rc2-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.1~rc2. + * Rediffing build.patch. + + -- Daniel Baumann Fri, 12 Jul 2013 15:24:17 +0200 + +zutils (1.0-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.0. + + -- Daniel Baumann Sun, 09 Jun 2013 09:10:27 +0200 + +zutils (1.0~rc7-2) experimental; urgency=low + + * Uploading to experimental. + * Adding patch to avoid overwriting build environment. + + -- Daniel Baumann Thu, 16 May 2013 10:37:53 +0200 + +zutils (1.0~rc7-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.0~rc7. + + -- Daniel Baumann Thu, 11 Apr 2013 13:55:57 +0200 + +zutils (1.0~rc6-1) experimental; urgency=low + + * Uploading to experimental. + * Merging upstream version 1.0~rc6. + * Updating years in copyright file. + * Dropping dpkg-source compression levels. + * Dropping filename.patch, not needed anymore. + + -- Daniel Baumann Tue, 26 Mar 2013 10:25:22 +0100 + +zutils (0.9-7) sid; urgency=low + + * Uploading to sid. + * Removing all references to my old email address. + + -- Daniel Baumann Sun, 10 Mar 2013 21:54:11 +0100 + +zutils (0.9-6) sid; urgency=low + + * Uploading to sid. + * Adding patch from upstream to make filenames not prefixed to output by + default when searching one file (Closes: #694024). + * Updating to standards version 3.9.4. + + -- Daniel Baumann Mon, 10 Dec 2012 11:23:06 +0100 + +zutils (0.9-5) sid; urgency=low + + * Uploading to sid. + * Using compression level 9 also for binary packages. + * Switching to xz compression. + * Updating copyright file to format version 1.0. + * Updating to debhelper version 9. + * Updating to standards version 3.9.3. + + -- Daniel Baumann Sat, 30 Jun 2012 15:02:50 +0200 + +zutils (0.9-4) sid; urgency=low + + * Uploading to sid. + * Updating standards version to 3.9.2. + * Compacting copyright file. + * Updating lintian overrides. + + -- Daniel Baumann Sun, 10 Jul 2011 17:20:52 +0200 + +zutils (0.9-3) 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:37:48 +0100 + +zutils (0.9-2) sid; urgency=low + + * Uploading to sid. + * Adding enhances field. + * Adding debug package. + + -- Daniel Baumann Mon, 17 Jan 2011 21:28:40 +0100 + +zutils (0.9-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. + * Improving comments in rules file. + * Removing unneeded build-depends on autotools-dev. + * Merging upstream version 0.9. + * Updating year in copyright file. + + -- Daniel Baumann Thu, 13 Jan 2011 23:08:01 +0100 + +zutils (0.9~rc2-3) sid; urgency=low + + * Uploading to sid. + * Moving zutils to /bin. + * Using quiet for dpkg-divert calls. + * Compiling zutils statically for the time being (Closes: #608484). + * Correcting wrong configure call in rules. + + -- Daniel Baumann Sat, 01 Jan 2011 11:55:29 +0100 + +zutils (0.9~rc2-2) sid; urgency=low + + * Uploading to sid. + * Updating copyright file. + + -- Daniel Baumann Mon, 27 Dec 2010 06:12:58 +0100 + +zutils (0.9~rc2-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 0.9~rc2. + * Switching to source format 3.0 (quilt). + * Updating year in copyright file. + + -- Daniel Baumann Tue, 14 Dec 2010 19:35:45 +0100 + +zutils (0.9~rc1-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 0.9~rc1. + + -- Daniel Baumann Fri, 26 Nov 2010 18:34:33 +0100 + +zutils (0.8-1) sid; urgency=low + + * Uploading to sid. + * Updating standards version to 3.9.0. + * Updating to standards version 3.9.1. + * Updating to debhelper version 8. + * Removing pre-squeeze depends to dpkg. + * Switching to source format 3.0 (quilt). + * Merging upstream version 0.8. + * Adding options file for dpkg source. + + -- Daniel Baumann Sun, 21 Nov 2010 22:34:48 +0100 + +zutils (0.8~rc1-1) sid; urgency=low + + * Uploading to sid. + * Adding explicit source version 1.0 until switch to 3.0. + * Updating year in copyright file. + * Updating to standards 3.8.4. + * Merging upstream version 0.8~rc1. + * Updating README.source. + + -- Daniel Baumann Sun, 14 Mar 2010 12:44:08 +0100 + +zutils (0.7-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 0.7. + + -- Daniel Baumann Thu, 22 Oct 2009 21:39:27 +0200 + +zutils (0.6-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 0.6. + + -- Daniel Baumann Tue, 06 Oct 2009 20:20:20 +0200 + +zutils (0.5-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 0.5. + + -- Daniel Baumann Sat, 03 Oct 2009 08:37:50 +0200 + +zutils (0.4-1) sid; urgency=low + + * Uploading to sid. + * Merging upstream version 0.4. + * Removing manual make call in auto_install target, not required + anymore. + * Adding divertions for newly added zegrep and zfgrep. + * Making package architecture dependent, upstream has rewritten + helpers in C. + + -- Daniel Baumann Fri, 02 Oct 2009 22:17:47 +0200 + +zutils (0.3-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 0.3. + * Moving maintainer homepage from control to copyright. + * Updating homepage field in control. + * Bumping version build-depends on debhelper. + * Adding manual depends on newer dpkg because of install-info. + + -- Daniel Baumann Sun, 20 Sep 2009 21:32:39 +0200 + +zutils (0.2-1) sid; urgency=low + + * Initial upload to sid. + + -- Daniel Baumann Sat, 08 Aug 2009 10:53:00 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2cc9d05 --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: zutils +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + lzip, + texinfo, +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: http://www.nongnu.org/zutils/zutils.html +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/zutils +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/zutils + +Package: zutils +Section: utils +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: + bzip2, + lzip, + xz-utils, + zstd, +Enhances: + bzip2, + gzip, + lzip, + xz-utils, + zstd, +Conflicts: + zfsutils (<< 10.3~svn296373), +Description: utilities for dealing with compressed files transparently + Zutils is a collection of utilities for dealing with any combination of + compressed and non-compressed files transparently. Currently the supported + compressors are gzip, bzip2, lzip, xz, and zstd. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1cd224c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: zutils +Upstream-Contact: zutils-bug@nongnu.org +Source: https://download.savannah.gnu.org/releases/zutils/ + +Files: * +Copyright: 2010-2024 Antonio Diaz Diaz +License: GPL-2+ + +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. diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch new file mode 100644 index 0000000..67349c7 --- /dev/null +++ b/debian/patches/debian/0001-build.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp zutils.orig/configure zutils/configure +--- zutils.orig/configure ++++ zutils/configure +@@ -20,10 +20,10 @@ datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' + sysconfdir='$(prefix)/etc' +-CXX=g++ +-CPPFLAGS= +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CXX=g++ ++#CPPFLAGS= ++#CXXFLAGS='-Wall -W -O2' ++#LDFLAGS= + MAKEINFO=makeinfo + DIFF=diff + GREP=grep diff --git a/debian/patches/debian/0002-zupdate.patch b/debian/patches/debian/0002-zupdate.patch new file mode 100644 index 0000000..45c27f9 --- /dev/null +++ b/debian/patches/debian/0002-zupdate.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Avoid linking zupdate statically. + +diff -Naurp zutils.orig/Makefile.in zutils/Makefile.in +--- zutils.orig/Makefile.in ++++ zutils/Makefile.in +@@ -52,7 +52,7 @@ ztest : $(ztest_objs) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(ztest_objs) + + zupdate : $(zupdate_objs) +- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(zupdate_objs) ++ $(CXX) $(CXXFLAGS) -o $@ $(zupdate_objs) + + rc.o : rc.cc + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DPROGVERSION=\"$(pkgversion)\" -DSYSCONFDIR=\"$(sysconfdir)\" -c -o $@ $< diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a353e88 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +debian/0001-build.patch +debian/0002-zupdate.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1085be4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- CXX=$(CXX) + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/zutils + +execute_after_dh_auto_install: + # removing unused files + rm -f debian/zutils/usr/share/info/dir* + +override_dh_auto_test: + # disabled 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..77c4082 --- /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/zutils/@PACKAGE@@ANY_VERSION@\.tar\.lz diff --git a/debian/zutils.docs b/debian/zutils.docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/zutils.docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/zutils.links b/debian/zutils.links new file mode 100644 index 0000000..4f2965c --- /dev/null +++ b/debian/zutils.links @@ -0,0 +1,2 @@ +/usr/share/man/man1/zgrep.1.gz /usr/share/man/man1/zegrep.1.gz +/usr/share/man/man1/zgrep.1.gz /usr/share/man/man1/zfgrep.1.gz diff --git a/debian/zutils.lintian-overrides b/debian/zutils.lintian-overrides new file mode 100644 index 0000000..dfcaf05 --- /dev/null +++ b/debian/zutils.lintian-overrides @@ -0,0 +1,5 @@ +zutils: statically-linked-binary bin/zcat +zutils: statically-linked-binary bin/zcmp +zutils: statically-linked-binary bin/zdiff +zutils: statically-linked-binary bin/zgrep +zutils: statically-linked-binary bin/ztest diff --git a/debian/zutils.maintscript b/debian/zutils.maintscript new file mode 100644 index 0000000..9138bbe --- /dev/null +++ b/debian/zutils.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/zutilsrc 1.12-3~ diff --git a/debian/zutils.postrm b/debian/zutils.postrm new file mode 100755 index 0000000..9a3c7c5 --- /dev/null +++ b/debian/zutils.postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + for FILE in zcat zcmp zdiff zegrep zfgrep zgrep + do + dpkg-divert --package zutils --quiet --remove --rename --divert "/usr/bin/${FILE}.gzip" "/usr/bin/${FILE}" + dpkg-divert --package zutils --quiet --remove --rename --divert "/bin/${FILE}.gzip.usr-is-merged" "/bin/${FILE}" + dpkg-divert --package zutils --quiet --remove --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz + done + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/zutils.preinst b/debian/zutils.preinst new file mode 100755 index 0000000..3fa0faf --- /dev/null +++ b/debian/zutils.preinst @@ -0,0 +1,59 @@ +#!/bin/sh + +set -e + +# DEP17 M18: Duplicate diversion in aliased location /bin. + +case "${1}" in + install) + for FILE in zcat zcmp zdiff zegrep zfgrep zgrep + do + dpkg-divert --package zutils --quiet --add --rename --divert "/usr/bin/${FILE}.gzip" "/usr/bin/${FILE}" + dpkg-divert --package zutils --quiet --add --rename --divert "/bin/${FILE}.gzip.usr-is-merged" "/bin/${FILE}" + dpkg-divert --package zutils --quiet --add --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz + done + ;; + + upgrade) + for FILE in zcat zcmp zdiff zegrep zfgrep zgrep + do + TRUENAME=$(dpkg-divert --truename "/usr/bin/${FILE}") + + if [ "${TRUENAME}" = "/usr/bin/${FILE}.usr-is-merged" ] + then + # gzip.preinst duplicated the diversion for us + dpkg-divert --package zutils --quiet --remove --no-rename --divert "/usr/bin/${FILE}.usr-is-merged" "/usr/bin/${FILE}" + dpkg-divert --package zutils --quiet --remove --no-rename "/bin/${FILE}" + dpkg-divert --package zutils --quiet --add --no-rename --divert "/usr/bin/${FILE}.gzip" "/usr/bin/${FILE}" + dpkg-divert --package zutils --quiet --add --no-rename --divert "/bin/${FILE}.gzip.usr-is-merged" "/bin/${FILE}" + elif [ "${TRUENAME}" != "/usr/bin/${FILE}.gzip" ] + then + dpkg-divert --package zutils --quiet --add --no-rename --divert "/usr/bin/${FILE}.gzip" "/usr/bin/${FILE}" + + TRUENAME=$(dpkg-divert --truename "/bin/${FILE}") + + if [ "${TRUENAME}" != "/bin/${FILE}.gzip.usr-is-merged" ] + then + dpkg-divert --package zutils --quiet --remove --no-rename "/bin/${FILE}" + dpkg-divert --package zutils --quiet --add --no-rename --divert "/bin/${FILE}.gzip.usr-is-merged" "/bin/${FILE}" + if [ -e "${DPKG_ROOT}${TRUENAME}" ] || [ -h "${DPKG_ROOT}${TRUENAME}" ] + then + mv "${DPKG_ROOT}${TRUENAME}" "${DPKG_ROOT}/bin/${FILE}.gzip.usr-is-merged" + fi + fi + fi + done + ;; + abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.3