openbsd-ports/www/mod_perl/pkg/DEINSTALL
brad 92c8d4dfe2 add mod_perl port; From: Pavel Korovin <pvk@openbsd.ru>
--
Tested on i386 (by Pavel), SPARC (by me). Needs testing on m68k-based
systems.
--
The Apache/Perl integration project brings together the full power of the
Perl programming language and the Apache HTTP server. This is achieved by
linking the Perl runtime library into the server and providing an object
oriented Perl interface to the server's C language API.

These pieces are seamlessly glued together by the `mod_perl' server
plugin, making it is possible to write Apache modules entirely in Perl.
In addition, the persistent interpreter embedded in the server avoids the
overhead of starting an external interpreter program and the additional
Perl start-up (compile) time.
2000-09-06 07:52:45 +00:00

28 lines
640 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2000/09/06 07:52:46 brad Exp $
#
# mod_perl de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONF=`/usr/sbin/apxs -q SYSCONFDIR`/httpd.conf
rm -f /usr/lib/apache/modules/libperl.so
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| edit ${CONF}"
echo "| and remove the line LoadModule perl_module"
echo "|"
echo "| Do not do this if you plan on re-installing mod_perl"
echo "| package at some future time."
echo "+---------------"
echo
exit 0