zstd: add new package
PATCH v3 1/1 zstd: add new package
Add package to provide Zstandard compression tools (see https://facebook.github.io/zstd)
Minimal config snippet for utils/test-pkg is as follows:
BR2_PACKAGE_ZSTD=y
---
Changes since [v2]:
- Bump package version to the latest release: 1.3.0
Changes since [v1]:
- Remove all excessive configuration options and simplify installation rules to just calling "make install"
- Add support for HAVE_LZ4
- Add missing hash file
[v1] http://lists.busybox.net/pipermail/buildroot/2017-July/196739.html
[v2] http://lists.busybox.net/pipermail/buildroot/2017-July/197641.html
DEVELOPERS | 1 + package/Config.in | 1 + package/zstd/Config.in | 13 +++++++++++++ package/zstd/zstd.hash | 3 +++ package/zstd/zstd.mk | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 package/zstd/Config.in create mode 100644 package/zstd/zstd.hash create mode 100644 package/zstd/zstd.mk
DEVELOPERS +1 -0
@@ -100,6 +100,7 @@ F: package/python-scandir/ F: package/python-simplegeneric/ F: package/python-systemd/ F: package/python-traitlets/ +F: package/zstd/ N: Andrey Yurovsky <[email protected]> F: package/rauc/
package/Config.in +1 -0
@@ -73,6 +73,7 @@ menu "Compressors and decompressors" source "package/unzip/Config.in" source "package/xz/Config.in" source "package/zip/Config.in" + source "package/zstd/Config.in" endmenu menu "Debugging, profiling and benchmark"
package/zstd/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +menuconfig BR2_PACKAGE_ZSTD + bool "zstd" + help + Zstandard, or zstd as short version, is a fast lossless + compression algorithm, targeting real-time compression + scenarios at zlib-level and better compression ratios + + For more info see https://facebook.github.io/zstd + + The selection of other packages will enable some features: + + - xz, lz4 and/or zlib will enable support for corresponding + compression formats
package/zstd/zstd.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed +sha256 0fdba643b438b7cbce700dcc0e7b3e3da6d829088c63757a5984930e2f70b348 zstd-v1.3.0.tar.gz +
package/zstd/zstd.mk new file +49 -0
49 lines not on this page · raw message
Signature · 1 line
2.13.3
PATCH v3 1/1 zstd: add new package
Hi Andrey,
On Mon, Jul 24, 2017 at 05:07:00PM -0700, Andrey Smirnov wrote:
[...]
Quoted 6 lines
package/zstd/Config.in new file +0
-0
package/zstd/Config.in line 8
Quoted 8 lines
package/zstd/Config.in new file +8
-0@@ -0,0 +1,13 @@ +menuconfig BR2_PACKAGE_ZSTD + bool "zstd" + help + Zstandard, or zstd as short version, is a fast lossless + compression algorithm, targeting real-time compression + scenarios at zlib-level and better compression ratios + + For more info see https://facebook.github.io/zstd
The homepage link should come below ...
package/zstd/Config.in line 13
Quoted 6 lines
package/zstd/Config.in new file +5
-0+ + The selection of other packages will enable some features: + + - xz, lz4 and/or zlib will enable support for corresponding + compression formats
... here. It should be in a separate like that contains only the URL.
package/zstd/zstd.hash line 2
Quoted 8 lines
package/zstd/zstd.hash new file +2
-0@@ -0,0 +1,3 @@ +# Locally computed +sha256 0fdba643b438b7cbce700dcc0e7b3e3da6d829088c63757a5984930e2f70b348 zstd-v1.3.0.tar.gz
Please add hashes for the license files.
Quoted 7 lines
package/zstd/zstd.hash new file +1
-0+package/zstd/zstd.mk new file +0
-0
package/zstd/zstd.mk line 9
Quoted 9 lines
package/zstd/zstd.mk new file +9
-0@@ -0,0 +1,49 @@ +################################################################################ +# +# zstd +# +################################################################################ + +ZSTD_VERSION = v1.3.0 +ZSTD_SITE = $(call github,facebook,zstd,$(ZSTD_VERSION)) +ZSTD_LICENSE = BSD-3-Clause
Maybe also mention the Facebook patents grant? I'm not sure about that because it is not strictly a code license, AFAIK, but it is related to "legal info".
Luca, what do you think?
package/zstd/zstd.mk line 10
Quoted 1 line
package/zstd/zstd.mk new file +1
-0+ZSTD_LICENSE_FILES = LICENSE PATENTS
[...]
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH v3 1/1 zstd: add new package
Quoted 6 lines · Baruch Siach
Hi Andrey,
On Mon, Jul 24, 2017 at 05:07:00PM -0700, Andrey Smirnov wrote:
[...]
Quoted 17 lines
Quoted 6 lines
package/zstd/Config.in new file +0
-0package/zstd/Config.in line 8
Quoted 8 lines
package/zstd/Config.in new file +8
-0@@ -0,0 +1,13 @@ +menuconfig BR2_PACKAGE_ZSTD + bool "zstd" + help + Zstandard, or zstd as short version, is a fast lossless + compression algorithm, targeting real-time compression + scenarios at zlib-level and better compression ratios + + For more info see https://facebook.github.io/zstdThe homepage link should come below ...
OK, will fix in v4.
Quoted 9 lines
package/zstd/Config.in line 13
Quoted 6 lines
package/zstd/Config.in new file +5
-0+ + The selection of other packages will enable some features: + + - xz, lz4 and/or zlib will enable support for corresponding + compression formats... here. It should be in a separate like that contains only the URL.
Quoted 11 lines
package/zstd/zstd.hash line 2
Quoted 8 lines
package/zstd/zstd.hash new file +2
-0@@ -0,0 +1,3 @@ +# Locally computed +sha256 0fdba643b438b7cbce700dcc0e7b3e3da6d829088c63757a5984930e2f70b348 zstd-v1.3.0.tar.gzPlease add hashes for the license files.
OK. Will add in v4.
Quoted 11 lines
Quoted 11 lines
package/zstd/zstd.hash new file +1
-0+package/zstd/zstd.mk new file +4
-0@@ -0,0 +1,49 @@ +################################################################################ +# +# zstd +#
Quoted 9 lines
package/zstd/zstd.mk line 9
Quoted 5 lines
package/zstd/zstd.mk new file +5
-0+################################################################################ + +ZSTD_VERSION = v1.3.0 +ZSTD_SITE = $(call github,facebook,zstd,$(ZSTD_VERSION)) +ZSTD_LICENSE = BSD-3-ClauseMaybe also mention the Facebook patents grant? I'm not sure about that because it is not strictly a code license, AFAIK, but it is related to "legal info".
I am more than happy to add that, but I am not sure what it should look like. If we decide we should do that, please give me an example of what's expected.
Thanks,
Andrey Smirnov