automatic version update by autodist [release 1.13.2-1mamba;Tue Aug 31 2021]

This commit is contained in:
Automatic Build System 2024-01-05 18:48:22 +01:00
parent 3fef60d13f
commit afbe041f82

View File

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