./net/djbdns-run, Configures djbdns to cache and serve queries

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 20180730, Package name: djbdns-run-20180730, Maintainer: schmonz

This package creates all the needed basic config files to run djbdns
services, and provides NetBSD-style rc.d scripts.

Required to run:
[sysutils/daemontools] [net/ucspi-tcp] [net/djbdns]

Required to build:

Version history: (Expand)

CVS history: (Expand)

   2018-07-30 01:59:26 by Amitai Schleier | Files touched by this commit (2)
Log message:
Add 'inet6' option to control dependency on ucspi-tcp{6,}, even
though net/djbdns itself still doesn't support the 'inet6' option.
Bump version.
   2018-07-25 18:32:34 by Amitai Schleier | Files touched by this commit (7) | Package updated
Log message:
s/ucspi-tcp/ucspi-tcp6/g in dependencies. Bump PKGREVISIONs.
   2017-08-05 17:16:05 by Amitai Schleier | Files touched by this commit (6)
Log message:
Catch up to qmail-run:

- Collapse redundant code for invoking service-specific rc.d scripts.
- Don't try to run a service's rc.d script if it isn't enabled in rc.conf.
- Prefix "nb" to procnames.

Bump version.
   2017-06-23 17:39:44 by Amitai Schleier | Files touched by this commit (5)
Log message:
Catch up to qmail-run:

- Wrap long command lines for readability
- Document where we set procname=${name} for rc.d
- Detach long-running processes from controlling terminal
- Configurable path to tcpserver
- Configurable user and group names:


Bump version.
   2015-11-25 13:52:12 by Jonathan Perkin | Files touched by this commit (11)
Log message:
Remove mk/find-prefix.mk usage from the net category.

The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
   2014-12-07 05:33:31 by Amitai Schlair | Files touched by this commit (6)
Log message:
Based on feedback from joerg@ and riastradh@, don't save a persistent
seed file on first startup after all. Primary rationale: it is not
desirable that the predictability of the first boot (whatever that
may happen to be) force an upper bound on the unpredictability of
random seeds for all future dnscache instances. Instead, as before,
let dnscache read 128 new bytes on every startup. Just give it
/dev/urandom instead of /dev/random.

While here, abolish references to LOCALBASE. Bump version.
   2014-12-06 10:41:04 by Amitai Schlair | Files touched by this commit (2)
Log message:
On rebooting a Xen VPS, dnscache said it started, but failed to
respond to queries and wrote nothing to the logs. This would have
been more fun to debug if my production system hadn't been relying
on it for name resolution. The problem was a blocking read from

I'm the one who put that there, over 10 years ago. Do we need it?

From my reading of <http://cr.yp.to/djbdns/dnscache-conf.html> and
dnscache-conf.c, the seed needn't consist of top-notch randomness.
A sysadmin following DJB to the letter (rather than using this
djbdns-run package) would run dnscache-conf once to configure a
dnscache instance. dnscache-conf would cook 128 bytes of randomness
-- without direct assistance from any kernel device -- and write
it to a file. dnscache would read the same file on every startup.

Therefore, we...

1. Generate a random seed iff it doesn't exist (not on every startup)
2. Generate it from /dev/urandom instead of /dev/random

...so that the configuration we generate more nearly matches that of
DJB's documented procedure, and the kind of problem I encountered
is much more difficult to trigger.

While here, add LICENSE (2-clause-bsd) and otherwise placate pkglint.

Bump version.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.