Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
curl


Commits:
bbc12027 by Christian Hesse at 2026-01-07T17:00:47+01:00
use ngtcp2 for all builds

After all this is still the only QUIC library considered
non-experimental.

https://github.com/curl/curl/blob/master/docs/HTTP3.md

Closes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/curl/-/issues/12

- - - - -
051977da by Christian Hesse at 2026-01-07T17:09:28+01:00
upgpkg: 8.18.0-2: rebuild with ngtcp2 for all builds

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = curl
        pkgdesc = command line tool and library for transferring data with URLs
        pkgver = 8.18.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://curl.se/
        arch = x86_64
        license = MIT
@@ -37,6 +37,8 @@ pkgname = curl
        depends = libnghttp2.so
        depends = libnghttp3
        depends = libnghttp3.so
+       depends = libngtcp2
+       depends = libngtcp2.so
        depends = libpsl
        depends = libpsl.so
        depends = libssh2
@@ -65,6 +67,8 @@ pkgname = libcurl-compat
        depends = libnghttp2.so
        depends = libnghttp3
        depends = libnghttp3.so
+       depends = libngtcp2
+       depends = libngtcp2.so
        depends = libpsl
        depends = libpsl.so
        depends = libssh2


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 pkgbase=curl
 pkgname=(curl libcurl-compat libcurl-gnutls)
 pkgver=8.18.0
-pkgrel=1
+pkgrel=2
 pkgdesc='command line tool and library for transferring data with URLs'
 arch=('x86_64')
 url='https://curl.se/'
@@ -79,6 +79,8 @@ build() {
     --enable-websockets
     --with-gssapi
     --with-libssh2
+    --with-nghttp3
+    --with-ngtcp2
     --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
   )
 
@@ -90,9 +92,9 @@ build() {
   "${srcdir}/${pkgbase}"/configure \
     "${_configure_options[@]}" \
     --enable-versioned-symbols \
-    --with-fish-functions-dir=/usr/share/fish/vendor_completions.d/ \
+    --without-gnutls \
     --with-openssl \
-    --with-openssl-quic \
+    --with-fish-functions-dir=/usr/share/fish/vendor_completions.d/ \
     --with-zsh-functions-dir=/usr/share/zsh/site-functions/
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -103,8 +105,8 @@ build() {
   "${srcdir}/${pkgbase}"/configure \
     "${_configure_options[@]}" \
     --disable-versioned-symbols \
-    --with-openssl \
-    --with-openssl-quic
+    --without-gnutls \
+    --with-openssl
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make -C lib
   patchelf --set-soname 'libcurl-compat.so.4' ./lib/.libs/libcurl.so
@@ -116,8 +118,6 @@ build() {
     "${_configure_options[@]}" \
     --disable-versioned-symbols \
     --with-gnutls \
-    --with-ngtcp2 \
-    --with-nghttp3 \
     --without-openssl
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make -C lib
@@ -144,6 +144,7 @@ package_curl() {
     'libidn2' 'libidn2.so'
     'libnghttp2' 'libnghttp2.so'
     'libnghttp3' 'libnghttp3.so'
+    'libngtcp2' 'libngtcp2.so'
     'libpsl' 'libpsl.so'
     'libssh2' 'libssh2.so'
     'openssl' 'libcrypto.so' 'libssl.so'
@@ -173,6 +174,7 @@ package_libcurl-compat() {
     'libidn2' 'libidn2.so'
     'libnghttp2' 'libnghttp2.so'
     'libnghttp3' 'libnghttp3.so'
+    'libngtcp2' 'libngtcp2.so'
     'libpsl' 'libpsl.so'
     'libssh2' 'libssh2.so'
     'openssl' 'libcrypto.so' 'libssl.so'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/curl/-/compare/8313049dddfe662ccd95b38282d3fa18d13a4d64...051977dae2539d08ce85bf6f79fc0da991ea5695

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/curl/-/compare/8313049dddfe662ccd95b38282d3fa18d13a4d64...051977dae2539d08ce85bf6f79fc0da991ea5695
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to