www/apache24: Update to 2.4.37
- Adds TLSv1.3 support with security/openssl111 PR: 232687 Submitted by: Pascal Christen <pascal christen hostpoint.ch> Reported by: Markus Kohlmeyer <rootservice gmail com> Reviewed by: ohauer Approved by: joneum Differential Revision: https://reviews.freebsd.org/D17668
This commit is contained in:
parent
2ab453d21f
commit
367e8ff5cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483139
4 changed files with 14 additions and 17 deletions
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= apache24
|
||||
PORTVERSION= 2.4.35
|
||||
PORTVERSION= 2.4.37
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= APACHE_HTTPD
|
||||
DISTNAME= httpd-${PORTVERSION}
|
||||
|
@ -136,7 +136,7 @@ IGNORE= LDAP and AUTHNZ_LDAP requires APR-util to have LDAP support built in.\
|
|||
. endif
|
||||
. if ${PORT_OPTIONS:MSESSION_CRYPTO} && \
|
||||
!(exists(${APU_CRYPTO_OPENSSL}) || exists(${APU_CRYPTO_NSS}))
|
||||
IGNORE= SESSION_CRYPTO requires APR-util to have crypto openssl support build in.\
|
||||
IGNORE= SESSION_CRYPTO requires APR-util to have crypto openssl support built in.\
|
||||
Please rebuild APR with crypto openssl support
|
||||
. endif
|
||||
.endif # exists APU_CONFIG
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1537900540
|
||||
SHA256 (apache24/httpd-2.4.35.tar.bz2) = 2607c6fdd4d12ac3f583127629291e9432b247b782396a563bec5678aae69b56
|
||||
SIZE (apache24/httpd-2.4.35.tar.bz2) = 7044336
|
||||
TIMESTAMP = 1540301506
|
||||
SHA256 (apache24/httpd-2.4.37.tar.bz2) = 3498dc5c6772fac2eb7307dc7963122ffe243b5e806e0be4fb51974ff759d726
|
||||
SIZE (apache24/httpd-2.4.37.tar.bz2) = 7031632
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- modules/ssl/mod_ssl.c.orig 2018-02-13 23:43:36 UTC
|
||||
+++ modules/ssl/mod_ssl.c
|
||||
@@ -398,7 +398,7 @@ static int ssl_hook_pre_config(apr_pool_
|
||||
/* We must register the library in full, to ensure our configuration
|
||||
* code can successfully test the SSL environment.
|
||||
*/
|
||||
-#if MODSSL_USE_OPENSSL_PRE_1_1_API
|
||||
+#if MODSSL_USE_OPENSSL_PRE_1_1_API || defined(LIBRESSL_VERSION_NUMBER)
|
||||
(void)CRYPTO_malloc_init();
|
||||
#else
|
||||
OPENSSL_malloc_init();
|
|
@ -1,6 +1,6 @@
|
|||
--- modules/ssl/ssl_engine_init.c.orig 2018-02-13 23:43:36 UTC
|
||||
+++ modules/ssl/ssl_engine_init.c
|
||||
@@ -546,7 +546,7 @@ static apr_status_t ssl_init_ctx_protoco
|
||||
@@ -547,7 +547,7 @@ static apr_status_t ssl_init_ctx_protoco
|
||||
char *cp;
|
||||
int protocol = mctx->protocol;
|
||||
SSLSrvConfigRec *sc = mySrvConfig(s);
|
||||
|
@ -9,4 +9,12 @@
|
|||
int prot;
|
||||
#endif
|
||||
|
||||
@@ -1492,7 +1492,7 @@ static apr_status_t ssl_init_proxy_certs
|
||||
X509_STORE_CTX *sctx;
|
||||
X509_STORE *store = SSL_CTX_get_cert_store(mctx->ssl_ctx);
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x1010100fL
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
/* For OpenSSL >=1.1.1, turn on client cert support which is
|
||||
* otherwise turned off by default (by design).
|
||||
* https://github.com/openssl/openssl/issues/6933 */
|
||||
|
|
Loading…
Reference in a new issue