[46117] trunk/dports/net/bind9/Portfile

dluke at macports.org dluke at macports.org
Thu Jan 29 14:31:03 PST 2009


Revision: 46117
          http://trac.macports.org/changeset/46117
Author:   dluke at macports.org
Date:     2009-01-29 14:31:03 -0800 (Thu, 29 Jan 2009)
Log Message:
-----------
Add setup note per blb (fixes #18268)

Modified Paths:
--------------
    trunk/dports/net/bind9/Portfile

Modified: trunk/dports/net/bind9/Portfile
===================================================================
--- trunk/dports/net/bind9/Portfile	2009-01-29 22:29:59 UTC (rev 46116)
+++ trunk/dports/net/bind9/Portfile	2009-01-29 22:31:03 UTC (rev 46117)
@@ -64,4 +64,18 @@
 	destroot.keepdirs ${destroot}${prefix}/var/run
 }
 
+post-destroot {
+	ui_msg "******************************************************"
+	ui_msg "* To setup named to run, you need to copy named.conf.dist"
+	ui_msg "* to named.conf:"
+	ui_msg "* sudo cp ${prefix}/etc/named.conf.dist ${prefix}/etc/named.conf"
+	ui_msg "* and edit as needed.  If you use the default zone files for"
+	ui_msg "* 127.0.0, localhost, and the cache, you also need to copy"
+	ui_msg "* those files:"
+	ui_msg "* sudo cp ${prefix}/var/named/db.127.0.0.dist ${prefix}/var/named/db.127.0.0"
+	ui_msg "* sudo cp ${prefix}/var/named/db.cache.dist ${prefix}/var/named/db.cache"
+	ui_msg "* sudo cp ${prefix}/var/named/db.localhost.dist ${prefix}/var/named/db.localhost"
+	ui_msg "******************************************************"
+}
+
 platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090129/c7ca90de/attachment.html>


More information about the macports-changes mailing list