From 6f1130afcdac3c2fb54b7a3d95ca7b4073b9453b Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Wed, 20 Apr 2022 12:56:56 -0600 Subject: [PATCH] package/zchunk: bump to version 1.2.2 Libcurl is now an optional dependency. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/zchunk/Config.in | 1 - package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 10 ++++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package/zchunk/Config.in b/package/zchunk/Config.in index 2d2a78a210..11463dd4bd 100644 --- a/package/zchunk/Config.in +++ b/package/zchunk/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_ZCHUNK bool "zchunk" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_LIBCURL help A file format designed for highly efficient deltas while maintaining good compression. diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index d6b425dc70..fa097d4ae0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz +sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 6f7ac799a0..5582c21e77 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,15 +4,21 @@ # ################################################################################ -ZCHUNK_VERSION = 1.1.16 +ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_INSTALL_STAGING = YES ZCHUNK_DEPENDENCIES = \ - libcurl \ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ZCHUNK_DEPENDENCIES += libcurl +ZCHUNK_CONF_OPTS += -Dwith-curl=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-curl=disabled +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ZCHUNK_DEPENDENCIES += openssl ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled