1
0
Fork 0

Adding debian version 0.4-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-17 21:04:35 +01:00
parent 481ef88a11
commit 6648073468
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
12 changed files with 181 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -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

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
11

28
debian/control vendored Normal file
View file

@ -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.

49
debian/copyright vendored Normal file
View file

@ -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.

21
debian/patches/debian/0001-build.patch vendored Normal file
View file

@ -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 ||

25
debian/patches/debian/0002-libc.patch vendored Normal file
View file

@ -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>

2
debian/patches/series vendored Normal file
View file

@ -0,0 +1,2 @@
debian/0001-build.patch
debian/0002-libc.patch

19
debian/rules vendored Executable file
View file

@ -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*

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

2
debian/tarlz.docs vendored Normal file
View file

@ -0,0 +1,2 @@
NEWS
README

26
debian/upstream/signing-key.asc vendored Normal file
View file

@ -0,0 +1,26 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBD9odIARBADkRI3Qc2qWpoxOFBlD8L5JaQlIEAaPI/19Y/z4ORHESY6s2Tfm
EtC51vlu8V/hXX8Sh4OZC3CrBIwhvSyIVIXbas+GR09B+8GRsfekRUS7jiwz/FsZ
Rnb0AjV1zNjJZazjyOUQjBou3Mo1MwiQXzeMQzqLC1xW+ABkAbQnAnZZIwCgvquq
rmQ1LKpBpYhb876T8x9TZIcD/2KTMvrvJVj+tKiRp6Wfiib8B4unllXAQ04hlul2
FP5oVIETdhQjsxj7/8F8yOON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Nyk
RG/RBe2octjFEFlNAKCMIurPIOzYo20sBAq7kIR9x8qvwQ==
=pg7M
-----END PGP PUBLIC KEY BLOCK-----

2
debian/watch vendored Normal file
View file

@ -0,0 +1,2 @@
version=4
opts=pgpmode=auto https://download.savannah.gnu.org/releases/lzip/tarlz/tarlz-(.+)\.tar\.lz