summaryrefslogtreecommitdiffstats
path: root/main/djbdns
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-08 16:46:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-08 16:46:53 +0000
commit0b2149a1ec7b4881ed69cbc8206e3be153b28e39 (patch)
tree4b8827a05fb50ff2b879b68ae81ca3bd40c0f7d9 /main/djbdns
parent6d71de19a0fbfbe69873ea6c4779ed647889b892 (diff)
downloadaports-0b2149a1ec7b4881ed69cbc8206e3be153b28e39.tar.bz2
aports-0b2149a1ec7b4881ed69cbc8206e3be153b28e39.tar.xz
main/djbdns: added net dependency in initd scripts
fixes #120
Diffstat (limited to 'main/djbdns')
-rw-r--r--main/djbdns/APKBUILD6
-rwxr-xr-xmain/djbdns/dnscache.initd3
-rwxr-xr-xmain/djbdns/tinydns.initd4
3 files changed, 10 insertions, 3 deletions
diff --git a/main/djbdns/APKBUILD b/main/djbdns/APKBUILD
index 297f99ac8..e93155005 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=27
+pkgrel=28
pkgdesc="Excellent high-performance DNS services"
url="http://cr.yp.to/djbdns.html"
license="public-domain"
@@ -79,8 +79,8 @@ dfd675b2775efcbb604413a84db8bf1a dnsroots.patch
c7be73fe2fb4ae02d5096fa2c1f55a68 1.05-errno.patch
1292500c04baba3995d9753fe40fdc94 1.05-response.patch
7695bf50559c09798ec852b578ac8698 tinydns.pre-install
-e8a84fc4ee5ff1525b4f74889422e93c tinydns.initd
+acf2f1689e299320d6670c491f4d4e97 tinydns.initd
7dcf6674c07d46c736b3c25d9c92384a tinydns.confd
e09c3a6ba6917e16f4736ab5c070dbe9 dnscache.pre-install
-1f6d29a29382e0bb7e865aede9e07c9d dnscache.initd
+ea5d5ea807be2b7940ea67cc6dc50012 dnscache.initd
e2938593277d7a87806e70e145a90c3f dnscache.confd"
diff --git a/main/djbdns/dnscache.initd b/main/djbdns/dnscache.initd
index 986094a1f..2b6f13779 100755
--- a/main/djbdns/dnscache.initd
+++ b/main/djbdns/dnscache.initd
@@ -7,6 +7,9 @@ ROOT=/etc/dnscache
DAEMON=/usr/bin/dnscache
PIDFILE=/var/run/dnscache.pid
+depend() {
+ need net
+}
#-----------------------------------------------------------------
# Main program
diff --git a/main/djbdns/tinydns.initd b/main/djbdns/tinydns.initd
index a68474c4e..8c93ebc01 100755
--- a/main/djbdns/tinydns.initd
+++ b/main/djbdns/tinydns.initd
@@ -4,6 +4,10 @@
opts="reload"
+depend() {
+ need net
+}
+
# -- Statrup variables
DAEMON=/usr/bin/tinydns
COMPILER=/usr/bin/tinydns-data