replace DEINSTALL
This commit is contained in:
parent
53d2eac574
commit
27e35405ad
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: mod_frontpage-enable,v 1.2 2001/08/13 16:40:54 danh Exp $
|
||||
# $OpenBSD: mod_frontpage-enable,v 1.3 2004/10/13 12:53:06 danh Exp $
|
||||
|
||||
MODULE=!!PREFIX!!/lib/mod_frontpage.so
|
||||
|
||||
@ -14,5 +14,5 @@ if [ ! -f ${MODULE} ]; then
|
||||
exit 1
|
||||
else
|
||||
echo "Enabling Frontpage module..."
|
||||
/usr/sbin/apxs -i -a -n frontpage ${MODULE}
|
||||
/usr/sbin/apxs -e -a -n frontpage ${MODULE}
|
||||
fi
|
||||
|
@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2003/07/19 22:41:25 naddy Exp $
|
||||
#
|
||||
# mod_frontpage 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_frontpage.so
|
||||
|
||||
rm -f ${MODULE}
|
||||
apxs -e -A -n 'frontpage' mod_frontpage.so 2> /dev/null
|
||||
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you"
|
||||
echo "| need to perform these steps as root:"
|
||||
echo "|"
|
||||
echo "| * edit ${CONF}"
|
||||
echo "|"
|
||||
echo "| * remove, or leave commented out, the LoadModule directive"
|
||||
echo "| that refers to this module"
|
||||
echo "|"
|
||||
echo "| * remove, or comment out, the following directives:"
|
||||
echo "| FrontpageEnable, FrontpageDisable,"
|
||||
echo "| FrontpageAdminEnable, FrontpageAdminDisable"
|
||||
if [ -d ${PREFIX}/frontpage ]; then
|
||||
echo "|"
|
||||
echo "| Optionally, you may also delete the Microsoft FrontPage Server"
|
||||
echo "| Extensions located in ${PREFIX}/frontpage."
|
||||
fi
|
||||
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,25 +1,20 @@
|
||||
To finish the install, you need to enable the module using the following
|
||||
command
|
||||
|
||||
+---------------
|
||||
| To finish the install of ${PKGNAME}, you need to enable the
|
||||
| module using the following command
|
||||
|
|
||||
| ${PREFIX}/sbin/mod_frontpage-enable
|
||||
|
|
||||
| If you already have Apache running on your machine, you
|
||||
| should not use "apachectl restart" - instead, you should
|
||||
| fully stop and then restart the server.
|
||||
|
|
||||
| This package only includes the mod_frontpage module for
|
||||
| Apache. It is still necessary to download and install the
|
||||
| server extensions from Microsoft. They can be retrieved and
|
||||
| installed using the following instructions.
|
||||
|
|
||||
| # ftp ftp://ftp.microsoft.com/products/frontpage/fp50.bsdi.tar.Z
|
||||
| # tar -C /usr/local -xzpvf fp50.bsdi.tar.Z
|
||||
| # cd /usr/local/frontpage/version5.0
|
||||
| # dd if=/dev/arandom of=apache-fp/suidkey bs=129 count=1
|
||||
| # sh set_default_perms.sh
|
||||
| # find . -type f -perm -4000 -exec chmod u-s {} \;
|
||||
|
|
||||
+---------------
|
||||
${PREFIX}/sbin/mod_frontpage-enable
|
||||
|
||||
If you already have Apache running on your machine, you should not use
|
||||
"apachectl restart" - instead, you should fully stop and then restart
|
||||
the server.
|
||||
|
||||
This package only includes the mod_frontpage module for Apache. It is
|
||||
still necessary to download and install the server extensions from
|
||||
Microsoft. They can be retrieved and installed using the following
|
||||
instructions.
|
||||
|
||||
# ftp ftp://ftp.microsoft.com/products/frontpage/fp50.bsdi.tar.Z
|
||||
# tar -C /usr/local -xzpvf fp50.bsdi.tar.Z
|
||||
# cd /usr/local/frontpage/version5.0
|
||||
# dd if=/dev/arandom of=apache-fp/suidkey bs=129 count=1
|
||||
# sh set_default_perms.sh
|
||||
# find . -type f -perm -4000 -exec chmod u-s {} \;
|
||||
|
@ -1,5 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2003/02/23 22:36:37 danh Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2004/10/13 12:53:06 danh Exp $
|
||||
lib/mod_frontpage.so
|
||||
@mode 0444
|
||||
@sample /usr/lib/apache/modules/mod_frontpage.so
|
||||
@mode
|
||||
@mode 4555
|
||||
sbin/fpexec
|
||||
@mode
|
||||
|
16
www/mod_frontpage/pkg/UNMESSAGE
Normal file
16
www/mod_frontpage/pkg/UNMESSAGE
Normal file
@ -0,0 +1,16 @@
|
||||
To completely deinstall this package, you need edit
|
||||
/var/www/conf/httpd.conf and perform the following tasks.
|
||||
|
||||
* remove, or comment out, the LoadModule directive that refers to
|
||||
this module
|
||||
|
||||
* remove, or comment out, the following directives:
|
||||
|
||||
FrontpageEnable, FrontpageDisable,
|
||||
FrontpageAdminEnable, FrontpageAdminDisable
|
||||
|
||||
Optionally, you may also delete the Microsoft FrontPage Server
|
||||
Extensions located in ${PREFIX}/frontpage.
|
||||
|
||||
Do not do this if you plan on re-installing the package at some future
|
||||
time.
|
Loading…
x
Reference in New Issue
Block a user