92c8d4dfe2
-- 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.
50 lines
998 B
Plaintext
50 lines
998 B
Plaintext
#!/bin/sh
|
|
#
|
|
# $OpenBSD: INSTALL,v 1.1.1.1 2000/09/06 07:52:46 brad Exp $
|
|
#
|
|
# mod_perl installation
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
do_notice()
|
|
{
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To finish the install of $1, you need to enable the"
|
|
echo "| module using the following command"
|
|
echo "|"
|
|
echo "| $PREFIX/sbin/mod_perl-enable"
|
|
echo "|"
|
|
echo "| If you already have Apache running on your machine,"
|
|
echo "| you should not use "apachectl restart" - instead,"
|
|
echo "| you fully stop and then restart the server."
|
|
echo "+---------------"
|
|
echo
|
|
}
|
|
|
|
# verify proper execution
|
|
#
|
|
if [ $# -ne 2 ]; then
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Verify/process the command
|
|
#
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
: nothing to pre-install for this port
|
|
;;
|
|
POST-INSTALL)
|
|
do_notice $1
|
|
;;
|
|
*)
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|