replace DEINSTALL

This commit is contained in:
danh 2004-10-12 15:07:09 +00:00
parent f0e37dfae6
commit cdc85e0c08
4 changed files with 8 additions and 42 deletions

View File

@ -1,33 +0,0 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.7 2004/06/05 04:54:53 danh Exp $
#
# ntp de-installation
set -e
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
PREFIX="${PKG_PREFIX:-/usr/local}"
CONFIG_DIR="${SYSCONFDIR}"
CONFIG_FILE="${CONFIG_DIR}/ntp.conf"
if [ ${PKG_DELETE_EXTRA} != Yes -a -f ${CONFIG_FILE} ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to"
echo "| perform this step as root:"
echo "|"
echo "| rm -f ${CONFIG_FILE}"
echo "|"
echo "| Do not do this if you plan on re-installing $1 at"
echo "| some future time. You may also want to remove any"
echo "| leftover drift files or keys."
echo "+---------------"
echo
fi
echo
echo "+---------------"
echo "| You must also manually remove any key files or drift files"
echo "| that you may have created or used."
echo "+---------------"
echo
exit 0

View File

@ -1,9 +1,5 @@
The package installation has been completed.
+---------------
| The package installation has been completed.
|
| Several steps need to be taken to properly configure the NTP daemon.
| Please refer to ${PREFIX}/share/examples/ntp/README.OpenBSD for more
| information.
+---------------
Several steps need to be taken to properly configure the NTP daemon.
Please refer to ${PREFIX}/share/examples/ntp/README.OpenBSD for more
information.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.11 2004/07/27 14:39:31 danh Exp $
@comment $OpenBSD: PLIST,v 1.12 2004/10/12 15:07:09 danh Exp $
sbin/ntp-keygen
sbin/ntp-wait
sbin/ntpd
@ -16,3 +16,4 @@ share/examples/ntp/grundoon.conf
share/examples/ntp/malarky.conf
share/examples/ntp/pogo.conf
share/examples/ntp/rackety.conf
@extra ${SYSCONFDIR}/ntp.conf

2
net/ntp/pkg/UNMESSAGE Normal file
View File

@ -0,0 +1,2 @@
You must also manually remove any key files or drift files that you may
have created or used.