diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:35:06 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:35:06 +0000 |
commit | 918d0ad2bb52f13dd3c62c5574f61a37936e33a5 (patch) | |
tree | ea9f83f03b075139b043946dd0bd094dcbbd9c79 | |
parent | Adding upstream version 1.10. (diff) | |
download | zutils-918d0ad2bb52f13dd3c62c5574f61a37936e33a5.tar.xz zutils-918d0ad2bb52f13dd3c62c5574f61a37936e33a5.zip |
Adding debian version 1.10-1.debian/1.10-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 593 | ||||
-rw-r--r-- | debian/control | 37 | ||||
-rw-r--r-- | debian/copyright | 29 | ||||
-rw-r--r-- | debian/patches/debian/0001-build.patch | 19 | ||||
-rw-r--r-- | debian/patches/debian/0002-zupdate.patch | 15 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 22 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/signing-key.asc | 26 | ||||
-rw-r--r-- | debian/watch | 3 | ||||
-rw-r--r-- | debian/zutils.docs | 2 | ||||
-rw-r--r-- | debian/zutils.links | 2 | ||||
-rw-r--r-- | debian/zutils.lintian-overrides | 5 | ||||
-rwxr-xr-x | debian/zutils.postrm | 26 | ||||
-rwxr-xr-x | debian/zutils.preinst | 26 |
15 files changed, 808 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8d44035 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,593 @@ +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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 + <helmut@subdivi.de>. + * Replacing help2man generated manpages for zegrep and zfgrep with + symlinks to zgrep (Closes: #945535). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> Tue, 16 Jul 2019 18:42:19 +0200 + +zutils (1.8-3) sid; urgency=medium + + * Uploading to sid. + * Improving watch file. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> Sun, 05 Nov 2017 07:47:48 +0100 + +zutils (1.6-3) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS + when cross-compiling (Closes: #864636). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 + <locutusofborg@debian.org>. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> Wed, 16 Jul 2014 22:08:37 +0200 + +zutils (1.2-2) sid; urgency=low + + * Uploading to sid. + * Building with dh --parallel. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> Sat, 01 Jan 2011 11:55:29 +0100 + +zutils (0.9~rc2-2) sid; urgency=low + + * Uploading to sid. + * Updating copyright file. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org> Sun, 20 Sep 2009 21:32:39 +0200 + +zutils (0.2-1) sid; urgency=low + + * Initial upload to sid. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 08 Aug 2009 10:53:00 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1a0ae99 --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: zutils +Section: utils +Priority: optional +Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Build-Depends: + debhelper-compat (= 13), + lzip, + texinfo, +Rules-Requires-Root: no +Standards-Version: 4.5.1 +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, +Enhances: + bzip2, + gzip, + lzip, + xz-utils, +Built-Using: + ${built-using}, +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, and xz. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..499fec6 --- /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: http://download.savannah.gnu.org/releases/zutils/ + +Files: * +Copyright: 2010-2021 Antonio Diaz Diaz <ant_diaz@teleline.es> +License: GPL-2+ + +Files: debian/* +Copyright: 2009-2021 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 <http://www.gnu.org/licenses/>. + . + 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..eedfd3e --- /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 zutils.orig/configure zutils/configure +--- zutils.orig/configure ++++ zutils/configure +@@ -21,9 +21,9 @@ infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' + sysconfdir='$(prefix)/etc' + CXX=g++ +-CPPFLAGS= +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CPPFLAGS= ++#CXXFLAGS='-Wall -W -O2' ++#LDFLAGS= + 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..d14c73b --- /dev/null +++ b/debian/patches/debian/0002-zupdate.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Avoid linking zupdate statically. + +diff -Naurp zutils.orig/Makefile.in zutils/Makefile.in +--- zutils.orig/Makefile.in ++++ zutils/Makefile.in +@@ -51,7 +51,7 @@ ztest : $(ztest_objs) + $(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $(ztest_objs) + + zupdate : $(zupdate_objs) +- $(CXX) $(LDFLAGS) $(CXXFLAGS) -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..bbe30ea --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + LDFLAGS="${LDFLAGS} -static" dh_auto_configure -- --exec-prefix=/ 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 + +override_dh_gencontrol: + dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc-dev-bin))" 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..3ae0cf0 --- /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/zutils-(.+)\.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.postrm b/debian/zutils.postrm new file mode 100755 index 0000000..b9df41b --- /dev/null +++ b/debian/zutils.postrm @@ -0,0 +1,26 @@ +#!/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 /bin/${FILE}.gzip /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..dde1340 --- /dev/null +++ b/debian/zutils.preinst @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +case "${1}" in + install) + for FILE in zcat zcmp zdiff zegrep zfgrep zgrep + do + dpkg-divert --package zutils --quiet --add --rename --divert /bin/${FILE}.gzip /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 + ;; + + abort-upgrade|upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |