From: Alexandre Mestiashvili Date: Fri, 25 Dec 2020 18:28:35 +0000 (+0000) Subject: libzstd (1.4.8+dfsg-1) unstable; urgency=medium X-Git-Tag: archive/raspbian/1.4.8+dfsg-3+rpi1~1^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57aae9017b64c1f051426fd06378cc89f515538d;p=libzstd.git libzstd (1.4.8+dfsg-1) unstable; urgency=medium * New upstream version 1.4.8+dfsg, Closes: #977829 * Refresh and remove patch applied by upstream * Update d/libzstd1.symbols, getSequences() got renamed to generateSequences(), no reverse deps use ZSTD_getSequences * d/rules, remove export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing, fixed by upstream, Closes: #957487 Call dh_makeshlibs with -V 'libzstd1 (>= 1.4.8)', new public symbols * d/copyright, drop contrib/linux-kernel/fs/squashfs/* * d/control: bump Policy to 4.5.1 [dgit import unpatched libzstd 1.4.8+dfsg-1] --- 57aae9017b64c1f051426fd06378cc89f515538d diff --cc debian/README.Debian index 0000000,0000000..5341295 new file mode 100644 --- /dev/null +++ b/debian/README.Debian @@@ -1,0 -1,0 +1,6 @@@ ++1.2.0-1 ++------- ++ ++some patches have been removed, makefile had a lot of changes, ++the long running tests skip patch has been removed but may need ++further investigation to see if it is still needed. diff --cc debian/README.source index 0000000,0000000..50aef85 new file mode 100644 --- /dev/null +++ b/debian/README.source @@@ -1,0 -1,0 +1,1 @@@ ++The examples were removed from the upstream tarball due to #869581 diff --cc debian/changelog index 0000000,0000000..7165381 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,425 @@@ ++libzstd (1.4.8+dfsg-1) unstable; urgency=medium ++ ++ * New upstream version 1.4.8+dfsg, Closes: #977829 ++ * Refresh and remove patch applied by upstream ++ * Update d/libzstd1.symbols, getSequences() got renamed ++ to generateSequences(), no reverse deps use ZSTD_getSequences ++ * d/rules, remove export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing, ++ fixed by upstream, Closes: #957487 ++ Call dh_makeshlibs with -V 'libzstd1 (>= 1.4.8)', new public symbols ++ * d/copyright, drop contrib/linux-kernel/fs/squashfs/* ++ * d/control: bump Policy to 4.5.1 ++ ++ -- Alexandre Mestiashvili Fri, 25 Dec 2020 19:28:35 +0100 ++ ++libzstd (1.4.5+dfsg-4) unstable; urgency=medium ++ ++ [ Andreas Tille ] ++ * Team upload. ++ * debhelper-compat 13 (routine-update) ++ ++ [ Sudip Mukherjee ] ++ * Disable strict-aliasing to work around bug #957487 ++ Intentionally not closing bug but decreasing severity for the moment. ++ The bug should be closed by a proper upstream fix and ++ strict-aliasing should be re-enabled. ++ ++ -- Andreas Tille Fri, 07 Aug 2020 20:47:29 +0200 ++ ++libzstd (1.4.5+dfsg-3) unstable; urgency=medium ++ ++ [ Paul Menzel ] ++ * debian/changelog: Fix typo in 1.4.5+dfsg-2 changelog ++ ++ [ Alexandre Mestiashvili ] ++ * Add patch fixing FTBFS on Alpha, Closes: #962676 ++ thanks to Helmut Grohne ++ ++ -- Alexandre Mestiashvili Mon, 29 Jun 2020 16:10:31 +0200 ++ ++libzstd (1.4.5+dfsg-2) unstable; urgency=medium ++ ++ * Drop ZSTD_LEGACY_MULTITHREADED_API, since nothing in Debian seems to use it ++ * Fix FTCBFS: Don't build the shared library during dh_auto_install, ++ Closes: #962367, thanks to Helmut Grohne ++ ++ -- Alexandre Mestiashvili Sun, 07 Jun 2020 09:31:18 +0200 ++ ++libzstd (1.4.5+dfsg-1) unstable; urgency=medium ++ ++ * New upstream version 1.4.5+dfsg ++ * Refresh patches, remove 0019-blhc-workarounds.patch from series ++ * Update symbols file, add ZDICT_getDictHeaderSize and remove all ++ ZSTDMT_* symbols, also remove renamed ZSTD_CCtxParam_getParameter and ++ ZSTD_CCtxParam_setParameter, no reverse dependencies use any of the ++ removed symbols ++ * Remove 0018-Alias-renamed-API-symbols.patch since no rdeps use the old ++ symbols ++ * Add patch fixing spelling typos ++ * d/rules: call dh_makeshlibs with -V 'libzstd1 (>= 1.4.5)', since this ++ version introduces new public symbols ++ ++ -- Alexandre Mestiashvili Fri, 05 Jun 2020 10:47:12 +0200 ++ ++libzstd (1.4.4+dfsg-3) unstable; urgency=medium ++ ++ * Team upload. ++ * Source only upload. ++ ++ -- Michael R. Crusoe Thu, 13 Feb 2020 10:40:13 +0100 ++ ++libzstd (1.4.4+dfsg-2) unstable; urgency=medium ++ ++ * Team upload. ++ * Install all the man pages. ++ * Standards-Version: 4.5.0 (routine-update) ++ * debhelper-compat 12 (routine-update) ++ ++ -- Michael R. Crusoe Thu, 13 Feb 2020 09:10:22 +0100 ++ ++libzstd (1.4.4+dfsg-1) unstable; urgency=medium ++ ++ [ Justin Aplin ] ++ * New upstream version 1.4.4+dfsg ++ * Refresh patches ++ * Call Salsa CI with variable DB_BUILD_PARAM: '-v1.1.2-1', since this is the ++ oldest version in active repositories ++ * Add Rules-Requires-Root: binary-targets to debian/control to comply with ++ current DPM ++ * Bump Standards-Version to 4.4.1, changes noted above ++ * Update symbols file for libzstd1 ++ * Call dh_makeshlibs with -V 'libzstd1 (>= 1.4.4)', since this version ++ introduced new public symbols ++ * Add an entry in debian/source/lintian-overrides to prevent libzstd1's ++ Section entry from triggering binary-control-field-duplicates-source, ++ since this field is necessary for the build ++ ++ -- Alexandre Mestiashvili Fri, 15 Nov 2019 17:15:40 +0100 ++ ++libzstd (1.4.3+dfsg-1) unstable; urgency=medium ++ ++ [ Alexandre Mestiashvili ] ++ * Fix a typo causing test failures on mips(el) architectures in ++ d/patches/0013-skip-memory-greedy-tests.patch ++ * Remove circle.yml from Files-Excluded section in d/copyright ++ * New upstream version 1.4.3+dfsg ++ ++ -- Alexandre Mestiashvili Tue, 20 Aug 2019 13:33:51 +0200 ++ ++libzstd (1.4.2+dfsg-1) unstable; urgency=medium ++ ++ [ Justin Aplin ] ++ * New upstream version 1.4.2+dfsg ++ * Refresh and drop applied by upstream patches ++ * Add patch aliasing two renamed but unchanged symbols to maintain backwards ++ compatibility ++ * Build with ZSTD_LEGACY_MULTITHREADED_API=1 to maintain backwards ++ compatibility ++ * Update symbols file for libzstd1 ++ * Call dh_makeshlibs with -V 'libzstd1 (>= 1.4.0)', since this version ++ introduced new public symbols ++ * Bump debhelper compat level to 12. ++ * Bump Standards-Version to 4.4.0, no changes needed. ++ * Salsa-CI integration ++ ++ [ Alexandre Mestiashvili ] ++ * Add .cirrus.yml to Files-Excluded list in d/copyright ++ ++ -- Alexandre Mestiashvili Mon, 19 Aug 2019 15:14:31 +0200 ++ ++libzstd (1.3.8+dfsg-3) unstable; urgency=medium ++ ++ * Add patch fixing zstdgrep exit code when operating on files ++ Closes: #918390, thanks to Jörg-Volker Peetz ++ ++ -- Alexandre Mestiashvili Sat, 05 Jan 2019 23:42:20 +0100 ++ ++libzstd (1.3.8+dfsg-2) unstable; urgency=medium ++ ++ * Add patch skipping tests failing on GNU/Hurd when writing to special files ++ such as /dev/zero or /dev/random ++ * Upload to unstable ++ ++ -- Alexandre Mestiashvili Thu, 03 Jan 2019 14:47:31 +0100 ++ ++libzstd (1.3.8+dfsg-1) experimental; urgency=medium ++ ++ * Add .circleci to Files-Excluded ++ * New upstream version 1.3.8+dfsg ++ * Update docs, install all md files and CHANGELOG ++ * Bumpt Policy to 4.3.0 ++ * Refresh and drop applied by upstream patches ++ * Update symbols file for libzstd1, ++ removed! 6 symbols from experimental API, but no reverse dependencies ++ of libzstd1 seem to use any of the removed symbols ++ See also: https://github.com/facebook/zstd/issues/1111 ++ * Call dh_makeshlibs with -V 'libzstd1 (>= 1.3.8)', since this version ++ introduced new public symbols ++ * Update zstd.lintian-overrides, zstd{grep,less} got man pages ++ ++ -- Alexandre Mestiashvili Mon, 31 Dec 2018 15:19:12 +0100 ++ ++libzstd (1.3.5+dfsg-2) unstable; urgency=medium ++ ++ * Add udeb package for libzstd1, Closes: #908834 ++ * Bump Policy to 4.2.1 ++ * Call dh_makeshlibs with -V 'libzstd1 (>= 1.3.5)', since this version ++ introduced new public symbols ++ ++ -- Alexandre Mestiashvili Fri, 12 Oct 2018 08:00:27 +0000 ++ ++libzstd (1.3.5+dfsg-1) unstable; urgency=medium ++ ++ [ Alexandre Mestiashvili ] ++ * Add attribuition for the patch ++ * Fix varying number of threads in pzstd man page, making build reproducible ++ * New upstream version 1.3.5+dfsg ++ * Refresh and drop patches applied by upstream ++ * Update d/zstd.lintian-overrides ++ ++ [ Balint Reczey ] ++ * Update symbols file ++ * Allow Invoking `zstd --list` When `stdin` is not a `tty` ++ ++ -- Alexandre Mestiashvili Fri, 21 Sep 2018 18:46:28 +0000 ++ ++libzstd (1.3.4+dfsg-3) unstable; urgency=medium ++ ++ * Add patch provided by Chris Lamb making build reproducible, ++ Closes: #897904 ++ * Update patch skipping heavy tests on mips(el) and hurd ++ * Add patch fixing tests on GNU/Hurd ++ * Drop not needed override_dh_auto_test ++ ++ -- Alexandre Mestiashvili Wed, 09 May 2018 19:25:10 +0200 ++ ++libzstd (1.3.4+dfsg-2) unstable; urgency=medium ++ ++ * Add liblzma-dev and liblz4-dev to build-depends to enable xz and lz4 ++ support ++ * Patch tests to avoid FTBFS on mips(el) architectures ++ * Use help2man for pzstd man page, drop patches providing obsolete man pages ++ * Update zstd.lintian-overrides, add more binaries without man pages ++ * Add override for dh_auto_test, on hurd run only simple tests ++ * Update 0012-typos.patch, forward to upstream ++ ++ -- Alexandre Mestiashvili Wed, 02 May 2018 15:43:16 +0200 ++ ++libzstd (1.3.4+dfsg-1) unstable; urgency=medium ++ ++ * Team upload. ++ ++ [ Alexandre Mestiashvili ] ++ * New upstream version 1.3.4+dfsg ++ * Refresh patches, remove indexes ++ * Update d/libzstd1.symbols fixing minimal-version ++ * Update d/copyright, starting from 1.3.1 patent claim is removed ++ * Add comments to unstable symbols ++ ++ [ Mattia Rizzolo ] ++ * Update copyright after the new upstream release. ++ ++ [ Sascha Steinbiss ] ++ * Remove obsolete patch. ++ * Reword patch description. ++ ++ -- Alexandre Mestiashvili Wed, 25 Apr 2018 10:39:39 +0200 ++ ++libzstd (1.3.3+dfsg-2) unstable; urgency=medium ++ ++ * Team upload. ++ ++ [ Dimitri John Ledkov ] ++ * Mark -dev and library packages Multi-Arch same. ++ * Update Vcs fields for salsa. ++ * Cleanup unused patches. ++ ++ [ Andreas Hasenack ] ++ * d/rules: also run the clean Makefile target in the pzstd directory. ++ ++ [ Alexandre Mestiashvili ] ++ * d/control: Update my email address. ++ * d/rules: ++ + Disable tests if DEB_BUILD_OPTIONS set to nocheck. ++ + Use dh_auto_build instead of $(MAKE) to avoid cross build failures. ++ Thanks to Helmut Grohne for the patch. Closes: #895925 ++ + Use dh_auto_clean instead of $(MAKE). ++ ++ [ Adam Borowski ] ++ * Enable build on riscv64. Closes: #895259 ++ ++ [ Mattia Rizzolo ] ++ * Bump debhelper compat level to 11. ++ * Bump Standards-Version to 4.1.4, no changes needed. ++ * Remove patch skipping a test on hurd-i386: allegedly the underlying issue ++ has been fixed instead. ++ ++ -- Mattia Rizzolo Sat, 21 Apr 2018 11:26:59 +0200 ++ ++libzstd (1.3.3+dfsg-1) unstable; urgency=medium ++ ++ * Update File-Excluded list in d/copyright ++ * New upstream version 1.3.3+dfsg, Closes: #883816 ++ * Refresh patches ++ * Add zlib1g-dev to Build-Deps to enable gzip support in zstd, ++ Closes: #883827 ++ ++ -- Alexandre Mestiashvili Thu, 21 Dec 2017 14:25:26 +0100 ++ ++libzstd (1.3.2+dfsg2-2) unstable; urgency=medium ++ ++ * Team upload. ++ * Do not depend libzstd in zstd package since static linking seems ++ to be the preferred way to create the executable ++ Closes: #884876 ++ * Standards-Version: 4.1.2 ++ ++ -- Andreas Tille Thu, 21 Dec 2017 11:43:12 +0100 ++ ++libzstd (1.3.2+dfsg2-1) unstable; urgency=medium ++ ++ * Update d/copyright: ++ - don't strip examples from source tarball ++ - note BSD and GPL-2 license for examples ++ * New upstream version 1.3.2+dfsg2 ++ Closes: #883271 ++ * Drop override_dh_auto_clean in d/rules as examples are back ++ * Drop 0010-do_not_make_examples.patch as examples are back ++ * Remove ruby-ronn from Build-Depends, as it renders libzstd package ++ not installable on many architectures. ++ Use man page shipped by upstream ++ * Apply cme fix dpkg, reformat 0010-do-not.. patch header, ++ fix VCS-Browser field ++ * Add override for manpage-has-errors-from-man lintian warning ++ * Install examples with libzstd-dev ++ ++ -- Alexandre Mestiashvili Fri, 01 Dec 2017 17:18:39 +0100 ++ ++libzstd (1.3.2+dfsg1-1) unstable; urgency=medium ++ ++ [ Alexandre Mestiashvili ] ++ * Update Files-Excluded section in d/copyright ++ * New upstream version 1.3.2+dfsg1 ++ * Update d/rules: ++ - trick dh_auto_clean with empty exmaples dir ++ - force man page generation ++ * Add symbols file for libzstd1 ++ * Add 0011-skip-long-running-tests_on_hurd.patch fixing tests on gnu hurd ++ * Add d/patches/0012-typos.patch fixing a typo ++ * Enable autopkgtests via d/tests/control ++ * Override lintian's complain about missing man pages ++ * Add myself to uploaders ++ * Add ruby-ronn to build-deps, needed for man page generation ++ ++ [ Andreas Tille ] ++ * d/watch: Fix version mangling ++ ++ -- Alexandre Mestiashvili Thu, 30 Nov 2017 23:32:41 +0100 ++ ++libzstd (1.3.2+dfsg-1) unstable; urgency=medium ++ ++ * Team upload ++ * New upstream version ++ Closes: #881187 ++ * Standards-Version: 4.1.1 ++ ++ -- Andreas Tille Thu, 09 Nov 2017 07:55:32 +0100 ++ ++libzstd (1.3.1+dfsg-2) unstable; urgency=medium ++ ++ * Team upload ++ * Follow hint given by James Cowgill to recude number of threads ++ on 32Bit MIPS architecture ++ Closes: #876416 ++ ++ -- Andreas Tille Fri, 22 Sep 2017 15:29:35 +0200 ++ ++libzstd (1.3.1+dfsg-1) unstable; urgency=medium ++ ++ * Team upload ++ * New upstream version ++ * Exclude examples from upstream tarball ++ Closes: #869581 ++ * debhelper 10 ++ * cme fix dpkg-control ++ * Standards-Version: 4.1.0 (no changes needed) ++ * Fix copyright ++ ++ -- Andreas Tille Wed, 06 Sep 2017 15:29:29 +0200 ++ ++libzstd (1.2.0-1) unstable; urgency=medium ++ ++ * New upstream release (Closes: #863159). ++ ++ -- Olivier Sallou Wed, 24 May 2017 11:28:27 +0000 ++ ++libzstd (1.1.2-1) unstable; urgency=medium ++ ++ * Team upload. ++ * New upstream version 1.1.2 ++ ++ -- Sascha Steinbiss Sun, 15 Jan 2017 08:08:53 +0000 ++ ++libzstd (1.1.1-1) unstable; urgency=medium ++ ++ * New upstream version 1.1.1 (Closes: #844248) ++ * Whitespace fix to d/control ++ * Ensure hardening flags pass through to compiler by appending to CPPFLAGS ++ ++ -- Kevin Murray Sun, 20 Nov 2016 16:12:58 +0100 ++ ++libzstd (1.1.0-1) unstable; urgency=medium ++ ++ * New upstream version 1.1.0 (Closes: #839960) ++ * Change uploader email ++ * Build new pzstd binary, including manpage ++ * Fix miscellaneous issues with d/rules and d/*.install ++ * Move docs from libzstd-dev to the zstd binary ++ ++ -- Kevin Murray Sun, 13 Nov 2016 11:23:03 +0000 ++ ++libzstd (1.0.0-1) unstable; urgency=medium ++ ++ * Imported Upstream version 1.0.0 (Closes: #836574) ++ * Bump library package name to libzstd1 ++ * Changed project URLs, copyrights after move to facebook. ++ * d/rules: hardening=+all ++ ++ -- Kevin Murray Sun, 04 Sep 2016 14:45:24 +1000 ++ ++libzstd (0.8.0-1) unstable; urgency=medium ++ ++ [ Kevin Murray ] ++ * New upstream version (Closes: #834114) ++ ++ [ Andreas Tille ] ++ * hardening=+bindnow ++ ++ -- Kevin Murray Thu, 21 Jul 2016 10:56:02 +1000 ++ ++libzstd (0.5.1-1) unstable; urgency=medium ++ ++ [ Kevin Murray ] ++ * New upstream version (fixes a FTBFS) ++ * Package pkgconfig file (Closes: #813854) ++ * Fix path to tagged archives in d/watch ++ * Add vcs URLs ++ * Bump to standards version 3.9.7 ++ ++ [ Mattia Rizzolo ] ++ * debian/rules: Remove a lot of uneeded comments and lines ++ ++ -- Kevin Murray Thu, 17 Mar 2016 12:59:04 +0000 ++ ++libzstd (0.4.7-1) unstable; urgency=low ++ ++ * New upstream version ++ * Remove build date encoding to enable reproducible build ++ ++ -- Kevin Murray Wed, 03 Feb 2016 11:26:21 +0200 ++ ++libzstd (0.4.5-1) unstable; urgency=low ++ ++ * Initial release (Closes: #806767) ++ ++ -- Kevin Murray Tue, 01 Dec 2015 13:54:36 +1100 diff --cc debian/control index 0000000,0000000..8dc8692 new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,61 @@@ ++Source: libzstd ++Maintainer: Debian Med Packaging Team ++Uploaders: Kevin Murray , ++ Olivier Sallou , ++ Alexandre Mestiashvili ++Section: libs ++Priority: optional ++Build-Depends: d-shlibs, ++ debhelper-compat (= 13), ++ help2man, ++ liblz4-dev, ++ liblzma-dev, ++ zlib1g-dev ++Rules-Requires-Root: binary-targets ++Standards-Version: 4.5.1 ++Vcs-Browser: https://salsa.debian.org/med-team/libzstd ++Vcs-Git: https://salsa.debian.org/med-team/libzstd.git ++Homepage: https://github.com/facebook/zstd ++ ++Package: libzstd-dev ++Architecture: any ++Multi-Arch: same ++Section: libdevel ++Depends: libzstd1 (= ${binary:Version}), ++ ${misc:Depends} ++Description: fast lossless compression algorithm -- development files ++ Zstd, short for Zstandard, is a fast lossless compression algorithm, targeting ++ real-time compression scenarios at zlib-level compression ratio. ++ . ++ This package contains the headers and static library. ++ ++Package: libzstd1 ++Architecture: any ++Multi-Arch: same ++Section: libs ++Depends: ${misc:Depends}, ++ ${shlibs:Depends} ++Description: fast lossless compression algorithm ++ Zstd, short for Zstandard, is a fast lossless compression algorithm, targeting ++ real-time compression scenarios at zlib-level compression ratio. ++ . ++ This package contains the shared library. ++ ++Package: zstd ++Architecture: any ++Section: utils ++Depends: ${misc:Depends}, ++ ${shlibs:Depends} ++Description: fast lossless compression algorithm -- CLI tool ++ Zstd, short for Zstandard, is a fast lossless compression algorithm, targeting ++ real-time compression scenarios at zlib-level compression ratio. ++ . ++ This package contains the CLI program implementing zstd. ++ ++Package: libzstd1-udeb ++Architecture: any ++Section: debian-installer ++Depends: ${misc:Depends}, ++ ${shlibs:Depends} ++Package-Type: udeb ++Description: fast lossless compression algorithm library for debian-installer diff --cc debian/copyright index 0000000,0000000..1045de1 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,117 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: Zstd ++Source: https://github.com/facebook/zstd ++Files-Excluded: appveyor.yml ++ build/* ++ programs/windres/* ++ .travis.yml ++ .buckversion ++ .buckconfig ++ .circleci/* ++ .cirrus.yml ++ ++Files: * ++Copyright: 2013-2018, Yann Collet ++ 2016, Przemyslaw Skibinski ++ 2016-2018, Facebook, Inc. ++License: BSD-3-clause and GPL-2 ++Comment: Starting from 1.3.1 zstd's patent claim is removed ++ see: https://github.com/facebook/zstd/pull/801 ++ ++Files: zlibWrapper/examples/*.c ++Copyright: 1995-2006, 2011 Jean-loup Gailly ++License: zlib ++ ++Files: zlibWrapper/gz*.c ++Copyright: (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler ++License: zlib ++ ++License: zlib ++ This software is provided 'as-is', without any express or implied ++ warranty. In no event will the authors be held liable for any damages ++ arising from the use of this software. ++ . ++ Permission is granted to anyone to use this software for any purpose, ++ including commercial applications, and to alter it and redistribute it ++ freely, subject to the following restrictions: ++ . ++ 1. The origin of this software must not be misrepresented; you must not ++ claim that you wrote the original software. If you use this software ++ in a product, an acknowledgement in the product documentation would be ++ appreciated but is not required. ++ 2. Altered source versions must be plainly marked as such, and must not be ++ misrepresented as being the original software. ++ 3. This notice may not be removed or altered from any source distribution. ++ ++Files: lib/dictBuilder/divsufsort.* ++Copyright: 2003-2008, Yuta Mori ++License: Expat ++ ++Files: examples/* ++Copyright: 2016-present, Yann Collet, Facebook, Inc. ++License: BSD-3-clause and GPL-2 ++ ++Files: debian/* ++Copyright: 2015-2016 Kevin Murray ++License: Expat ++ ++License: Expat ++ Permission is hereby granted, free of charge, to any person obtaining ++ a copy of this software and associated documentation files (the ++ "Software"), to deal in the Software without restriction, including ++ without limitation the rights to use, copy, modify, merge, publish, ++ distribute, sublicense, and/or sell copies of the Software, and to ++ permit persons to whom the Software is furnished to do so, subject to ++ the following conditions: ++ . ++ The above copyright notice and this permission notice shall be ++ included in all copies or substantial portions of the Software. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS ++ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ++ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ++ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++ SOFTWARE. ++ ++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, v2, as ++ published by the Free Software Foundation ++ . ++ 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, write to the Free Software Foundation, Inc., ++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ++ . ++ On Debian systems, the complete text of the GNU General Public ++ License version 2 can be found in `/usr/share/common-licenses/GPL-2'. ++ ++License: BSD-3-clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions are met: ++ * Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ * 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. ++ * Neither the name of cereal nor the ++ names of its contributors may be used to endorse or promote products ++ derived from this software without specific prior written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ++ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++ DISCLAIMED. IN NO EVENT SHALL RANDOLPH VOORHIES OR SHANE GRANT BE LIABLE FOR ANY ++ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ++ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ++ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ++ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --cc debian/libzstd-dev.examples index 0000000,0000000..e39721e new file mode 100644 --- /dev/null +++ b/debian/libzstd-dev.examples @@@ -1,0 -1,0 +1,1 @@@ ++examples/* diff --cc debian/libzstd1.symbols index 0000000,0000000..24cfdde new file mode 100644 --- /dev/null +++ b/debian/libzstd1.symbols @@@ -1,0 -1,0 +1,588 @@@ ++libzstd.so.1 libzstd1 #MINVER# ++* Build-Depends-Package: libzstd-dev ++ ZBUFF_compressContinue@Base 1.3.2 ++ ZBUFF_compressEnd@Base 1.3.2 ++ ZBUFF_compressFlush@Base 1.3.2 ++ ZBUFF_compressInit@Base 1.3.2 ++ ZBUFF_compressInitDictionary@Base 1.3.2 ++ ZBUFF_compressInit_advanced@Base 1.3.2 ++ ZBUFF_createCCtx@Base 1.3.2 ++ ZBUFF_createCCtx_advanced@Base 1.3.2 ++ ZBUFF_createDCtx@Base 1.3.2 ++ ZBUFF_createDCtx_advanced@Base 1.3.2 ++ ZBUFF_decompressContinue@Base 1.3.2 ++ ZBUFF_decompressInit@Base 1.3.2 ++ ZBUFF_decompressInitDictionary@Base 1.3.2 ++ ZBUFF_freeCCtx@Base 1.3.2 ++ ZBUFF_freeDCtx@Base 1.3.2 ++ ZBUFF_getErrorName@Base 1.3.2 ++ ZBUFF_isError@Base 1.3.2 ++ ZBUFF_recommendedCInSize@Base 1.3.2 ++ ZBUFF_recommendedCOutSize@Base 1.3.2 ++ ZBUFF_recommendedDInSize@Base 1.3.2 ++ ZBUFF_recommendedDOutSize@Base 1.3.2 ++ ZDICT_addEntropyTablesFromBuffer@Base 1.3.2 ++ ZDICT_finalizeDictionary@Base 1.3.2 ++ ZDICT_getDictHeaderSize@Base 1.4.5 ++ ZDICT_getDictID@Base 1.3.2 ++ ZDICT_getErrorName@Base 1.3.2 ++ ZDICT_isError@Base 1.3.2 ++ ZDICT_optimizeTrainFromBuffer_cover@Base 1.3.2 ++ ZDICT_optimizeTrainFromBuffer_fastCover@Base 1.3.8 ++ ZDICT_trainFromBuffer@Base 1.3.2 ++ ZDICT_trainFromBuffer_cover@Base 1.3.2 ++ ZDICT_trainFromBuffer_fastCover@Base 1.3.8 ++ ZDICT_trainFromBuffer_legacy@Base 1.3.2 ++ ZSTD_CCtxParams_getParameter@Base 1.4.0 ++ (should only be used when static linking)ZSTD_CCtxParams_init@Base 1.3.4 ++ (should only be used when static linking)ZSTD_CCtxParams_init_advanced@Base 1.3.4 ++ (should only be used when static linking)ZSTD_CCtxParams_reset@Base 1.3.4 ++ ZSTD_CCtxParams_setParameter@Base 1.4.0 ++ ZSTD_CCtx_getParameter@Base 1.3.5 ++ ZSTD_CCtx_loadDictionary@Base 1.3.2 ++ ZSTD_CCtx_loadDictionary_advanced@Base 1.3.2 ++ ZSTD_CCtx_loadDictionary_byReference@Base 1.3.2 ++ ZSTD_CCtx_refCDict@Base 1.3.2 ++ ZSTD_CCtx_refPrefix@Base 1.3.2 ++ ZSTD_CCtx_refPrefix_advanced@Base 1.3.2 ++ ZSTD_CCtx_reset@Base 1.3.2 ++ ZSTD_CCtx_setParameter@Base 1.3.2 ++ ZSTD_CCtx_setParametersUsingCCtxParams@Base 1.3.2 ++ ZSTD_CCtx_setPledgedSrcSize@Base 1.3.2 ++ ZSTD_CStreamInSize@Base 1.3.2 ++ ZSTD_CStreamOutSize@Base 1.3.2 ++ ZSTD_DCtx_loadDictionary@Base 1.3.4 ++ ZSTD_DCtx_loadDictionary_advanced@Base 1.3.4 ++ ZSTD_DCtx_loadDictionary_byReference@Base 1.3.4 ++ ZSTD_DCtx_refDDict@Base 1.3.4 ++ ZSTD_DCtx_refPrefix@Base 1.3.4 ++ ZSTD_DCtx_refPrefix_advanced@Base 1.3.4 ++ ZSTD_DCtx_reset@Base 1.3.2 ++ ZSTD_DCtx_setFormat@Base 1.3.2 ++ ZSTD_DCtx_setMaxWindowSize@Base 1.3.2 ++ ZSTD_DCtx_setParameter@Base 1.3.8 ++ ZSTD_DStreamInSize@Base 1.3.2 ++ ZSTD_DStreamOutSize@Base 1.3.2 ++ ZSTD_adjustCParams@Base 1.3.2 ++ ZSTD_cParam_getBounds@Base 1.3.8 ++ ZSTD_checkCParams@Base 1.3.2 ++ ZSTD_compress2@Base 1.3.8 ++ ZSTD_compress@Base 1.3.2 ++ ZSTD_compressBegin@Base 1.3.2 ++ ZSTD_compressBegin_advanced@Base 1.3.2 ++ ZSTD_compressBegin_usingCDict@Base 1.3.2 ++ ZSTD_compressBegin_usingCDict_advanced@Base 1.3.2 ++ ZSTD_compressBegin_usingDict@Base 1.3.2 ++ ZSTD_compressBlock@Base 1.3.2 ++ ZSTD_compressBound@Base 1.3.2 ++ ZSTD_compressCCtx@Base 1.3.2 ++ ZSTD_compressContinue@Base 1.3.2 ++ ZSTD_compressEnd@Base 1.3.2 ++ ZSTD_compressStream2@Base 1.3.8 ++ ZSTD_compressStream2_simpleArgs@Base 1.3.8 ++ ZSTD_compressStream@Base 1.3.2 ++ ZSTD_compress_advanced@Base 1.3.2 ++ ZSTD_compress_usingCDict@Base 1.3.2 ++ ZSTD_compress_usingCDict_advanced@Base 1.3.2 ++ ZSTD_compress_usingDict@Base 1.3.2 ++ ZSTD_copyCCtx@Base 1.3.2 ++ ZSTD_copyDCtx@Base 1.3.2 ++ ZSTD_createCCtx@Base 1.3.2 ++ ZSTD_createCCtxParams@Base 1.3.2 ++ ZSTD_createCCtx_advanced@Base 1.3.2 ++ ZSTD_createCDict@Base 1.3.2 ++ ZSTD_createCDict_advanced@Base 1.3.2 ++ ZSTD_createCDict_byReference@Base 1.3.2 ++ ZSTD_createCStream@Base 1.3.2 ++ ZSTD_createCStream_advanced@Base 1.3.2 ++ ZSTD_createDCtx@Base 1.3.2 ++ ZSTD_createDCtx_advanced@Base 1.3.2 ++ ZSTD_createDDict@Base 1.3.2 ++ ZSTD_createDDict_advanced@Base 1.3.2 ++ ZSTD_createDDict_byReference@Base 1.3.2 ++ ZSTD_createDStream@Base 1.3.2 ++ ZSTD_createDStream_advanced@Base 1.3.2 ++ ZSTD_dParam_getBounds@Base 1.3.8 ++ ZSTD_decodingBufferSize_min@Base 1.3.2 ++ ZSTD_decompress@Base 1.3.2 ++ ZSTD_decompressBegin@Base 1.3.2 ++ ZSTD_decompressBegin_usingDDict@Base 1.3.2 ++ ZSTD_decompressBegin_usingDict@Base 1.3.2 ++ ZSTD_decompressBlock@Base 1.3.2 ++ ZSTD_decompressBound@Base 1.4.0 ++ ZSTD_decompressContinue@Base 1.3.2 ++ ZSTD_decompressDCtx@Base 1.3.2 ++ ZSTD_decompressStream@Base 1.3.2 ++ ZSTD_decompressStream_simpleArgs@Base 1.3.8 ++ ZSTD_decompress_usingDDict@Base 1.3.2 ++ ZSTD_decompress_usingDict@Base 1.3.2 ++ ZSTD_endStream@Base 1.3.2 ++ ZSTD_estimateCCtxSize@Base 1.3.2 ++ ZSTD_estimateCCtxSize_usingCCtxParams@Base 1.3.2 ++ ZSTD_estimateCCtxSize_usingCParams@Base 1.3.2 ++ ZSTD_estimateCDictSize@Base 1.3.2 ++ ZSTD_estimateCDictSize_advanced@Base 1.3.2 ++ ZSTD_estimateCStreamSize@Base 1.3.2 ++ ZSTD_estimateCStreamSize_usingCCtxParams@Base 1.3.2 ++ ZSTD_estimateCStreamSize_usingCParams@Base 1.3.2 ++ ZSTD_estimateDCtxSize@Base 1.3.2 ++ ZSTD_estimateDDictSize@Base 1.3.2 ++ ZSTD_estimateDStreamSize@Base 1.3.2 ++ ZSTD_estimateDStreamSize_fromFrame@Base 1.3.2 ++ ZSTD_findDecompressedSize@Base 1.3.2 ++ ZSTD_findFrameCompressedSize@Base 1.3.2 ++ ZSTD_flushStream@Base 1.3.2 ++ ZSTD_frameHeaderSize@Base 1.3.2 ++ ZSTD_freeCCtx@Base 1.3.2 ++ ZSTD_freeCCtxParams@Base 1.3.2 ++ ZSTD_freeCDict@Base 1.3.2 ++ ZSTD_freeCStream@Base 1.3.2 ++ ZSTD_freeDCtx@Base 1.3.2 ++ ZSTD_freeDDict@Base 1.3.2 ++ ZSTD_freeDStream@Base 1.3.2 ++ ZSTD_getBlockSize@Base 1.3.2 ++ ZSTD_getCParams@Base 1.3.2 ++ ZSTD_getDecompressedSize@Base 1.3.2 ++ ZSTD_getDictID_fromDDict@Base 1.3.2 ++ ZSTD_getDictID_fromDict@Base 1.3.2 ++ ZSTD_getDictID_fromFrame@Base 1.3.2 ++ ZSTD_getErrorCode@Base 1.3.2 ++ ZSTD_getErrorName@Base 1.3.2 ++ ZSTD_getErrorString@Base 1.3.2 ++ ZSTD_getFrameContentSize@Base 1.3.2 ++ ZSTD_getFrameHeader@Base 1.3.2 ++ ZSTD_getFrameHeader_advanced@Base 1.3.5 ++ ZSTD_getFrameProgression@Base 1.3.8 ++ ZSTD_getParams@Base 1.3.2 ++ ZSTD_initCStream@Base 1.3.2 ++ ZSTD_initCStream_advanced@Base 1.3.2 ++ ZSTD_initCStream_srcSize@Base 1.3.2 ++ ZSTD_initCStream_usingCDict@Base 1.3.2 ++ ZSTD_initCStream_usingCDict_advanced@Base 1.3.2 ++ ZSTD_initCStream_usingDict@Base 1.3.2 ++ ZSTD_initDStream@Base 1.3.2 ++ ZSTD_initDStream_usingDDict@Base 1.3.2 ++ ZSTD_initDStream_usingDict@Base 1.3.2 ++ ZSTD_initStaticCCtx@Base 1.3.2 ++ ZSTD_initStaticCDict@Base 1.3.2 ++ ZSTD_initStaticCStream@Base 1.3.2 ++ ZSTD_initStaticDCtx@Base 1.3.2 ++ ZSTD_initStaticDDict@Base 1.3.2 ++ ZSTD_initStaticDStream@Base 1.3.2 ++ ZSTD_insertBlock@Base 1.3.2 ++ ZSTD_isError@Base 1.3.2 ++ ZSTD_isFrame@Base 1.3.2 ++ ZSTD_maxCLevel@Base 1.3.2 ++ ZSTD_minCLevel@Base 1.3.8 ++ ZSTD_nextInputType@Base 1.3.2 ++ ZSTD_nextSrcSizeToDecompress@Base 1.3.2 ++ ZSTD_resetCStream@Base 1.3.2 ++ ZSTD_resetDStream@Base 1.3.2 ++ ZSTD_sizeof_CCtx@Base 1.3.2 ++ ZSTD_sizeof_CDict@Base 1.3.2 ++ ZSTD_sizeof_CStream@Base 1.3.2 ++ ZSTD_sizeof_DCtx@Base 1.3.2 ++ ZSTD_sizeof_DDict@Base 1.3.2 ++ ZSTD_sizeof_DStream@Base 1.3.2 ++ ZSTD_toFlushNow@Base 1.3.8 ++ ZSTD_versionNumber@Base 1.3.2 ++ ZSTD_versionString@Base 1.3.2 ++ COVER_best_destroy@Base 1.4.8 ++ COVER_best_finish@Base 1.4.8 ++ COVER_best_init@Base 1.4.8 ++ COVER_best_start@Base 1.4.8 ++ COVER_best_wait@Base 1.4.8 ++ COVER_checkTotalCompressedSize@Base 1.4.8 ++ COVER_computeEpochs@Base 1.4.8 ++ COVER_dictSelectionError@Base 1.4.8 ++ COVER_dictSelectionFree@Base 1.4.8 ++ COVER_dictSelectionIsError@Base 1.4.8 ++ COVER_selectDict@Base 1.4.8 ++ COVER_sum@Base 1.4.8 ++ COVER_warnOnSmallCorpus@Base 1.4.8 ++ ERR_getErrorString@Base 1.4.8 ++ FSE_NCountWriteBound@Base 1.4.8 ++ FSE_buildCTable@Base 1.4.8 ++ FSE_buildCTable_raw@Base 1.4.8 ++ FSE_buildCTable_rle@Base 1.4.8 ++ FSE_buildCTable_wksp@Base 1.4.8 ++ FSE_buildDTable@Base 1.4.8 ++ FSE_buildDTable_raw@Base 1.4.8 ++ FSE_buildDTable_rle@Base 1.4.8 ++ FSE_buildDTable_wksp@Base 1.4.8 ++ FSE_compress2@Base 1.4.8 ++ FSE_compress@Base 1.4.8 ++ FSE_compressBound@Base 1.4.8 ++ FSE_compress_usingCTable@Base 1.4.8 ++ FSE_compress_wksp@Base 1.4.8 ++ FSE_createCTable@Base 1.4.8 ++ FSE_createDTable@Base 1.4.8 ++ FSE_decompress@Base 1.4.8 ++ FSE_decompress_usingDTable@Base 1.4.8 ++ FSE_decompress_wksp@Base 1.4.8 ++ FSE_decompress_wksp_bmi2@Base 1.4.8 ++ FSE_freeCTable@Base 1.4.8 ++ FSE_freeDTable@Base 1.4.8 ++ FSE_getErrorName@Base 1.4.8 ++ FSE_isError@Base 1.4.8 ++ FSE_normalizeCount@Base 1.4.8 ++ FSE_optimalTableLog@Base 1.4.8 ++ FSE_optimalTableLog_internal@Base 1.4.8 ++ FSE_readNCount@Base 1.4.8 ++ FSE_readNCount_bmi2@Base 1.4.8 ++ FSE_versionNumber@Base 1.4.8 ++ FSE_writeNCount@Base 1.4.8 ++ FSEv05_buildDTable@Base 1.4.8 ++ FSEv05_buildDTable_raw@Base 1.4.8 ++ FSEv05_buildDTable_rle@Base 1.4.8 ++ FSEv05_createDTable@Base 1.4.8 ++ FSEv05_decompress@Base 1.4.8 ++ FSEv05_decompress_usingDTable@Base 1.4.8 ++ FSEv05_freeDTable@Base 1.4.8 ++ FSEv05_getErrorName@Base 1.4.8 ++ FSEv05_isError@Base 1.4.8 ++ FSEv05_readNCount@Base 1.4.8 ++ FSEv06_buildDTable@Base 1.4.8 ++ FSEv06_buildDTable_raw@Base 1.4.8 ++ FSEv06_buildDTable_rle@Base 1.4.8 ++ FSEv06_createDTable@Base 1.4.8 ++ FSEv06_decompress@Base 1.4.8 ++ FSEv06_decompress_usingDTable@Base 1.4.8 ++ FSEv06_freeDTable@Base 1.4.8 ++ FSEv06_getErrorName@Base 1.4.8 ++ FSEv06_isError@Base 1.4.8 ++ FSEv06_readNCount@Base 1.4.8 ++ FSEv07_buildDTable@Base 1.4.8 ++ FSEv07_buildDTable_raw@Base 1.4.8 ++ FSEv07_buildDTable_rle@Base 1.4.8 ++ FSEv07_createDTable@Base 1.4.8 ++ FSEv07_decompress@Base 1.4.8 ++ FSEv07_decompress_usingDTable@Base 1.4.8 ++ FSEv07_freeDTable@Base 1.4.8 ++ FSEv07_getErrorName@Base 1.4.8 ++ FSEv07_isError@Base 1.4.8 ++ FSEv07_readNCount@Base 1.4.8 ++ HIST_count@Base 1.4.8 ++ HIST_countFast@Base 1.4.8 ++ HIST_countFast_wksp@Base 1.4.8 ++ HIST_count_simple@Base 1.4.8 ++ HIST_count_wksp@Base 1.4.8 ++ HIST_isError@Base 1.4.8 ++ HUF_buildCTable@Base 1.4.8 ++ HUF_buildCTable_wksp@Base 1.4.8 ++ HUF_compress1X@Base 1.4.8 ++ HUF_compress1X_repeat@Base 1.4.8 ++ HUF_compress1X_usingCTable@Base 1.4.8 ++ HUF_compress1X_wksp@Base 1.4.8 ++ HUF_compress2@Base 1.4.8 ++ HUF_compress4X_repeat@Base 1.4.8 ++ HUF_compress4X_usingCTable@Base 1.4.8 ++ HUF_compress4X_wksp@Base 1.4.8 ++ HUF_compress@Base 1.4.8 ++ HUF_compressBound@Base 1.4.8 ++ HUF_decompress1X1@Base 1.4.8 ++ HUF_decompress1X1_DCtx@Base 1.4.8 ++ HUF_decompress1X1_DCtx_wksp@Base 1.4.8 ++ HUF_decompress1X1_DCtx_wksp_bmi2@Base 1.4.8 ++ HUF_decompress1X1_usingDTable@Base 1.4.8 ++ HUF_decompress1X2@Base 1.4.8 ++ HUF_decompress1X2_DCtx@Base 1.4.8 ++ HUF_decompress1X2_DCtx_wksp@Base 1.4.8 ++ HUF_decompress1X2_usingDTable@Base 1.4.8 ++ HUF_decompress1X_DCtx@Base 1.4.8 ++ HUF_decompress1X_DCtx_wksp@Base 1.4.8 ++ HUF_decompress1X_usingDTable@Base 1.4.8 ++ HUF_decompress1X_usingDTable_bmi2@Base 1.4.8 ++ HUF_decompress4X1@Base 1.4.8 ++ HUF_decompress4X1_DCtx@Base 1.4.8 ++ HUF_decompress4X1_DCtx_wksp@Base 1.4.8 ++ HUF_decompress4X1_usingDTable@Base 1.4.8 ++ HUF_decompress4X2@Base 1.4.8 ++ HUF_decompress4X2_DCtx@Base 1.4.8 ++ HUF_decompress4X2_DCtx_wksp@Base 1.4.8 ++ HUF_decompress4X2_usingDTable@Base 1.4.8 ++ HUF_decompress4X_DCtx@Base 1.4.8 ++ HUF_decompress4X_hufOnly@Base 1.4.8 ++ HUF_decompress4X_hufOnly_wksp@Base 1.4.8 ++ HUF_decompress4X_hufOnly_wksp_bmi2@Base 1.4.8 ++ HUF_decompress4X_usingDTable@Base 1.4.8 ++ HUF_decompress4X_usingDTable_bmi2@Base 1.4.8 ++ HUF_decompress@Base 1.4.8 ++ HUF_estimateCompressedSize@Base 1.4.8 ++ HUF_getErrorName@Base 1.4.8 ++ HUF_getNbBits@Base 1.4.8 ++ HUF_isError@Base 1.4.8 ++ HUF_optimalTableLog@Base 1.4.8 ++ HUF_readCTable@Base 1.4.8 ++ HUF_readDTableX1@Base 1.4.8 ++ HUF_readDTableX1_wksp@Base 1.4.8 ++ HUF_readDTableX1_wksp_bmi2@Base 1.4.8 ++ HUF_readDTableX2@Base 1.4.8 ++ HUF_readDTableX2_wksp@Base 1.4.8 ++ HUF_readStats@Base 1.4.8 ++ HUF_readStats_wksp@Base 1.4.8 ++ HUF_selectDecoder@Base 1.4.8 ++ HUF_validateCTable@Base 1.4.8 ++ HUF_writeCTable@Base 1.4.8 ++ HUFv05_decompress1X2@Base 1.4.8 ++ HUFv05_decompress1X2_usingDTable@Base 1.4.8 ++ HUFv05_decompress1X4@Base 1.4.8 ++ HUFv05_decompress1X4_usingDTable@Base 1.4.8 ++ HUFv05_decompress4X2@Base 1.4.8 ++ HUFv05_decompress4X2_usingDTable@Base 1.4.8 ++ HUFv05_decompress4X4@Base 1.4.8 ++ HUFv05_decompress4X4_usingDTable@Base 1.4.8 ++ HUFv05_decompress@Base 1.4.8 ++ HUFv05_getErrorName@Base 1.4.8 ++ HUFv05_isError@Base 1.4.8 ++ HUFv05_readDTableX2@Base 1.4.8 ++ HUFv05_readDTableX4@Base 1.4.8 ++ HUFv06_decompress1X2@Base 1.4.8 ++ HUFv06_decompress1X2_usingDTable@Base 1.4.8 ++ HUFv06_decompress1X4@Base 1.4.8 ++ HUFv06_decompress1X4_usingDTable@Base 1.4.8 ++ HUFv06_decompress4X2@Base 1.4.8 ++ HUFv06_decompress4X2_usingDTable@Base 1.4.8 ++ HUFv06_decompress4X4@Base 1.4.8 ++ HUFv06_decompress4X4_usingDTable@Base 1.4.8 ++ HUFv06_decompress@Base 1.4.8 ++ HUFv06_readDTableX2@Base 1.4.8 ++ HUFv06_readDTableX4@Base 1.4.8 ++ HUFv07_decompress1X2@Base 1.4.8 ++ HUFv07_decompress1X2_DCtx@Base 1.4.8 ++ HUFv07_decompress1X2_usingDTable@Base 1.4.8 ++ HUFv07_decompress1X4@Base 1.4.8 ++ HUFv07_decompress1X4_DCtx@Base 1.4.8 ++ HUFv07_decompress1X4_usingDTable@Base 1.4.8 ++ HUFv07_decompress1X_DCtx@Base 1.4.8 ++ HUFv07_decompress1X_usingDTable@Base 1.4.8 ++ HUFv07_decompress4X2@Base 1.4.8 ++ HUFv07_decompress4X2_DCtx@Base 1.4.8 ++ HUFv07_decompress4X2_usingDTable@Base 1.4.8 ++ HUFv07_decompress4X4@Base 1.4.8 ++ HUFv07_decompress4X4_DCtx@Base 1.4.8 ++ HUFv07_decompress4X4_usingDTable@Base 1.4.8 ++ HUFv07_decompress4X_DCtx@Base 1.4.8 ++ HUFv07_decompress4X_hufOnly@Base 1.4.8 ++ HUFv07_decompress4X_usingDTable@Base 1.4.8 ++ HUFv07_decompress@Base 1.4.8 ++ HUFv07_getErrorName@Base 1.4.8 ++ HUFv07_isError@Base 1.4.8 ++ HUFv07_readDTableX2@Base 1.4.8 ++ HUFv07_readDTableX4@Base 1.4.8 ++ HUFv07_readStats@Base 1.4.8 ++ HUFv07_selectDecoder@Base 1.4.8 ++ POOL_add@Base 1.4.8 ++ POOL_create@Base 1.4.8 ++ POOL_create_advanced@Base 1.4.8 ++ POOL_free@Base 1.4.8 ++ POOL_resize@Base 1.4.8 ++ POOL_sizeof@Base 1.4.8 ++ POOL_tryAdd@Base 1.4.8 ++ ZBUFFv05_createDCtx@Base 1.4.8 ++ ZBUFFv05_decompressContinue@Base 1.4.8 ++ ZBUFFv05_decompressInit@Base 1.4.8 ++ ZBUFFv05_decompressInitDictionary@Base 1.4.8 ++ ZBUFFv05_freeDCtx@Base 1.4.8 ++ ZBUFFv05_getErrorName@Base 1.4.8 ++ ZBUFFv05_isError@Base 1.4.8 ++ ZBUFFv05_recommendedDInSize@Base 1.4.8 ++ ZBUFFv05_recommendedDOutSize@Base 1.4.8 ++ ZBUFFv06_createDCtx@Base 1.4.8 ++ ZBUFFv06_decompressContinue@Base 1.4.8 ++ ZBUFFv06_decompressInit@Base 1.4.8 ++ ZBUFFv06_decompressInitDictionary@Base 1.4.8 ++ ZBUFFv06_freeDCtx@Base 1.4.8 ++ ZBUFFv06_getErrorName@Base 1.4.8 ++ ZBUFFv06_isError@Base 1.4.8 ++ ZBUFFv06_recommendedDInSize@Base 1.4.8 ++ ZBUFFv06_recommendedDOutSize@Base 1.4.8 ++ ZBUFFv07_createDCtx@Base 1.4.8 ++ ZBUFFv07_createDCtx_advanced@Base 1.4.8 ++ ZBUFFv07_decompressContinue@Base 1.4.8 ++ ZBUFFv07_decompressInit@Base 1.4.8 ++ ZBUFFv07_decompressInitDictionary@Base 1.4.8 ++ ZBUFFv07_freeDCtx@Base 1.4.8 ++ ZBUFFv07_getErrorName@Base 1.4.8 ++ ZBUFFv07_isError@Base 1.4.8 ++ ZBUFFv07_recommendedDInSize@Base 1.4.8 ++ ZBUFFv07_recommendedDOutSize@Base 1.4.8 ++ ZDICT_trainFromBuffer_unsafe_legacy@Base 1.4.8 ++ ZSTDMT_compressStream_generic@Base 1.4.8 ++ ZSTDMT_createCCtx_advanced@Base 1.4.8 ++ ZSTDMT_freeCCtx@Base 1.4.8 ++ ZSTDMT_getFrameProgression@Base 1.4.8 ++ ZSTDMT_initCStream_internal@Base 1.4.8 ++ ZSTDMT_nextInputSizeHint@Base 1.4.8 ++ ZSTDMT_sizeof_CCtx@Base 1.4.8 ++ ZSTDMT_toFlushNow@Base 1.4.8 ++ ZSTDMT_updateCParams_whileCompressing@Base 1.4.8 ++ ZSTD_CCtxParams_init@Base 1.4.8 ++ ZSTD_CCtxParams_init_advanced@Base 1.4.8 ++ ZSTD_CCtxParams_reset@Base 1.4.8 ++ ZSTD_CCtx_refThreadPool@Base 1.4.8 ++ ZSTD_DCtx_getParameter@Base 1.4.8 ++ ZSTD_DDict_dictContent@Base 1.4.8 ++ ZSTD_DDict_dictSize@Base 1.4.8 ++ ZSTD_XXH32@Base 1.4.8 ++ ZSTD_XXH32_canonicalFromHash@Base 1.4.8 ++ ZSTD_XXH32_copyState@Base 1.4.8 ++ ZSTD_XXH32_createState@Base 1.4.8 ++ ZSTD_XXH32_digest@Base 1.4.8 ++ ZSTD_XXH32_freeState@Base 1.4.8 ++ ZSTD_XXH32_hashFromCanonical@Base 1.4.8 ++ ZSTD_XXH32_reset@Base 1.4.8 ++ ZSTD_XXH32_update@Base 1.4.8 ++ ZSTD_XXH64@Base 1.4.8 ++ ZSTD_XXH64_canonicalFromHash@Base 1.4.8 ++ ZSTD_XXH64_copyState@Base 1.4.8 ++ ZSTD_XXH64_createState@Base 1.4.8 ++ ZSTD_XXH64_digest@Base 1.4.8 ++ ZSTD_XXH64_freeState@Base 1.4.8 ++ ZSTD_XXH64_hashFromCanonical@Base 1.4.8 ++ ZSTD_XXH64_reset@Base 1.4.8 ++ ZSTD_XXH64_update@Base 1.4.8 ++ ZSTD_XXH_versionNumber@Base 1.4.8 ++ ZSTD_buildCTable@Base 1.4.8 ++ ZSTD_buildFSETable@Base 1.4.8 ++ ZSTD_checkContinuity@Base 1.4.8 ++ ZSTD_compressBegin_advanced_internal@Base 1.4.8 ++ ZSTD_compressBlock_btlazy2@Base 1.4.8 ++ ZSTD_compressBlock_btlazy2_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_btlazy2_extDict@Base 1.4.8 ++ ZSTD_compressBlock_btopt@Base 1.4.8 ++ ZSTD_compressBlock_btopt_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_btopt_extDict@Base 1.4.8 ++ ZSTD_compressBlock_btultra2@Base 1.4.8 ++ ZSTD_compressBlock_btultra@Base 1.4.8 ++ ZSTD_compressBlock_btultra_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_btultra_extDict@Base 1.4.8 ++ ZSTD_compressBlock_doubleFast@Base 1.4.8 ++ ZSTD_compressBlock_doubleFast_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_doubleFast_extDict@Base 1.4.8 ++ ZSTD_compressBlock_fast@Base 1.4.8 ++ ZSTD_compressBlock_fast_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_fast_extDict@Base 1.4.8 ++ ZSTD_compressBlock_greedy@Base 1.4.8 ++ ZSTD_compressBlock_greedy_dedicatedDictSearch@Base 1.4.8 ++ ZSTD_compressBlock_greedy_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_greedy_extDict@Base 1.4.8 ++ ZSTD_compressBlock_lazy2@Base 1.4.8 ++ ZSTD_compressBlock_lazy2_dedicatedDictSearch@Base 1.4.8 ++ ZSTD_compressBlock_lazy2_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_lazy2_extDict@Base 1.4.8 ++ ZSTD_compressBlock_lazy@Base 1.4.8 ++ ZSTD_compressBlock_lazy_dedicatedDictSearch@Base 1.4.8 ++ ZSTD_compressBlock_lazy_dictMatchState@Base 1.4.8 ++ ZSTD_compressBlock_lazy_extDict@Base 1.4.8 ++ ZSTD_compressLiterals@Base 1.4.8 ++ ZSTD_compressRleLiteralsBlock@Base 1.4.8 ++ ZSTD_compressSequences@Base 1.4.8 ++ ZSTD_compressSuperBlock@Base 1.4.8 ++ ZSTD_compress_advanced_internal@Base 1.4.8 ++ ZSTD_copyDDictParameters@Base 1.4.8 ++ ZSTD_createCDict_advanced2@Base 1.4.8 ++ ZSTD_crossEntropyCost@Base 1.4.8 ++ ZSTD_customCalloc@Base 1.4.8 ++ ZSTD_customFree@Base 1.4.8 ++ ZSTD_customMalloc@Base 1.4.8 ++ ZSTD_cycleLog@Base 1.4.8 ++ ZSTD_decodeLiteralsBlock@Base 1.4.8 ++ ZSTD_decodeSeqHeaders@Base 1.4.8 ++ ZSTD_decompressBlock_internal@Base 1.4.8 ++ ZSTD_dedicatedDictSearch_lazy_loadDictionary@Base 1.4.8 ++ ZSTD_encodeSequences@Base 1.4.8 ++ ZSTD_fillDoubleHashTable@Base 1.4.8 ++ ZSTD_fillHashTable@Base 1.4.8 ++ ZSTD_fseBitCost@Base 1.4.8 ++ ZSTD_generateSequences@Base 1.4.8 ++ ZSTD_getCParamsFromCCtxParams@Base 1.4.8 ++ ZSTD_getCParamsFromCDict@Base 1.4.8 ++ ZSTD_getDictID_fromCDict@Base 1.4.8 ++ ZSTD_getSeqStore@Base 1.4.8 ++ ZSTD_getcBlockSize@Base 1.4.8 ++ ZSTD_initCStream_internal@Base 1.4.8 ++ ZSTD_insertAndFindFirstIndex@Base 1.4.8 ++ ZSTD_invalidateRepCodes@Base 1.4.8 ++ ZSTD_ldm_adjustParameters@Base 1.4.8 ++ ZSTD_ldm_blockCompress@Base 1.4.8 ++ ZSTD_ldm_fillHashTable@Base 1.4.8 ++ ZSTD_ldm_generateSequences@Base 1.4.8 ++ ZSTD_ldm_getMaxNbSeq@Base 1.4.8 ++ ZSTD_ldm_getTableSize@Base 1.4.8 ++ ZSTD_ldm_skipRawSeqStoreBytes@Base 1.4.8 ++ ZSTD_ldm_skipSequences@Base 1.4.8 ++ ZSTD_loadCEntropy@Base 1.4.8 ++ ZSTD_loadDEntropy@Base 1.4.8 ++ ZSTD_mergeBlockDelimiters@Base 1.4.8 ++ ZSTD_noCompressLiterals@Base 1.4.8 ++ ZSTD_referenceExternalSequences@Base 1.4.8 ++ ZSTD_resetSeqStore@Base 1.4.8 ++ ZSTD_reset_compressedBlockState@Base 1.4.8 ++ ZSTD_selectBlockCompressor@Base 1.4.8 ++ ZSTD_selectEncodingType@Base 1.4.8 ++ ZSTD_seqToCodes@Base 1.4.8 ++ ZSTD_updateTree@Base 1.4.8 ++ ZSTD_writeLastEmptyBlock@Base 1.4.8 ++ ZSTDv05_copyDCtx@Base 1.4.8 ++ ZSTDv05_createDCtx@Base 1.4.8 ++ ZSTDv05_decompress@Base 1.4.8 ++ ZSTDv05_decompressBegin@Base 1.4.8 ++ ZSTDv05_decompressBegin_usingDict@Base 1.4.8 ++ ZSTDv05_decompressBlock@Base 1.4.8 ++ ZSTDv05_decompressContinue@Base 1.4.8 ++ ZSTDv05_decompressDCtx@Base 1.4.8 ++ ZSTDv05_decompress_usingDict@Base 1.4.8 ++ ZSTDv05_decompress_usingPreparedDCtx@Base 1.4.8 ++ ZSTDv05_findFrameSizeInfoLegacy@Base 1.4.8 ++ ZSTDv05_freeDCtx@Base 1.4.8 ++ ZSTDv05_getErrorName@Base 1.4.8 ++ ZSTDv05_getFrameParams@Base 1.4.8 ++ ZSTDv05_isError@Base 1.4.8 ++ ZSTDv05_nextSrcSizeToDecompress@Base 1.4.8 ++ ZSTDv05_sizeofDCtx@Base 1.4.8 ++ ZSTDv06_copyDCtx@Base 1.4.8 ++ ZSTDv06_createDCtx@Base 1.4.8 ++ ZSTDv06_decompress@Base 1.4.8 ++ ZSTDv06_decompressBegin@Base 1.4.8 ++ ZSTDv06_decompressBegin_usingDict@Base 1.4.8 ++ ZSTDv06_decompressBlock@Base 1.4.8 ++ ZSTDv06_decompressContinue@Base 1.4.8 ++ ZSTDv06_decompressDCtx@Base 1.4.8 ++ ZSTDv06_decompress_usingDict@Base 1.4.8 ++ ZSTDv06_decompress_usingPreparedDCtx@Base 1.4.8 ++ ZSTDv06_findFrameSizeInfoLegacy@Base 1.4.8 ++ ZSTDv06_freeDCtx@Base 1.4.8 ++ ZSTDv06_getErrorName@Base 1.4.8 ++ ZSTDv06_getFrameParams@Base 1.4.8 ++ ZSTDv06_isError@Base 1.4.8 ++ ZSTDv06_nextSrcSizeToDecompress@Base 1.4.8 ++ ZSTDv06_sizeofDCtx@Base 1.4.8 ++ ZSTDv07_copyDCtx@Base 1.4.8 ++ ZSTDv07_createDCtx@Base 1.4.8 ++ ZSTDv07_createDCtx_advanced@Base 1.4.8 ++ ZSTDv07_createDDict@Base 1.4.8 ++ ZSTDv07_decompress@Base 1.4.8 ++ ZSTDv07_decompressBegin@Base 1.4.8 ++ ZSTDv07_decompressBegin_usingDict@Base 1.4.8 ++ ZSTDv07_decompressBlock@Base 1.4.8 ++ ZSTDv07_decompressContinue@Base 1.4.8 ++ ZSTDv07_decompressDCtx@Base 1.4.8 ++ ZSTDv07_decompress_usingDDict@Base 1.4.8 ++ ZSTDv07_decompress_usingDict@Base 1.4.8 ++ ZSTDv07_estimateDCtxSize@Base 1.4.8 ++ ZSTDv07_findFrameSizeInfoLegacy@Base 1.4.8 ++ ZSTDv07_freeDCtx@Base 1.4.8 ++ ZSTDv07_freeDDict@Base 1.4.8 ++ ZSTDv07_getDecompressedSize@Base 1.4.8 ++ ZSTDv07_getErrorName@Base 1.4.8 ++ ZSTDv07_getFrameParams@Base 1.4.8 ++ ZSTDv07_insertBlock@Base 1.4.8 ++ ZSTDv07_isError@Base 1.4.8 ++ ZSTDv07_isSkipFrame@Base 1.4.8 ++ ZSTDv07_nextSrcSizeToDecompress@Base 1.4.8 ++ ZSTDv07_sizeofDCtx@Base 1.4.8 ++ divbwt@Base 1.4.8 ++ divsufsort@Base 1.4.8 ++ g_ZSTD_threading_useless_symbol@Base 1.4.8 ++ g_debuglevel@Base 1.4.8 diff --cc debian/patches/0006-Use-bash-for-test-script-portablitity.patch index 0000000,0000000..57c6038 new file mode 100644 --- /dev/null +++ b/debian/patches/0006-Use-bash-for-test-script-portablitity.patch @@@ -1,0 -1,0 +1,16 @@@ ++From: Kevin Murray ++Date: Mon, 14 Nov 2016 11:54:32 +1100 ++Subject: Use bash for test script portablitity ++ ++--- ++ tests/playTests.sh | 2 +- ++ 1 file changed, 1 insertion(+), 1 deletion(-) ++ ++--- libzstd.orig/tests/playTests.sh +++++ libzstd/tests/playTests.sh ++@@ -1,4 +1,4 @@ ++-#!/bin/sh +++#!/bin/bash ++ ++ set -e ++ diff --cc debian/patches/0008-Address-embedded-zlib.patch index 0000000,0000000..9d5f1f2 new file mode 100644 --- /dev/null +++ b/debian/patches/0008-Address-embedded-zlib.patch @@@ -1,0 -1,0 +1,45 @@@ ++Description: Do not build zlibWrapper examples against embedded code copies. ++Author: Sascha Steinbiss ++--- libzstd.orig/zlibWrapper/Makefile +++++ libzstd/zlibWrapper/Makefile ++@@ -13,7 +13,7 @@ ++ ZSTDLIBDIR = ../lib ++ ZSTDLIBRARY = $(ZSTDLIBDIR)/libzstd.a ++ ZLIBWRAPPER_PATH = . ++-GZFILES = gzclose.o gzlib.o gzread.o gzwrite.o +++#GZFILES = gzclose.o gzlib.o gzread.o gzwrite.o ++ EXAMPLE_PATH = examples ++ PROGRAMS_PATH = ../programs ++ TEST_FILE = ../doc/zstd_compression_format.md ++@@ -79,16 +79,16 @@ ++ #.c.o: ++ # $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ ++-minigzip: $(EXAMPLE_PATH)/minigzip.o zstd_zlibwrapper.o $(GZFILES) $(ZSTDLIBRARY) +++minigzip: $(EXAMPLE_PATH)/minigzip.o zstd_zlibwrapper.o $(ZSTDLIBRARY) ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ $(ZSTDLIBRARY) $(ZLIB_LIBRARY) -o $@ ++ ++-minigzip_zstd: $(EXAMPLE_PATH)/minigzip.o zstdTurnedOn_zlibwrapper.o $(GZFILES) $(ZSTDLIBRARY) +++minigzip_zstd: $(EXAMPLE_PATH)/minigzip.o zstdTurnedOn_zlibwrapper.o $(ZSTDLIBRARY) ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ $(ZSTDLIBRARY) $(ZLIB_LIBRARY) -o $@ ++ ++-example: $(EXAMPLE_PATH)/example.o zstd_zlibwrapper.o $(GZFILES) $(ZSTDLIBRARY) +++example: $(EXAMPLE_PATH)/example.o zstd_zlibwrapper.o $(ZSTDLIBRARY) ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ $(ZLIB_LIBRARY) -o $@ ++ ++-example_zstd: $(EXAMPLE_PATH)/example.o zstdTurnedOn_zlibwrapper.o $(GZFILES) $(ZSTDLIBRARY) +++example_zstd: $(EXAMPLE_PATH)/example.o zstdTurnedOn_zlibwrapper.o $(ZSTDLIBRARY) ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ $(ZLIB_LIBRARY) -o $@ ++ ++ fitblk: $(EXAMPLE_PATH)/fitblk.o zstd_zlibwrapper.o $(ZSTDLIBRARY) ++--- libzstd.orig/zlibWrapper/examples/example.c +++++ libzstd/zlibWrapper/examples/example.c ++@@ -27,7 +27,7 @@ ++ ++ /* @(#) $Id$ */ ++ ++-#include "zstd_zlibwrapper.h" +++#include "zlib.h" ++ #include ++ ++ #ifdef STDC diff --cc debian/patches/0013-skip-memory-greedy-tests.patch index 0000000,0000000..72da692 new file mode 100644 --- /dev/null +++ b/debian/patches/0013-skip-memory-greedy-tests.patch @@@ -1,0 -1,0 +1,38 @@@ ++Subject: Skip memory heavy tests causing FTBFS on mips(el) and hurd buildds ++From: Alex Mestiashvili ++--- libzstd.orig/tests/playTests.sh +++++ libzstd/tests/playTests.sh ++@@ -1442,8 +1442,13 @@ ++ roundTripTest -g5000000000 -P99 "1 --zstd=wlog=25" ++ roundTripTest -g3700000000 -P0 "1 --zstd=strategy=6,wlog=25" # ensure btlazy2 can survive an overflow rescale ++ ++-fileRoundTripTest -g4193M -P99 1 ++- +++DEBARCH=$(dpkg-architecture -qDEB_HOST_ARCH) +++if [ "$DEBARCH" != 'hurd-i386' ] +++then +++ fileRoundTripTest -g4193M -P99 1 +++else +++ println "\n**** skip memory greedy tests on $DEBARCH **** " +++fi ++ ++ println "\n===> zstd long, long distance matching round-trip tests " ++ roundTripTest -g270000000 "1 --single-thread --long" ++@@ -1460,9 +1465,14 @@ ++ println "\n===> zstdmt long round-trip tests " ++ roundTripTest -g80000000 -P99 "19 -T2" " " ++ roundTripTest -g5000000000 -P99 "1 -T2" " " ++- roundTripTest -g500000000 -P97 "1 -T999" " " ++- fileRoundTripTest -g4103M -P98 " -T0" " " ++- roundTripTest -g400000000 -P97 "1 --long=24 -T2" " " +++ if [ "$DEBARCH" != 'mips' -a "$DEBARCH" != 'mipsel' -a "$DEBARCH" != 'hurd-i386' ] +++ then +++ roundTripTest -g500000000 -P97 "1 -T999" " " +++ fileRoundTripTest -g4103M -P98 " -T0" " " +++ roundTripTest -g400000000 -P97 "1 --long=24 -T2" " " +++ else +++ println "\n**** skip memory greedy tests on $DEBARCH **** " +++ fi ++ # Exposes the bug in https://github.com/facebook/zstd/pull/1678 ++ # This test fails on 4 different travis builds at the time of writing ++ # because it needs to allocate 8 GB of memory. diff --cc debian/patches/0014-Reproducible-build.patch index 0000000,0000000..5d68baf new file mode 100644 --- /dev/null +++ b/debian/patches/0014-Reproducible-build.patch @@@ -1,0 -1,0 +1,16 @@@ ++Description: Make the build reproducible ++Author: Chris Lamb ++Last-Update: 2018-05-04 ++Applied-Upstream: https://github.com/facebook/zstd/commit/ef1abd3c071ce42a457404ee2bca6d5bebb87f62 ++ ++--- libzstd.orig/contrib/pzstd/Options.cpp +++++ libzstd/contrib/pzstd/Options.cpp ++@@ -77,7 +77,7 @@ void usage() { ++ std::fprintf(stderr, " -p, --processes # : number of threads to use for (de)compression (default:)\n"); ++ ++ std::fprintf(stderr, "ZSTD options:\n"); ++- std::fprintf(stderr, " -# : # compression level (1-%d, default:%d)\n", kMaxNonUltraCompressionLevel, kDefaultCompressionLevel); +++ std::fprintf(stderr, " -# : # compression level (1-%d, default:)\n", kMaxNonUltraCompressionLevel); ++ std::fprintf(stderr, " -d, --decompress : decompression\n"); ++ std::fprintf(stderr, " -o file : result stored into `file` (only if 1 input file)\n"); ++ std::fprintf(stderr, " -f, --force : overwrite output without prompting, (de)compress links\n"); diff --cc debian/patches/0015-Skip-dev-random-tests-on-hurd.patch index 0000000,0000000..92801a0 new file mode 100644 --- /dev/null +++ b/debian/patches/0015-Skip-dev-random-tests-on-hurd.patch @@@ -1,0 -1,0 +1,36 @@@ ++Description: Skip test failing on GNU/Hurd when writing on /dev/zero or ++ /dev/random. On different GNU/Hurd installations writing to either one or ++ another would fail. Currently writing to /dev/random results in the message ++ "Computer bought the farm" and exit status 1 ++ See also: https://github.com/facebook/zstd/issues/1116 ++From: Alex Mestiashvili ++--- libzstd.orig/tests/playTests.sh +++++ libzstd/tests/playTests.sh ++@@ -337,14 +337,19 @@ ++ test ! -f tmp # tmp should no longer be present ++ zstd -f -d --rm tmp.zst ++ test ! -f tmp.zst # tmp.zst should no longer be present ++-println "test : should quietly not remove non-regular file" ++-println hello > tmp ++-zstd tmp -f -o "$DEVDEVICE" 2>tmplog > "$INTOVOID" ++-grep -v "Refusing to remove non-regular file" tmplog ++-rm -f tmplog ++-zstd tmp -f -o "$INTOVOID" 2>&1 | grep -v "Refusing to remove non-regular file" ++-println "test : --rm on stdin" ++-println a | zstd --rm > $INTOVOID # --rm should remain silent +++if [ "$(dpkg-architecture -qDEB_HOST_ARCH)" != 'hurd-i386' ] +++then +++ println "test : should quietly not remove non-regular file" +++ println hello > tmp +++ zstd tmp -f -o "$DEVDEVICE" 2>tmplog > "$INTOVOID" +++ grep -v "Refusing to remove non-regular file" tmplog +++ rm -f tmplog +++ zstd tmp -f -o "$INTOVOID" 2>&1 | grep -v "Refusing to remove non-regular file" +++ println "test : --rm on stdin" +++ println a | zstd --rm > $INTOVOID # --rm should remain silent +++else +++ println "\n**** This test on $DEBARCH fails with \"Computer bought the farm\" **** " +++fi ++ rm tmp ++ zstd -f tmp && die "tmp not present : should have failed" ++ test ! -f tmp.zst # tmp.zst should not be created diff --cc debian/patches/0017-alpha-fbfs-st_mtime.patch index 0000000,0000000..f7930a6 new file mode 100644 --- /dev/null +++ b/debian/patches/0017-alpha-fbfs-st_mtime.patch @@@ -1,0 -1,0 +1,17 @@@ ++Description: Fix ftbfs on alpha, see #962676 ++From: Helmut Grohne ++--- libzstd.orig/programs/util.c +++++ libzstd/programs/util.c ++@@ -171,8 +171,10 @@ ++ /* We check that st_mtime is a macro here in order to give us confidence ++ * that struct stat has a struct timespec st_mtim member. We need this ++ * check because there are some platforms that claim to be POSIX 2008 ++- * compliant but which do not have st_mtim... */ ++-#if (PLATFORM_POSIX_VERSION >= 200809L) && defined(st_mtime) +++ * compliant but which do not have st_mtim... +++ * And then there is alpha, which doesn't define st_mtime, but still has it. +++ */ +++#if (PLATFORM_POSIX_VERSION >= 200809L) && (defined(st_mtime) || defined(__alpha__)) ++ { ++ /* (atime, mtime) */ ++ struct timespec timebuf[2] = { {0, UTIME_NOW} }; diff --cc debian/patches/series index 0000000,0000000..2438749 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,6 @@@ ++0006-Use-bash-for-test-script-portablitity.patch ++0008-Address-embedded-zlib.patch ++0013-skip-memory-greedy-tests.patch ++0014-Reproducible-build.patch ++0015-Skip-dev-random-tests-on-hurd.patch ++0017-alpha-fbfs-st_mtime.patch diff --cc debian/rules index 0000000,0000000..829d9ea new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,51 @@@ ++#!/usr/bin/make -f ++ ++export DH_VERBOSE=1 ++ ++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ++DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ++export DEB_BUILD_MAINT_OPTIONS=hardening=+all ++ ++# Upstream's makefiles will respect PREFIX, and this means we avoid a patch ++export PREFIX=/usr ++ ++HELP2MAN = help2man --no-info --help-option="'-h'" --no-discard-stderr ++mandir := $(CURDIR)/debian/zstd/usr/share/man/man1 ++ ++%: ++ dh $@ ++ ++DH_AUTO_CONFIGURE_OPTS := ++ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ++ DH_AUTO_CONFIGURE_OPTS += -DZSTD_BUILD_TESTS:BOOL=OFF ++endif ++ ++override_dh_auto_clean: ++ dh_auto_clean ++ dh_auto_clean --sourcedirectory=contrib/pzstd ++ ++override_dh_auto_build: ++ dh_auto_build ++ dh_auto_build --sourcedirectory=lib -- all libzstd.pc libzstd ++ dh_auto_build --sourcedirectory=contrib/pzstd/ -- pzstd ++ ++override_dh_install: ++ # Call d-shlibmove to comply with library packaging guide ++ d-shlibmove --commit \ ++ --multiarch \ ++ --devunversioned \ ++ --exclude-la \ ++ --movedev "debian/tmp/usr/include/*" usr/include \ ++ --movedev "debian/tmp/usr/lib/pkgconfig/*" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \ ++ debian/tmp/usr/lib/lib*.so ++ cp -r debian/libzstd1/usr debian/libzstd1-udeb/ ++ dh_install ++ ++override_dh_makeshlibs: ++ dh_makeshlibs -plibzstd1 -V'libzstd1 (>= 1.4.8)' --add-udeb=libzstd1-udeb ++ ++override_dh_installman: ++ dh_installman ++ cp $(mandir)/zstd.1 $(mandir)/zstdmt.1 ++ $(HELP2MAN) --name='parallelised Zstandard compression, al la pigz' contrib/pzstd/pzstd \ ++ | perl -pe 's/(\(de\)compression\s\(default:)(\d+)(\))/$$1 All$$3/g' >$(mandir)/pzstd.1 diff --cc debian/salsa-ci.yml index 0000000,0000000..0d8ee65 new file mode 100644 --- /dev/null +++ b/debian/salsa-ci.yml @@@ -1,0 -1,0 +1,10 @@@ ++--- ++include: ++ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml ++ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml ++ ++# No 'Architecture: all' targets for this package. ++# 1.1.2-1: oldest version in active repos. ++variables: ++ SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: '1' ++ DB_BUILD_PARAM: '-v1.1.2-1' diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/source/lintian-overrides index 0000000,0000000..86e6eb7 new file mode 100644 --- /dev/null +++ b/debian/source/lintian-overrides @@@ -1,0 -1,0 +1,1 @@@ ++libzstd source: binary-control-field-duplicates-source field "section" in package libzstd1 diff --cc debian/tests/control index 0000000,0000000..f853f74 new file mode 100644 --- /dev/null +++ b/debian/tests/control @@@ -1,0 -1,0 +1,1 @@@ ++Test-Command: zstd -b1 >/dev/null 2>&1 diff --cc debian/watch index 0000000,0000000..993f185 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,4 @@@ ++version=4 ++ ++opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg\d*//g,repack,compression=xz" \ ++ https://github.com/facebook/zstd/releases .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@ diff --cc debian/zstd.docs index 0000000,0000000..70867c6 new file mode 100644 --- /dev/null +++ b/debian/zstd.docs @@@ -1,0 -1,0 +1,2 @@@ ++CHANGELOG ++*.md diff --cc debian/zstd.install index 0000000,0000000..3418174 new file mode 100644 --- /dev/null +++ b/debian/zstd.install @@@ -1,0 -1,0 +1,2 @@@ ++contrib/pzstd/pzstd usr/bin ++usr/bin diff --cc debian/zstd.manpages index 0000000,0000000..8e59a36 new file mode 100644 --- /dev/null +++ b/debian/zstd.manpages @@@ -1,0 -1,0 +1,1 @@@ ++usr/share/man/man1/*