xz: update and change to git

the xz backdoor caused github to disable the repo. Changing to
the tukaani git to allow builds to happen.

Moved from tarball to git clone for building xz to avoid any
other potential tarball poisoning by JiaT75, using the commit
tagged as 5.2.5; the latest full release tag available without
any commits by JiaT75.
This commit is contained in:
Jordan McCallum 2024-04-01 08:41:31 +10:00
parent 3bfe48e377
commit 69a63abb9e

View File

@ -1,13 +1,12 @@
[source]
tar = "https://tukaani.org/xz/xz-5.4.3.tar.xz"
blake3 = "4b1b814bcf3794973fe9076d549a0edfbee01d2fd57821fe3280537ef6c7deae"
script = """
./autogen.sh
"""
git = "https://git.tukaani.org/xz.git"
# v5.2.5
rev = "2327a461e1afce862c22269b80d3517801103c1b"
[build]
template = "custom"
script = """
(cd ${COOKBOOK_SOURCE} && ./autogen.sh)
export CFLAGS="-static"
COOKBOOK_CONFIGURE_FLAGS=(
--host="${TARGET}"