aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2023-01-17 17:25:47 +0000
committerCy Schubert <cy@FreeBSD.org>2023-02-28 13:37:55 +0000
commitfb2147e30f970a6d4329dd6d7efcb99461698c8f (patch)
treead1619c674f024b1259bfa89fb39e8ccd86acdc5
parentb3231760c215a9d05f0a441bff14a5fb47fb80d1 (diff)
downloadsrc-fb2147e30f970a6d4329dd6d7efcb99461698c8f.tar.gz
src-fb2147e30f970a6d4329dd6d7efcb99461698c8f.zip
unbound: Fix config file path
Commit 1838dec31895fd4752fa8631322ab93be0705a66 changed the config file path to /usr/local/etc/unbound/unbound.conf which is wrong for unbound in base. Reported by: Ihor Antonov <ihor_AT_antonovs_family> Approved by: re (cperciva) Reviewed by: zlei Approved by: zlei Differential Revision: https://reviews.freebsd.org/D38106 Fixes: 1838dec31895fd4752fa8631322ab93be0705a66 (cherry picked from commit 1d577bedbae80ced38ccb834e6835e5fd98bc411) (cherry picked from commit e0c3f2a1e2961b5e4813399bf2a4bea467d2c301)
-rw-r--r--usr.sbin/unbound/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/unbound/config.h b/usr.sbin/unbound/config.h
index bd36bb7573f8..2068cbfe7295 100644
--- a/usr.sbin/unbound/config.h
+++ b/usr.sbin/unbound/config.h
@@ -21,7 +21,7 @@
#define CONFCMDLINE "--with-ssl=/usr --with-libexpat=/usr --disable-dnscrypt --disable-dnstap --enable-ecdsa --disable-event-api --enable-gost --with-libevent --disable-subnet --disable-tfo-client --disable-tfo-server --with-pthreads--prefix=/usr --localstatedir=/var/unbound --mandir=/usr/share/man --build=freebsd"
/* Pathname to the Unbound configuration file */
-#define CONFIGFILE "/usr/local/etc/unbound/unbound.conf"
+#define CONFIGFILE "/var/unbound/unbound.conf"
/* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work
*/