Files
bpfire/lfs/zstd
Adolf Belka 2a2219ae9b zstd: Update to 1.5.0
- Update from 1.4.9 to 1.5.0
- Update of rootfile
- Changelog
    v1.5.0  (May 11, 2021)
     api: Various functions promoted from experimental to stable API: (#2579-2581, @senhuang42)
       `ZSTD_defaultCLevel()`
       `ZSTD_getDictID_fromCDict()`
     api: Several experimental functions have been deprecated and will emit a compiler warning (#2582, @senhuang42)
       `ZSTD_compress_advanced()`
       `ZSTD_compress_usingCDict_advanced()`
       `ZSTD_compressBegin_advanced()`
       `ZSTD_compressBegin_usingCDict_advanced()`
       `ZSTD_initCStream_srcSize()`
       `ZSTD_initCStream_usingDict()`
       `ZSTD_initCStream_usingCDict()`
       `ZSTD_initCStream_advanced()`
       `ZSTD_initCStream_usingCDict_advanced()`
       `ZSTD_resetCStream()`
     api: ZSTDMT_NBWORKERS_MAX reduced to 64 for 32-bit environments (@Cyan4973)
     perf: Significant speed improvements for middle compression levels (#2494, @senhuang42 @terrelln)
     perf: Block splitter to improve compression ratio, enabled by default for high compression levels (#2447, @senhuang42)
     perf: Decompression loop refactor, speed improvements on `clang` and for `--long` modes (#2614 #2630, @Cyan4973)
     perf: Reduced stack usage during compression and decompression entropy stage (#2522 #2524, @terrelln)
     bug: Improve setting permissions of created files (#2525, @felixhandte)
     bug: Fix large dictionary non-determinism (#2607, @terrelln)
     bug: Fix non-determinism test failures on Linux i686 (#2606, @terrelln)
     bug: Fix various dedicated dictionary search bugs (#2540 #2586, @senhuang42 @felixhandte)
     bug: Ensure `ZSTD_estimateCCtxSize*() `monotonically increases with compression level (#2538, @senhuang42)
     bug: Fix --patch-from mode parameter bound bug with small files (#2637, @occivink)
     bug: Fix UBSAN error in decompression (#2625, @terrelln)
     bug: Fix superblock compression divide by zero bug (#2592, @senhuang42)
     bug: Make the number of physical CPU cores detection more robust (#2517, @PaulBone)
     doc: Improve `zdict.h` dictionary training API documentation (#2622, @terrelln)
     doc: Note that public `ZSTD_free*()` functions accept NULL pointers (#2521, @animalize)
     doc: Add style guide docs for open source contributors (#2626, @Cyan4973)
     tests: Better regression test coverage for different dictionary modes (#2559, @senhuang42)
     tests: Better test coverage of index reduction (#2603, @terrelln)
     tests: OSS-Fuzz coverage for seekable format (#2617, @senhuang42)
     tests: Test coverage for ZSTD threadpool API (#2604, @senhuang42)
     build: Dynamic library built multithreaded by default (#2584, @senhuang42)
     build: Move  `zstd_errors.h`  and  `zdict.h`  to  `lib/`  root (#2597, @terrelln)
     build: Allow `ZSTDMT_JOBSIZE_MIN` to be configured at compile-time, reduce default to 512KB (#2611, @Cyan4973)
     build: Single file library build script moved to `build/` directory (#2618, @felixhandte)
     build: `ZBUFF_*()` is no longer built by default (#2583, @senhuang42)
     build: Fixed Meson build (#2548, @SupervisedThinking @kloczek)
     build: Fix excessive compiler warnings with clang-cl and CMake (#2600, @nickhutchinson)
     build: Detect presence of `md5` on Darwin (#2609, @felixhandte)
     build: Avoid SIGBUS on armv6 (#2633, @bmwiedmann)
     cli: `--progress` flag added to always display progress bar (#2595, @senhuang42)
     cli: Allow reading from block devices with `--force` (#2613, @felixhandte)
     cli: Fix CLI filesize display bug (#2550, @Cyan4973)
     cli: Fix windows CLI `--filelist` end-of-line bug (#2620, @Cyan4973)
     contrib: Various fixes for linux kernel patch (#2539, @terrelln)
     contrib: Seekable format - Decompression hanging edge case fix (#2516, @senhuang42)
     contrib: Seekable format - New seek table-only API  (#2113 #2518, @mdittmer @Cyan4973)
     contrib: Seekable format - Fix seek table descriptor check when loading (#2534, @foxeng)
     contrib: Seekable format - Decompression fix for large offsets, (#2594, @azat)
     misc: Automatically published release tarballs available on Github (#2535, @felixhandte)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-31 12:39:33 +00:00

80 lines
3.0 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.5.0
THISAPP = zstd-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = a6eb7fb1f2c21fa80030a47993853e92
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make prefix=/usr install
@rm -rf $(DIR_APP)
@$(POSTBUILD)