upg curl
This commit is contained in:
parent
f2f18cb2b6
commit
6ae34c6781
2 changed files with 13 additions and 28 deletions
|
@ -7,11 +7,8 @@
|
|||
|
||||
pkgbase=curl
|
||||
pkgname=(curl libcurl-compat libcurl-gnutls)
|
||||
#_tag='8cd1397d3c5c9b1526c8d74530266a7a9a22294b' # git rev-parse v${_tag_name}
|
||||
#_tag_name='8_6_0'
|
||||
#pkgver="${_tag_name//_/.}"
|
||||
pkgver=8.9.0
|
||||
pkgrel=02
|
||||
pkgver=8.9.1
|
||||
pkgrel=01
|
||||
pkgdesc='command line tool and library for transferring data with URLs - w/o ipv6 & zstd'
|
||||
url='https://curl.se'
|
||||
#options=(debug) # uncomment this to produce debug package
|
||||
|
@ -20,15 +17,9 @@ depends=('ca-certificates' 'brotli' 'libbrotlidec.so' 'krb5' 'libgssapi_krb5.so'
|
|||
'libpsl.so' 'libssh2' 'libssh2.so' 'zlib')
|
||||
makedepends=('patchelf' 'git')
|
||||
checkdepends=('valgrind')
|
||||
#source=("https://curl.haxx.se/download/${pkgname}-${pkgver}.tar.gz"{,.asc}
|
||||
#source=("git+https://github.com/curl/curl.git#tag=${_tag}?signed")
|
||||
#source=("git+https://github.com/curl/curl.git#tag=curl-${pkgver//./_}?signed"
|
||||
# '0001-bump-version-to-match-last-tag.patch'
|
||||
# 'curl-8_7_1-h2-ngtcp2-write-error-handling.patch')
|
||||
source=("git+https://github.com/curl/curl.git#tag=curl-${pkgver//./_}?signed")
|
||||
|
||||
_backports=(
|
||||
'17e6f06ea37136c36d2712b3433ef0d3b118ec0d' # https://github.com/curl/curl/issues/14280
|
||||
)
|
||||
|
||||
_reverts=(
|
||||
|
@ -77,12 +68,13 @@ build() {
|
|||
--with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
|
||||
)
|
||||
|
||||
# mkdir build-curl{,-compat,-gnutls}
|
||||
# if some tests fail and want to rebuild --nocheck with existing
|
||||
# work comment this next line out for makepkg -e --nocheck
|
||||
mkdir build-curl{,-compat,-gnutls}
|
||||
|
||||
# build curl
|
||||
cd "${srcdir}"/build-curl
|
||||
|
||||
# "${srcdir}/${pkgbase}-${pkgver}"/configure \
|
||||
"${srcdir}/${pkgbase}"/configure \
|
||||
"${_configure_options[@]}" \
|
||||
--enable-versioned-symbols \
|
||||
|
@ -96,7 +88,6 @@ build() {
|
|||
# build libcurl-compat
|
||||
cd "${srcdir}"/build-curl-compat
|
||||
|
||||
# "${srcdir}/${pkgbase}-${pkgver}"/configure \
|
||||
"${srcdir}/${pkgbase}"/configure \
|
||||
"${_configure_options[@]}" \
|
||||
--disable-versioned-symbols \
|
||||
|
@ -109,7 +100,6 @@ build() {
|
|||
# build libcurl-gnutls
|
||||
cd "${srcdir}"/build-curl-gnutls
|
||||
|
||||
# "${srcdir}/${pkgbase}-${pkgver}"/configure \
|
||||
"${srcdir}/${pkgbase}"/configure \
|
||||
"${_configure_options[@]}" \
|
||||
--disable-versioned-symbols \
|
||||
|
@ -134,7 +124,6 @@ check() {
|
|||
}
|
||||
|
||||
package_curl() {
|
||||
|
||||
depends+=('openssl' 'libcrypto.so' 'libssl.so')
|
||||
provides=('libcurl.so')
|
||||
|
||||
|
@ -197,12 +186,9 @@ license=('MIT')
|
|||
|
||||
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg
|
||||
|
||||
sha512sums=('3bb473767cc1482a4fccf871098d98923effce288d2f0c0631e077f075adde85774ca341285153d26de63e70ed89af909485bee4f46310db69987cf148a3dea1')
|
||||
|
||||
sha256sums=(fa6254a74e44c33152f7c1aea7b80d958f00358bc62910c1a3ba04c76c0c2000) # curl
|
||||
|
||||
|
||||
## 2b4e18c5a61571d710df9a1d4c1c07d7625300ba91ed999d2e6a89641b027855 curl-8.9.0-02-x86_64.pkg.tar.lz
|
||||
## d32b4a91e8a7453458916043a14a7fdcbed2d5e8065a16e07fcadda17245c8d9 libcurl-compat-8.9.0-02-x86_64.pkg.tar.lz
|
||||
## 764c8f1d76e235f2847fd43b74ad2d55f4110a9c446291e147eb875278ec7b2c libcurl-gnutls-8.9.0-02-x86_64.pkg.tar.lz
|
||||
sha256sums=(357a5b20ee69803f2f180a42932353c39fef196190994441efdccaff05c9a718) # curl
|
||||
sha512sums=('402e12ad615c1db98df9cc8199d46f5c7a9bd174a457e469acbd9d3f567cc36b2db1fc3a010c3aa8e752da182f48d3b4590c98f15f6fad6ed063c4224d794442')
|
||||
|
||||
## 1064d3d1459197b91633d005fa682b9870868ba78cdf27ad39f21eddb95b431c curl-8.9.1-01-x86_64.pkg.tar.lz
|
||||
## 3ee6b24b0b949fadad9a98bb877076924dd903163538e71b271538fe74e0199e libcurl-compat-8.9.1-01-x86_64.pkg.tar.lz
|
||||
## a616d4f389d3fc2ec05f4d7899eb297dc4a362ab0a1b81babeb8cf75e30af3b0 libcurl-gnutls-8.9.1-01-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
pkgbase=curl
|
||||
pkgname=(curl libcurl-compat libcurl-gnutls)
|
||||
pkgver=8.9.0
|
||||
pkgrel=2
|
||||
pkgver=8.9.1
|
||||
pkgrel=1
|
||||
pkgdesc='command line tool and library for transferring data with URLs'
|
||||
arch=('x86_64')
|
||||
url='https://curl.se/'
|
||||
|
@ -26,10 +26,9 @@ makedepends=('git' 'patchelf')
|
|||
checkdepends=('valgrind')
|
||||
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg
|
||||
source=("git+https://github.com/curl/curl.git#tag=curl-${pkgver//./_}?signed")
|
||||
sha512sums=('3bb473767cc1482a4fccf871098d98923effce288d2f0c0631e077f075adde85774ca341285153d26de63e70ed89af909485bee4f46310db69987cf148a3dea1')
|
||||
sha512sums=('402e12ad615c1db98df9cc8199d46f5c7a9bd174a457e469acbd9d3f567cc36b2db1fc3a010c3aa8e752da182f48d3b4590c98f15f6fad6ed063c4224d794442')
|
||||
|
||||
_backports=(
|
||||
'17e6f06ea37136c36d2712b3433ef0d3b118ec0d' # https://github.com/curl/curl/issues/14280
|
||||
)
|
||||
|
||||
_reverts=(
|
||||
|
|
Loading…
Reference in a new issue