lz4 (1.9.4-2) unstable; urgency=medium
authorNobuhiro Iwamatsu <iwamatsu@debian.org>
Wed, 3 Apr 2024 02:18:32 +0000 (11:18 +0900)
committerNobuhiro Iwamatsu <iwamatsu@debian.org>
Wed, 3 Apr 2024 02:18:32 +0000 (11:18 +0900)
  * d/control: Drop transitional liblz4-tool package (Closes: #1032725)
  * d/clean: Add files created during testing (Closes: #1046472)

[dgit import unpatched lz4 1.9.4-2]

16 files changed:
1  2 
debian/changelog
debian/clean
debian/control
debian/copyright
debian/liblz4-1.install
debian/liblz4-1.symbols
debian/liblz4-dev.install
debian/lz4.install
debian/lz4.manpages
debian/patches/0001-Fix-static-link.patch
debian/patches/0002-Change-optimize-to-O2.patch
debian/patches/series
debian/rules
debian/source/format
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dab49b10775b97a622eeb3c1f06ad062a3cf7132
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,344 @@@
++lz4 (1.9.4-2) unstable; urgency=medium
++
++  * d/control: Drop transitional liblz4-tool package (Closes: #1032725)
++  * d/clean: Add files created during testing (Closes: #1046472)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 03 Apr 2024 11:18:32 +0900
++
++lz4 (1.9.4-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Update d/patches.
++    - Drop d/patches/0005-CVE-2021-3520.patch.
++    - Refresh d/patches.
++  * Update symboles file.
++  * Update d/copyright.
++  * Update d/control.
++    - Add 'Rules-Requires-Root: no'.
++    - Update Homepage field.
++    - Update Standards-Version to 4.6.1.
++  * d/watch: Update to version 4.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sun, 28 Aug 2022 12:00:55 +0900
++
++lz4 (1.9.3-2) unstable; urgency=medium
++
++  * Fix CVE-2021-3520. (Closes: #987856)
++    - This fixed potential memory corruption with negative memmove() size.
++    - Add d/patches/0005-CVE-2021-3520.patch
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 05 May 2021 16:29:57 +0900
++
++lz4 (1.9.3-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Update d/control.
++    - Use debhelper-compat, and update to 13.
++    - Bump Standards-Version to 4.5.0 (no changes)
++  * Add d/upstream/metadata.
++  * Update d/liblz4-1.symbols.
++    Add LZ4F_headerSize@Base 1.9.3.
++  * Update d/patches.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 01 Dec 2020 06:07:12 +0900
++
++lz4 (1.9.2-2) unstable; urgency=medium
++
++  * Fix FTCBFS: Annotate the python3 dependency. (Closes: #944559)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 12 Nov 2019 07:58:47 +0900
++
++lz4 (1.9.2-1) unstable; urgency=medium
++
++  * New upstream release. (Closes: #943680)
++    Fix CVE-2019-17543.
++  * Add d/patches/change-optimize.patch.
++    Change optimize and add debugging information.
++  * Update d/control.
++    Add python3 to B-D.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 29 Oct 2019 19:19:36 +0900
++
++lz4 (1.9.1-2) unstable; urgency=medium
++
++  * Upload to unstable.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 20 Aug 2019 22:43:48 +0900
++
++lz4 (1.9.1-1) experimental; urgency=medium
++
++  * New upstream release.
++  * Update d/patches.
++  * Update debian/liblz4-1.symbols.
++    Add APIs following:
++      - LZ4F_getBlockSize@Base
++      - LZ4_compress_HC_continue_destSize@Base
++      - LZ4_compress_HC_destSize@Base
++      - LZ4_initStream@Base
++      - LZ4_initStreamHC@Base
++      - LZ4_resetStreamHC_fast@Base
++    Remove APIs following:
++      - LZ4_attach_HC_dictionary@Base
++      - LZ4_attach_dictionary@Base
++      - LZ4_compress_fast_extState_fastReset@Base
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Fri, 24 May 2019 07:51:04 +0900
++
++lz4 (1.8.3-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Update d/patches.
++  * Update d/copyright.
++    Remove unused file paragraph.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 25 Sep 2018 22:26:58 +0900
++
++lz4 (1.8.2-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Add debian/watch file.
++  * Update debian/liblz4-1.symbols.
++    Add APIs following:
++      - LZ4_attach_HC_dictionary@Base
++      - LZ4_attach_dictionary@Base
++      - LZ4_compress_fast_extState_fastReset@Base
++      - LZ4_decoderRingBufferSize@Base
++      - LZ4_resetStream_fast@Base
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Mon, 14 May 2018 16:45:54 +0900
++
++lz4 (1.8.1.2-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Update static link problem fix.
++    In this fix, add LZ4F_PUBLISH_STATIC_FUNCTIONS to compile option.
++    This makes the following API available for reference to the library.
++      - LZ4F_compressBegin_usingCDict@Base
++      - LZ4F_compressFrame_usingCDict@Base
++      - LZ4F_createCDict@Base
++      - LZ4F_decompress_usingDict@Base
++      - LZ4F_freeCDict@Base
++      - LZ4F_getErrorCode@Base
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Fri, 13 Apr 2018 10:39:09 +0900
++
++lz4 (1.8.0-5) unstable; urgency=medium
++
++  * Upload to unstable.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Thu, 12 Apr 2018 11:46:55 +0900
++
++lz4 (1.8.0-4) experimental; urgency=medium
++
++  * Add liblz4-tool transitional package (Closes: #894279)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Thu, 12 Apr 2018 08:31:07 +0900
++
++lz4 (1.8.0-3) experimental; urgency=medium
++
++  * Change package name to liblz4-1.
++    Do not need to change SONAME, so revert it.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 11 Apr 2018 09:02:37 +0900
++
++lz4 (1.8.0-2) experimental; urgency=medium
++
++  * Change package name to liblz4-1a.
++    From 1.8.0, lz4 removed some API in 1.8.0, but upstream dose not bump
++    the SONAME. We changed to -1a to maintain compatibility.
++  * Fix Static link. (#882974)
++  * Update debian/copyright.
++    - Fix insecure copyright format URI.
++    - Update copyright information.
++  * Update Vcs-Browser and Vcs-Git to use salsa.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 08 Nov 2017 13:26:35 +0900
++
++lz4 (1.8.0-1) experimental; urgency=medium
++
++  * New upstream release. (Closes: #860168, #821740)
++  * Bump Standards-Version to 4.1.0.
++  * Remove patches/ignore_rm_fail.patch.
++  * Update symbols file.
++  * Rename liblz4-tool to lz4. (Closes: #781234)
++  * Change Priority to optional. (Closes: #816620)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Thu, 31 Aug 2017 08:07:55 +0900
++
++lz4 (1.7.5-1) UNRELEASED; urgency=medium
++
++  * New upstream release.
++  * Bump Standards-Version to 3.9.8.
++  * Update symbols file.
++  * Add patches/ignore_rm_fail.patch.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Mon, 19 Jun 2017 09:09:28 +0900
++
++lz4 (0.0~r131-2) unstable; urgency=medium
++
++  * Add support cross compile. (Closes: #814687)
++    Thanks to Helmut Grohne <helmut@subdivi.de>.
++  * Change URL of homepage to https://github.com/Cyan4973/lz4.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Thu, 18 Feb 2016 00:27:54 +0900
++
++lz4 (0.0~r131-1) unstable; urgency=medium
++
++  * Snapshot, taken from the trunk (r131).
++  * Update and enable atches/0001-Disable-valgrind.patch.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sun, 16 Aug 2015 20:46:09 +0900
++
++lz4 (0.0~r130-1) unstable; urgency=medium
++
++  * Snapshot, taken from the trunk (r130).
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Mon, 01 Jun 2015 09:35:45 +0900
++
++lz4 (0.0~r127-1) experimental; urgency=low
++
++  * Snapshot, taken from the trunk (r127).
++  * Update debian/docs.
++    Add lz4_block_format.txt and LZ4_Frame_Format.html.
++  * Update liblz4-1.symbols.
++  * Bump Standards-Version to 3.9.6.
++  * Update copyright.
++    Add more infomation of copyright.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sat, 07 Mar 2015 17:21:34 +0900
++
++lz4 (0.0~r122-2) unstable; urgency=medium
++
++  * Install pkgconfig file into liblz4-dev. (Closes: #761906)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 17 Sep 2014 08:55:01 +0900
++
++lz4 (0.0~r122-1) unstable; urgency=high
++
++  * Snapshot, taken from the trunk (r122).
++  * Fix test on s390x. (Closes: #757581)
++    Add patches/0001-Add-support-s390x-architecture.patch.
++  * Remove patches.
++    - add-support-kfreebsd.patch, add-support-hurd.patch and Add-LDFLAGS.patch
++      were applied to upstream.
++    - Makefile of upstream was updated.
++      Remove 0001-Remove-test-32-from-test-target.patch.
++  * Update patches/0001-Disable-valgrind.patch.
++  * Update debian/rules.
++    - Re-enable test on s390x.
++  * Update symbols file.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 17 Sep 2014 01:57:08 +0900
++
++lz4 (0.0~r119-2) unstable; urgency=medium
++
++  * Disable test on s390x and sparc. (Closes: #755170)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 29 Jul 2014 01:43:36 +0900
++
++lz4 (0.0~r119-1) unstable; urgency=medium
++
++  * Snapshot, taken from the trunk (r119) (Closes: #751256).
++  * The r119 fixed CVE-2014-4715, and r118 fixed CVE-2014-4611.
++  * Disable valgrind test.
++    Add patches/0001-Disable-valgrind.patch.
++  * Disable test with -m32 option.
++    Add patches/0001-Remove-test-32-from-test-target.patch.
++  * Update liblz4-1.symbols.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Tue, 15 Jul 2014 10:25:02 +0900
++
++lz4 (0.0~r117-1) unstable; urgency=medium
++
++  * Snapshot, taken from the trunk (r117).
++  * Remove patches/add-ldflags.patch and patches/fix-install.patch.
++  * Update patches/add-support-kfreebsd.patch.
++  * Add patches/add-support-hurd.patch (Closes: #749901).
++  * Add patches/Remove-32bit-test-program-from-target.patch.
++  * Add patches/Add-LDFLAGS.patch.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Mon, 09 Jun 2014 14:57:21 +0900
++
++lz4 (0.0~r114-2) unstable; urgency=low
++
++  * Update patches/add-support-kfreebsd.patch.
++    Support programs.Makefile too.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sat, 22 Mar 2014 14:23:35 +0900
++
++lz4 (0.0~r114-1) unstable; urgency=low
++
++  * Snapshot, taken from the trunk (r113).
++  * Remove support-library-version.patch
++    Applied to upstream.
++  * Update add-ldflags.patch.
++  * Add patches/fix-install.patch.
++    Fix install library.
++  * Update symbols file.
++  * Add patches/add-support-kfreebsd.patch.
++    Support install on kFreeBSD.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sat, 22 Mar 2014 01:53:20 +0900
++
++lz4 (0.0~r113-2) unstable; urgency=low
++
++  * Update debian/control.
++    - Add Conflict and Replaces field of libz4-1-dbg (Closes: #741003).
++    - Update package description (Closes: #741001).
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Mon, 10 Mar 2014 08:34:29 +0900
++
++lz4 (0.0~r113-1) unstable; urgency=low
++
++  * Snapshot, taken from the trunk (r113).
++  * Update debian/rules.
++    - Change build tool from cmake to GNU make.
++  * Update debian/control.
++    - cmake from Build-Depends
++    - Update Standards-Version to 3.9.5
++  * Update symbols file.
++  * Add patches/add-dlflags.patch.
++  * Add patches/support-library-version.patch.
++  * Remove old patches.
++  * Change package name and install script name.
++  * Add manpage of lz4.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 05 Mar 2014 10:50:41 +0900
++
++lz4 (0.0~r109-1) unstable; urgency=low
++
++  * Snapshot, taken from the trunk (r109).
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 25 Dec 2013 07:26:12 +0900
++
++lz4 (0.0~r107-1) unstable; urgency=low
++
++  * Snapshot, taken from the trunk (r107).
++  * Update patches.
++  * Update symbol file.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 23 Oct 2013 19:51:48 +0900
++
++lz4 (0.0~r99-1) unstable; urgency=low
++
++  * New upstream released.
++  * Add symbols file.
++  * Update debian/control.
++    - Update Vcs-Git and Vcs-Browser field.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 31 Jul 2013 12:28:38 +0900
++
++lz4 (0.0~r94-2) unstable; urgency=low
++
++  * Fix install path on 32bit build. (Closes: #710458)
++    Update patches/0001-Fix-install-path.patch.
++  * Remove unrecognized command line option '-march=native'. (Closes: #710459)
++    Add patches/remove_optimize.
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Fri, 31 May 2013 14:05:43 +0900
++
++lz4 (0.0~r94-1) unstable; urgency=low
++
++  * Initial release. (Closes: #698256)
++
++ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sat, 04 May 2013 08:31:31 +0900
diff --cc debian/clean
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bb1b676c74f2eee8bc18a37dfd404171df99cc20
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++examples/Makefile.lz4s-1024
++tests/decompress-partial-usingDict
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..106eaead965b6a67d20ac9fcf7e6bed3a43eca7e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,52 @@@
++Source: lz4
++Priority: optional
++Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
++Build-Depends: debhelper-compat (= 13), python3:any <!nocheck>
++Standards-Version: 4.6.1
++Section: utils
++Rules-Requires-Root: no
++Homepage: https://github.com/lz4/lz4
++Vcs-Browser: https://salsa.debian.org/debian/lz4
++Vcs-Git: https://salsa.debian.org/debian/lz4.git
++
++Package: liblz4-dev
++Section: libdevel
++Architecture: any
++Depends: liblz4-1 (= ${binary:Version}), ${misc:Depends}
++Multi-Arch: same
++Description: Fast LZ compression algorithm library - development files
++ LZ4 is a very fast lossless compression algorithm, providing compression speed
++ at 400 MB/s per core, scalable with multi-cores CPU. It also features an
++ extremely fast decoder, with speed in multiple GB/s per core, typically
++ reaching RAM speed limits on multi-core systems.
++ .
++ This package contains files that are needed to build applications.
++
++Package: liblz4-1
++Section: libs
++Architecture: any
++Pre-Depends: ${misc:Pre-Depends}
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Replaces: liblz4-1a
++Breaks: liblz4-1a
++Multi-Arch: same
++Description: Fast LZ compression algorithm library - runtime
++ LZ4 is a very fast lossless compression algorithm, providing compression speed
++ at 400 MB/s per core, scalable with multi-cores CPU. It also features an
++ extremely fast decoder, with speed in multiple GB/s per core, typically
++ reaching RAM speed limits on multi-core systems.
++ .
++ This package includes the shared library.
++
++Package: lz4
++Architecture: any
++Pre-Depends: ${misc:Pre-Depends}
++Depends: ${shlibs:Depends}, ${misc:Depends}, liblz4-1 (= ${binary:Version})
++Multi-Arch: foreign
++Description: Fast LZ compression algorithm library - tool
++ LZ4 is a very fast lossless compression algorithm, providing compression speed
++ at 400 MB/s per core, scalable with multi-cores CPU. It also features an
++ extremely fast decoder, with speed in multiple GB/s per core, typically
++ reaching RAM speed limits on multi-core systems.
++ .
++ This package contains files that is tool using liblz4.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5fb780f5cb18c73e09788dbde289aaacd8d323bc
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,100 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: lz4
++Source: https://github.com/lz4/lz4
++
++Files: *
++Copyright: 2011-2020, Yann Collet.
++License: BSD-2-clause
++
++Files: programs/bench.c
++ programs/bench.h
++ programs/datagen.c
++ programs/datagen.h
++ tests/datagencli.c
++ tests/fullbench.c
++ tests/fuzzer.c
++ examples/Makefile
++ programs/Makefile
++ programs/lz4cli.c
++ programs/lz4io.c
++ programs/lz4io.h
++ tests/Makefile
++ ossfuzz/Makefile
++ lib/dll/example/Makefile
++ tests/checkTag.c
++Copyright: Yann Collet 2011-2020
++License: GPL-2+
++
++Files: lib/lz4file.c
++ lib/lz4file.h
++Copyright: 2022, Xiaomi Inc.
++License: BSD-2-clause
++
++Files: programs/platform.h
++ programs/util.h
++Copyright: 2016-2020, Przemyslaw Skibinski, Yann Collet
++License: GPL-2+
++
++Files: tests/checkFrame.c
++ tests/frametest.c
++Copyright: Yann Collet 2014-2020
++License: GPL-2+
++
++Files: examples/compress_functions.c
++ examples/simple_buffer.c
++Copyright: Kyle Harper
++License: BSD-2-clause
++
++Files: tests/abiTest.c
++ tests/roundTripTest.c
++Copyright: 2016-2020, Yann Collet, Facebook, Inc.
++License: GPL-2+ or BSD-2-clause
++
++Files: contrib/djgpp/*
++Copyright: 2015, Louis P. Santillan <lpsantil@gmail.com>
++License: BSD-2-clause
++
++Files: tests/test-lz4-speed.py
++Copyright: 2016-2020, Przemyslaw Skibinski, Yann Collet, Facebook, Inc.
++License: BSD-2-clause
++
++Files: examples/blockStreaming_lineByLine.c
++       examples/blockStreaming_doubleBuffer.c
++       examples/printVersion.c
++Copyright: Takayuki Matsuoka
++License: BSD-2-clause
++
++Files: debian/*
++Copyright: 2013 - 2022 Nobuhiro Iwamatsu <iwamatsu@debian.org>
++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; version 2 dated June, 1991, or (at
++ your option) any later version.
++ .
++ On Debian systems, the complete text of version 2 of the GNU General
++ Public License can be found in '/usr/share/common-licenses/GPL-2'.
++
++License: BSD-2-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.
++ .
++ 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 THE COPYRIGHT HOLDER OR CONTRIBUTORS
++ 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.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3ddde584198421f0d2a3fef9d36cc110f3b8b76d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/*/lib*.so.*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b87b247c71825b2bb40d0445cf4b2a5e47d0d7f2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,109 @@@
++liblz4.so.1 liblz4-1 #MINVER#
++ LZ4F_compressBegin@Base 0.0~r127
++ LZ4F_compressBegin_usingCDict@Base 1.8.1.2
++ LZ4F_compressBound@Base 0.0~r127
++ LZ4F_compressEnd@Base 0.0~r127
++ LZ4F_compressFrame@Base 0.0~r127
++ LZ4F_compressFrameBound@Base 0.0~r127
++ LZ4F_compressFrame_usingCDict@Base 1.8.1.2
++ LZ4F_compressUpdate@Base 0.0~r127
++ LZ4F_compressionLevel_max@Base 1.8.0
++ LZ4F_createCDict@Base 1.8.1.2
++ LZ4F_createCDict_advanced@Base 1.9.4
++ LZ4F_createCompressionContext@Base 0.0~r127
++ LZ4F_createCompressionContext_advanced@Base 1.9.4
++ LZ4F_createDecompressionContext@Base 0.0~r127
++ LZ4F_createDecompressionContext_advanced@Base 1.9.4
++ LZ4F_decompress@Base 0.0~r127
++ LZ4F_decompress_usingDict@Base 1.8.1.2
++ LZ4F_flush@Base 0.0~r127
++ LZ4F_freeCDict@Base 1.8.1.2
++ LZ4F_freeCompressionContext@Base 0.0~r127
++ LZ4F_freeDecompressionContext@Base 0.0~r127
++ LZ4F_getBlockSize@Base 1.9.1
++ LZ4F_getErrorCode@Base 1.8.1.2
++ LZ4F_getErrorName@Base 0.0~r127
++ LZ4F_getFrameInfo@Base 0.0~r127
++ LZ4F_getVersion@Base 1.7.5
++ LZ4F_headerSize@Base 1.9.3
++ LZ4F_isError@Base 0.0~r127
++ LZ4F_read@Base 1.9.4
++ LZ4F_readClose@Base 1.9.4
++ LZ4F_readOpen@Base 1.9.4
++ LZ4F_resetDecompressionContext@Base 1.8.0
++ LZ4F_uncompressedUpdate@Base 1.9.4
++ LZ4F_write@Base 1.9.4
++ LZ4F_writeClose@Base 1.9.4
++ LZ4F_writeOpen@Base 1.9.4
++ LZ4_compress@Base 0.0~r113
++ LZ4_compressBound@Base 0.0~r114
++ LZ4_compressHC2@Base 0.0~r113
++ LZ4_compressHC2_continue@Base 0.0~r113
++ LZ4_compressHC2_limitedOutput@Base 0.0~r113
++ LZ4_compressHC2_limitedOutput_continue@Base 0.0~r113
++ LZ4_compressHC2_limitedOutput_withStateHC@Base 0.0~r113
++ LZ4_compressHC2_withStateHC@Base 0.0~r113
++ LZ4_compressHC@Base 0.0~r113
++ LZ4_compressHC_continue@Base 0.0~r113
++ LZ4_compressHC_limitedOutput@Base 0.0~r113
++ LZ4_compressHC_limitedOutput_continue@Base 0.0~r113
++ LZ4_compressHC_limitedOutput_withStateHC@Base 0.0~r113
++ LZ4_compressHC_withStateHC@Base 0.0~r113
++ LZ4_compress_HC@Base 0.0~r130
++ LZ4_compress_HC_continue@Base 0.0~r130
++ LZ4_compress_HC_continue_destSize@Base 1.9.1
++ LZ4_compress_HC_destSize@Base 1.9.1
++ LZ4_compress_HC_extStateHC@Base 0.0~r130
++ LZ4_compress_continue@Base 0.0~r113
++ LZ4_compress_default@Base 0.0~r130
++ LZ4_compress_destSize@Base 0.0~r130
++ LZ4_compress_fast@Base 0.0~r130
++ LZ4_compress_fast_continue@Base 0.0~r130
++ LZ4_compress_fast_extState@Base 0.0~r130
++ LZ4_compress_limitedOutput@Base 0.0~r113
++ LZ4_compress_limitedOutput_continue@Base 0.0~r113
++ LZ4_compress_limitedOutput_withState@Base 0.0~r113
++ LZ4_compress_withState@Base 0.0~r113
++ LZ4_create@Base 0.0~r113
++ LZ4_createHC@Base 0.0~r113
++ LZ4_createStream@Base 0.0~r119
++ LZ4_createStreamDecode@Base 0.0~r119
++ LZ4_createStreamHC@Base 0.0~r127
++ LZ4_decoderRingBufferSize@Base 1.8.2
++ LZ4_decompress_fast@Base 0.0~r113
++ LZ4_decompress_fast_continue@Base 0.0~r119
++ LZ4_decompress_fast_usingDict@Base 0.0~r119
++ LZ4_decompress_fast_withPrefix64k@Base 0.0~r113
++ LZ4_decompress_safe@Base 0.0~r113
++ LZ4_decompress_safe_continue@Base 0.0~r119
++ LZ4_decompress_safe_partial@Base 0.0~r113
++ LZ4_decompress_safe_partial_usingDict@Base 1.9.4
++ LZ4_decompress_safe_usingDict@Base 0.0~r119
++ LZ4_decompress_safe_withPrefix64k@Base 0.0~r113
++ LZ4_freeHC@Base 0.0~r113
++ LZ4_freeStream@Base 0.0~r122
++ LZ4_freeStreamDecode@Base 0.0~r122
++ LZ4_freeStreamHC@Base 0.0~r127
++ LZ4_initStream@Base 1.9.1
++ LZ4_initStreamHC@Base 1.9.1
++ LZ4_loadDict@Base 0.0~r119
++ LZ4_loadDictHC@Base 0.0~r127
++ LZ4_resetStream@Base 0.0~r122
++ LZ4_resetStreamHC@Base 0.0~r127
++ LZ4_resetStreamHC_fast@Base 1.9.1
++ LZ4_resetStreamState@Base 0.0~r113
++ LZ4_resetStreamStateHC@Base 0.0~r113
++ LZ4_resetStream_fast@Base 1.8.2
++ LZ4_saveDict@Base 0.0~r119
++ LZ4_saveDictHC@Base 0.0~r127
++ LZ4_setStreamDecode@Base 0.0~r122
++ LZ4_sizeofState@Base 0.0~r113
++ LZ4_sizeofStateHC@Base 0.0~r113
++ LZ4_sizeofStreamState@Base 0.0~r113
++ LZ4_sizeofStreamStateHC@Base 0.0~r113
++ LZ4_slideInputBuffer@Base 0.0~r113
++ LZ4_slideInputBufferHC@Base 0.0~r113
++ LZ4_uncompress@Base 0.0~r114
++ LZ4_uncompress_unknownOutputSize@Base 0.0~r114
++ LZ4_versionNumber@Base 0.0~r122
++ LZ4_versionString@Base 1.8.0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..76f28fa26af68d3f4813e69b6ad2a762f07913de
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++usr/include/*
++usr/lib/*/lib*.a
++usr/lib/*/lib*.so
++usr/lib/*/pkgconfig/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1df36c612fb7cd107795e240186fbddfc0f953b9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/bin/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4450a7190823578eb2d33083e3ded57361432df7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++debian/tmp/usr/share/man/man1/*.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0b1146f30acf05532fb67602fe6a94e9905b60df
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,62 @@@
++From 707fbfb32f82f253a1792347ce76bca98679c8d8 Mon Sep 17 00:00:00 2001
++From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
++Date: Sun, 28 Aug 2022 09:06:14 +0900
++Subject: [PATCH 1/2] Fix static link
++
++Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
++---
++ programs/Makefile | 6 +++---
++ tests/Makefile    | 4 +++-
++ 2 files changed, 6 insertions(+), 4 deletions(-)
++
++diff --git a/programs/Makefile b/programs/Makefile
++index ace0d03..fc4d6f1 100644
++--- a/programs/Makefile
+++++ b/programs/Makefile
++@@ -91,10 +91,10 @@ lz4-exe.o: lz4-exe.rc
++      $(WINDRES) -i lz4-exe.rc -o lz4-exe.o
++ 
++ lz4: $(OBJFILES) lz4-exe.o
++-     $(CC) $(FLAGS) $^ -o $@$(EXT)
+++     $(CC) $(FLAGS) $^ -o $@$(EXT) -L ../lib -llz4
++ else
++ lz4: $(OBJFILES)
++-     $(CC) $(FLAGS) $(OBJFILES) -o $@$(EXT) $(LDLIBS)
+++     $(CC) $(FLAGS) $(OBJFILES) -o $@$(EXT) $(LDLIBS) -L ../lib -llz4
++ endif
++ 
++ .PHONY: lz4-release
++@@ -118,7 +118,7 @@ lz4c: lz4
++ 
++ lz4c32: CFLAGS += -m32
++ lz4c32 : $(SRCFILES)
++-     $(CC) $(FLAGS) $^ -o $@$(EXT)
+++     $(CC) $(FLAGS) $^ -o $@$(EXT) -L ../lib -llz4
++ 
++ lz4.1: lz4.1.md $(LIBVER_SRC)
++      cat $< | $(MD2ROFF) $(MD2ROFF_FLAGS) | $(SED) -n '/^\.\\\".*/!p' > $@
++diff --git a/tests/Makefile b/tests/Makefile
++index 93a5581..b48070a 100644
++--- a/tests/Makefile
+++++ b/tests/Makefile
++@@ -43,6 +43,8 @@ CFLAGS  += $(DEBUGFLAGS) $(MOREFLAGS)
++ CPPFLAGS+= -I$(LZ4DIR) -I$(PRGDIR) -DXXH_NAMESPACE=LZ4_
++ FLAGS    = $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
++ 
+++export LD_LIBRARY_PATH += $(LZ4DIR)
+++
++ include ../Makefile.inc
++ 
++ LZ4 := $(PRGDIR)/lz4$(EXT)
++@@ -62,7 +64,7 @@ all32: CFLAGS+=-m32
++ all32: all
++ 
++ lz4:
++-     $(MAKE) -C $(PRGDIR) $@ CFLAGS="$(CFLAGS)"
+++     #$(MAKE) -C $(PRGDIR) $@ CFLAGS="$(CFLAGS)"
++ 
++ lib liblz4.pc:
++      $(MAKE) -C $(LZ4DIR) $@ CFLAGS="$(CFLAGS)"
++-- 
++2.36.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6ac8f183057bd9c8dce85be12220a1f1f75215e4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,157 @@@
++From 51bdc803b88dc76c79922f8fee2bb82f95934544 Mon Sep 17 00:00:00 2001
++From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
++Date: Sun, 28 Aug 2022 09:10:38 +0900
++Subject: [PATCH 2/2] Change optimize to O2
++
++Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
++---
++ Makefile                 | 14 +++++++-------
++ contrib/djgpp/Makefile   |  2 +-
++ examples/Makefile        |  4 ++--
++ lib/Makefile             |  2 +-
++ lib/dll/example/Makefile |  2 +-
++ programs/Makefile        |  2 +-
++ tests/Makefile           |  2 +-
++ 7 files changed, 14 insertions(+), 14 deletions(-)
++
++diff --git a/Makefile b/Makefile
++index e70c3db..021db67 100644
++--- a/Makefile
+++++ b/Makefile
++@@ -147,7 +147,7 @@ clangtest: clean
++      $(MAKE) -C $(TESTDIR) all CC=$(CC)
++ 
++ .PHONY: clangtest-native
++-clangtest-native: CFLAGS = -O3 -Werror -Wconversion -Wno-sign-conversion
+++clangtest-native: CFLAGS = -O2 -g -Werror -Wconversion -Wno-sign-conversion
++ clangtest-native: clean
++      clang -v
++      $(MAKE) -C $(LZ4DIR)  all    CC=clang
++@@ -156,13 +156,13 @@ clangtest-native: clean
++ 
++ .PHONY: usan
++ usan: CC      = clang
++-usan: CFLAGS  = -O3 -g -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize-recover=pointer-overflow
+++usan: CFLAGS  = -O2 -g -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize-recover=pointer-overflow
++ usan: LDFLAGS = $(CFLAGS)
++ usan: clean
++      CC=$(CC) CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1
++ 
++ .PHONY: usan32
++-usan32: CFLAGS = -m32 -O3 -g -fsanitize=undefined
+++usan32: CFLAGS = -m32 -O2 -g -fsanitize=undefined
++ usan32: LDFLAGS = $(CFLAGS)
++ usan32: clean
++      $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1
++@@ -181,9 +181,9 @@ cppcheck:
++ platformTest: clean
++      @echo "\n ---- test lz4 with $(CC) compiler ----"
++      $(CC) -v
++-     CFLAGS="-O3 -Werror"         $(MAKE) -C $(LZ4DIR) all
++-     CFLAGS="-O3 -Werror -static" $(MAKE) -C $(PRGDIR) all
++-     CFLAGS="-O3 -Werror -static" $(MAKE) -C $(TESTDIR) all
+++     CFLAGS="-O2 -g -Werror"         $(MAKE) -C $(LZ4DIR) all
+++     CFLAGS="-O2 -g -Werror -static" $(MAKE) -C $(PRGDIR) all
+++     CFLAGS="-O2 -g -Werror -static" $(MAKE) -C $(TESTDIR) all
++      $(MAKE) -C $(TESTDIR) test-platform
++ 
++ .PHONY: versionsTest
++@@ -196,7 +196,7 @@ test-freestanding:
++ 
++ .PHONY: cxxtest cxx32test
++ cxxtest cxx32test: CC := "$(CXX) -Wno-deprecated"
++-cxxtest cxx32test: CFLAGS = -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
+++cxxtest cxx32test: CFLAGS = -O2 -g -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
++ cxx32test: CFLAGS += -m32
++ cxxtest cxx32test: clean
++      $(CXX) -v
++diff --git a/contrib/djgpp/Makefile b/contrib/djgpp/Makefile
++index 8cd3580..d49382e 100644
++--- a/contrib/djgpp/Makefile
+++++ b/contrib/djgpp/Makefile
++@@ -19,7 +19,7 @@ CC = $(CROSS)-gcc
++ AR = $(CROSS)-ar
++ LD = $(CROSS)-gcc
++ 
++-CFLAGS ?= -O3 -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\"
+++CFLAGS ?= -O2 -g -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\"
++ LDFLAGS ?= -s
++ SRC = programs/bench.c programs/lz4io.c programs/lz4cli.c
++ OBJ = $(SRC:.c=.o)
++diff --git a/examples/Makefile b/examples/Makefile
++index 8be5c81..c52b5e5 100644
++--- a/examples/Makefile
+++++ b/examples/Makefile
++@@ -28,7 +28,7 @@
++ # ##########################################################################
++ 
++ CPPFLAGS += -I../lib
++-CFLAGS   ?= -O3
+++CFLAGS   ?= -O2 -g
++ CFLAGS   += -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes
++ FLAGS    := $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(MOREFLAGS)
++ 
++@@ -102,7 +102,7 @@ test : all $(LZ4)
++      $(LZ4) -vt $(TESTFILE).lz4
++ 
++ .PHONY: cxxtest
++-cxxtest: CFLAGS := -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
+++cxxtest: CFLAGS := -O2 -g -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
++ cxxtest: clean
++      CC=$(CXX) $(MAKE) -C . all CFLAGS="$(CFLAGS)"
++ 
++diff --git a/lib/Makefile b/lib/Makefile
++index 06503cb..0ca1dad 100644
++--- a/lib/Makefile
+++++ b/lib/Makefile
++@@ -48,7 +48,7 @@ BUILD_STATIC:=yes
++ 
++ CPPFLAGS+= -DXXH_NAMESPACE=LZ4_
++ CPPFLAGS+= $(MOREFLAGS)
++-CFLAGS  ?= -O3
+++CFLAGS  ?= -O2 -g
++ DEBUGFLAGS:= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
++              -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
++              -Wundef -Wpointer-arith -Wstrict-aliasing=1
++diff --git a/lib/dll/example/Makefile b/lib/dll/example/Makefile
++index eb8cc1e..5dbd0ed 100644
++--- a/lib/dll/example/Makefile
+++++ b/lib/dll/example/Makefile
++@@ -28,7 +28,7 @@ LZ4DIR  := ../include
++ LIBDIR  := ../static
++ DLLDIR  := ../dll
++ 
++-CFLAGS  ?= -O3   # can select custom flags. For example : CFLAGS="-O2 -g" make
+++CFLAGS  ?= -O2 -g   # can select custom flags. For example : CFLAGS="-O2 -g" make
++ CFLAGS  += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
++            -Wdeclaration-after-statement -Wstrict-prototypes \
++            -Wpointer-arith -Wstrict-aliasing=1
++diff --git a/programs/Makefile b/programs/Makefile
++index fc4d6f1..3cbd71a 100644
++--- a/programs/Makefile
+++++ b/programs/Makefile
++@@ -47,7 +47,7 @@ SRCFILES  = $(sort $(LIBFILES) $(wildcard *.c))
++ OBJFILES  = $(SRCFILES:.c=.o)
++ 
++ CPPFLAGS += -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
++-CFLAGS   ?= -O3
+++CFLAGS   ?= -O2 -g
++ DEBUGFLAGS= -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
++             -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
++             -Wpointer-arith -Wstrict-aliasing=1
++diff --git a/tests/Makefile b/tests/Makefile
++index b48070a..ca398f5 100644
++--- a/tests/Makefile
+++++ b/tests/Makefile
++@@ -35,7 +35,7 @@ PYTHON  ?= python3
++ 
++ DEBUGLEVEL?= 1
++ DEBUGFLAGS = -g -DLZ4_DEBUG=$(DEBUGLEVEL)
++-CFLAGS  ?= -O3 # can select custom optimization flags. Example : CFLAGS=-O2 make
+++CFLAGS  ?= -O2 -g # can select custom optimization flags. Example : CFLAGS=-O2 make
++ CFLAGS  += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
++            -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
++            -Wpointer-arith -Wstrict-aliasing=1
++-- 
++2.36.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5a400cdac2bd2104a455af293052b92b7a57d244
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++0001-Fix-static-link.patch
++0002-Change-optimize-to-O2.patch
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e164ea760fb9ebf766941aca3d9fbb6936147c20
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,42 @@@
++#!/usr/bin/make -f
++# Uncomment this to turn on verbose mode.
++#export DH_VERBOSE=1
++
++CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS) -DLZ4F_PUBLISH_STATIC_FUNCTIONS
++CFLAGS:= $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
++CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
++LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
++DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
++PREFIX:= /usr
++
++ifeq ($(origin CC),default)
++CC := $(DEB_HOST_GNU_TYPE)-gcc
++endif
++
++export CFLAGS
++export CPPFLAGS
++export LDFLAGS
++export PREFIX
++
++disable_test=0
++ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
++disable_test=1
++endif
++
++%:
++      dh $@
++
++override_dh_auto_build:
++      dh_auto_build -- CC=$(CC) V=1
++
++override_dh_auto_install:
++      dh_auto_install -- \
++              CC=$(CC) \
++              DESTDIR=$$(pwd)/debian/tmp \
++              LIBDIR=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)
++
++override_dh_auto_test:
++ifeq "$(disable_test)" "0"
++      make test
++endif
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f58abbf0ad8d5afb3ea9c36528da13297275e2f2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++Bug-Database: https://github.com/lz4/lz4/issues
++Bug-Submit: https://github.com/lz4/lz4/issues/new
++Repository: https://github.com/lz4/lz4.git
++Repository-Browse: https://github.com/lz4/lz4
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a1def6225f59882d868080aa8a8e96b255347d42
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=4
++opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/lz4-$1.tar.gz/,dversionmangle=s/\+dfsg// \
++  https://github.com/lz4/lz4/tags .*/v?(\d\S*)\.tar\.gz