Commit Graph

23 Commits

Author SHA1 Message Date
krant d1f674f38e zstd: update to 1.5.5
- Don't set Meson options which are matching defaults

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:06:04 -08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev df5d7245b9 treewide: remove PKG_INSTALL for meson projects
It doesn't seem to be used by meson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-15 18:07:46 -07:00
Rosen Penev c0adcdd83a zstd: update to 1.5.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-08 21:53:07 -08:00
Rosen Penev 8a42b541d4 zstd: update to 1.5.0
Remove uClibc hack. uClibc is not in the tree anymore.

Update configure options. Change legacy_level to 7. This gets rid of
backwards compatibility with version 0.1 and bumps it to 0.7.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-24 17:52:20 -07:00
Rosen Penev 5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Jan Pavlinec ebc4939dd2
zstd: update to version 1.4.9
Fixes CVE-2021-24032

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-10 13:11:47 +01:00
Rosen Penev b599c11aa8
zstd: update to 1.4.8
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-22 19:27:21 -08:00
Rosen Penev ec3798645d
zstd: fix compilation without host distutils
This is the case in debian.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-09 16:31:06 -07:00
Rosen Penev 8c23fef9da
zstd: update to 1.4.5
Switch to zst archives for smaller size.

Removed patches in favor of a better solution for uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-03 21:37:03 -07:00
Rosen Penev 3c9dbc1429
zstd: remove lto and as-needed flags
The former can be implemented as a meson argument.

The latter is already default.

No compiled difference, therefore no PKG_RELEASE bump.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-26 16:21:55 -07:00
Rosen Penev 779a4dca67
zstd: convert to meson
Allows faster build with ninja. Unfortunately, the LTO stage slows it
massively.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-22 15:50:08 -07:00
Rosen Penev 54266c99b2
zstd: Fix compilation with uClibc-ng
Upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-01 20:52:04 -08:00
Rosen Penev aaccad695e
zstd: Update to 1.4.4
More speed improvements.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-06 18:19:38 -08:00
Rosen Penev 133a02a115
zstd: Update to 1.4.3
Bugfix release.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-18 14:49:38 -07:00
Rosen Penev 434debefff
libzstd: Fix pkgconfig paths for cross compilation
pkgconfig needs to override these.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-16 11:50:13 -07:00
Rosen Penev 616ef7e058
zstd: Update to 1.4.2
Add patch to remove deprecated utime function.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-30 23:58:39 -07:00
Rosen Penev a5d63fb1ea
zstd: Update to 1.4.1
Decompression speedup of 7% on average.

Remove upstreamed uClibc-ng patch.

Fixed optimization option to show properly under menuconfig.

Added LTO for smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-24 11:56:19 -07:00
Rosen Penev 9229c04303 zstd: Use CP instead of INSTALL_BIN
INSTALL_BIN turns symlinks into actual files, which increases the total
size for no reason.

Small Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-05 18:08:36 -07:00
Rosen Penev 171c81db0a
zstd: Fix compilation on uClibc-ng
uClibc-ng defines __GLIBCC__ and does not compile in execinfo.h. Disable
it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-01 14:13:17 -07:00
Rosen Penev 8e6f049b26
treewide: Replace PKG_LICENSE_FILE with PKG_LICENSE_FILES
The latter is actually what is used by the build system. Increased
PKG_RELEASE for all packages as this changes the ipk.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-30 14:52:57 -07:00
Amol Bhave bea3caf836 zstd: bump zstd version to 1.4.0
This diff bumps the zstd version to 1.4.0

Tested with NBG6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-21 12:32:51 -07:00
Amol Bhave 5fc321625e zstd: add zstd package
Zstandard, or zstd as short version, is a fast lossless compression
algorithm, targeting real-time compression scenarios at zlib-level and
better compression ratios.

This package includes a C library, and a command line utility producing
and decoding .zst, .gz, .xz and .lz4 files.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-03-31 06:11:52 -07:00