mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- update to version 2.2.27
- fix apache-mpm-peruser graceful reload [1] Changes with Apache 2.2.27 *) SECURITY: CVE-2014-0098 (cve.mitre.org) Clean up cookie logging with fewer redundant string parsing passes. Log only cookies with a value assignment. Prevents segfaults when logging truncated cookies. [William Rowe, Ruediger Pluem, Jim Jagielski] *) SECURITY: CVE-2013-6438 (cve.mitre.org) mod_dav: Keep track of length of cdata properly when removing leading spaces. Eliminates a potential denial of service from specifically crafted DAV WRITE requests [Amin Tora <Amin.Tora neustar.biz>] *) core: draft-ietf-httpbis-p1-messaging-23 corrections regarding TE/CL conflicts. [Yann Ylavic <ylavic.dev gmail com>, Jim Jagielski] *) mod_proxy_http: Core dumped under high load. PR 50335. [Jan Kaluza <jkaluza redhat.com>] *) proxy_util: NULL terminate the right buffer in 'send_http_connect'. [Christophe Jaillet] *) mod_proxy: Remove (never documented) <Proxy ~ wildcard-url> syntax which is equivalent to <ProxyMatch wildcard-url>. [Christophe Jaillet] *) mod_ldap: Fix a potential memory leak or corruption. PR 54936. [Zhenbo Xu <zhenbo1987 gmail com>] *) mod_ssl: Do not perform SNI / Host header comparison in case of a forward proxy request. [Ruediger Pluem] *) mod_rewrite: Add mod_rewrite.h to the headers installed on Windows. PR46679 [Bob Ionescu] PR: ports/182947 [1] Submitted by: Andrew Azarov <andrew@azar-a.net> [1]
This commit is contained in:
parent
49f951cca5
commit
cc99aa9fab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349319
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= apache22
|
||||
PORTVERSION= 2.2.26
|
||||
PORTVERSION= 2.2.27
|
||||
#PORTREVISION?= 1
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
|
||||
@ -63,6 +63,13 @@ SUEXEC_USERDIR_EXTRA_PATCHES= ${FILESDIR}/extra-patch-suexec_userdir
|
||||
|
||||
ETC_SUBDIRS= Includes envvars.d extra modules.d
|
||||
|
||||
# PR: 182947
|
||||
.if ${WITH_MPM} != "peruser"
|
||||
SUB_LIST+= RELOAD_CMD=graceful
|
||||
.else
|
||||
SUB_LIST+= RELOAD_CMD=hrestart
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
MAKE_ENV+= NOPORTDOCS=yes
|
||||
.endif
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (apache22/httpd-2.2.26.tar.bz2) = af908e3dd5673f1c6f0ccc615e11d435e77517940af00e518e68ea25284b42b6
|
||||
SIZE (apache22/httpd-2.2.26.tar.bz2) = 5390190
|
||||
SHA256 (apache22/httpd-2.2.27.tar.bz2) = 205973ded6ca55c056ce9c84d73ab708f7829f330193bd39b651463b8d4f8147
|
||||
SIZE (apache22/httpd-2.2.27.tar.bz2) = 5616798
|
||||
|
@ -33,7 +33,7 @@ rcvar=apache22_enable
|
||||
start_precmd="apache22_prestart"
|
||||
restart_precmd="apache22_checkconfig"
|
||||
reload_precmd="apache22_checkconfig"
|
||||
reload_cmd="apache22_graceful"
|
||||
reload_cmd="apache22_%%RELOAD_CMD%%"
|
||||
graceful_cmd="apache22_graceful"
|
||||
gracefulstop_cmd="apache22_gracefulstop"
|
||||
configtest_cmd="apache22_checkconfig"
|
||||
@ -152,6 +152,13 @@ apache22_graceful() {
|
||||
eval ${command} ${apache22_flags} -k graceful
|
||||
}
|
||||
|
||||
apache22_hrestart() {
|
||||
apache22_requirepidfile
|
||||
|
||||
echo "Performing a graceful restart"
|
||||
eval ${command} ${apache22_flags} -k restart
|
||||
}
|
||||
|
||||
apache22_gracefulstop() {
|
||||
apache22_requirepidfile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user