aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-02-16 17:08:59 +0800
committersf <sf@FreeBSD.org>2001-02-16 17:08:59 +0800
commitd4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c (patch)
tree2467925a0902bdee022428b251f6a95e5238975b /dns
parentaad2c8fd62dfd11a55b1ce109a963ec97a108508 (diff)
downloadfreebsd-ports-gnome-d4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c.tar.gz
freebsd-ports-gnome-d4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c.tar.zst
freebsd-ports-gnome-d4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c.zip
print warning message after install.
PR: 25054 Submitted by: Christoph Weber-Fahr <Christoph.Weber-Fahr@arcor.net> Approved by: maintainer
Diffstat (limited to 'dns')
-rw-r--r--dns/bind8/Makefile4
-rw-r--r--dns/bind8/files/message14
2 files changed, 18 insertions, 0 deletions
diff --git a/dns/bind8/Makefile b/dns/bind8/Makefile
index bac0f25555c9..be395c83225c 100644
--- a/dns/bind8/Makefile
+++ b/dns/bind8/Makefile
@@ -26,9 +26,13 @@ MAN8= named-bootconf.8 named-xfer.8 named.8 ndc.8 nslookup.8 \
PATCH_ARGS= -d ${WRKDIR}
PATCH_DIST_ARGS= -d ${WRKDIR}
+PKGMESSAGE= ${WRKDIR}/message
+
post-install:
@(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} clean all ${INSTALL_TARGET})
${MKDIR} ${PREFIX}/share/doc/bind8
${INSTALL_DATA} ${WRKDIR}/doc/html/* ${PREFIX}/share/doc/bind8
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' ${FILESDIR}/message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/dns/bind8/files/message b/dns/bind8/files/message
new file mode 100644
index 000000000000..4edee36ff0c1
--- /dev/null
+++ b/dns/bind8/files/message
@@ -0,0 +1,14 @@
+============================================================
+ *** Attention ! *** Attention ! ***
+
+This port did NOT replace the named supplied with FreeBSD
+but installed in its own place.
+The executables reside now in @PREFIX@
+
+You MUST change /etc/rc.conf accordingly and give the full
+pathname to start named, both manually or from a config
+file.
+
+If you dont do that, the new named version will not run !
+============================================================
+