openbsd-ports/www/mod_security/pkg/DEINSTALL
david 2d8ef2f651 Initial import of mod_security-1.7.3
ModSecurity is an open source intrusion detection and prevention engine
for web applications. It operates embedded into the web server, acting
as a powerful umbrella - shielding applications from attacks.

WWW: http://www.modsecurity.org/
2003-11-19 01:33:26 +00:00

29 lines
655 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/11/19 01:33:26 david Exp $
#
# mod_security de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONF=`apxs -q SYSCONFDIR`/httpd.conf
MODULE=/usr/lib/apache/modules/mod_security.so
rm -f ${MODULE}
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| edit ${CONF}"
echo "| remove the line LoadModule security_module"
echo "|"
echo "| Do not do this if you plan on re-installing the $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0