Skip to content

Commit

Permalink
www/nginx-devel: update HTTPv3/QUIC patch
Browse files Browse the repository at this point in the history
It's possible now to build NGINX HTTPv3/QUIC implementation with
another the LibreSSL 3.6.0.

Bump PORTREVISION.
  • Loading branch information
osokin committed Oct 20, 2022
1 parent e718e13 commit 8ec44fa
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 256 deletions.
17 changes: 13 additions & 4 deletions www/nginx-devel/Makefile
@@ -1,5 +1,6 @@
PORTNAME?= nginx
PORTVERSION= 1.23.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
Expand Down Expand Up @@ -70,7 +71,8 @@ OPTIONS_GROUP_HTTPGRP= GOOGLE_PERFTOOLS HTTP HTTP_ADDITION HTTP_AUTH_REQ \
HTTP_CACHE HTTP_DAV HTTP_DEGRADATION HTTP_FLV HTTP_GUNZIP_FILTER \
HTTP_GZIP_STATIC HTTP_IMAGE_FILTER HTTP_MP4 HTTP_PERL \
HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK HTTP_SLICE HTTP_SSL \
HTTP_STATUS HTTP_SUB HTTP_XSLT HTTPV2 HTTPV3 HTTPV3_BORING HTTPV3_QTLS
HTTP_STATUS HTTP_SUB HTTP_XSLT HTTPV2 HTTPV3 HTTPV3_BORING HTTPV3_LSSL \
HTTPV3_QTLS

OPTIONS_GROUP_MAILGRP= MAIL MAIL_IMAP MAIL_POP3 MAIL_SMTP MAIL_SSL

Expand Down Expand Up @@ -167,10 +169,15 @@ HTTPV3_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-httpv3:-p1
HTTPV3_BORING_BUILD_DEPENDS= ${LOCALBASE}/bin/bssl:security/boringssl
HTTPV3_BORING_RUN_DEPENDS= ${LOCALBASE}/bin/bssl:security/boringssl
HTTPV3_BORING_IMPLIES= HTTPV3
HTTPV3_BORING_PREVENTS= HTTPV3_QTLS
HTTPV3_BORING_PREVENTS= HTTPV3_LSSL HTTPV3_QTLS
HTTPV3_LSSL_BUILD_DEPENDS= ${LOCALBASE}/include/tls.h:security/libressl-devel
HTTPV3_LSSL_BUILD_DEPENDS= ${LOCALBASE}/include/tls.h:security/libressl-devel
HTTPV3_LSSL_IMPLIES= HTTPV3
HTTPV3_LSSL_PREVENTS= HTTPV3_BORING HTTPV3_QTLS
HTTPV3_QTLS_BUILD_DEPENDS= ${LOCALBASE}/include/openssl/quic.h:security/openssl-quictls
HTTPV3_QTLS_RUN_DEPENDS= ${LOCALBASE}/include/openssl/quic.h:security/openssl-quictls
HTTPV3_QTLS_IMPLIES= HTTPV3
HTTPV3_QTLS_PREVENTS= HTTPV3_BORING HTTPV3_LSSL
MAIL_VARS= DSO_BASEMODS+=mail
MAIL_IMAP_CONFIGURE_OFF= --without-mail_imap_module
MAIL_POP3_CONFIGURE_OFF= --without-mail_pop3_module
Expand Down Expand Up @@ -234,8 +241,10 @@ IGNORE= required at least PCRE_ONE or PCRE_TWO \
.endif

.if ${PORT_OPTIONS:MHTTPV3} && \
(empty(PORT_OPTIONS:MHTTPV3_BORING) && empty(PORT_OPTIONS:MHTTPV3_QTLS))
IGNORE= required HTTPV3_BORING or HTTPV3_QTLS \
(empty(PORT_OPTIONS:MHTTPV3_BORING) && \
empty(PORT_OPTIONS:MHTTPV3_LSSL) && \
empty(PORT_OPTIONS:MHTTPV3_QTLS))
IGNORE= required HTTPV3_BORING or HTTPV3_LSSL or HTTPV3_QTLS \
to be defined. Please do 'make config' again
.endif

Expand Down
1 change: 1 addition & 0 deletions www/nginx-devel/Makefile.options.desc
Expand Up @@ -24,6 +24,7 @@ HTTPGRP_DESC= Modules that require HTTP module
HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.)
HTTPV3_DESC= Enable HTTP/3 protocol support
HTTPV3_BORING_DESC= Use security/boringssl
HTTPV3_LSSL_DESC= Use secutity/libressl-devel
HTTPV3_QTLS_DESC= Use security/openssl-quictls
HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module
HTTP_ADDITION_DESC= Enable http_addition module
Expand Down

0 comments on commit 8ec44fa

Please sign in to comment.