summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:23:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:23:11 +0000
commit26de5ed8d24188f544a9bc27cb7d86b641bceddf (patch)
tree7fbf5e1edc1e6b0fca9bda79edfe97168485ee26
parentAdding upstream version 1:4.6.1. (diff)
downloadsquashfs-tools-debian.tar.xz
squashfs-tools-debian.zip
Adding debian version 1:4.6.1-1.debian/1%4.6.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog905
-rw-r--r--debian/control21
-rw-r--r--debian/copyright32
-rw-r--r--debian/examples1
-rw-r--r--debian/patches/0001-kfreebsd.patch38
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
9 files changed, 1027 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..42d6d1f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,905 @@
+squashfs-tools (1:4.6.1-1) unstable; urgency=medium
+
+ * New upstream release:
+ - implements --one-filesytem for mksquashfs (closes: #586757).
+ * Update watch file.
+ * Update Standards-Version to 4.6.2 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 18 Jun 2023 08:56:23 +0200
+
+squashfs-tools (1:4.5.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 27 Mar 2022 18:50:03 +0200
+
+squashfs-tools (1:4.5-3) unstable; urgency=high
+
+ * Backport patch to fixes:
+ - use squashfs_closedir() to delete directory,
+ - dynamically allocate unsquashfs name,
+ - use linked list to store directory names.
+ * Fix CVE-2021-41072: additional unsquashfs write outside destination
+ directory exploit fix (closes: #994262).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 18 Sep 2021 13:42:40 +0200
+
+squashfs-tools (1:4.5-2) unstable; urgency=high
+
+ * Upload to unstable.
+ * Fixes CVE-2021-40153: unsquashfs unvalidated filepaths allow writing
+ outside of destination.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 28 Aug 2021 07:51:10 +0200
+
+squashfs-tools (1:4.5-1) experimental; urgency=medium
+
+ * New upstream release (closes: #991473):
+ - fix xattr-related non-determinism (closes: #946378).
+ * Update 0001-kfreebsd.patch .
+ * Update debhelper level to 13 .
+ * Update Standards-Version to 4.5.1 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 25 Jul 2021 09:53:24 +0200
+
+squashfs-tools (1:4.4-2) unstable; urgency=medium
+
+ * Backport upstream fix for GCC 10 FTBFS (closes: #957842).
+ * Update Standards-Version to 4.5.0 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 20 Apr 2020 17:37:58 +0000
+
+squashfs-tools (1:4.4-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add watch file.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Thu, 29 Aug 2019 16:13:13 +0000
+
+squashfs-tools (1:4.3+git190823-1) unstable; urgency=medium
+
+ * Git snapshot release.
+ * Remove remaining upstream reworked patches.
+ * Update Standards-Version to 4.4.0 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 24 Aug 2019 12:45:51 +0000
+
+squashfs-tools (1:4.3+git190815-1) unstable; urgency=medium
+
+ * Git snapshot release:
+ - properly fix CVE-2015-4645 and CVE-2015-4646 vulnerabilities,
+ - support reproducible images with all CPU cores (closes: #921146).
+ * Remove old patches that were implemented meanwhile by upstream.
+ * Update remaining patches.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 16 Aug 2019 18:19:01 +0000
+
+squashfs-tools (1:4.3-13) unstable; urgency=medium
+
+ * Fix bus error on sparc64 (closes: #932787).
+ * Update homepage location (closes: #921684).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Thu, 25 Jul 2019 13:18:14 +0000
+
+squashfs-tools (1:4.3-12) unstable; urgency=medium
+
+ [ Alexander Couzens <lynxis@fe80.eu> ]
+ * Fix compressor initialization in frag_deflator() (closes: #923711).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 25 Mar 2019 18:04:21 +0000
+
+squashfs-tools (1:4.3-11) unstable; urgency=medium
+
+ [ Chris Lamb <lamby@debian.org> ]
+ * Fix issue with lack of compressor initialisation affecting (at least) LZO
+ compression (closes: #919207).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 18 Jan 2019 20:45:11 +0000
+
+squashfs-tools (1:4.3-10) unstable; urgency=medium
+
+ * Backport upstream Zstandard support (closes: #916400).
+
+ [ Alexander Couzens <lynxis@fe80.eu> ]
+ * Remove frag_deflator_thread (closes: #919207).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Tue, 15 Jan 2019 18:12:19 +0000
+
+squashfs-tools (1:4.3-9) unstable; urgency=medium
+
+ * Fix unsquashfs manpage typo (closes: #850416).
+ * Sync with Ubuntu.
+
+ [ Tyler Hicks <tyhicks@canonical.com> ]
+ * debian/patches/0013-use-macros-not-raw-octal-with-chmod.patch,
+ debian/patches/0014-also-set-stickybit-as-non-root.patch: apply stickybit
+ when run as non-root.
+
+ [ akira <marivalenm@gmail.com> ]
+ * Adding lns option to unsquashfs (closes: #794096).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 12 Jan 2019 07:31:09 +0000
+
+squashfs-tools (1:4.3-8) unstable; urgency=medium
+
+ * Update Standards-Version to 4.3.0 .
+
+ [ Chris Lamb <lamby@debian.org> ]
+ * If SOURCE_DATE_EPOCH is set, use that timestamp for the mkfs time.
+ * If SOURCE_DATE_EPOCH is set, also clamp content timestamps with that
+ value.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 06 Jan 2019 22:23:08 +0000
+
+squashfs-tools (1:4.3-7) unstable; urgency=medium
+
+ * Fix FTBFS with glibc 2.28 (closes: #916014).
+ * Don't use custom compression settings for packaging.
+ * Update Standards-Version to 4.2.1 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 14 Dec 2018 18:01:49 +0000
+
+squashfs-tools (1:4.3-6) unstable; urgency=medium
+
+ * Sync with Ubuntu.
+
+ [ Michael Vogt <michael.vogt@ubuntu.com> ]
+ * debian/patches/0005-add-fstime.patch: initializing the time_t variable
+ with (time_t)0 instead of (time_t)-1 to avoid creating all filesystems
+ on "Wed Dec 31 23:59:59 1969"
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 11 Mar 2018 07:12:57 +0000
+
+squashfs-tools (1:4.3-5) unstable; urgency=medium
+
+ * Patch unsquashfs to preserve file capabilities (closes: #804194).
+ * Update debhelper level to 11:
+ - don't specify parallel to debhelper.
+ * Update Standards-Version to 4.1.3:
+ - remove squashfs-tools-dbg package and use the auto-generated one.
+ * Sync with Ubuntu.
+
+ [ Tyler Hicks <tyhicks@canonical.com> ]
+ * debian/patches/0005-add-fstime.patch: Fix -Wint-conversion warning by
+ initializing the time_t variable with (time_t)-1 instead of NULL
+ * debian/patches/0009-unsquashfs-preserve-symlink-times.patch: Preserve
+ atime and mtime of symlink inodes in unsquashfs rather than using the
+ current time (LP: #1555305)
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 04 Mar 2018 19:36:55 +0000
+
+squashfs-tools (1:4.3-4) unstable; urgency=medium
+
+ * Backport patch to fix rare race in fragment waiting in filesystem
+ finalisation.
+ * Backport fix for 2GB-limit of the is_fragment(...) function
+ (closes: #788185).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Wed, 07 Jun 2017 17:47:58 +0000
+
+squashfs-tools (1:4.3-3) unstable; urgency=low
+
+ * Use patch from upstream BTS to support LZMA magics (closes: #802446).
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Tue, 20 Oct 2015 10:56:08 +0000
+
+squashfs-tools (1:4.3-2) unstable; urgency=high
+
+ * Fix security issues:
+ - CVE-2015-4645 - stack overflow in read_fragment_table_4
+ (closes: #793467),
+ - CVE-2015-4646 - stack overflow in read_fragment_table_4 due to fix for
+ CVE-2015-4645 (closes: #793468).
+ * Fix phys mem calculation for 32-bit processes on PAE/64-bit kernels
+ (closes: #798268).
+ * Build with XZ Utils liblzma (closes: #754234, #749878).
+ * Update 0001-kfreebsd.patch to fix kFreeBSD FTBFS.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 07 Sep 2015 18:03:49 +0200
+
+squashfs-tools (1:4.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Build with LZ4 support.
+ * Put myself as the primary maintainer.
+ * Update Standards-Version to 3.9.6 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 06 Sep 2015 19:08:42 +0200
+
+squashfs-tools (1:4.2+20130409-2.1) unstable; urgency=medium
+
+ * NMU.
+ * Apply changes from -2ubuntu1:
+
+ [ Matthias Klose ]
+ * Build using dpkg-buildflags.
+ * Remove the ARM workaround.
+ * Build with -fgnu89-inline.
+
+ Closes: #780206
+
+ -- gregor herrmann <gregoa@debian.org> Mon, 03 Aug 2015 17:30:11 +0200
+
+squashfs-tools (1:4.2+20130409-2) unstable; urgency=low
+
+ * New maintainer (closes: #723600).
+ * Minor packaging changes.
+
+ -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Wed, 18 Sep 2013 07:50:12 +0000
+
+squashfs-tools (1:4.2+20130409-1) unstable; urgency=low
+
+ * Merging upstream version 4.2+20130409.
+
+ -- Luk Claes <luk@debian.org> Thu, 09 May 2013 22:20:42 +0200
+
+squashfs-tools (1:4.2+20130306-2) experimental; urgency=low
+
+ * Taking over with maintainer's consent.
+
+ -- Luk Claes <luk@debian.org> Sat, 20 Apr 2013 18:28:26 +0200
+
+squashfs-tools (1:4.2+20130306-1) experimental; urgency=low
+
+ * Updating upstream mail address in copyright file.
+ * Merging upstream version 4.2+20130306.
+ * Updating year in copyright file.
+ * Updating email addresses in local manpages.
+ * Dropping dpkg-source compression levels.
+ * Prefixing patches with four digits.
+ * Trimming diff headers in patches.
+ * Refreshing kfreebsd.patch.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Wed, 13 Mar 2013 18:38:01 +0100
+
+squashfs-tools (1:4.2+20121212-3) unstable; urgency=low
+
+ * Removing all references to my old email address.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 10 Mar 2013 21:46:02 +0100
+
+squashfs-tools (1:4.2+20121212-2) unstable; urgency=low
+
+ * Removing Otavio from uploaders with his consent.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 10 Mar 2013 21:45:06 +0100
+
+squashfs-tools (1:4.2+20121212-1) unstable; urgency=low
+
+ * Merging upstream version 4.2+20121212.
+ * Updating year in copyright file.
+ * Rediffing kfreebsd.patch.
+ * Removing pseudo.patch, included upstream.
+ * Removing debhelper docs and example files, not applicable anymore.
+ * Updating to standards version 3.9.4.
+ * Adding dpkg-source local options.
+ * Updating rules for new upstream sources.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 16 Dec 2012 10:21:14 +0100
+
+squashfs-tools (1:4.2-5) unstable; urgency=low
+
+ * Marking binary architecture-dependend packages as linux and kfreebsd
+ only.
+ * Using compression level 9 also for binary packages.
+ * Switching to xz compression.
+ * Updating to debhelper version 9.
+ * Updating to standards version 3.9.3.
+ * Updating copyright file to format version 1.0.
+ * Adding patch from Matthieu Castet <matthieu.castet@parrot.com> to
+ make using the Pseudo operations to change the mode/uid/gid of
+ existing files with subdirectories work (Closes: #662616).
+ * Updating mksquashfs manpage (Closes: #661815).
+ * Updating unsquashfs manpage.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 30 Jun 2012 13:48:39 +0200
+
+squashfs-tools (1:4.2-4) unstable; urgency=low
+
+ * Compacting copyright file.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 10 Jul 2011 17:14:11 +0200
+
+squashfs-tools (1:4.2-3) unstable; urgency=low
+
+ * Updating standards version to 3.9.2.
+ * Correcting two typos in the manpages, thanks to Yury V. Zaytsev
+ <yury@shurup.com> (Closes: #627401).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 24 May 2011 19:00:31 +0200
+
+squashfs-tools (1:4.2-2) unstable; urgency=low
+
+ * Updating kfreebsd.patch, thanks to Jérémy Bobbio <lunar@debian.org>
+ (Closes: #623967).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Thu, 28 Apr 2011 15:32:19 +0200
+
+squashfs-tools (1:4.2-1) unstable; urgency=low
+
+ * Merging upstream version 4.2.
+ * Updating debhelper docs file for new upstream.
+ * Updating year in copyright file.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Thu, 17 Mar 2011 15:04:48 +0100
+
+squashfs-tools (1:4.1-3) unstable; urgency=low
+
+ * Making reference to licenses in copyright distribution neutral.
+ * Improving previous changelog entries.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 22 Jan 2011 21:40:48 +0100
+
+squashfs-tools (1:4.1-2) unstable; urgency=low
+
+ * Updating maintainer and uploaders fields.
+ * Removing vcs fields.
+ * Removing references to my old email address.
+ * Makeing packaging distribution neutral.
+ * Switching to source format 3.0 (quilt).
+ * Updating to debhelper version 8.
+ * Rediffing kfreebsd.patch.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 16 Jan 2011 19:28:31 +0100
+
+squashfs-tools (1:4.1-1) experimental; urgency=low
+
+ * Updating standards version to 3.9.0.
+ * Merging upstream version 4.1.
+ * Updating standards version to 3.9.1.
+ * Removing return.patch, merged upstream.
+ * Removing div-by-zero.patch, merged upstream.
+ * Rediffing cflags.patch.
+ * Adding build-depends to libattr1-dev.
+ * Updating debhelper docs file for new upstream.
+ * Including pseudo-file.example.
+ * Building with xz support (Closes: #594595).
+ * Building with lzo support.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 25 Sep 2010 18:29:29 +0200
+
+squashfs-tools (1:4.0-8) unstable; urgency=low
+
+ * Replacing manpages with simple ones that are actually maintainable.
+ * Sorting dh call in rules to more common order.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 14 Mar 2010 15:56:28 +0100
+
+squashfs-tools (1:4.0-7) unstable; urgency=low
+
+ * Adding explicit source version 1.0 until switch to 3.0.
+ * Updating year in copyright file.
+ * Updating to standards 3.8.4.
+ * Applying patch from Emmet Hikory <persia@ubuntu.com> to build with -
+ marm on arm to avoid using Thumb2 instructions that older kernels
+ don't support.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 21 Feb 2010 18:09:41 +0100
+
+squashfs-tools (1:4.0-6) unstable; urgency=low
+
+ * Adding README.source.
+ * Adding patches from Nicolas Dufresne <nicolas.dufresne@gmail.com> to
+ fix some bugs in unsquashfs (Closes: #557542).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 04 Dec 2009 08:24:09 +0100
+
+squashfs-tools (1:4.0-5) unstable; urgency=low
+
+ * Correcting wrong vcs-browser field.
+ * Adding patch from Cyril Brulebois <kibi@debian.org> to fix FTBFS on
+ kfreebsd (Closes: #557174).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 21 Nov 2009 13:08:37 +0100
+
+squashfs-tools (1:4.0-4) unstable; urgency=low
+
+ * Renaming source package to squashfs-tools for consistency.
+ * Adding debug package.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 02 Oct 2009 19:35:57 +0200
+
+squashfs (1:4.0-3) unstable; urgency=low
+
+ * Updating maintainer field.
+ * Updating vcs fields.
+ * Sorting depends.
+ * Adding maintainer homepage in copyright.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 02 Oct 2009 19:17:18 +0200
+
+squashfs (1:4.0-2) unstable; urgency=low
+
+ * Updating section.
+ * Using correct rfc-2822 date formats in changelog.
+ * Removing hppa specific gcc build-depends as requested, no idea about
+ the consequences (Closes: #533788).
+ * Minimizing rules file.
+ * Updating package to standards version 3.8.3.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 19 Sep 2009 15:20:31 +0200
+
+squashfs (1:4.0-1) unstable; urgency=low
+
+ * Merging upstream version 4.0.
+ * Installing new upstream documentation into the package.
+ * Updating make calls in rules file to cope with new upstream source layout.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Mon, 06 Apr 2009 12:42:00 +0200
+
+squashfs (1:4.0~20090405-1) unstable; urgency=low
+
+ * New upstream snapshot of squashfs-tools only, squashfs-modules are
+ mainlined as of 2.6.29.
+ * Redoing packaging from scratch (Closes: #485154).
+ * Removing Roland from uploaders in agreement with him.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 05 Apr 2009 15:01:00 +0200
+
+squashfs (1:3.3-7) unstable; urgency=low
+
+ * Enabling patch for 2.6.25 now.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 06 May 2008 11:44:00 +0200
+
+squashfs (1:3.3-6) unstable; urgency=medium
+
+ [ Otavio Salvador ]
+ * Applied patch required due 2.6.25 API changes. Thanks to Phillip
+ Lougher <phillip@lougher.demon.co.uk> for the patch.
+ * Update po and pot files
+
+ [ Daniel Baumann ]
+ * Taking over squashfs maintenance from Arnaud Fontaine, with thanks
+ for his past contributions.
+ * Disabling 2.6.25 patch temporarily, as this is another upload
+ targeted for 2.6.24.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Thu, 10 Apr 2008 21:11:00 +0200
+
+squashfs (1:3.3-5) unstable; urgency=high
+
+ * Readding patch from squashfs cvs to fix mksquashfs error on >1.5GB image
+ creation. This patch was accidentally dropped by me as it was hidden
+ within the squashfs-lzma patches and not broken out (Closes: #455589).
+ * Applying two other patches from squashfs cvs:
+ - Fixing progessbar for hardlinked files.
+ - Fixing dangling symbolic links.
+ Thanks to Stefan Lippers-Hollmann <s.L-H@gmx.de>.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 29 Mar 2008 09:48:00 +0100
+
+squashfs (1:3.3-4) unstable; urgency=medium
+
+ * Removing squashfs-lzma support in agreement with Otavio: too broken and un-
+ maintained (Closes: #465183, #465874, #466242, #456489, #468457).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 21 Mar 2008 20:37:00 +0100
+
+squashfs (1:3.3-3) unstable; urgency=medium
+
+ [ Daniel Baumann ]
+ * Applied patch from Tollef Fog Heen <tfheen@ubuntu.com>:
+ - Add -lzma switch to enable lzma support.
+ - Don't use lzma by default.
+ Both patches are very important. We cannot use lzma by default on for two
+ reasons: first, it is broken and produces corrupted images at the moment,
+ and second, we would not have an upgrade path from etch to lenny with it.
+ * Build-depending on gcc-4.2-hppa64 now (Closes: #463293).
+ * Removed useless whitespaces at EOF and EOL.
+ * Applied patch from upstream to fix hang of mksquashfs, thanks to
+ Stefan Lippers-Hollmann <s.L-H@gmx.de> (Closes: #455589).
+ * Bumped package to debhelper 5, no other changes required.
+ * Updated Vcs fields in control, they are official now.
+ * Adding override link for module-assistant.
+ * Prefixing docs with the package name they belong to for consistency reasons.
+ * Since it is unavoidable to have the EXTRA_FLAGS in the linux-2.6/Makefile,
+ it is not required to duplicate them in rules.modules.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Mon, 04 Feb 2008 22:57:00 +0100
+
+squashfs (1:3.3-2) unstable; urgency=medium
+
+ [ Daniel Baumann ]
+ * Reverting 'Remove EXTRA_CFLAGS patches against module Makefile in favor of
+ rules' commit and adding EXTRA_FLAGS back to the Makefile. This has
+ broken linux-modules-extra-2.6 integration (Closes: #463628).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Mon, 04 Feb 2008 22:26:00 +0100
+
+squashfs (1:3.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * New email address.
+ * Use quilt patch system instead of dpatch and reorganized patches.
+ * debian/docs:
+ + Remove README-3.2 in favor of README-3.3.
+ * debian/patches:
+ + Remove deprecated 03-remove-slab.
+ + 01-kernel-compat now allows to build for both 2.6.22 and 2.6.23.
+ * debian/copyright:
+ + Update GPL path.
+ * debian/rules:
+ + Update CFLAGS from squashfs-tools/Makefile.
+ * debian/control*:
+ + Add Build-Depends against zlib1g-dev.
+ + Add Depends against zlib1g-dev for squashfs-source.
+ + Update Standards-Version to 3.7.3. No changes needed.
+
+ -- Arnaud Fontaine <arnau@debian.org> Sat, 08 Dec 2007 16:45:08 +0000
+
+squashfs (1:3.2r2-9exp1) experimental; urgency=low
+
+ * debian/NEWS:
+ + Add informations about LZMA support.
+ * debian/copyright:
+ + Update GPL path.
+ * debian/control:
+ + Remove useless depends of squashfs-source on dpatch.
+ * Add lzma support. Closes: #414563.
+ + Add lzma-source to squashfs-tools Suggests field in debian/control.
+ + Add squashfs lzma headers.
+ + Add lzma support to kernel module.
+ + Add lzma support for squashfs tools.
+ + Add ``-nolzma'' options to mksquashfs help and also in its manpage.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Thu, 18 Oct 2007 13:11:35 +0100
+
+squashfs (1:3.2r2-9) unstable; urgency=low
+
+ * Add 04-kcompat-2.6.23.dpatch for building the kernel module on kernel
+ 2.6.23. Thanks to Stefan Lippers-Hollmann <s.L-H@gmx.de>. Closes: #445417.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Thu, 18 Oct 2007 13:03:25 +0100
+
+squashfs (1:3.2r2-8) unstable; urgency=low
+
+ [ Arnaud Fontaine ]
+ * Fix FTBFS with linux-modules-extra by removing linux-2.6/ directory in
+ squashfs-source package. Closes: #442906.
+ * Add debian/patches/01-module-makefile which allows to build the
+ kernel module by hand.
+ * Move Homepage field from binaries to source package in debian/control*.
+ * debian/changelog:
+ + Fix doubly-encoded utf8 garbage.
+ * debian/control:
+ + Policy doesn't permit Uploaders field on several lines.
+ * debian/control.modules.in:
+ + Update Standards-Version to 3.7.2.
+ + Add XS-VCS-* fields.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Wed, 26 Sep 2007 00:33:16 +0100
+
+squashfs (1:3.2r2-7) unstable; urgency=low
+
+ [ Arnaud Fontaine ]
+ * debian/patches/01-includes.dpatch:
+ + Add missing include against ``sched.h'' kernel header.
+ Closes: #442906.
+ * debian/doc/mksquashfs.dbk:
+ + Remove ``-2.0'' option as it doesn't exist anymore. Closes: #443128.
+
+ [ Otavio Salvador ]
+ * debian/rules:
+ + Remove $(DOC_DIR)/*.1 files on clean.
+ * debian/control:
+ + Fix typo in extended description of squashfs-source package.
+ Closes: #439110.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Wed, 19 Sep 2007 11:39:20 +0100
+
+squashfs (1:3.2r2-6) unstable; urgency=low
+
+ * debian/patches/03-remove-slab.patch:
+ + Fix target of the patch. Closes: #433805.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Thu, 09 Aug 2007 21:39:18 +0200
+
+squashfs (1:3.2r2-5) unstable; urgency=low
+
+ [ Arnaud Fontaine ]
+ * Fix manpage section from 8 to 1. Closes: #433858.
+ * debian/doc/en/mksquashfs.dbk:
+ + Add ``-no-progress'' and ``-no-exports'' options.
+ Closes: #420159.
+ * debian/patches/03-remove-slab.dpatch:
+ + Improve the patch which makes it compatible with kernel version
+ < 2.6.22.
+
+ [ Otavio Salvador ]
+ * debian/control:
+ + Add myself as uploader.
+ + Add XS-VCS-{Git,Browser} control's fields.
+ + Wrap build-depends.
+ * debian/control.in: removed.
+ * debian/watch:
+ + Use git-import-orig instead of uupdate so it integrates better with
+ our git repository.
+ + Fix upstream version handling to remove the dash from it.
+
+ -- Otavio Salvador <otavio@ossystems.com.br> Wed, 08 Aug 2007 15:02:05 -0300
+
+squashfs (1:3.2r2-4) unstable; urgency=low
+
+ * Fix FTBFS with 2.6.22 due SLAB removal. Thanks to Mario Izquierdo
+ <mariodebian@gmail.com> for the patch. Closes: #433805.
+
+ -- Otavio Salvador <otavio@ossystems.com.br> Tue, 07 Aug 2007 21:44:02 -0300
+
+squashfs (1:3.2r2-3) unstable; urgency=low
+
+ * Move squashfs-tools binaries to /usr/bin since they can be used by
+ normal users and are useful to embedded systems. Closes: #422041.
+
+ -- Otavio Salvador <otavio@ossystems.com.br> Wed, 11 Jul 2007 10:33:15 -0300
+
+squashfs (1:3.2r2-2) unstable; urgency=low
+
+ * Upload to unstable.
+ + squashfs module 3.2 now build on kernel >= 2.6.20. Closes:
+ #418762.
+ * Acknowledge NMU. Closes: #416773.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sun, 15 Apr 2007 11:44:35 +0200
+
+squashfs (1:3.2r2-1) experimental; urgency=low
+
+ * New upstream release.
+ + Remove 03-progress-mksquashfs patch included upstream.
+ + Update 01-includes patch.
+ * debian/rules:
+ + Update the kernel patch path for squashfs-module and use 2.6.20
+ kernel patch.
+ * debian/control.modules.in:
+ + Add depends against linux-modules or linux-image.
+ Closes: #408863.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sat, 20 Jan 2007 15:52:31 +0100
+
+squashfs (1:3.1r2-6.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Added patch from upstream to linux-2.6.18/squashfs3.1-patch to fix kernel
+ crash on special crafted squashfs file systems CVE-2006-5701
+ (Closes: #415530).
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 30 Mar 2007 08:52:00 +0200
+
+squashfs (1:3.1r2-6) unstable; urgency=low
+
+ * Add manpage for unsquashfs command.
+ * Re-add the progress patch. Thanks to Tollef Fog Heen
+ <tfheen@ubuntu.com>. Closes: #389487.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sat, 02 Dec 2006 12:11:02 +0100
+
+squashfs (1:3.1r2-5) unstable; urgency=low
+
+ * debian/changelog:
+ + Convert changelog to UTF-8.
+ * debian/control.in:
+ + Remove zlibg1-dev because it is automatically handled by cdbs
+ for debian/control.
+ * debian/rules:
+ + Remove bashisms. Closes: #400753.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 28 Nov 2006 18:33:53 +0100
+
+squashfs (1:3.1r2-4) unstable; urgency=low
+
+ * debian/rules:
+ + Fix manpages by adding 'man.charmap.use.subset' to xsltproc
+ parameter. Closes: #395412.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sun, 29 Oct 2006 09:10:21 +0100
+
+squashfs (1:3.1r2-3) unstable; urgency=low
+
+ * Replace gcc-4.0-hppa by gcc-4.1-hppa in Depends. Closes: #391274.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Fri, 06 Oct 2006 01:41:06 +0200
+
+squashfs (1:3.1r2-2) unstable; urgency=low
+
+ * Update the squashfs-source package for kernel 2.6.18.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Thu, 21 Sep 2006 16:53:29 +0200
+
+squashfs (1:3.1r2-1) unstable; urgency=low
+
+ * New upstream relase.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 05 Sep 2006 15:49:53 +0200
+
+squashfs (1:3.1-1) unstable; urgency=low
+
+ * New upstream release. Closes: #384414.
+ * Remove the squashfs-modules-* packages which is now handled by
+ linux-modules-extra-2.6. Closes: #384440.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Mon, 28 Aug 2006 16:23:44 +0200
+
+squashfs (1:3.0-8) unstable; urgency=low
+
+ * Bumped kernel-abi to 2.6.17-2. Closes: #383137.
+ * Fix progress information patch when generating a FS > 4GB. Thanks
+ to Mike Kasick <mkasick@club.cc.cmu.edu>. Closes: #382714.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 15 Aug 2006 10:51:16 +0200
+
+squashfs (1:3.0-7) unstable; urgency=low
+
+ * Patch for appending files to an existing filesystem larger than
+ 2GB. Thanks to Pierre Renié <archlinuxien@gmail.com> and Ming
+ Zhang. Closes: #378615.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sun, 06 Aug 2006 18:20:04 +0200
+
+squashfs (1:3.0-6) unstable; urgency=low
+
+ * Acknowledge NMU. Closes: #377831.
+ * debian/control.in:
+ + Add a minimum version on po4a (0.21) in Build-Depends. Closes: #377797.
+ + Remove s390-tape flavour which has no kernel headers.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sun, 16 Jul 2006 14:44:56 +0200
+
+squashfs (1:3.0-5.1) unstable; urgency=low
+
+ * NMU in agreement with Arnaud.
+ * Bumped kernel-abi.
+ * Updated flavours as of 2.6.17-2.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 09 Jul 2006 16:22:00 +0200
+
+squashfs (1:3.0-5) unstable; urgency=low
+
+ * debian/control* and debian/rules:
+ + Bumped linux kernel version number to 2.6.16-2.
+ Closes: #369522.
+
+ * debian/patches/03-mksquashfs.dpatch:
+ + Fix rounding error which causes generation of invalid
+ filesystems. Thanks to Scott James Remnant
+ <scott@ubuntu.com>. Closes: #368969.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Wed, 31 May 2006 18:16:18 +0200
+
+squashfs (1:3.0-4) unstable; urgency=low
+
+ * debian/rules:
+ + Fix FTBFS on powerpc64. Thanks to Julien Louis
+ <ptitlouis@sysif.net>.
+
+ * debian/control*:
+ + Update Standards-Version to 3.7.2.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sun, 07 May 2006 09:59:10 +0200
+
+squashfs (1:3.0-3) unstable; urgency=low
+
+ * debian/control*:
+ + Fix incorrect package name for module
+ squashfs-modules-2.6*-powerpc64.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sat, 29 Apr 2006 12:27:06 +0200
+
+squashfs (1:3.0-2) unstable; urgency=low
+
+ * debian/patches/03-mksquashfs.dpatch:
+ + Add patch showing the progress of mksquashfs. Thanks to Tollef
+ Fog Heen <tfheen@ubuntu.com>. Closes: #364089.
+
+ * debian/control*:
+ + Add complete description for every squashfs-* packages. Thanks
+ to Tomas Pospisek <tpo_deb@sourcepole.ch>. Closes: #364743.
+ + Add Homepage to the descriptions.
+ + Suggests on squashfs-source instead of kernel-patch-squashfs for
+ squashfs-tools.
+ + Conflicts and Replaces on kernel-patch-squashfs concerning
+ squashfs-source. Thanks to Bastian Kleineidam
+ <calvin@debian.org>. Closes: #364768.
+ + Add docbook-xml to Build-Depends for manpages.
+ + Add binutils-hppa64 and gcc-4.0-hppa64 Build-Depends for hppa.
+
+ * debian/control.modules.in:
+ + Remove Daniel Baumann from Uploaders.
+
+ * debian/docs:
+ + Add README-3.0.
+
+ * debian/rules:
+ + Add unsquashfs to build program.
+ + Add upstream changelog to the packages (CHANGES).
+ + Fix FTBFS for hppa64* and sparc64* by specifying respectively
+ CROSS_COMPILE and ARCH for building the modules.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Wed, 26 Apr 2006 18:38:20 +0200
+
+squashfs (1:3.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Building module out-of-tree, thanks to Daniel Baumann
+ <daniel.baumann@panthera-systems.net>. Closes: #355554.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Sun, 02 Apr 2006 11:47:00 +0200
+
+squashfs (1:2.2r2-3) unstable; urgency=low
+
+ * debian/kernel-patch-squashfs.kpatches and
+ debian/kernel-patch-squashfs.k_patches.commented updated to support
+ Linux 2.6.14 and later.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 31 Jan 2006 12:52:18 +0100
+
+squashfs (1:2.2r2-2) unstable; urgency=low
+
+ * Removed source root debian Makefile (not upstream) in favor of
+ CDBS (so modified debian/rules), added debian/control.in.
+ * Added debian/cdbs/1/class/makefile.mk in order to fix bug #338625.
+ * Added french translation by Frédéric Boiteux and Olivier Trichet.
+ Moved mksquashfs.dbk from debian/ to debian/doc/en/.
+ * Switch to po4a. Thanks to Nicolas François.
+ * Updated debian/watch.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Thu, 10 Nov 2005 15:22:28 +0100
+
+squashfs (1:2.2r2-1) unstable; urgency=low
+
+ * New upstream release. Closes: #317795.
+ * Suggested 'kernel-source | linux-source' instead of 'kernel-source'
+ in debian/control. Thanks to Marco Bodrato. Closes: #329623.
+ * Updated debian/kernel-patch-squashfs.kpatches and
+ debian/kernel-patch-squashfs.k_patches.commented due to new
+ upstream patches. Closes: #303032.
+ * Updated FSF address in debian/copyright.
+ * Updated Standards-Version to 3.6.2.1 (no changes needed).
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 11 Oct 2005 20:12:55 +0200
+
+squashfs (1:2.1r2-0.1) unstable; urgency=low
+
+ * NMU: build also a kernel-patch-squashfs module.
+ * New upstream release. Closes: #287919.
+ * Change Debian helper from yada to Debhelper.
+ * change mksquashfs install directory from /usr/bin/ to /usr/sbin/.
+
+ -- Frédéric Boiteux <fboiteux@calistel.com> Mon, 20 Dec 2004 12:47:46 +0100
+
+squashfs (1:2.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fixes for build script. It can be called debian/rules build after
+ interrupt.
+
+ -- Piotr Roszatycki <dexter@debian.org> Thu, 05 Aug 2004 18:57:15 +0200
+
+squashfs (2.0-ALPHA-1) unstable; urgency=low
+
+ * New upstream release. Closes: #255470.
+
+ -- Piotr Roszatycki <dexter@debian.org> Mon, 21 Jun 2004 13:06:46 +0200
+
+squashfs (1.3r3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Piotr Roszatycki <dexter@debian.org> Thu, 11 Mar 2004 21:29:32 +0100
+
+squashfs (1.3r2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Piotr Roszatycki <dexter@debian.org> Tue, 18 Nov 2003 12:48:13 +0100
+
+squashfs (1.3-2) unstable; urgency=low
+
+ * Fixed missing build-depends on libz-dev, closes: #215338.
+
+ -- Piotr Roszatycki <dexter@debian.org> Mon, 13 Oct 2003 12:35:38 +0200
+
+squashfs (1.3-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Piotr Roszatycki <dexter@debian.org> Wed, 01 Oct 2003 14:28:30 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e8ef660
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: squashfs-tools
+Section: kernel
+Priority: optional
+Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Build-Depends:
+ debhelper-compat (= 13), libattr1-dev, liblzma-dev, liblzo2-dev, liblz4-dev, zlib1g-dev, libzstd-dev, help2man
+Standards-Version: 4.6.2
+Homepage: https://github.com/plougher/squashfs-tools
+
+Package: squashfs-tools
+Architecture: linux-any kfreebsd-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Tool to create and append to squashfs filesystems
+ Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
+ compression to compress both files, inodes and directories. Inodes in the
+ system are very small and all blocks are packed to minimise data overhead.
+ Block sizes greater than 4K are supported up to a maximum of 64K.
+ .
+ Squashfs is intended for general read-only filesystem use, for archival use
+ (i.e. in cases where a .tar.gz file may be used), and in constrained block
+ device/memory systems (e.g. embedded systems) where low overhead is needed.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8b52f8d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Squashfs
+Upstream-Contact: Phillip Lougher <phillip@squashfs.org.uk>
+Source: https://github.com/plougher/squashfs-tools
+
+Files: *
+Copyright: 2002-2013 Phillip Lougher <phillip@squashfs.org.uk>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2013- Laszlo Boszormenyi (GCS) <gcs@debian.org>,
+ 2013 Luk Claes <luk@debian.org,
+ 2009-2013 Daniel Baumann <mail@daniel-baumann.ch>
+License: GPL-2+
+
+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 <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found at '/usr/share/common-licenses/GPL-2' file.
+
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/patches/0001-kfreebsd.patch b/debian/patches/0001-kfreebsd.patch
new file mode 100644
index 0000000..7008437
--- /dev/null
+++ b/debian/patches/0001-kfreebsd.patch
@@ -0,0 +1,38 @@
+Author: Cyril Brulebois <kibi@debian.org>
+Description: Fixes FTBFS on kfreebsd (Closes: #557174).
+Bug-Debian: https://bugs.debian.org/557174
+Last-Update: 2021-07-25
+
+--- a/squashfs-tools/endian_compat.h
++++ b/squashfs-tools/endian_compat.h
+@@ -23,7 +23,7 @@
+ *
+ * endian_compat.h
+ */
+-#ifndef linux
++#if !defined(linux) && !defined(__GLIBC__)
+ #define __BYTE_ORDER BYTE_ORDER
+ #define __BIG_ENDIAN BIG_ENDIAN
+ #define __LITTLE_ENDIAN LITTLE_ENDIAN
+--- a/squashfs-tools/mksquashfs.c
++++ b/squashfs-tools/mksquashfs.c
+@@ -5024,7 +5024,7 @@ static void initialise_threads(int readq
+ BAD_ERROR("Failed to set signal mask in intialise_threads\n");
+
+ if(processors == -1) {
+-#ifndef linux
++#if !defined(linux) && !defined(__GLIBC__)
+ int mib[2];
+ size_t len = sizeof(processors);
+
+--- a/squashfs-tools/unsquashfs.c
++++ b/squashfs-tools/unsquashfs.c
+@@ -2710,7 +2710,7 @@ void initialise_threads(int fragment_buf
+ }
+
+ if(processors == -1) {
+-#ifndef linux
++#if !defined(linux) && !defined(__GLIBC__)
+ int mib[2];
+ size_t len = sizeof(processors);
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5c73c42
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+#0001-kfreebsd.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3618ad7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_CFLAGS_MAINT_APPEND = -fgnu89-inline
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(shell dpkg-buildflags --export=cmdline)
+
+override_dh_auto_build:
+ LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1 \
+ ZSTD_SUPPORT=1 dh_auto_build
+
+override_dh_auto_install:
+ dh_auto_install -- \
+ INSTALL_DIR=$(CURDIR)/debian/squashfs-tools/usr/bin \
+ INSTALL_MANPAGES_DIR=$(CURDIR)/debian/squashfs-tools/usr/share/man/man1
+
+%:
+ dh ${@} --sourcedirectory=squashfs-tools/
+
+.PHONY: override_dh_auto_build override_dh_auto_install
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/watch b/debian/watch
new file mode 100644
index 0000000..90d2fd8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=uversionmangle=s/^(SNAPSHOT|RELEASE)\.//;s/(\d+)[_-](\d+)[_-](\d+)/\$1.\$2.\$3/;s/(\d+)[_-](\d+)/\$1.\$2/;s/(\d)[_\.\-\+]?((rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/;s/(\d)[_\.\-\+]?RC[\-\.]?(\d*)$/$1~rc$2/,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//i \
+https://github.com/plougher/squashfs-tools/tags .*/[vV]?(\d\S*)@ARCHIVE_EXT@