]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
unbound: Create missing directory for root anchor
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 25 Mar 2023 19:20:30 +0000 (20:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Mar 2023 13:41:03 +0000 (13:41 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
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}/