- Use SHARED_ONLY
- Replace DEINSTALL script with @unexec and UNMESSAGE - Bump PKGNAME
This commit is contained in:
parent
e2cee0866d
commit
b3270460ea
@ -1,12 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2004/12/11 13:29:21 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2005/02/05 10:49:49 alek Exp $
|
||||
|
||||
COMMENT= "Apache module for logging to an SQL database"
|
||||
|
||||
# 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
|
||||
|
||||
DISTNAME= mod_log_sql-1.18
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://www.outoforder.cc/projects/apache/mod_log_sql/
|
||||
|
@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2003/07/19 22:41:25 naddy Exp $
|
||||
|
||||
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_log_sql.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 log_sql_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
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:49:50 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2005/02/05 10:49:49 alek Exp $
|
||||
lib/mod_log_sql.so
|
||||
sbin/mod_log_sql-enable
|
||||
share/doc/mod_log_sql/
|
||||
@ -24,3 +24,4 @@ share/doc/mod_log_sql/up_g.png
|
||||
share/examples/mod_log_sql/
|
||||
share/examples/mod_log_sql/create_tables.sql
|
||||
share/examples/mod_log_sql/make_combined_log.pl
|
||||
@unexec rm -f /usr/lib/apache/modules/mod_log_sql.so
|
||||
|
8
www/mod_log_sql/pkg/UNMESSAGE
Normal file
8
www/mod_log_sql/pkg/UNMESSAGE
Normal file
@ -0,0 +1,8 @@
|
||||
To completely deinstall the mod_log_sql package you
|
||||
need to perform these steps as root:
|
||||
|
||||
edit /var/www/conf/httpd.conf
|
||||
remove the line: LoadModule log_sql_module
|
||||
|
||||
Do not do this if you plan on re-installing the
|
||||
mod_log_sql package at some future time.
|
Loading…
Reference in New Issue
Block a user