Skip to contentSkip to conversation

package/minizip-zlib: bump version to 1.3.2

PATCH In review Bernd Kuhls 2 participants 3 messages May 31 – Jul 14

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 package/minizip-zlib: bump version to 1.3.2

https://github.com/madler/zlib/releases/tag/v1.3.2
https://github.com/madler/zlib/blob/v1.3.2/ChangeLog

Added upstream patch which adds ints.h as installed header to prevent build errors which would be caused by this bump.

Updated license hash due to copyright year bumps:
https://github.com/madler/zlib/commit/570720b0c24f9686c33f35a1b3165c1f568b96be
https://github.com/madler/zlib/commit/9e35567064baded660f61732b247ef5abc809014

Switched _SITE to https.

---
v2: Gitlab pipelines passed:

    https://gitlab.com/bkuhls/buildroot/-/commits/3847d430587a9d874b378a77a80cfbe98f2fc784
 ...ncy-to-ints.h-in-minizip-Makefile.am.patch | 26 +++++++++++++++++++
 package/minizip-zlib/minizip-zlib.hash        |  4 +--
 package/minizip-zlib/minizip-zlib.mk          |  4 +--
 3 files changed, 30 insertions(+), 4 deletions(-)
 create mode 100644 package/minizip-zlib/0001-Add-dependency-to-ints.h-in-minizip-Makefile.am.patch
package/minizip-zlib/0001-Add-dependency-to-ints.h-in-minizip-Makefile.am.patch new file +26 -0
new file mode 100644
index 0000000000..98e16251d8
@@ -0,0 +1,26 @@
+From cb14dc9ade3759352417a300e6c2ed73268f1d97 Mon Sep 17 00:00:00 2001
+From: Rui Chen <[email protected]>
+Date: Tue, 17 Feb 2026 10:48:39 -0500
+Subject: [PATCH] Add dependency to ints.h in minizip Makefile.am.
+
+So that ints.h is part of the installation.
+
+Upstream: https://github.com/madler/zlib/commit/cb14dc9ade3759352417a300e6c2ed73268f1d97
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ contrib/minizip/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/contrib/minizip/Makefile.am b/contrib/minizip/Makefile.am
+index d343011eb..b7dea4f7e 100644
+--- a/contrib/minizip/Makefile.am
++++ b/contrib/minizip/Makefile.am
+@@ -27,6 +27,7 @@ libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
+ minizip_includedir = $(includedir)/minizip
+ minizip_include_HEADERS = \
+ 	crypt.h \
++	ints.h \
+ 	ioapi.h \
+ 	mztools.h \
+ 	unzip.h \
package/minizip-zlib/minizip-zlib.hash +2 -2
index cbd9313870..bc8b046426 100644
@@ -1,4 +1,4 @@
 # From http://www.zlib.net/
-sha256  38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32  zlib-1.3.1.tar.xz
+sha256  d7a0654783a4da529d1bb793b7ad9c3318020af77667bcae35f95d0e42a792f3  zlib-1.3.2.tar.xz
 # License files, locally calculated
-sha256  845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243  LICENSE
+sha256  e32ff4e00d9d94930537635291da39e7e612703334bf6fde8c7f1686fe8a45a2  LICENSE
package/minizip-zlib/minizip-zlib.mk +2 -2
index 6d4a2d2e20..32af7ff0eb 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-MINIZIP_ZLIB_VERSION = 1.3.1
+MINIZIP_ZLIB_VERSION = 1.3.2
 MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz
-MINIZIP_ZLIB_SITE = http://www.zlib.net
+MINIZIP_ZLIB_SITE = https://www.zlib.net
 MINIZIP_ZLIB_LICENSE = Zlib
 MINIZIP_ZLIB_LICENSE_FILES = LICENSE
 MINIZIP_ZLIB_INSTALL_STAGING = YES
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/2 package/minizip-zlib: share source tarball with libzlib

Both packages use the same tarball as source.

Added comments to keep the version number in sync.

Transformed minizip-zlib.hash into a link to ../libzlib/libzlib.hash.

Added MINIZIP_ZLIB_DL_SUBDIR = libzlib so minizip-zlib uses the same tarball as libzlib.

---
v2: Gitlab pipelines passed:

    https://gitlab.com/bkuhls/buildroot/-/commits/3847d430587a9d874b378a77a80cfbe98f2fc784
 package/libzlib/libzlib.mk             | 1 +
 package/minizip-zlib/minizip-zlib.hash | 5 +----
 package/minizip-zlib/minizip-zlib.mk   | 2 ++
 3 files changed, 4 insertions(+), 4 deletions(-)
 mode change 100644 => 120000 package/minizip-zlib/minizip-zlib.hash
package/libzlib/libzlib.mk +1 -0
index c73328deee..d71d5d5233 100644
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# When updating the version here, please also update the minizip-zlib package
 LIBZLIB_VERSION = 1.3.2
 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz
 LIBZLIB_SITE = https://www.zlib.net
package/minizip-zlib/minizip-zlib.hash deleted +0 -4
deleted file mode 100644
index bc8b046426..0000000000
@@ -1,4 +0,0 @@
-# From http://www.zlib.net/
-sha256  d7a0654783a4da529d1bb793b7ad9c3318020af77667bcae35f95d0e42a792f3  zlib-1.3.2.tar.xz
-# License files, locally calculated
-sha256  e32ff4e00d9d94930537635291da39e7e612703334bf6fde8c7f1686fe8a45a2  LICENSE
package/minizip-zlib/minizip-zlib.hash new file +1 -0
new file mode 120000
index 0000000000..7214943cfa
@@ -0,0 +1 @@
+../libzlib/libzlib.hash
\ No newline at end of file
package/minizip-zlib/minizip-zlib.mk +2 -0
index 32af7ff0eb..d5c07fcca5 100644
@@ -4,9 +4,11 @@
 #
 ################################################################################
 
+# When updating the version here, please also update the libzlib package
 MINIZIP_ZLIB_VERSION = 1.3.2
 MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz
 MINIZIP_ZLIB_SITE = https://www.zlib.net
+MINIZIP_ZLIB_DL_SUBDIR = libzlib
 MINIZIP_ZLIB_LICENSE = Zlib
 MINIZIP_ZLIB_LICENSE_FILES = LICENSE
 MINIZIP_ZLIB_INSTALL_STAGING = YES
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Bernd Kuhls
Quoted 6 lines · Bernd Kuhls

https://github.com/madler/zlib/releases/tag/v1.3.2
https://github.com/madler/zlib/blob/v1.3.2/ChangeLog

Added upstream patch which adds ints.h as installed header to prevent build errors which would be caused by this bump.

Quoted 7 lines

Updated license hash due to copyright year bumps:
https://github.com/madler/zlib/commit/570720b0c24f9686c33f35a1b3165c1f568b96be
https://github.com/madler/zlib/commit/9e35567064baded660f61732b247ef5abc809014

Switched _SITE to https.

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot