public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libzip: bump version to 1.6.1
@ 2020-04-20 18:14 Bernd Kuhls
  2020-04-20 21:23 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2020-04-20 18:14 UTC (permalink / raw)
  To: buildroot

Use new upstream URL libzip.org.

Add optional dependency to liblzma introduced with version 1.6.0:
https://libzip.org/news/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libzip/Config.in   |  2 +-
 package/libzip/libzip.hash |  4 ++--
 package/libzip/libzip.mk   | 11 +++++++++--
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/package/libzip/Config.in b/package/libzip/Config.in
index c6ddabe6b5..a603d9abf1 100644
--- a/package/libzip/Config.in
+++ b/package/libzip/Config.in
@@ -8,7 +8,7 @@ config BR2_PACKAGE_LIBZIP
 	  This package also contains zipcmp, ziptorrent and zipmerge
 	  utilities.
 
-	  http://www.nih.at/libzip/
+	  https://libzip.org/
 
 comment "libzip needs a toolchain w/ dynamic library"
 	depends on BR2_STATIC_LIBS
diff --git a/package/libzip/libzip.hash b/package/libzip/libzip.hash
index eb11b526fb..676cdce7f3 100644
--- a/package/libzip/libzip.hash
+++ b/package/libzip/libzip.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256	b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4  libzip-1.5.2.tar.xz
-sha256  04464e729973cf58189051e7a3e8bca2acce9a1058c735e9e2eb1fdbe0fbbf50  LICENSE
+sha256 705dac7a671b3f440181481e607b0908129a9cf1ddfcba75d66436c0e7d33641  libzip-1.6.1.tar.xz
+sha256 af6d9141427cf40b7d1fa6d7f5473b06a7faa9f9b0a2ea588eb6ba7b2e1c8a9e  LICENSE
diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk
index a312dd90df..f021e06b66 100644
--- a/package/libzip/libzip.mk
+++ b/package/libzip/libzip.mk
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-LIBZIP_VERSION = 1.5.2
-LIBZIP_SITE = http://www.nih.at/libzip
+LIBZIP_VERSION = 1.6.1
+LIBZIP_SITE = https://libzip.org/download
 LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz
 LIBZIP_LICENSE = BSD-3-Clause
 LIBZIP_LICENSE_FILES = LICENSE
@@ -38,5 +38,12 @@ LIBZIP_DEPENDENCIES += musl-fts
 LIBZIP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lfts
 endif
 
+ifeq ($(BR2_PACKAGE_XZ),y)
+LIBZIP_DEPENDENCIES += xz
+LIBZIP_CONF_OPTS += -DENABLE_LZMA=ON
+else
+LIBZIP_CONF_OPTS += -DENABLE_LZMA=OFF
+endif
+
 $(eval $(cmake-package))
 $(eval $(host-cmake-package))
-- 
2.26.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/libzip: bump version to 1.6.1
  2020-04-20 18:14 [Buildroot] [PATCH 1/1] package/libzip: bump version to 1.6.1 Bernd Kuhls
@ 2020-04-20 21:23 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-04-20 21:23 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2020-04-20 20:14 +0200, Bernd Kuhls spake thusly:
> Use new upstream URL libzip.org.
> 
> Add optional dependency to liblzma introduced with version 1.6.0:
> https://libzip.org/news/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Applied to master after fixing the spaces in the hash file. Thanks!

Regards,
Yann E. MORIN.

> ---
>  package/libzip/Config.in   |  2 +-
>  package/libzip/libzip.hash |  4 ++--
>  package/libzip/libzip.mk   | 11 +++++++++--
>  3 files changed, 12 insertions(+), 5 deletions(-)
> 
> diff --git a/package/libzip/Config.in b/package/libzip/Config.in
> index c6ddabe6b5..a603d9abf1 100644
> --- a/package/libzip/Config.in
> +++ b/package/libzip/Config.in
> @@ -8,7 +8,7 @@ config BR2_PACKAGE_LIBZIP
>  	  This package also contains zipcmp, ziptorrent and zipmerge
>  	  utilities.
>  
> -	  http://www.nih.at/libzip/
> +	  https://libzip.org/
>  
>  comment "libzip needs a toolchain w/ dynamic library"
>  	depends on BR2_STATIC_LIBS
> diff --git a/package/libzip/libzip.hash b/package/libzip/libzip.hash
> index eb11b526fb..676cdce7f3 100644
> --- a/package/libzip/libzip.hash
> +++ b/package/libzip/libzip.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256	b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4  libzip-1.5.2.tar.xz
> -sha256  04464e729973cf58189051e7a3e8bca2acce9a1058c735e9e2eb1fdbe0fbbf50  LICENSE
> +sha256 705dac7a671b3f440181481e607b0908129a9cf1ddfcba75d66436c0e7d33641  libzip-1.6.1.tar.xz
> +sha256 af6d9141427cf40b7d1fa6d7f5473b06a7faa9f9b0a2ea588eb6ba7b2e1c8a9e  LICENSE
> diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk
> index a312dd90df..f021e06b66 100644
> --- a/package/libzip/libzip.mk
> +++ b/package/libzip/libzip.mk
> @@ -4,8 +4,8 @@
>  #
>  ################################################################################
>  
> -LIBZIP_VERSION = 1.5.2
> -LIBZIP_SITE = http://www.nih.at/libzip
> +LIBZIP_VERSION = 1.6.1
> +LIBZIP_SITE = https://libzip.org/download
>  LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz
>  LIBZIP_LICENSE = BSD-3-Clause
>  LIBZIP_LICENSE_FILES = LICENSE
> @@ -38,5 +38,12 @@ LIBZIP_DEPENDENCIES += musl-fts
>  LIBZIP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lfts
>  endif
>  
> +ifeq ($(BR2_PACKAGE_XZ),y)
> +LIBZIP_DEPENDENCIES += xz
> +LIBZIP_CONF_OPTS += -DENABLE_LZMA=ON
> +else
> +LIBZIP_CONF_OPTS += -DENABLE_LZMA=OFF
> +endif
> +
>  $(eval $(cmake-package))
>  $(eval $(host-cmake-package))
> -- 
> 2.26.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-20 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-20 18:14 [Buildroot] [PATCH 1/1] package/libzip: bump version to 1.6.1 Bernd Kuhls
2020-04-20 21:23 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox