summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-03-22 13:49:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-07-26 02:44:44 +0000
commit17e0589bfba80149beecbde1e8fcc3af63b77483 (patch)
tree63a42fd9dd354bbe3a854be46c6a631630ac232e
parentAdding upstream version 0.4. (diff)
downloadtarlz-17e0589bfba80149beecbde1e8fcc3af63b77483.tar.xz
tarlz-17e0589bfba80149beecbde1e8fcc3af63b77483.zip
Adding debian version 0.4-1.debian/0.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control28
-rw-r--r--debian/copyright49
-rw-r--r--debian/patches/debian/0001-build.patch21
-rw-r--r--debian/patches/debian/0002-libc.patch25
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules19
-rw-r--r--debian/source/format1
-rw-r--r--debian/tarlz.docs2
-rw-r--r--debian/upstream/signing-key.asc26
-rw-r--r--debian/watch2
12 files changed, 181 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org>
+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 <ant_diaz@teleline.es>
+License: GPL-2+
+
+Files: arg_parser.*
+Copyright: 2006-2018 Antonio Diaz Diaz <ant_diaz@teleline.es>
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2018 Daniel Baumann <daniel.baumann@progress-linux.org>
+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 <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..1a1c4ec
--- /dev/null
+++ b/debian/patches/debian/0001-build.patch
@@ -0,0 +1,21 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+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 <daniel.baumann@progress-linux.org>
+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 <vector>
+ #include <stdint.h>
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <ftw.h>
+ #include <grp.h>
+diff -Naurp tarlz.orig/extract.cc tarlz/extract.cc
+--- tarlz.orig/extract.cc
++++ tarlz/extract.cc
+@@ -26,6 +26,7 @@
+ #include <stdint.h>
+ #include <unistd.h>
+ #include <utime.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <lzlib.h>
+
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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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