- Replace DEINSTALL script with @unexec and UNMESSAGE

- Bump PKGNAME
This commit is contained in:
alek 2005-01-26 02:24:06 +00:00
parent 82806daf7d
commit ea5f371d50
4 changed files with 12 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2003/10/18 19:44:47 sturm Exp $
# $OpenBSD: Makefile,v 1.9 2005/01/26 02:24:06 alek Exp $
COMMENT= "transparently compress Apache output"
@ -8,6 +8,7 @@ NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
V= 1.3.26.1a
DISTNAME= mod_gzip-${V}
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-gzip/}

View File

@ -1,28 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2003/07/19 22:41:25 naddy Exp $
#
# mod_gzip 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_gzip.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 gzip_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.4 2004/09/15 18:49:50 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2005/01/26 02:24:06 alek Exp $
lib/mod_gzip.so
sbin/mod_gzip-enable
share/doc/mod_gzip/
@ -18,3 +18,4 @@ share/doc/mod_gzip/valid-xhtml11.png
share/doc/mod_gzip/versions.htm
share/examples/mod_gzip/
share/examples/mod_gzip/mod_gzip.conf.sample
@unexec rm -f /usr/lib/apache/modules/mod_gzip.so

View File

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