SHA256
1
0
forked from pool/bind

Accepting request 992008 from home:jcronenberg:branches:network

- Add systemd drop-in directory for named service

OBS-URL: https://build.opensuse.org/request/show/992008
OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=351
This commit is contained in:
Reinhard Max 2022-08-01 11:54:00 +00:00 committed by Git OBS Bridge
parent 713ad10142
commit 30add1cedb
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 1 11:15:42 UTC 2022 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Add systemd drop-in directory for named service
[bsc#1201689, bind.spec]
-------------------------------------------------------------------
Thu Jul 21 06:51:58 UTC 2022 - Josef Möllers <josef.moellers@suse.com>

View File

@ -365,6 +365,7 @@ mv vendor-files/config/rndc-access.conf %{buildroot}/%{_sysconfdir}/named.d
install -D -m 0644 %{_sourcedir}/named.root %{buildroot}%{_datadir}/factory%{_localstatedir}/lib/named/root.hint
install -m 0644 vendor-files/config/{127.0.0,localhost}.zone %{buildroot}%{_datadir}/factory%{_localstatedir}/lib/named
install -m 0644 bind.keys %{buildroot}%{_datadir}/factory%{_localstatedir}/lib/named/named.root.key
install -d -m 0755 %{buildroot}/%{_unitdir}/named.service.d
%else
for file in named; do
install -m 0754 vendor-files/init/${file} %{buildroot}%{_initddir}/${file}
@ -477,6 +478,7 @@ fi
%attr(0644,root,root) %config /%{_sysconfdir}/slp.reg.d/bind.reg
%if %{with_systemd}
%{_unitdir}/named.service
%dir %{_unitdir}/named.service.d
%{_prefix}/lib/tmpfiles.d/bind.conf
%{_sysusersdir}/named.conf
%{_datadir}/factory