- Replace DEINSTALL script with @unexec and UNMESSAGE

- Bump PKGNAME
This commit is contained in:
alek 2005-01-26 00:08:45 +00:00
parent 904c709836
commit bcac3bab4e
4 changed files with 12 additions and 28 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2004/12/11 13:29:21 alek Exp $
# $OpenBSD: Makefile,v 1.6 2005/01/26 00:08:45 alek Exp $
COMMENT= "turns Apache into an MP3 or Ogg streaming server"
@ -7,6 +7,7 @@ COMMENT= "turns Apache into an MP3 or Ogg streaming server"
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_mp3-0.39
PKGNAME= ${DISTNAME}p0
CATEGORIES= www audio
MASTER_SITES= http://software.tangent.org/download/ \
ftp://ftp.tangent.org/pub/apache/

View File

@ -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_mp3.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 mp3_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.2 2004/09/15 18:49:50 espie Exp $
@comment $OpenBSD: PLIST,v 1.3 2005/01/26 00:08:45 alek Exp $
lib/mod_mp3.so
sbin/mod_mp3-enable
share/doc/mod_mp3/
@ -7,3 +7,4 @@ share/examples/mod_mp3/
share/examples/mod_mp3/mp3.conf
%%mysql%%
%%postgresql%%
@unexec rm -f /usr/lib/apache/modules/mod_mp3.so

View File

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