DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: "Joshi, Pranay" <Pranay.Joshi@bakerhughes.com>
Cc: "distrokit@pengutronix.de" <distrokit@pengutronix.de>
Subject: Re: [DistroKit] For zlib-1.2.12.tar.xz
Date: Tue, 15 Nov 2022 11:09:45 +0100	[thread overview]
Message-ID: <20221115100945.webhdclnoppagp7j@pengutronix.de> (raw)
In-Reply-To: <PH0PR08MB8014422255D1420F10123E0D823B9@PH0PR08MB8014.namprd08.prod.outlook.com>

On Fri, Nov 04, 2022 at 07:10:28AM +0000, Joshi, Pranay wrote:
> Hi,
> 
> We want zlib library for building a Distrokit next branch to prepare an image using ptxdist tool in Linux, can you please provide "zlib-1.2.12.tar.xz"
> 
> We can only be able to find .gz this version of zlib in https://zlib.net/fossils/.

That is unfortunate… It seems like zlib 1.2.12 was intentionally
unpublished, probably because of CVE-2022-37434, which was fixed in zlib
1.2.13. I also cannot find any mirror still serving the old version… but
you should be able to use 1.2.13 instead.

You can try installing ptxdist-2022.10.0, which includes the newer zlib
version, and update via `ptxdist-2022.10.0 migrate`. Until DistroKit is
updated to the new PTXDist version, you can try overwriting the zlib
version locally by putting the following text into rules/post/zlib.make
in your DistroKit tree:

    ZLIB_VERSION    := 1.2.13
    ZLIB_MD5        := 7d9fc1d78ae2fa3e84fe98b77d006c63
    ZLIB            := zlib-$(ZLIB_VERSION)
    ZLIB_URL        := http://zlib.net/$(ZLIB).$(ZLIB_SUFFIX) $(call ptx/mirror, SF, libpng/$(ZLIB).$(ZLIB_SUFFIX))
    ZLIB_SOURCE     := $(SRCDIR)/$(ZLIB).$(ZLIB_SUFFIX)
    ZLIB_DIR        := $(BUILDDIR)/$(ZLIB)

After that, `ptxdist print ZLIB` should output "zlib-1.2.13".

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



           reply	other threads:[~2022-11-15 10:09 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <PH0PR08MB8014422255D1420F10123E0D823B9@PH0PR08MB8014.namprd08.prod.outlook.com>]

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=20221115100945.webhdclnoppagp7j@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=Pranay.Joshi@bakerhughes.com \
    --cc=distrokit@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