From cdc85e0c08b437ee3c4b152f61c58a592b5dbb55 Mon Sep 17 00:00:00 2001 From: danh Date: Tue, 12 Oct 2004 15:07:09 +0000 Subject: [PATCH] replace DEINSTALL --- net/ntp/pkg/DEINSTALL | 33 --------------------------------- net/ntp/pkg/MESSAGE | 12 ++++-------- net/ntp/pkg/PLIST | 3 ++- net/ntp/pkg/UNMESSAGE | 2 ++ 4 files changed, 8 insertions(+), 42 deletions(-) delete mode 100644 net/ntp/pkg/DEINSTALL create mode 100644 net/ntp/pkg/UNMESSAGE diff --git a/net/ntp/pkg/DEINSTALL b/net/ntp/pkg/DEINSTALL deleted file mode 100644 index 987f83ca8d5..00000000000 --- a/net/ntp/pkg/DEINSTALL +++ /dev/null @@ -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 diff --git a/net/ntp/pkg/MESSAGE b/net/ntp/pkg/MESSAGE index 70f70e8be42..e41a133cbc8 100644 --- a/net/ntp/pkg/MESSAGE +++ b/net/ntp/pkg/MESSAGE @@ -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. diff --git a/net/ntp/pkg/PLIST b/net/ntp/pkg/PLIST index 606e245c2f8..47877f68c1c 100644 --- a/net/ntp/pkg/PLIST +++ b/net/ntp/pkg/PLIST @@ -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 diff --git a/net/ntp/pkg/UNMESSAGE b/net/ntp/pkg/UNMESSAGE new file mode 100644 index 00000000000..6c709919ae0 --- /dev/null +++ b/net/ntp/pkg/UNMESSAGE @@ -0,0 +1,2 @@ +You must also manually remove any key files or drift files that you may +have created or used.