summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-26 07:58:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-26 09:24:54 +0000
commit5fd0c87f5d3e15a0bd6d819de73f9b49e1eab765 (patch)
tree6fc2af73fec3322f55fe6f7bb59511509d429c9d
parentAdding upstream version 0.3. (diff)
downloadxlunzip-5fd0c87f5d3e15a0bd6d819de73f9b49e1eab765.tar.xz
xlunzip-5fd0c87f5d3e15a0bd6d819de73f9b49e1eab765.zip
Adding debian version 0.3-1.debian/0.3-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/control25
-rw-r--r--debian/copyright49
-rwxr-xr-xdebian/rules17
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/signing-key.asc26
-rw-r--r--debian/watch2
-rw-r--r--debian/xlunzip.docs2
-rwxr-xr-xdebian/xlunzip.postinst25
-rwxr-xr-xdebian/xlunzip.prerm22
11 files changed, 175 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4f0220f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+xlunzip (0.3-1) unstable; urgency=medium
+
+ * Initial upload to sid (Closes: #905312).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 26 Aug 2018 09:58:02 +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..38a08ef
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: xlunzip
+Section: utils
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper (>= 11),
+Rules-Requires-Root: no
+Standards-Version: 4.2.1
+Homepage: http://www.nongnu.org/lzip/xlunzip.html
+Vcs-Browser: https://sources.progress-linux.org/users/daniel.baumann/debian/packages/xlunzip
+Vcs-Git: https://sources.progress-linux.org/users/daniel.baumann/debian/packages/xlunzip
+
+Package: xlunzip
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Provides:
+ lzip-alternative,
+Description: data compressor based on the LZMA algorithm (decompressor)
+ Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
+ integrity checking and a user interface similar to the one of gzip or bzip2.
+ .
+ This package contains the decompressor using the lzip_decompress linux module
+ as backend.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..953e83f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,49 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Xlunzip
+Upstream-Contact: lzip-bug@nongnu.org
+Source: http://download.savannah.gnu.org/releases/lzip/xlunzip
+
+Files: *
+Copyright: 2016-2018 Antonio Diaz Diaz <ant_diaz@teleline.es>
+License: GPL-2+
+
+Files: carg_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/rules b/debian/rules
new file mode 100755
index 0000000..91af9ce
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
+
+override_dh_auto_configure:
+ dh_auto_configure -- 'CC=$(CC) -g'
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/xlunzip
+
+ # update-alternatives
+ mv debian/xlunzip/usr/bin/xlunzip debian/xlunzip/usr/bin/lzip.xlunzip
+ ln -s /usr/bin/lzip.xlunzip debian/xlunzip/usr/bin/xlunzip
+
+ mv debian/xlunzip/usr/share/man/man1/xlunzip.1 debian/xlunzip/usr/share/man/man1/lzip.xlunzip.1
+ ln -s /usr/share/man/man1/lzip.xlunzip.1.gz debian/xlunzip/usr/share/man/man1/xlunzip.1.gz
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+ABkAbQnAnZZIw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ttce0UAxuxd1Vi/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..3ae4cea
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=pgpmode=auto https://download.savannah.gnu.org/releases/lzip/xlunzip/xlunzip-(.+)\.tar\.lz
diff --git a/debian/xlunzip.docs b/debian/xlunzip.docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/xlunzip.docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/xlunzip.postinst b/debian/xlunzip.postinst
new file mode 100755
index 0000000..81d4508
--- /dev/null
+++ b/debian/xlunzip.postinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ configure)
+ update-alternatives --quiet \
+ --install /usr/bin/lzip lzip /usr/bin/lzip.xlunzip -3000 \
+ --slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.xlunzip.info.gz \
+ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.xlunzip.1.gz
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/xlunzip.prerm b/debian/xlunzip.prerm
new file mode 100755
index 0000000..6ce6365
--- /dev/null
+++ b/debian/xlunzip.prerm
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove|upgrade|deconfigure)
+ update-alternatives --quiet --remove lzip /usr/bin/lzip.xlunzip
+ ;;
+
+ failed-upgrade)
+
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0