From afbe041f82b1fe06b94af18235d93769c5a8e5ee Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 18:48:22 +0100 Subject: [PATCH] automatic version update by autodist [release 1.13.2-1mamba;Tue Aug 31 2021] --- unbound.spec | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/unbound.spec b/unbound.spec index 6919130..533adef 100644 --- a/unbound.spec +++ b/unbound.spec @@ -1,20 +1,21 @@ %define unbound_gid 65433 %define unbound_uid 65433 Name: unbound -Version: 1.13.1 +Version: 1.13.2 Release: 1mamba Summary: A validating, recursive, and caching DNS resolver Group: Applications/Security Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://unbound.net/ +URL: https://nlnetlabs.nl/projects/unbound/about/ Source: http://unbound.net/downloads/unbound-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libexpat-devel BuildRequires: libopenssl-devel +BuildRequires: libsystemd-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -43,19 +44,21 @@ This package contains libraries and header files for developing applications tha %build %configure \ - --with-conf-file=%{_localstatedir}/%{name}/unbound.conf \ + --enable-systemd \ --disable-rpath +# --with-conf-file=%{_localstatedir}/%{name}/unbound.conf \ + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -install -d 0700 %{buildroot}%{_localstatedir}/%{name} -install -D -m 0755 contrib/unbound.init %{buildroot}%{_initrddir}/unbound +#install -d 0700 %{buildroot}%{_localstatedir}/%{name} +#install -D -m 0755 contrib/unbound.init %{buildroot}%{_initrddir}/unbound # add symbolic link from /etc/unbound.conf -> /var/unbound/unbound.conf -ln -s %{_localstatedir}/unbound/unbound.conf %{buildroot}%{_sysconfdir}/unbound.conf +#ln -s ../var/unbound/unbound.conf %{buildroot}%{_sysconfdir}/unbound.conf %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -80,16 +83,17 @@ fi %files %defattr(-,root,root) -%{_sysconfdir}/unbound.conf -%{_initrddir}/unbound +%dir %{_sysconfdir}/unbound +%config(noreplace) %{_sysconfdir}/unbound/unbound.conf +#%{_initrddir}/unbound %{_sbindir}/unbound %{_sbindir}/unbound-anchor %{_sbindir}/unbound-checkconf %{_sbindir}/unbound-control %{_sbindir}/unbound-control-setup %{_sbindir}/unbound-host -%dir %attr(0700, unbound, unbound) %{_localstatedir}/unbound -%attr(0700, unbound, unbound) %config %{_localstatedir}/unbound/unbound.conf +#%dir %attr(0700, unbound, unbound) %{_localstatedir}/unbound +#%attr(0700, unbound, unbound) %config %{_localstatedir}/unbound/unbound.conf %{_mandir}/man1/unbound-host.1* %{_mandir}/man5/unbound.conf.5* %{_mandir}/man8/unbound-anchor.8* @@ -115,6 +119,9 @@ fi %doc README %changelog +* Tue Aug 31 2021 Automatic Build System 1.13.2-1mamba +- automatic version update by autodist + * Tue Feb 23 2021 Automatic Build System 1.13.1-1mamba - automatic version update by autodist