- Replace DEINSTALL witn @unexec and UNMESSAGE

- Bump PKGNAME

ok Peter Galbavy (MAINTAINER), naddy@
This commit is contained in:
alek 2004-11-26 10:18:06 +00:00
parent 2d5884a70c
commit 5f2c73aac0
4 changed files with 13 additions and 31 deletions

View File

@ -1,12 +1,13 @@
# $OpenBSD: Makefile,v 1.15 2004/04/13 14:37:26 peter Exp $
# $OpenBSD: Makefile,v 1.16 2004/11/26 10:18:06 alek Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
SHARED_ONLY= Yes
COMMENT= "module that embeds a Perl interpreter into Apache"
DISTNAME= mod_perl-1.29
PKGNAME= ${DISTNAME}p0
CATEGORIES= www perl5
MASTER_SITES= http://perl.apache.org/dist/ \
${MASTER_SITE_PERL_CPAN:=Apache/}

View File

@ -1,28 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.3 2003/07/19 22:41:25 naddy Exp $
#
# mod_perl 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_perl.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 perl_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

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.16 2004/09/15 18:49:50 espie Exp $
@comment $OpenBSD: PLIST,v 1.17 2004/11/26 10:18:06 alek Exp $
lib/mod_perl.so
${P5ARCH}/
${P5ARCH}/Apache/
@ -110,3 +110,4 @@ ${P5ARCH}/mod_perl_tuning.pod
sbin/mod_perl-enable
share/doc/mod_perl/
share/doc/mod_perl/mod_perl.html
@unexec rm -f /usr/lib/apache/modules/mod_perl.so

View File

@ -0,0 +1,8 @@
To completely deinstall this package you need to perform these steps as
root:
edit /var/www/conf/httpd.conf
remove the line LoadModule perl_module
Do not do this if you plan on re-installing this package at some future
time.