]> git.pld-linux.org Git - packages/unbound.git/commitdiff
Set the auto-trust-anchor-file by default
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 25 Apr 2014 09:21:21 +0000 (11:21 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 25 Apr 2014 09:23:14 +0000 (11:23 +0200)
This enables DNSSEC validation in the default config file.

unbound-default_trust_anchor.patch [new file with mode: 0644]
unbound.spec

diff --git a/unbound-default_trust_anchor.patch b/unbound-default_trust_anchor.patch
new file mode 100644 (file)
index 0000000..7ffede3
--- /dev/null
@@ -0,0 +1,12 @@
+diff -dur unbound-1.4.22.orig/doc/example.conf.in unbound-1.4.22/doc/example.conf.in
+--- unbound-1.4.22.orig/doc/example.conf.in    2014-03-12 13:31:42.000000000 +0100
++++ unbound-1.4.22/doc/example.conf.in 2014-04-25 11:14:14.000000000 +0200
+@@ -342,7 +342,7 @@
+       # you start unbound (i.e. in the system boot scripts).  And enable:
+       # Please note usage of unbound-anchor root anchor is at your own risk
+       # and under the terms of our LICENSE (see that file in the source).
+-      # auto-trust-anchor-file: "@UNBOUND_ROOTKEY_FILE@"
++      auto-trust-anchor-file: "@UNBOUND_ROOTKEY_FILE@"
+       # File with DLV trusted keys. Same format as trust-anchor-file.
+       # There can be only one DLV configured, it is trusted from root down.
index df4bd9b125d1ecacf37ca58b7bd60aad163d16e7..8e699640f95c7c658e0b7bdc85e541e3feeb3092 100644 (file)
@@ -17,6 +17,7 @@ Source3:      https://data.iana.org/root-anchors/icannbundle.pem
 # Source3-md5: 59774aba58dbde1049bdf4722fb4f02c
 Source4:       ftp://ftp.internic.net/domain/named.cache
 # Source4-md5: b3b07a2944d29d1f5bd58fe2fe183148
+Patch0:                %{name}-default_trust_anchor.patch
 URL:           http://unbound.net/
 BuildRequires: expat-devel
 BuildRequires: libevent-devel
@@ -112,6 +113,7 @@ Pythonowy interfejs do biblioteki unbound.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
This page took 0.096841 seconds and 4 git commands to generate.