From d8c3acf988ca83948b15b03a06d48cf5307a2bc2 Mon Sep 17 00:00:00 2001 From: Dennis Herrmann Date: Fri, 9 Sep 2011 18:43:28 +0000 Subject: - Fix Build on 9.x - Update files/pkg-message.in [1] PR: ports/160441 Submitted by: Ruslan Mahmatkhanov Approved by: maintainer ([1] via mail) --- dns/curvedns/Makefile | 8 ++++---- dns/curvedns/files/pkg-message.in | 20 +++++++++++++++----- 2 files changed, 19 insertions(+), 9 deletions(-) (limited to 'dns/curvedns') diff --git a/dns/curvedns/Makefile b/dns/curvedns/Makefile index 3810dcd0e6ca..df22b564c807 100644 --- a/dns/curvedns/Makefile +++ b/dns/curvedns/Makefile @@ -32,10 +32,6 @@ SUB_FILES= pkg-message .include -.if ${OSVERSION} >= 900000 -BROKEN= does not configure on 9.X -.endif - .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif @@ -47,7 +43,11 @@ pre-configure: @${ECHO_MSG} "===> configuring may take a couple of minutes" post-configure: +.if ${ARCH} == "amd64" + @cd ${WRKSRC} && ./configure.curvedns amd64 +.else @cd ${WRKSRC} && ./configure.curvedns +.endif post-install: ${CP} ${WRKSRC}/curvedns ${WRKSRC}/curvedns-keygen ${PREFIX}/bin/ diff --git a/dns/curvedns/files/pkg-message.in b/dns/curvedns/files/pkg-message.in index 2d624394f38d..9daef969e220 100644 --- a/dns/curvedns/files/pkg-message.in +++ b/dns/curvedns/files/pkg-message.in @@ -1,22 +1,32 @@ ########################################################### - To start using curvedns, finish these tasks: + To start using curvedns, finish the following tasks: ------- generate/install keys ----------------------------- - curvedns-keygen %%PREFIX%%/etc/curvedns ns1.example.net + + curvedns-keygen %%PREFIX%%/etc/curvedns ns.example.net ------- configure ----------------------------------------- - $EDITOR %%PREFIX%%/etc/curvedns/run - # set user to "bind" (required) - # adjust IP / ports (if desired) + + $EDITOR %%PREFIX%%/etc/curvedns/run.sample + # set user from "curvedns" to "bind" (required!), + # adjust IP / port-numbers, + # and save as %%PREFIX%%/etc/curvedns/run + + $EDITOR %%PREFIX%%/etc/curvedns/log/run.sample + # set user from "curvedns" to "bind" (required!), + # and save as %%PREFIX%%/etc/curvedns/log/run ------- prepare/startup ----------------------------------- + mkdir /var/service ln -s %%PREFIX%%/etc/curvedns /var/service echo svscan_enable=\"YES\" >> /etc/rc.conf %%PREFIX%%/etc/rc.d/svscan start ------- verify -------------------------------------------- + + # examples: dig @ auth-dom.example any drill auth-dom.example any -- cgit v1.2.3