aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-09-09 18:43:28 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-09-09 18:43:28 +0000
commitd8c3acf988ca83948b15b03a06d48cf5307a2bc2 (patch)
tree02f3c175fc394e19efdf11de6299dd0c0bae4aee
parenta1eace0f16572e05c8e0a398f70a762c30a2f932 (diff)
downloadports-d8c3acf988ca83948b15b03a06d48cf5307a2bc2.tar.gz
ports-d8c3acf988ca83948b15b03a06d48cf5307a2bc2.zip
Notes
-rw-r--r--dns/curvedns/Makefile8
-rw-r--r--dns/curvedns/files/pkg-message.in20
2 files changed, 19 insertions, 9 deletions
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 <bsd.port.pre.mk>
-.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 @<curvedns-ip> auth-dom.example any
drill <curvedns-ip> auth-dom.example any