openbsd-ports/www/mod_frontpage/pkg/DEINSTALL
danh c3e42a3c3e import of mod_frontpage 1.5.1 for Apache.
from DESCR:
This is a module for the Apache HTTP Server. It replaces the
Apache-FP patches and module  supplied  with  the  Microsoft
FrontPage  Server  Extensions  available  from Microsoft and
Ready-to-Run Software.

Using this module allows you to use advanced features of the
FrontPage client with your Apache HTTP Server (e.g. creating
FrontPage enabled subwebs using the FrontPage client in con-
trast to creating them as user "root" with "fpinstall.sh" or
the "fpsrvadm.exe"-utility on the system's shell).
2001-03-04 17:21:21 +00:00

34 lines
823 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/03/04 17:21:21 danh Exp $
#
# mod_frontpage 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_frontpage.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 frontpage_module"
if [ -d ${PREFIX}/frontpage ]; then
echo "|"
echo "| Optionally, you may also delete the FrontPage 2000 Server"
echo "| Extensions located in ${PREFIX}/frontpage."
fi
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0