diff options
| author | Shiji Yang | 2025-02-21 11:52:01 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-02-24 11:44:02 +0000 |
| commit | c43c816afcee151939fc4d30eb9638eaa1442b23 (patch) | |
| tree | 22dacfcedcfc28e51313abd29c89eee5d2ff62f3 | |
| parent | 87f3365d9010c754d79593a59c91e4d2619be68c (diff) | |
| download | openwrt-c43c816afcee151939fc4d30eb9638eaa1442b23.tar.gz | |
zlib: switch to git source
Switch to the git repository source so that we can use zstd
compression algorithm to create smaller package tarball. This
patch also corrected the license file name[1] and the CPE ID[2].
[1] https://github.com/madler/zlib/commit/352cb28d12baf02863ff5d4d96be0587ced419a1
[2] https://nvd.nist.gov/products/cpe/detail/95C64A3E-A897-4D55-B74A-D2285440D164
Suggested-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17880
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | package/libs/zlib/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/package/libs/zlib/Makefile b/package/libs/zlib/Makefile index 2559fbba0d..2156554964 100644 --- a/package/libs/zlib/Makefile +++ b/package/libs/zlib/Makefile @@ -11,13 +11,14 @@ PKG_NAME:=zlib PKG_VERSION:=1.3.1 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=https://github.com/madler/zlib/releases/download/v$(PKG_VERSION) -PKG_HASH:=38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32 +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/madler/zlib +PKG_SOURCE_VERSION:=51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf +PKG_MIRROR_HASH:=6558577038f4839057fad93afb295bf32e84dc9bd2c33512d40a5eab6d4889ef PKG_LICENSE:=Zlib -PKG_LICENSE_FILES:=README -PKG_CPE_ID:=cpe:/a:gnu:zlib +PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:zlib:zlib PKG_CONFIG_DEPENDS:= CONFIG_ZLIB_OPTIMIZE_SPEED |