diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-09 13:25:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-09 13:25:04 +0000 |
commit | 6740d61d3640a7e253d6772364ca83dd82a78a57 (patch) | |
tree | c409c3939dc5ab42f1e7dcd902dc42101bf9ee50 | |
parent | 40857ea123cfdfbe49d5555e1b617920f3fa08ca (diff) | |
download | aports-6740d61d3640a7e253d6772364ca83dd82a78a57.tar.bz2 aports-6740d61d3640a7e253d6772364ca83dd82a78a57.tar.xz |
main/djbdns: provide random seed to dnscache
fixes #120
Thanks to Nathan for solving this.
-rw-r--r-- | main/djbdns/APKBUILD | 4 | ||||
-rwxr-xr-x | main/djbdns/dnscache.initd | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/main/djbdns/APKBUILD b/main/djbdns/APKBUILD index e93155005e..4e6e7f40c6 100644 --- a/main/djbdns/APKBUILD +++ b/main/djbdns/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=djbdns pkgver=1.05 -pkgrel=28 +pkgrel=29 pkgdesc="Excellent high-performance DNS services" url="http://cr.yp.to/djbdns.html" license="public-domain" @@ -82,5 +82,5 @@ c7be73fe2fb4ae02d5096fa2c1f55a68 1.05-errno.patch acf2f1689e299320d6670c491f4d4e97 tinydns.initd 7dcf6674c07d46c736b3c25d9c92384a tinydns.confd e09c3a6ba6917e16f4736ab5c070dbe9 dnscache.pre-install -ea5d5ea807be2b7940ea67cc6dc50012 dnscache.initd +62a12c34fdc6a184a14b206581fa8184 dnscache.initd e2938593277d7a87806e70e145a90c3f dnscache.confd" diff --git a/main/djbdns/dnscache.initd b/main/djbdns/dnscache.initd index 2b6f137793..486f37ef32 100755 --- a/main/djbdns/dnscache.initd +++ b/main/djbdns/dnscache.initd @@ -9,6 +9,7 @@ PIDFILE=/var/run/dnscache.pid depend() { need net + provide dns } #----------------------------------------------------------------- @@ -28,7 +29,7 @@ start() { --env "ROOT=$ROOT" --env "IP=$IP" --env "IPSEND=$IPSEND" \ --env "HIDETTL=$HIDETTL" --env "CACHESIZE=$CACHESIZE" \ --env "FORWARDONLY=$FORWARDONLY" --pidfile $PIDFILE \ - --background --make-pidfile --exec $DAEMON + --background --make-pidfile --exec $DAEMON -- < /dev/urandom eend $? } |