mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] zlib: Version bump. 1.2.11 -> 1.2.12
Date: Tue, 29 Mar 2022 21:07:24 +0200	[thread overview]
Message-ID: <20220329190724.4084168-1-christian.melki@t2data.com> (raw)

5 years worth of changes.
Notable changes. Fix for CVE-2018-25032, crc32 speedups and
crc32 using aarch64 native crc32 insns.
https://github.com/madler/zlib/blob/master/ChangeLog

* Add patch from develop branch to fix last minute makefile bug.
Makefile introduced functionality just before the release of
1.2.12 which broke CC handling.
* README copyright year changes.
* README legal disclaimer added. No license change.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 ...sue-that-discarded-provided-CC-defin.patch | 23 +++++++++++++++++++
 patches/zlib-1.2.12/series                    |  4 ++++
 rules/zlib.make                               |  6 ++---
 3 files changed, 30 insertions(+), 3 deletions(-)
 create mode 100644 patches/zlib-1.2.12/0001-Fix-configure-issue-that-discarded-provided-CC-defin.patch
 create mode 100644 patches/zlib-1.2.12/series

diff --git a/patches/zlib-1.2.12/0001-Fix-configure-issue-that-discarded-provided-CC-defin.patch b/patches/zlib-1.2.12/0001-Fix-configure-issue-that-discarded-provided-CC-defin.patch
new file mode 100644
index 000000000..63bdb67c0
--- /dev/null
+++ b/patches/zlib-1.2.12/0001-Fix-configure-issue-that-discarded-provided-CC-defin.patch
@@ -0,0 +1,23 @@
+From: Mark Adler <madler@alumni.caltech.edu>
+Date: Mon, 28 Mar 2022 18:34:10 -0700
+Subject: [PATCH] Fix configure issue that discarded provided CC definition.
+
+---
+ configure | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/configure b/configure
+index 52ff4a04ea89..3fa3e8618f9c 100755
+--- a/configure
++++ b/configure
+@@ -174,7 +174,10 @@ if test -z "$CC"; then
+   else
+     cc=${CROSS_PREFIX}cc
+   fi
++else
++  cc=${CC}
+ fi
++
+ cflags=${CFLAGS-"-O3"}
+ # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
+ case "$cc" in
diff --git a/patches/zlib-1.2.12/series b/patches/zlib-1.2.12/series
new file mode 100644
index 000000000..ac92b3ba7
--- /dev/null
+++ b/patches/zlib-1.2.12/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Fix-configure-issue-that-discarded-provided-CC-defin.patch
+# 5dfc5088b94416c3eb59b1a207bdec70  - git-ptx-patches magic
diff --git a/rules/zlib.make b/rules/zlib.make
index 96ef33966..dcfca75af 100644
--- a/rules/zlib.make
+++ b/rules/zlib.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_ZLIB) += zlib
 #
 # Paths and names
 #
-ZLIB_VERSION	:= 1.2.11
-ZLIB_MD5	:= 85adef240c5f370b308da8c938951a68
+ZLIB_VERSION	:= 1.2.12
+ZLIB_MD5	:= 28687d676c04e7103bb6ff2b9694c471
 ZLIB		:= zlib-$(ZLIB_VERSION)
 ZLIB_SUFFIX	:= tar.xz
 ZLIB_URL	:= \
@@ -25,7 +25,7 @@ ZLIB_URL	:= \
 ZLIB_SOURCE	:= $(SRCDIR)/$(ZLIB).$(ZLIB_SUFFIX)
 ZLIB_DIR	:= $(BUILDDIR)/$(ZLIB)
 ZLIB_LICENSE	:= Zlib
-ZLIB_LICENSE_FILES := file://README;md5=0ff45db88393c3152e458a047bba0ff1
+ZLIB_LICENSE_FILES := file://README;md5=7ae390a32824ef4d6316800962e5c66f
 
 # ----------------------------------------------------------------------------
 # Prepare
-- 
2.32.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2022-03-29 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-29 19:07 Christian Melki [this message]
2022-04-08  8:17 ` [ptxdist] [APPLIED] " Michael Olbrich

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=20220329190724.4084168-1-christian.melki@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /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