From 17e0589bfba80149beecbde1e8fcc3af63b77483 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 22 Mar 2018 14:49:10 +0100 Subject: Adding debian version 0.4-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 28 +++++++++++++++++++ debian/copyright | 49 ++++++++++++++++++++++++++++++++++ debian/patches/debian/0001-build.patch | 21 +++++++++++++++ debian/patches/debian/0002-libc.patch | 25 +++++++++++++++++ debian/patches/series | 2 ++ debian/rules | 19 +++++++++++++ debian/source/format | 1 + debian/tarlz.docs | 2 ++ debian/upstream/signing-key.asc | 26 ++++++++++++++++++ debian/watch | 2 ++ 12 files changed, 181 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat 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-libc.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tarlz.docs 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..32e3c68 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tarlz (0.4-1) unstable; urgency=medium + + * Initial upload to sid (Closes: #893793). + + -- Daniel Baumann Thu, 26 Jul 2018 04:44:38 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0054a52 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: tarlz +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper (>= 11), + liblz-dev, + texinfo, +Rules-Requires-Root: no +Standards-Version: 4.1.5 +Homepage: http://www.nongnu.org/lzip/tarlz.html +Vcs-Browser: https://sources.progress-linux.org/users/daniel.baumann/debian/packages/tarlz +Vcs-Git: https://sources.progress-linux.org/users/daniel.baumann/debian/packages/tarlz + +Package: tarlz +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: archiver with multimember lzip compression + Tarlz is an alternative implementation of the tar archiver. It creates, lists + and extracts archives in the 'ustar' format compressed with lzip on a per file + basis. Tarlz can append files to the end of such compressed archives. + . + Each tar member is compressed in its own lzip member, as well as the + end-of-file blocks. This method works for any tar format and is fully backward + compatible with standard tar tools like GNU tar, which treat the resulting + multimember tar.lz archive like any other tar.lz archive. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..79e9900 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,49 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tarlz +Upstream-Contact: lzip-bug@nongnu.org +Source: http://download.savannah.gnu.org/releases/lzip/tarlz + +Files: * +Copyright: 2013-2018 Antonio Diaz Diaz +License: GPL-2+ + +Files: arg_parser.* +Copyright: 2006-2018 Antonio Diaz Diaz +License: BSD-2-clause + +Files: debian/* +Copyright: 2018 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..1a1c4ec --- /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 +@@ -20,10 +20,10 @@ bindir='$(exec_prefix)/bin' + datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' +-CXX=g++ +-CPPFLAGS= +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CXX=g++ ++#CPPFLAGS= ++#CXXFLAGS='-Wall -W -O2' ++#LDFLAGS= + + # checking whether we are using GNU C++. + /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || diff --git a/debian/patches/debian/0002-libc.patch b/debian/patches/debian/0002-libc.patch new file mode 100644 index 0000000..01b0ed8 --- /dev/null +++ b/debian/patches/debian/0002-libc.patch @@ -0,0 +1,25 @@ +Author: Daniel Baumann +Description: Adding missing libc headers for makedev definitions. + +diff -Naurp tarlz.orig/create.cc tarlz/create.cc +--- tarlz.orig/create.cc ++++ tarlz/create.cc +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -Naurp tarlz.orig/extract.cc tarlz/extract.cc +--- tarlz.orig/extract.cc ++++ tarlz/extract.cc +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9e1bd20 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +debian/0001-build.patch +debian/0002-libc.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0f344fc --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/architecture.mk + +ifeq ($(origin CXX),default) +CXX := $(DEB_HOST_GNU_TYPE)-g++ +endif + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- 'CXX=$(CXX) -g' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/tarlz + + # removing unused files + rm -f debian/tarlz/usr/share/info/dir* 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/tarlz.docs b/debian/tarlz.docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/tarlz.docs @@ -0,0 +1,2 @@ +NEWS +README 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..47bb811 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +opts=pgpmode=auto https://download.savannah.gnu.org/releases/lzip/tarlz/tarlz-(.+)\.tar\.lz -- cgit v1.2.3