/djbdns-run, Configures djbdns to cache and serve queries
20141207, Package name:
djbdns-run-20141207, 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:
Version history: (Expand)
- (2014-12-07) Updated to version: djbdns-run-20141207
- (2014-12-06) Updated to version: djbdns-run-20141206
- (2014-04-16) Updated to version: djbdns-run-20140415
- (2012-06-11) Package has been reborn
- (2012-06-11) Package deleted from pkgsrc
- (2005-10-05) Package added to pkgsrc.se, version djbdns-run-20050415 (created)
CVS history: (Expand)
| 2015-11-25 13:52:12 by Jonathan Perkin | Files touched by this commit (11) |
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) |
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) |
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.
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.
| 2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163) |
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
| 2014-04-16 01:07:22 by Amitai Schlair | Files touched by this commit (5) |
Fix the boot-time error (which also resulted in ntpdate failing):
rcorder: Circular dependency on provision `named' in file `/etc/rc.d/ntpdate'.
Fix it by aping -r1.22 of src/etc/rc.d/named, which had replaced
"SERVERS" with "NETWORKING mountcritremote syslogd". Problem and
fix reported by Nathan Arthur.
Bump version by exactly nine years.
| 2014-03-11 15:05:19 by Jonathan Perkin | Files touched by this commit (350) |
Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
| 2012-10-23 19:19:22 by Aleksej Saushev | Files touched by this commit (671) |
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
| 2009-06-14 20:09:49 by Joerg Sonnenberger | Files touched by this commit (291) |
Remove @dirrm entries from PLISTs