diff --git a/www/mod_gzip/Makefile b/www/mod_gzip/Makefile index e9fae6680df..10e034745b0 100644 --- a/www/mod_gzip/Makefile +++ b/www/mod_gzip/Makefile @@ -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/} diff --git a/www/mod_gzip/pkg/DEINSTALL b/www/mod_gzip/pkg/DEINSTALL deleted file mode 100644 index 0d2775dbca2..00000000000 --- a/www/mod_gzip/pkg/DEINSTALL +++ /dev/null @@ -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 diff --git a/www/mod_gzip/pkg/PLIST b/www/mod_gzip/pkg/PLIST index f910ea8b887..016ad2cdd79 100644 --- a/www/mod_gzip/pkg/PLIST +++ b/www/mod_gzip/pkg/PLIST @@ -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 diff --git a/www/mod_gzip/pkg/UNMESSAGE b/www/mod_gzip/pkg/UNMESSAGE new file mode 100644 index 00000000000..64bfd459b8b --- /dev/null +++ b/www/mod_gzip/pkg/UNMESSAGE @@ -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.