This commit is contained in:
joborun linux 2024-01-23 05:13:17 +02:00
parent 0ce2545e40
commit a3e7568014
1 changed files with 2 additions and 12 deletions

View File

@ -16,12 +16,12 @@ depends=('glibc')
makedepends=('automake' 'autoconf')
options=('staticlibs') # needed by binutils testsuite
#options=('staticlibs' 'debug') ## uncomment this to have the debug pkg produced
# NOTE: Next time use tar.xz source so it matches Arch and their sums
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc})
# zlib-1.3-CVE-2023-45853.patch::https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c.patch)
prepare() {
cd $pkgbase-$pkgver/contrib/minizip
# patch -Np3 < "${srcdir}/zlib-1.3-CVE-2023-45853.patch"
cp Makefile Makefile.orig
cp ../README.contrib readme.txt
autoreconf -fiv
@ -69,19 +69,9 @@ license=(Zlib)
validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
sha512sums=(580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f # zlib-1.3.1.tar.gz
02e6e9c4087a5e9eae160df76b8ff3f3c9623ca5cb06a1d26079688b17787a38c22fbf583d4af407d5f903fc53c526e718d0168a7536fd55fe813d4c7182db97) #zlib-1.3.1.tar.gz.asc
#sha512sums=('1e8e70b362d64a233591906a1f50b59001db04ca14aaffad522198b04680be501736e7d536b4191e2f99767e7001ca486cd802362cca2be05d5d409b83ea732d'
# SKIP)
#b2sums=('42d109223801a493de6d52e7343403d7fc3234a6ca816425fe41ac9c18019b01b93841acd28a235e99f2256a6a17f93624e96b2ddb58d588c8190a6bedb82910'
# 'SKIP')
sha256sums=(9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23 # zlib-1.3.1.tar.gz
57266943f4c8f8a3c653e0f33ceb90c1207ea1f96b0b3f22ecf47581d2e67c99) # zlib-1.3.1.tar.gz.asc
# 7aa0221bf62796c29ae665ef3dd138489e1995b7095924dc035104959da13417) # zlib-1.3-CVE-2023-45853.patch
# Note to packager:
#ls -l *pkg.tar.lz
#echo "you must rename this package to meet SF naming before you move to the repo"