---
name: radns
version: 20110809.2
origin: dns/radns
comment: IPv6 DNS server address autoconfiguration client
arch: freebsd:9:x86:64
www: http://hack.org/mc/hacks/radns/
maintainer: mc@hack.org
prefix: /usr/local
licenselogic: single
licenses: [ISCL]
flatsize: 75192
desc: |
  Router Advertisement DNS (radns)

  radns is an IPv6 DNS server address autoconfiguration client. It
  listens for IPv6 Router Advertisements with the Recursive DNS Server
  (RDNSS) and the DNS Search List (DNSSL) options and stores the search
  list and address(es) in a file in the same syntax as resolv.conf(5).

  WWW: http://hack.org/mc/hacks/radns/
categories: [dns]
users: [radns]
groups: [radns]
files:
  /usr/local/bin/radns: 9f0da792b991c6536e87f9d194575b98c0257cfbfe4e391bd570fe7f2736d13a
  /usr/local/etc/radns/dhclient-exit-hooks: 71b1ebb280bcc8ccbdd607e73c322014eb0148b1654e6e58c509ffdda2ccc8c7
  /usr/local/etc/radns/radns-script: b7d5b5167a7020c170bc43a62519d292e935d5d4118a83f7ec5db9755d54bf47
  /usr/local/etc/rc.d/radns: ba96d5c8e3f1a52a4b5a57f8f0bc99304992d61ea511eb460d5bb431b818469e
  /usr/local/man/man8/radns.8.gz: 294de620953cbd644ed981bfeedc1eab83886047ebc1c5c1e14c6753c4ff1989
  /usr/local/share/doc/radns/LICENSE: 66962ba58a6e0e9267cacf652438b07b8ce7121c4449d30891b69c08b762a7bf
  /usr/local/share/doc/radns/NEWS: 3830a7cd69db7af05d21d9637986d0b39a99dc1f9b006600bab474ff6958c840
  /usr/local/share/doc/radns/README: 00fc19384333b72468818db90f38d8e7bd25ac55b9c1d750a59a6da33e60326c
  /usr/local/share/doc/radns/README.FreeBSD: 5553d64c48e29dc2fb86b1c10804d8b7b1cd32aa70adef24a9ae9ed91726da03
  /usr/local/share/licenses/radns-20110809.2/ISCL: e0feefef73c312a6c13e016f615f2aa86df45697405c81302144db873a32266e
  /usr/local/share/licenses/radns-20110809.2/LICENSE: 5fe93c3e042a87337ef6e636ff3254d8d0cf41de9fb5481cb74c6a7801afabff
  /usr/local/share/licenses/radns-20110809.2/catalog.mk: 064e22cb2c0fde4afabd9241691625b2c7e1a88a2bccf29b8662d2182191e68b
directories:
  /usr/local/share/licenses/radns-20110809.2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/radns/: n
  /usr/local/etc/radns/: n
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow radns >/dev/null 2>&1; then  echo "Creating group 'radns' with gid '195'.";  /usr/sbin/pw groupadd radns -g 195; else echo "Using existing group 'radns'."; fi
    if ! /usr/sbin/pw usershow radns >/dev/null 2>&1; then  echo "Creating user 'radns' with uid '195'.";  /usr/sbin/pw useradd radns -u 195 -g 195  -c "radns user" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user 'radns'."; fi
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    if /usr/sbin/pw usershow radns >/dev/null 2>&1; then  echo "==> You should manually remove the \"radns\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: |
  ****************************************************

  To enable radns, edit /etc/rc.conf and add:

    radns_enable="YES"

  radns won't touch your system's /etc/resolv.conf. It will write to its
  own file /usr/local/etc/radns/radns-resolv.conf.

  To make sure the system's /etc/resolv.conf file is created from all
  sources, read /usr/local/share/doc/radns/README.FreeBSD.

  ****************************************************
