- Replace NOT_FOR_ARCHS with SHARED_ONLY
- Replace DEINSTALL with UNMESSAGE and @unexec - Bump PKGNAME ok david@ sturm@
This commit is contained in:
parent
b79da1ffe8
commit
0b0b98be8d
@ -1,12 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2004/11/06 22:25:48 david Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2004/11/23 23:23:47 alek Exp $
|
||||
|
||||
COMMENT= "Web intrusion detection and prevention engine"
|
||||
|
||||
# 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_security-1.8.6
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= www
|
||||
|
||||
MASTER_SITES= http://www.modsecurity.org/download/
|
||||
|
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/11/19 01:33:26 david Exp $
|
||||
#
|
||||
# mod_security 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_security.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 security_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.7 2004/10/26 18:11:19 david Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.8 2004/11/23 23:23:47 alek Exp $
|
||||
sbin/mod_security-enable
|
||||
share/doc/mod_security/
|
||||
share/doc/mod_security/CHANGES
|
||||
@ -9,3 +9,4 @@ share/doc/mod_security/modsecurity-manual.pdf
|
||||
share/examples/mod_security/
|
||||
share/examples/mod_security/httpd.conf.example-minimal
|
||||
%%SHARED%%
|
||||
@unexec rm -f /usr/lib/apache/modules/mod_security.so
|
||||
|
8
www/mod_security/pkg/UNMESSAGE
Normal file
8
www/mod_security/pkg/UNMESSAGE
Normal 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 security_module
|
||||
|
||||
Do not do this if you plan on re-installing this package at some future
|
||||
time.
|
Loading…
Reference in New Issue
Block a user