mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 09:40:35 -04:00
- change MPM backend from static to dynamic, but keep mpm_prefork for compatiblity with e.g. php modules - install dedicated MPM load file in case httpd was build with modular MPM (modules.d/000_mpm_prefork_fallback.conf) - disable SSLv3 and SSLv2 fallback in sample httpd-ssl-conf - use @sample macro instead EXAMPLESDIR - add some SSLCipherSuite examples for OpenSSL >= 1.0.x - add libressl support [1] - add pkg-install script (to handle new modular MPM build) - build now most all modules, so users using packages don't have to run a custom build for missing modules - fix suexec mode PR: 196139 [1] MFH: 2015Q1
19 lines
297 B
Bash
19 lines
297 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
MPM_FALLBACK="%%ETCDIR%%/modules.d/%%MPMF%%"
|
|
|
|
_cleanup(){
|
|
if [ -f ${MPM_FALLBACK} ]; then
|
|
echo -n "remove fallback MPM : "
|
|
/bin/rm -vf ${MPM_FALLBACK}
|
|
fi
|
|
}
|
|
|
|
# run only if build with modular MPM
|
|
if [ "x$2" = "xDEINSTALL" ]; then
|
|
%%MPM_FALLBACK_CHECK%%_cleanup
|
|
fi
|
|
|