mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
Make BIND start a bit later (and really *after* ldconfig.) [1]
Add an option to have it start way later. PR: 200375 [1] Sponsored by: Absolight
This commit is contained in:
parent
21346d5316
commit
3f0ba6f820
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388211
@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/}
|
||||
PORTREVISION= 0
|
||||
.else
|
||||
# dns/bind910 here
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
.endif
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
@ -50,7 +50,7 @@ SUB_FILES= pkg-message
|
||||
.endif
|
||||
|
||||
OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN GSSAPI_NONE
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON \
|
||||
OPTIONS_DEFINE= IDN LARGE_FILE PYTHON START_LATE \
|
||||
FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA
|
||||
OPTIONS_RADIO= CRYPTO GOSTDEF
|
||||
OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11
|
||||
@ -80,6 +80,7 @@ GOSTDEF_DESC= Enable GOST ciphers, needs SSL (see help on 8 and 9)
|
||||
GOST_DESC= GOST raw keys (new default)
|
||||
GOST_ASN1_DESC= GOST using ASN.1
|
||||
PYTHON_DESC= Build with Python utilities
|
||||
START_LATE_DESC= Start BIND late in the boot process
|
||||
|
||||
LINKS_DESC= Create conf file symlinks in ${PREFIX}
|
||||
NEWSTATS_DESC= Enable alternate xml statistics channel format
|
||||
@ -156,6 +157,11 @@ DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes
|
||||
|
||||
DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes
|
||||
|
||||
START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \
|
||||
NAMED_BEFORE="LOGIN"
|
||||
START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \
|
||||
NAMED_BEFORE="SERVERS"
|
||||
|
||||
GSSAPI_BASE_USES= gssapi
|
||||
GSSAPI_BASE_CONFIGURE_ON= \
|
||||
--with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
||||
|
@ -4,8 +4,8 @@
|
||||
#
|
||||
|
||||
# PROVIDE: named
|
||||
# REQUIRE: FILESYSTEMS defaultroute ldconfig
|
||||
# BEFORE: NETWORKING
|
||||
# REQUIRE: %%NAMED_REQUIRE%%
|
||||
# BEFORE: %%NAMED_BEFORE%%
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
|
@ -22,3 +22,9 @@ either copying content of /usr/local/lib/engines into
|
||||
/var/named/usr/local/lib/engines, or by creating that directory
|
||||
and adding this line to /etc/fstab:
|
||||
/usr/local/lib/engines /var/named/usr/local/lib/engines nullfs ro 0 0
|
||||
|
||||
|
||||
START_LATE
|
||||
Most of the time, BIND needs to start early in the boot
|
||||
process. Enable this if BIND starts too early for you and
|
||||
you need it to start later.
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= bind
|
||||
PORTVERSION= ${ISCVERSION:S/-P/P/}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= dns net ipv6
|
||||
MASTER_SITES= ISC/bind9/${ISCVERSION}
|
||||
PKGNAMESUFFIX= 99
|
||||
@ -43,7 +43,7 @@ SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN GSSAPI_NONE RRL
|
||||
OPTIONS_DEFINE= SSL IDN REPLACE_BASE LARGE_FILE FIXED_RRSET SIGCHASE \
|
||||
IPV6 THREADS FILTER_AAAA GOST PYTHON \
|
||||
IPV6 THREADS FILTER_AAAA GOST PYTHON START_LATE \
|
||||
LINKS RPZ_NSIP RPZ_NSDNAME RRL DOCS RPZ_PATCH NEWSTATS
|
||||
OPTIONS_GROUP= DLZ
|
||||
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
|
||||
@ -61,6 +61,7 @@ SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation
|
||||
FILTER_AAAA_DESC= Enable filtering of AAAA records
|
||||
GOST_DESC= Enable GOST ciphers, needs SSL (see help on 8 and 9)
|
||||
PYTHON_DESC= Build with Python utilities
|
||||
START_LATE_DESC= Start BIND late in the boot process
|
||||
|
||||
LINKS_DESC= Create conf file symlinks in ${PREFIX}
|
||||
NEWSTATS_DESC= Enable alternate xml statistics channel format
|
||||
@ -131,6 +132,11 @@ DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes
|
||||
|
||||
DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes
|
||||
|
||||
START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS cleanvar" \
|
||||
NAMED_BEFORE="LOGIN"
|
||||
START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \
|
||||
NAMED_BEFORE="SERVERS"
|
||||
|
||||
GSSAPI_BASE_USES= gssapi
|
||||
GSSAPI_BASE_CONFIGURE_ON= \
|
||||
--with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
||||
|
@ -4,8 +4,8 @@
|
||||
#
|
||||
|
||||
# PROVIDE: named
|
||||
# REQUIRE: FILESYSTEMS defaultroute ldconfig
|
||||
# BEFORE: NETWORKING
|
||||
# REQUIRE: %%NAMED_REQUIRE%%
|
||||
# BEFORE: %%NAMED_BEFORE%%
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
|
@ -6,3 +6,9 @@ either copying content of /usr/local/lib/engines into
|
||||
/var/named/usr/local/lib/engines, or by creating that directory
|
||||
and adding this line to /etc/fstab:
|
||||
/usr/local/lib/engines /var/named/usr/local/lib/engines nullfs ro 0 0
|
||||
|
||||
|
||||
START_LATE
|
||||
Most of the time, BIND needs to start early in the boot
|
||||
process. Enable this if BIND starts too early for you and
|
||||
you need it to start later.
|
||||
|
Loading…
x
Reference in New Issue
Block a user