From ca8086eab7d34fb2b2c98bf63dab6ae8dc9da00d Mon Sep 17 00:00:00 2001 From: bgme Date: Sun, 4 Feb 2024 09:16:18 +0800 Subject: [PATCH] remove curl-http3 --- repo/curl-http3/Makefile | 6 --- repo/curl-http3/PKGBUILD | 85 -------------------------------------- repo/curl-http3/lilac.yaml | 13 ------ 3 files changed, 104 deletions(-) delete mode 100644 repo/curl-http3/Makefile delete mode 100644 repo/curl-http3/PKGBUILD delete mode 100644 repo/curl-http3/lilac.yaml diff --git a/repo/curl-http3/Makefile b/repo/curl-http3/Makefile deleted file mode 100644 index 7b07cba..0000000 --- a/repo/curl-http3/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -.PHONY: all - -all: - @rm -f *.tar.* .SRCINFO - @updpkgsums - @makepkg --printsrcinfo > .SRCINFO diff --git a/repo/curl-http3/PKGBUILD b/repo/curl-http3/PKGBUILD deleted file mode 100644 index 3e525da..0000000 --- a/repo/curl-http3/PKGBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# Maintainer: Hendrik 'T4cC0re' Meyer -pkgname=curl-http3 -pkgver=8.6.0 -pkgrel=1 -pkgdesc="An URL retrieval utility and library - compiled with HTTP/3 support - binary is called curl3" -arch=('x86_64') -url="https://curl.haxx.se" -license=('MIT') -depends=('ca-certificates' 'brotli' 'libbrotlidec.so' 'libgssapi_krb5.so' - 'krb5' 'libidn2' 'libidn2.so' 'libnghttp2' 'libpsl' 'libpsl.so' - 'libssh2' 'libssh2.so' 'openssl' 'zlib' 'zstd' 'libzstd.so') -makedepends=('rust' 'git' 'go' 'cmake') -_quiche_ref=0.20.0 -source=("https://curl.haxx.se/download/curl-$pkgver.tar.gz"{,.asc} - "git+https://github.com/cloudflare/quiche.git#tag=${_quiche_ref}" - "git+https://github.com/google/boringssl.git") -validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg - -prepare() { - cd quiche - git revert -n a1b212761c6cc0b77b9121cdc313e507daf6deb3 - git submodule init - git config submodule.boringssl.url "${srcdir}"/boringssl - git -c protocol.file.allow=always submodule update quiche/deps/boringssl -} -build() { - #Build quiche - cd quiche - CFLAGS+=' -ffat-lto-objects' - cargo build --package quiche --release --features ffi,pkg-config-meta,qlog - mkdir quiche/deps/boringssl/src/lib - ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib/ - cd .. - - ## Build curl - cd "curl-${pkgver}" - - autoreconf -fi -## Arch Linux build flags + BoringSSL and quiche - env LDFLAGS=${LDFLAGS:--Wl}",-L,${PWD}/../quiche/target/release" ./configure \ - --with-openssl=$PWD/../quiche/quiche/deps/boringssl/src \ - --with-quiche=$PWD/../quiche/target/release \ - --enable-alt-svc \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --disable-ldap \ - --disable-ldaps \ - --disable-manual \ - --disable-shared \ - --enable-ipv6 \ - --enable-threaded-resolver \ - --with-gssapi \ - --with-libssh2 \ - --with-random=/dev/urandom \ - --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt - make -} - -package() { - cd "curl-${pkgver}" - - make DESTDIR="$pkgdir" install - LD_LIBRARY_PATH=$PWD/../quiche/target/release${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} make DESTDIR="$pkgdir" install -C scripts - - cd .. - - # rename curl to avoid conflicts - mv "${pkgdir}/usr/bin/curl" "${pkgdir}/usr/bin/curl3" - mv "${pkgdir}/usr/bin/curl-config" "${pkgdir}/usr/bin/curl-config3" - - # Remove stuff that would conflict with core/curl - rm -rf "${pkgdir}/usr/lib" "${pkgdir}/usr/share" "${pkgdir}/usr/include" - - # libquice is required - install -Dm755 quiche/target/release/libquiche.so "${pkgdir}/usr/lib/libquiche.so" - - # license - install -Dm644 "curl-${pkgver}"/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm644 quiche/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING-quiche" - install -Dm644 quiche/quiche/deps/boringssl/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-boringssl" -} -sha512sums=('43fdb6b81b394f3382d353d5f57673b2b3d26cfe34b25d08a526bc0597f508d5298e5a7088d0736d1f139cad19cd922affa51533c3a5a4bb5f2de68891c2958d' - 'SKIP' - 'SKIP' - 'SKIP') diff --git a/repo/curl-http3/lilac.yaml b/repo/curl-http3/lilac.yaml deleted file mode 100644 index 83bca87..0000000 --- a/repo/curl-http3/lilac.yaml +++ /dev/null @@ -1,13 +0,0 @@ -maintainers: - - github: yingziwu - email: i@bgme.me - -build_prefix: extra-x86_64 - -pre_build: aur_pre_build - -post_build: aur_post_build - -update_on: - - source: aur - aur: curl-http3