---
name: rbldnsd
version: 0.996b_1
origin: dns/rbldnsd
comment: Small and fast DNS daemon especially for DNSBL zones
arch: freebsd:9:x86:64
www: http://www.corpit.ru/mjt/rbldnsd.html
maintainer: alexey@renatasystems.org
prefix: /usr/local
licenselogic: single
flatsize: 181237
desc: |
  rbldnsd is a small and fast DNS daemon, made especially to serve DNSBL
  zones.  It was inspired by Dan J. Bernstein's rbldns program, found in
  /usr/ports/net/djbdns, but is significantly faster.

  rbldnsd was written by Michael Tokarev.

  WWW: http://www.corpit.ru/mjt/rbldnsd.html
categories: [dns]
users: [rbldns]
groups: [rbldns]
files:
  /usr/local/etc/rbldnsd/example: f6b9ebb110908fc614bb464f5cec996288de30ef35f3c73262b793669f454bd4
  /usr/local/etc/rc.d/rbldnsd: 0f6bfcfcf6b4d157d90b983747fc81785a2ef9b5f6d97bb89f9db9213b996d60
  /usr/local/man/man8/rbldnsd.8.gz: 4536238bbbe63b8bcf892ca786119f36c28dc711170bddde99d77c4d79eddd75
  /usr/local/sbin/rbldnsd: d7a84f7862d6f6cff6d87765e45fe3f366b8ea8deaf016084731757295304cf4
  /usr/local/share/doc/rbldnsd/CHANGES-0.81: c5e8708f1662ad05c623f0a558340f062f02f6caa96ab437e34713b6005c9dc3
  /usr/local/share/doc/rbldnsd/NEWS: c4060e9c8e8012ba449e4dd4006a124be6f267c45fec212c5a481eccb90b5ff2
  /usr/local/share/doc/rbldnsd/TODO: 5d51760b84f5f26244dea9d1e2712bd329b39021cfbe3b500dece5c4a60cb707
  /usr/local/share/doc/rbldnsd/changelog: 6857b0e51cfbbbce56835e93cd4547bbeb64c47daab134a1bebc10cec0f088a6
  /usr/local/share/doc/rbldnsd/copyright: 6baccbc5c3ee330c1763783da3ddbc16eec595cf528fc15547d1af0756f7e36f
  /usr/local/share/doc/rbldnsd/rbldnsd.default: d5388f3f4f1b32faffd5f52c68a08e618c89a2560e90240e1e92174d8a6ea788
  /usr/local/share/doc/rbldnsd/rbldnsd.html: b579448d97e70bff3fcd76149f8d0cf46ce1ecc01f796857b0f3f16a04bf8edf
  /usr/local/share/doc/rbldnsd/rbldnsd.init: 4daf69af6c6efcc7fe79e6d5832f8407369c6a8a4cc1f647b852a573e477165c
  /usr/local/share/doc/rbldnsd/rbldnsd.spec: fb9853a02106fdd964f78eadcc3eafbfb66933f56f63ce66460313fb83d4faad
directories:
  /usr/local/share/doc/rbldnsd/: n
  /usr/local/etc/rbldnsd//: y
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow rbldns >/dev/null 2>&1; then  echo "Creating group 'rbldns' with gid '153'.";  /usr/sbin/pw groupadd rbldns -g 153; else echo "Using existing group 'rbldns'."; fi
    if ! /usr/sbin/pw usershow rbldns >/dev/null 2>&1; then  echo "Creating user 'rbldns' with uid '153'.";  /usr/sbin/pw useradd rbldns -u 153 -g 153  -c "rbldnsd pseudo-user" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user 'rbldns'."; fi
    cd /usr/local
  pre-deinstall: |
    if /usr/sbin/pw usershow rbldns >/dev/null 2>&1; then  echo "==> You should manually remove the \"rbldns\" user. "; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: "========================================================================\n
  \  NOTICE    NOTICE    NOTICE    NOTICE    NOTICE    NOTICE    NOTICE\n========================================================================\n\nThe
  rbldnsd port has been installed with an example zone file, located\nin /usr/local/etc/rbldnsd/.\n\nAfter
  starting the daemon with this example data, you should be able to\ntest the success
  of your install with the command:\n\n\t%25 host -a 1.1.31.172.bl.example.com. localhost\nor\n\t%25
  dig @localhost 1.1.31.172.bl.example.com. any\nor\n\t%25 nslookup -query=any 1.1.31.172.bl.example.com.
  localhost\n\nIf you see a response that mentions 127.0.0.2, the install worked!\n\n========================================================================\n"
