---
name: curvedns
version: 0.88.b_2
origin: dns/curvedns
comment: Forwarder adding DNSCurve to an authoritative nameserver
arch: freebsd:9:x86:64
www: http://curvedns.on2it.net/
maintainer: freebsd@dns-lab.com
prefix: /usr/local
licenselogic: single
flatsize: 122685
desc: |
  CurveDNS is a forwarding nameserver adding DNSCurve to DNS,
  and it's the first publicly released forwarding implementation
  that implements the DNSCurve protocol.

  WWW:    http://curvedns.on2it.net/
deps:
  daemontools: {origin: sysutils/daemontools, version: 0.76_16}
  pkgconf: {origin: devel/pkgconf, version: 0.9.2_1}
  libev: {origin: devel/libev, version: '4.15,1'}
categories:
- dns
users:
- bind
groups:
- bind
shlibs_required:
- libev.so.4
message: |
  ###########################################################

   To start using curvedns, finish the following tasks:

  ------- generate/install keys -----------------------------

   curvedns-keygen /usr/local/etc/curvedns ns.example.net

  ------- configure -----------------------------------------

   $EDITOR /usr/local/etc/curvedns/run.sample
   # set user from "curvedns" to "bind" (required!),
   # adjust IP / port-numbers,
   # and save as /usr/local/etc/curvedns/run

   $EDITOR /usr/local/etc/curvedns/log/run.sample
   # set user from "curvedns" to "bind" (required!),
   # and save as /usr/local/etc/curvedns/log/run

  ------- prepare/startup -----------------------------------

   mkdir /var/service
   ln -s /usr/local/etc/curvedns /var/service
   echo svscan_enable=\"YES\" >> /etc/rc.conf
   /usr/local/etc/rc.d/svscan start

  ------- verify --------------------------------------------

   # examples:
   dig @<curvedns-ip> auth-dom.example any
   drill <curvedns-ip> auth-dom.example any

  ###########################################################
