diff options
author | mandree <mandree@FreeBSD.org> | 2011-02-23 01:19:28 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2011-02-23 01:19:28 +0800 |
commit | 6b465bb73798be260de0be68a88f70ff2c1fd197 (patch) | |
tree | 8c0d5e156c8552fb2847f0ef307fefa6a64ba1fa /dns/dnsmasq | |
parent | cb780312840ef87ded0be823ed32eecfc3535460 (diff) | |
download | freebsd-ports-gnome-6b465bb73798be260de0be68a88f70ff2c1fd197.tar.gz freebsd-ports-gnome-6b465bb73798be260de0be68a88f70ff2c1fd197.tar.zst freebsd-ports-gnome-6b465bb73798be260de0be68a88f70ff2c1fd197.zip |
Change rc.d file to ensure proper startup order:
- depend on named, in case dnsmasq uses named as resolver
- start before ntpdate and rpcbase (which require named).
Bump PORTREVISION.
Diffstat (limited to 'dns/dnsmasq')
-rw-r--r-- | dns/dnsmasq/Makefile | 1 | ||||
-rw-r--r-- | dns/dnsmasq/files/dnsmasq.sh.in | 15 |
2 files changed, 13 insertions, 3 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile index 56316339c0be..e107b56fcc6a 100644 --- a/dns/dnsmasq/Makefile +++ b/dns/dnsmasq/Makefile @@ -7,6 +7,7 @@ PORTNAME= dnsmasq PORTVERSION= 2.57 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= dns ipv6 MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ \ diff --git a/dns/dnsmasq/files/dnsmasq.sh.in b/dns/dnsmasq/files/dnsmasq.sh.in index 50a604c1a6c5..8cdd860f3762 100644 --- a/dns/dnsmasq/files/dnsmasq.sh.in +++ b/dns/dnsmasq/files/dnsmasq.sh.in @@ -1,10 +1,19 @@ #! /bin/sh # -# PROVIDE: named dnsmasq -# REQUIRE: SERVERS cleanvar -# BEFORE: DAEMON +# PROVIDE: dnsmasq +# REQUIRE: SERVERS named +# BEFORE: DAEMON ntpdate rpcbind # KEYWORD: shutdown # +# The BEFORE: line above contains individual services that have a +# REQUIRE: named line, to make sure dnsmasq starts early enough +# for those, in case dnsmasq is listed in /etc/resolv.conf. +# +# The REQUIRE: named above is for configurations where named +# acts as a resolver, and dnsmasq is used to "blend in" local +# domain names. +# +# # Add the following line to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # |