]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - unbound/unbound.nm
unbound: Create missing directory for root anchor
[people/stevee/ipfire-3.x.git] / unbound / unbound.nm
index daba5655819289ceac3767c0ffcc00de60a32bb7..dee396f5db58d188329384690c92410d29251257 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = unbound
 version    = 1.17.0
-release    = 3
+release    = 4
 
 groups     = System/Daemons
 url        = https://www.nlnetlabs.nl/unbound/
@@ -62,6 +62,9 @@ build
                # Directory for trusted-keys-file.
                mkdir -pv %{BUILDROOT}%{sysconfdir}/%{name}/keys.d/
 
+               # Directory for the root anchor.
+               mkdir -pv %{BUILDROOT}%{sharedstatedir}/%{name}
+
                # Install unbound config file.
                install -p -m 0664 %{DIR_SOURCE}/%{name}.conf \
                        %{BUILDROOT}%{sysconfdir}/%{name}/