From 4322e80058f0a0dc440c22a19ba15f9781d27178 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 14 Feb 2020 10:51:21 -0500 Subject: upgpkg: pacman-static 5.2.1-2 staticlibs rebuild: curl, libarchive, libgpg-error pin the PKGEXT to .xz since the resulting packages must not use devtools .zst compression if they are to be downloadable on older systems --- PKGBUILD | 46 ++++++++++++++++------------------------------ 1 file changed, 16 insertions(+), 30 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 925511a..6c00721 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,14 +6,14 @@ pkgname=pacman-static pkgver=5.2.1 _cares_ver=1.15.0 _nghttp2_ver=1.39.2 -_curlver=7.67.0 +_curlver=7.68.0 _sslver=1.1.1d _zlibver=1.2.11 _xzver=5.2.4 _bzipver=1.0.8 _zstdver=1.4.4 -_libarchive_ver=3.4.0 -_gpgerrorver=1.36 +_libarchive_ver=3.4.2 +_gpgerrorver=1.37 _libassuanver=2.5.3 _gpgmever=1.13.1 pkgrel=2 @@ -34,8 +34,7 @@ source+=("https://github.com/nghttp2/nghttp2/releases/download/v$_nghttp2_ver/ng source+=("https://c-ares.haxx.se/download/c-ares-${_cares_ver}.tar.gz"{,.asc}) validpgpkeys+=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg # curl -source+=("https://curl.haxx.se/download/curl-${_curlver}.tar.gz"{,.asc} - "https://github.com/curl/curl/commit/13182b33f727cf5a56a5a13419904369f7f3baad.patch") +source+=("https://curl.haxx.se/download/curl-${_curlver}.tar.gz"{,.asc}) # openssl source+=("https://www.openssl.org/source/openssl-${_sslver}.tar.gz"{,.asc} "ca-dir.patch") @@ -53,8 +52,7 @@ validpgpkeys+=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A') # Mark Wielaard # libassuan @@ -62,17 +60,16 @@ source+=("https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${_libassuanver}.tar. # gpgme source+=("https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${_gpgmever}.tar.bz2"{,.sig}) # libarchive -source+=("https://github.com/libarchive/libarchive/releases/download/v${_libarchive_ver}/libarchive-${_libarchive_ver}.tar.gz"{,.asc}) -validpgpkeys+=('CB55788360B992FA0885C878F040F7196BA99AF4') # Martin Matuska +source+=("https://github.com/libarchive/libarchive/releases/download/v${_libarchive_ver}/libarchive-${_libarchive_ver}.tar.xz"{,.asc}) +validpgpkeys+=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E') # Martin Matuska sha512sums=('7814420b8d71090313f1bc7d9a513138bda74c5cbcb43d9741acc27ea7b4d180a38848a7d7059969cc7afed1b108d26ba2622a16d8761566357c50a5da456981' 'SKIP' 'd8c971543e3e87736dfafebca55e9ecd0644e304c9731edaccba34170205824476595861a439077289b438ad489dd6008dedf2c6b2c111920300329be1b1bf34' 'a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50' 'SKIP' - '73365f964df733b5e79d690ba7260a279986a9637ba0026b37cca2eca7ba8e37967251751bdf26de730f6f432713da8b7e0a315e84f1e9dad0e0bfd3d7882f92' + '58b42c08b1cf4cb6e68f8e469d5b5f6298eebe286ba2677ad29e1a7eefd15b8609af54544f4c5a7dadebbd3b23bd77700830f2f60fbea7ae3f2f306e640010b0' 'SKIP' - '3f4f439332a0370dffbc3a11d5a63b21cef35c1a64b818c0fdfd148a30e1e1b7b73921c6ab147e8eedb33ee15e790d9638777d97bd08747ac497bffa9aa3fced' '2bc9f528c27fe644308eb7603c992bac8740e9f0c3601a130af30c9ffebbf7e0f5c28b76a00bbb478bad40fbe89b4223a58d604001e1713da71ff4b7fe6a08a7' 'SKIP' '3857c298663728a465b5f95a3ef44547efbfb420d755e9dde7f20aa3905171b400e1c126d8db5c2b916c733bbd0724d8753cad16c9baf7b12dcd225a3ee04a97' @@ -83,23 +80,21 @@ sha512sums=('7814420b8d71090313f1bc7d9a513138bda74c5cbcb43d9741acc27ea7b4d180a38 '083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3' 'SKIP' '8209837e8eb14e474dfe21d5511085f46cef93b03ab77613fd41e7b8be652418231c38852669c8e0b55b78ad41ea2cb8008d0da122a83f8f27e32b5c86f045cf' - '6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346' + 'fa12977237fcc872e944cda39ca43ee7d2cc9c52e243ede6077f4a31ae135e322dc848b4b55cffdc4ec53f27601ba30ddb368b090a94cd00d9345a55b323f179' 'SKIP' - '3c40b189c428c93d10685934cfaa2e35f71330da5ec271b7e5382b2b66090ccb4139efd743071cc0ea62a68bdc34d165d4a73bd0ef49fc357147f0b5166870b8' 'e7ccb651ea75b07b2e687d48d86d0ab83cba8e2af7f30da2aec794808e13e6ec93f21d607db50d3431f1c23cb3a07a2793b71170e69fa2f5a82cffb81961f617' 'SKIP' '11de670c6cf512508103fe67af56d9fbb2a9dda6fc6fa3cd321371bbe337c7c2c81913ca557d07187adb2a63d37ea1a44da97ab22345bbe6022c405d0cb083b8' 'SKIP' - '2f9e2a551a6bcab56fb1a030b5d656df7299a3d151465aa02f0420d344d2fada49dee4755b3abff9095f62519e14dc9af8afa1695ecc6d5fdb4f0b28e6ede852' + 'c144f88e3149923e2657ab3f6c9d3457ac779f856b1c6934b0012dbb3a8cefaa2873061f3060720ee52d67a78aa5e0afff17e0f1282c032322f35a9bbfcccc57' 'SKIP') b2sums=('be5a11624eecfe6c5a54088ce8872a1f2e24f2ac3f5a32a848a115b873b8ac3ee2a3aae5ab9f706be4fc359ef5cbde374688f012f799ff7ecda8669797160a52' 'SKIP' '4569774c33f17d51ac889c385697fcead82106db421399ceb22ad2aafabe64a576445d9272adcf37e2fec47cdd6ac1dc6423efd49012ca7be0aa2087609a0397' 'c4028bb2840af23274b79c73600bfcf73a348c7ab63ae3c215829e0fe2cf149f4ad38a3ec657c3997bad818ced3cacaed0579dd0dd2ef42eaffd074bdc4f22ed' 'SKIP' - '3a2a2f0d3325adb644cff89d97c079901a4daddc9e191f8a6a6ddcec3f9a5c58fe8ab2070ce66584a13df9954048217e2a3bac65dc643df26c0aa9c63fea5988' + '2dec41e9acef615e5e4db2b2ff44a4c72c4c2a51be9a3020134ae8f36f8563ff269f45e60c94134fd33cc923e2dcdb806575bef2499aaaf9fb4e921522ee9be1' 'SKIP' - 'dc3d356c0a669fc818fd71bbe4a9c2692acb7180be6c33291b956a783a628b9d329317c13dfa170859883455a9be9ad8c8c273f4638b9177cfcaddf630b7e70a' 'd3155f07b487ebd8dd4fe25396c874f9af18b5cfd7e622298d29c4f2c8ce14ad4534609d321314a4bcd0d44414e1306190340daaacd3c8fca061c04498446244' 'SKIP' 'e2ff99e8236487f43171c771d0ee89137b73f3d0b2756bcb0d6525c810ffa9f5a3763c3744327fb47cef21eabfc50fff96632f4bbe2cd244206a99daffa0c25a' @@ -110,14 +105,13 @@ b2sums=('be5a11624eecfe6c5a54088ce8872a1f2e24f2ac3f5a32a848a115b873b8ac3ee2a3aae '22ab3acd84f4db8c3d6f59340c252faedfd4447cea00dafbd652e65b6cf8a20adf6835c22e58563004cfafdb15348c924996230b4b23cae42da5e25eeac4bdad' 'SKIP' 'e21841a53b6c60703e5500cfc2a02923c4c3e57975aa57e1060310171e0d83d7c8eda1bd0510d5736db5c310d76847d2105ac5f614867fc3a9dc3086a035dfd7' - '81684f6e47192c50cfa408977d53dc3812befca28733b531d51dffa0a6799a47366a50f64755557a7b3111a179ac4aba9e6a527418461cdbcccea80ae6bed4fa' + '70666749aa0156652405ee15e4307f29bdf748f06728da5c672c0208053e0d3a041aaef882b263dd828e2aa7dd8a2f77334447af2c499f81f7602150d84f593f' 'SKIP' - '06d379b0d2cdf2ddc315a741291419a4f3cb809454fedf70bbfccc7626b86824665c3361a9a2f7923e1c71e779bc2e2ed181174edaa2d1658a395da0c5bb2d72' 'ae3a5a9a03e85d62cf87271cd4a0718a2b89a4f90ea814837913e4b2bb6e5af9746e766d99685cc0cc3a801efaee597e491a2bc03d42ac26059580ea4680fd7a' 'SKIP' '17fff261ab76b72e096aa42cc847443bfd3bbf0eb6d04af1d38561ddce1d11cfe9a98b6ced268b28f33e2cb7d900a9e6b3dfc56f1c784a021dbefbf493522e70' 'SKIP' - '6da5798ceabb542d8b877b3d672f6e6431ed7340ec0160a5d8cef28591b516b55d426002379eddc632a478bfd2f034a358f8552f55c9f066fd7f5c31c218b462' + 'b309c8283d65cc975569926ad866d49df53f386a50c4433ad9557f62693d48d3768ad68147241d748d2b5f86c6d26f381bbdbf22b0dbd961468a1cba2e62a922' 'SKIP') export LDFLAGS="$LDFLAGS -static" @@ -134,17 +128,9 @@ if [[ $CARCH = i686 ]]; then export CXXFLAGS="${CXXFLAGS/-fstack-protector-strong/}" fi -prepare() { - cd "${srcdir}"/curl-${_curlver} - patch -p1 -i ../13182b33f727cf5a56a5a13419904369f7f3baad.patch - cd "${srcdir}"/libarchive-${_libarchive_ver} - autoreconf -fi - - cd "${srcdir}"/libgpg-error-${_gpgerrorver} - # fix build with gawk 5 - patch -p1 -i ../7865041c77f4f7005282f10f9b6666b19072fbdf.patch - autoreconf -fi -} +# keep using xz-compressed packages, because one use of the package is to +# recover on systems with broken zstd support in libarchive +[[ $PKGEXT = .pkg.tar.zst ]] && PKGEXT=.pkg.tar.xz build() { export PKG_CONFIG_PATH="${srcdir}"/temp/usr/lib/pkgconfig -- cgit v1.2.3-70-g09d2