From 4c5cf3065e583b5769a274a03c1d8782655ad718 Mon Sep 17 00:00:00 2001 From: Sébastien Gross Date: Fri, 2 Oct 2020 14:38:57 +0200 Subject: DEB: Add official debian packaging files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit debian build directory has been imported from official Debian package for squashfs-tools-ng version 1.0.2 found on p.d.o: https://packages.debian.org/source/sid/squashfs-tools-ng Signed-off-by: Sébastien Gross --- packages/debian/changelog | 63 ++++++++++++++++++++++ packages/debian/clean | 1 + packages/debian/control | 87 +++++++++++++++++++++++++++++++ packages/debian/copyright | 55 +++++++++++++++++++ packages/debian/libsquashfs-dev.install | 4 ++ packages/debian/libsquashfs1.install | 1 + packages/debian/rules | 15 ++++++ packages/debian/source/format | 1 + packages/debian/squashfs-tools-ng.install | 2 + packages/debian/watch | 2 + 10 files changed, 231 insertions(+) create mode 100644 packages/debian/changelog create mode 100644 packages/debian/clean create mode 100644 packages/debian/control create mode 100644 packages/debian/copyright create mode 100644 packages/debian/libsquashfs-dev.install create mode 100644 packages/debian/libsquashfs1.install create mode 100755 packages/debian/rules create mode 100644 packages/debian/source/format create mode 100644 packages/debian/squashfs-tools-ng.install create mode 100644 packages/debian/watch diff --git a/packages/debian/changelog b/packages/debian/changelog new file mode 100644 index 0000000..be28a0e --- /dev/null +++ b/packages/debian/changelog @@ -0,0 +1,63 @@ +squashfs-tools-ng (1.0.2-1) unstable; urgency=medium + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) Sat, 05 Sep 2020 18:55:05 +0200 + +squashfs-tools-ng (1.0.1-1) unstable; urgency=medium + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) Wed, 05 Aug 2020 19:35:46 +0200 + +squashfs-tools-ng (1.0.0-2) unstable; urgency=medium + + * Correct package sections (closes: #963155). + + -- Laszlo Boszormenyi (GCS) Sat, 20 Jun 2020 11:51:59 +0200 + +squashfs-tools-ng (1.0.0-1) unstable; urgency=medium + + * New upstream release. + * Library transition from libsquashfs0 to libsquashfs1 . + + -- Laszlo Boszormenyi (GCS) Sat, 13 Jun 2020 19:24:26 +0200 + +squashfs-tools-ng (0.9.1-1) unstable; urgency=medium + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) Sat, 16 May 2020 08:35:00 +0000 + +squashfs-tools-ng (0.9-1) unstable; urgency=medium + + * New upstream release. + * Build with LZO compression support. + * Backport upstream fix for missing header without LZO. + * Update Standards-Version to 4.5.0 . + + [ Pino Toscano ] + * Enable the build on Hurd (closes: #947830). + * Don't ship .la files (closes: #947831). + + -- Laszlo Boszormenyi (GCS) Sat, 04 Apr 2020 15:45:30 +0000 + +squashfs-tools-ng (0.8-1) unstable; urgency=medium + + * New upstream release. + * Update Standards-Version to 4.4.1 . + + -- Laszlo Boszormenyi (GCS) Tue, 31 Dec 2019 08:31:34 +0000 + +squashfs-tools-ng (0.7-1) unstable; urgency=medium + + * New upstream release. + * Backport upstream fix for fstree_init test. + + -- Laszlo Boszormenyi (GCS) Tue, 22 Oct 2019 18:40:57 +0000 + +squashfs-tools-ng (0.5-1) unstable; urgency=medium + + * Initial release (closes: #932971). + + -- Laszlo Boszormenyi (GCS) Tue, 30 Jul 2019 11:44:14 +0000 diff --git a/packages/debian/clean b/packages/debian/clean new file mode 100644 index 0000000..5da17f8 --- /dev/null +++ b/packages/debian/clean @@ -0,0 +1 @@ +config.log diff --git a/packages/debian/control b/packages/debian/control new file mode 100644 index 0000000..a0ba3f5 --- /dev/null +++ b/packages/debian/control @@ -0,0 +1,87 @@ +Source: squashfs-tools-ng +Section: kernel +Priority: optional +Maintainer: Laszlo Boszormenyi (GCS) +Build-Depends: debhelper-compat (= 12), pkg-config, libselinux1-dev [linux-any], liblzma-dev, liblz4-dev, zlib1g-dev, libzstd-dev, liblzo2-dev +Standards-Version: 4.5.0 +Homepage: https://github.com/AgentD/squashfs-tools-ng + +Package: squashfs-tools-ng +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: New set of tools for working with SquashFS images + SquashFS is a highly compressed read-only filesystem for Linux, optimized + for small size and high packing density. It is widely used in embedded + systems and bootable live media. + . + SquashFS supports many different compression formats, such as zstd, xz, + zlib or lzo for both data and metadata compression. It has many features + expected from popular filesystems, such as extended attributes and support + for NFS export. + . + As the name suggests, this is not the original user space tooling for + SquashFS. Here are some of the features that primarily distinguish this + package from the original: + - reproducible SquashFS images, i.e. deterministic packing without + any local time stamps, + - Linux `gen_init_cpio` like file listing for micro managing the + file system contents, permissions, and ownership without having to + replicate the file system (and especially permissions) locally, + - support for SELinux contexts file (see selabel_file(5)) to generate + SELinux labels. + +Package: libsquashfs1 +Architecture: any +Section: libs +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: New set of tools for working with SquashFS images - shared library + SquashFS is a highly compressed read-only filesystem for Linux, optimized + for small size and high packing density. It is widely used in embedded + systems and bootable live media. + . + SquashFS supports many different compression formats, such as zstd, xz, + zlib or lzo for both data and metadata compression. It has many features + expected from popular filesystems, such as extended attributes and support + for NFS export. + . + As the name suggests, this is not the original user space tooling for + SquashFS. Here are some of the features that primarily distinguish this + package from the original: + - reproducible SquashFS images, i.e. deterministic packing without + any local time stamps, + - Linux `gen_init_cpio` like file listing for micro managing the + file system contents, permissions, and ownership without having to + replicate the file system (and especially permissions) locally, + - support for SELinux contexts file (see selabel_file(5)) to generate + SELinux labels. + . + This package contains the C libraries needed to run executables that use + the squashfs-tools-ng library. + +Package: libsquashfs-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libsquashfs1 (= ${binary:Version}), libselinux1-dev [linux-any], liblzma-dev, liblz4-dev, zlib1g-dev, libzstd-dev, liblzo2-dev +Description: New set of tools for working with SquashFS images - development + SquashFS is a highly compressed read-only filesystem for Linux, optimized + for small size and high packing density. It is widely used in embedded + systems and bootable live media. + . + SquashFS supports many different compression formats, such as zstd, xz, + zlib or lzo for both data and metadata compression. It has many features + expected from popular filesystems, such as extended attributes and support + for NFS export. + . + As the name suggests, this is not the original user space tooling for + SquashFS. Here are some of the features that primarily distinguish this + package from the original: + - reproducible SquashFS images, i.e. deterministic packing without + any local time stamps, + - Linux `gen_init_cpio` like file listing for micro managing the + file system contents, permissions, and ownership without having to + replicate the file system (and especially permissions) locally, + - support for SELinux contexts file (see selabel_file(5)) to generate + SELinux labels. + . + This package contains the C development headers and library files needed to + compile programs using the squashfs-tools-ng library. diff --git a/packages/debian/copyright b/packages/debian/copyright new file mode 100644 index 0000000..4989954 --- /dev/null +++ b/packages/debian/copyright @@ -0,0 +1,55 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: squashfs-tools-ng +Upstream-Contact: David Oberhollenzer +Source: https://github.com/AgentD/squashfs-tools-ng + +Files: * +Copyright: 2019- David Oberhollenzer +License: GPL-3+ + +Files: include/sqfs/* include/util/* lib/sqfs/* lib/tar/write_retry.c lib/util/* +Copyright: 2019 David Oberhollenzer +License: LGPL-3.0+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This package 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-3'. + +Files: lib/fstree/fstree_sort.c +Copyright: 2019 David Oberhollenzer , + 2019 Zachary Dremann +License: GPL-3+ + +Files: debian/* +Copyright: 2019- Laszlo Boszormenyi (GCS) +License: GPL-3+ + +License: GPL-3+ + This package 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 3 of the License, or + (at your option) any later version. + . + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/packages/debian/libsquashfs-dev.install b/packages/debian/libsquashfs-dev.install new file mode 100644 index 0000000..92a5426 --- /dev/null +++ b/packages/debian/libsquashfs-dev.install @@ -0,0 +1,4 @@ +usr/include/ +usr/lib/*/libsquashfs.a +usr/lib/*/libsquashfs.so +usr/lib/*/pkgconfig/ diff --git a/packages/debian/libsquashfs1.install b/packages/debian/libsquashfs1.install new file mode 100644 index 0000000..0144c8e --- /dev/null +++ b/packages/debian/libsquashfs1.install @@ -0,0 +1 @@ +usr/lib/*/libsquashfs.so.* diff --git a/packages/debian/rules b/packages/debian/rules new file mode 100755 index 0000000..ccf7734 --- /dev/null +++ b/packages/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +override_dh_auto_install: + dh_auto_install + # remove libtool .la files + find $(CURDIR)/debian/tmp/ -name '*.la' -delete + +%: + dh ${@} + +.PHONY: override_dh_auto_install diff --git a/packages/debian/source/format b/packages/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/packages/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/packages/debian/squashfs-tools-ng.install b/packages/debian/squashfs-tools-ng.install new file mode 100644 index 0000000..9b1d778 --- /dev/null +++ b/packages/debian/squashfs-tools-ng.install @@ -0,0 +1,2 @@ +usr/bin/ +usr/share/man/ diff --git a/packages/debian/watch b/packages/debian/watch new file mode 100644 index 0000000..120e780 --- /dev/null +++ b/packages/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/AgentD/squashfs-tools-ng/tags .*/v?(\d\S+)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) -- cgit v1.2.3