zizmor: update to 1.15.2 (#25948)

* zizmor: update to 1.15.2

* zizmor: add patch for jemalloc allocator issue
This commit is contained in:
Dirk Stolle 2025-10-15 04:07:50 +02:00 committed by GitHub
parent 53cb088307
commit d1a6f0317c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
_realname=zizmor
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.14.2
pkgver=1.15.2
pkgrel=1
pkgdesc="A static analysis tool for GitHub Actions (mingw-w64)"
url='https://github.com/zizmorcore/zizmor'
@ -24,11 +24,26 @@ makedepends=(
"${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-rust"
)
source=("https://github.com/zizmorcore/${_realname}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
sha256sums=('c2b0d5edcb3a008b62412522740885bd75164cb4239bb2acd4007acaad60815a')
source=("https://github.com/zizmorcore/${_realname}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
"https://github.com/zizmorcore/zizmor/commit/522d1ce0ed1fee1e7bc2a8cf897d3d8941654bc5.patch")
sha256sums=('a3d3a062ffd79f3958c7d428a9aeb8b6332d57bc3fb15bed242d519aa11e2f42'
'81645a500dabefe041c6bcf9bbbdeff9a02b80b5ffc821da4ba0dad8cf4edd3b')
apply_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying ${_patch}"
patch -Nbp1 -i "${srcdir}/${_patch}"
done
}
prepare() {
cd "${_realname}-${pkgver}"
# See https://github.com/zizmorcore/zizmor/pull/1254.
apply_patch_with_msg \
522d1ce0ed1fee1e7bc2a8cf897d3d8941654bc5.patch
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}