1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Fix Build on 9.x

- Update files/pkg-message.in [1]

PR:		ports/160441
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by:	maintainer ([1] via mail)
This commit is contained in:
Dennis Herrmann 2011-09-09 18:43:28 +00:00
parent a1eace0f16
commit d8c3acf988
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281526
2 changed files with 19 additions and 9 deletions

View File

@ -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/

View File

@ -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