Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH/next v2 2/2] package/minizip-zlib: share source tarball with libzlib
Date: Sun, 31 May 2026 19:48:16 +0200	[thread overview]
Message-ID: <20260531174816.1681614-2-bernd@kuhls.net> (raw)
In-Reply-To: <20260531174816.1681614-1-bernd@kuhls.net>

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.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
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

diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk
index c73328deee..d71d5d5233 100644
--- a/package/libzlib/libzlib.mk
+++ b/package/libzlib/libzlib.mk
@@ -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
diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash
deleted file mode 100644
index bc8b046426..0000000000
--- a/package/minizip-zlib/minizip-zlib.hash
+++ /dev/null
@@ -1,4 +0,0 @@
-# From http://www.zlib.net/
-sha256  d7a0654783a4da529d1bb793b7ad9c3318020af77667bcae35f95d0e42a792f3  zlib-1.3.2.tar.xz
-# License files, locally calculated
-sha256  e32ff4e00d9d94930537635291da39e7e612703334bf6fde8c7f1686fe8a45a2  LICENSE
diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash
new file mode 120000
index 0000000000..7214943cfa
--- /dev/null
+++ b/package/minizip-zlib/minizip-zlib.hash
@@ -0,0 +1 @@
+../libzlib/libzlib.hash
\ No newline at end of file
diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk
index 32af7ff0eb..d5c07fcca5 100644
--- a/package/minizip-zlib/minizip-zlib.mk
+++ b/package/minizip-zlib/minizip-zlib.mk
@@ -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
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-05-31 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-31 17:48 [Buildroot] [PATCH/next v2 1/2] package/minizip-zlib: bump version to 1.3.2 Bernd Kuhls
2026-05-31 17:48 ` Bernd Kuhls [this message]
2026-07-14 11:50 ` Julien Olivain via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260531174816.1681614-2-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox