ports/www/apache24/files/pkg-deinstall.in
Olli Hauer 5391a9beb2 - update to 2.4.12
- 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
2015-01-31 15:22:51 +00:00

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