Switch to upstream merge of 1.21.0

This commit is contained in:
DasSkelett 2021-06-11 13:46:40 +02:00
parent 6cb3a7c0c6
commit cfcd3a581e
No known key found for this signature in database
GPG Key ID: CD4711E34050A172
2 changed files with 6 additions and 14 deletions

View File

@ -1,7 +1,7 @@
pkgbase = nginx-quic
pkgdesc = Lightweight HTTP server and IMAP/POP3 proxy server, HTTP/3 QUIC branch
pkgver = 1.21.0
pkgrel = 2
pkgrel = 3
url = https://nginx.org
install = nginx.install
arch = i686
@ -27,8 +27,8 @@ pkgbase = nginx-quic
backup = etc/nginx/uwsgi_params
backup = etc/nginx/win-utf
backup = etc/logrotate.d/nginx
source = hg+https://hg.nginx.org/nginx-quic#revision=60c6e8d8d3ae
source = git+https://boringssl.googlesource.com/boringssl#commit=3dd9864feace08641e1f856edd2bcca63ba7887f
source = hg+https://hg.nginx.org/nginx-quic#revision=1fec68e322d0
source = git+https://boringssl.googlesource.com/boringssl#commit=c3b373bf4f4b2e2fba2578d1d5b5fe04e410f7cb
source = service
source = logrotate
sha256sums = SKIP

View File

@ -6,7 +6,7 @@
pkgname=nginx-quic
pkgver=1.21.0
pkgrel=2
pkgrel=3
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server, HTTP/3 QUIC branch'
arch=('i686' 'x86_64')
url='https://nginx.org'
@ -25,8 +25,8 @@ backup=('etc/nginx/fastcgi.conf'
install=nginx.install
provides=('nginx')
conflicts=('nginx')
source=("hg+https://hg.nginx.org/nginx-quic#revision=60c6e8d8d3ae"
"git+https://boringssl.googlesource.com/boringssl#commit=3dd9864feace08641e1f856edd2bcca63ba7887f"
source=("hg+https://hg.nginx.org/nginx-quic#revision=1fec68e322d0"
"git+https://boringssl.googlesource.com/boringssl#commit=c3b373bf4f4b2e2fba2578d1d5b5fe04e410f7cb"
"service"
"logrotate")
sha256sums=('SKIP'
@ -72,14 +72,6 @@ _quic_flags=(
--with-stream_quic_module
)
prepare() {
# Upstream hasn't merged the 1.20.0 update into the nginx-quic branch yet; do it manually
cd ${srcdir}/$pkgname
hg pull https://hg.nginx.org/nginx
hg merge f5de03f308a6 # release-1.21.0 tag
hg commit -u aur -m "[automated aur commit] Merged with default branch"
}
build() {
# Clear -D_FORTIFY_SOURCE from build flags, it causes Boringssl tests to fail to compile
export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=[1-9]/-D_FORTIFY_SOURCE=0}