2024-01-05 18:48:21 +01:00
|
|
|
%define unbound_gid 65433
|
|
|
|
%define unbound_uid 65433
|
|
|
|
Name: unbound
|
2024-08-18 22:58:43 +02:00
|
|
|
Version: 1.21.0
|
2024-01-05 18:48:21 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A validating, recursive, and caching DNS resolver
|
|
|
|
Group: Applications/Security
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 18:48:22 +01:00
|
|
|
URL: https://nlnetlabs.nl/projects/unbound/about/
|
2024-01-05 18:48:21 +01:00
|
|
|
Source: http://unbound.net/downloads/unbound-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 18:48:22 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 18:48:21 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Unbound is a validating, recursive, and caching DNS resolver.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-05 18:48:22 +01:00
|
|
|
--enable-systemd \
|
2024-01-05 18:48:21 +01:00
|
|
|
--disable-rpath
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
# --with-conf-file=%{_localstatedir}/%{name}/unbound.conf \
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
#install -d 0700 %{buildroot}%{_localstatedir}/%{name}
|
|
|
|
#install -D -m 0755 contrib/unbound.init %{buildroot}%{_initrddir}/unbound
|
2024-01-05 18:48:21 +01:00
|
|
|
# add symbolic link from /etc/unbound.conf -> /var/unbound/unbound.conf
|
2024-01-05 18:48:22 +01:00
|
|
|
#ln -s ../var/unbound/unbound.conf %{buildroot}%{_sysconfdir}/unbound.conf
|
2024-01-05 18:48:21 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%pre
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
groupadd -r unbound -g %{unbound_gid} 2>/dev/null || true
|
|
|
|
useradd -r -g unbound -d /var/unbound -s /sbin/nologin \
|
|
|
|
-c "unbound name daemon" -u %{unbound_uid} unbound 2>/dev/null || true
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
userdel unbound || true
|
|
|
|
groupdel unbound || true
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:48:22 +01:00
|
|
|
%dir %{_sysconfdir}/unbound
|
|
|
|
%config(noreplace) %{_sysconfdir}/unbound/unbound.conf
|
|
|
|
#%{_initrddir}/unbound
|
2024-01-05 18:48:21 +01:00
|
|
|
%{_sbindir}/unbound
|
|
|
|
%{_sbindir}/unbound-anchor
|
|
|
|
%{_sbindir}/unbound-checkconf
|
|
|
|
%{_sbindir}/unbound-control
|
|
|
|
%{_sbindir}/unbound-control-setup
|
|
|
|
%{_sbindir}/unbound-host
|
2024-01-05 18:48:22 +01:00
|
|
|
#%dir %attr(0700, unbound, unbound) %{_localstatedir}/unbound
|
|
|
|
#%attr(0700, unbound, unbound) %config %{_localstatedir}/unbound/unbound.conf
|
2024-01-05 18:48:21 +01:00
|
|
|
%{_mandir}/man1/unbound-host.1*
|
|
|
|
%{_mandir}/man5/unbound.conf.5*
|
|
|
|
%{_mandir}/man8/unbound-anchor.8*
|
|
|
|
%{_mandir}/man8/unbound-checkconf.8*
|
|
|
|
%{_mandir}/man8/unbound-control-setup.8*
|
|
|
|
%{_mandir}/man8/unbound-control.8*
|
|
|
|
%{_mandir}/man8/unbound.8*
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libunbound.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/unbound.h
|
|
|
|
%{_libdir}/libunbound.a
|
|
|
|
%{_libdir}/libunbound.so
|
2024-01-05 18:48:21 +01:00
|
|
|
%{_libdir}/pkgconfig/libunbound.pc
|
2024-01-05 18:48:21 +01:00
|
|
|
%{_mandir}/man3/libunbound.3*
|
|
|
|
%{_mandir}/man3/ub_*.3*
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
2024-08-18 22:58:43 +02:00
|
|
|
* Fri Aug 16 2024 Automatic Build System <autodist@openmamba.org> 1.21.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-10 20:34:38 +02:00
|
|
|
* Fri May 10 2024 Automatic Build System <autodist@openmamba.org> 1.20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-15 12:13:47 +01:00
|
|
|
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 1.19.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-09 11:48:34 +01:00
|
|
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 1.19.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-14 11:07:48 +01:00
|
|
|
* Tue Feb 13 2024 Automatic Build System <autodist@openmamba.org> 1.19.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:23 +01:00
|
|
|
* Thu Nov 09 2023 Automatic Build System <autodist@mambasoft.it> 1.19.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Thu Aug 31 2023 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 1.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Sun Oct 16 2022 Automatic Build System <autodist@mambasoft.it> 1.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Sat Sep 24 2022 Automatic Build System <autodist@mambasoft.it> 1.16.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 02 2022 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Tue Jul 12 2022 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Fri Feb 11 2022 Automatic Build System <autodist@mambasoft.it> 1.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Sun Dec 12 2021 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:22 +01:00
|
|
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 1.13.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Thu Dec 03 2020 Automatic Build System <autodist@mambasoft.it> 1.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sun Nov 22 2020 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Jul 29 2020 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Thu May 21 2020 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Fri Feb 21 2020 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 1.9.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Nov 20 2019 Automatic Build System <autodist@mambasoft.it> 1.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 1.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Tue Jun 18 2019 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Mar 13 2019 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sun Feb 10 2019 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Dec 19 2018 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Dec 05 2018 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sat Oct 13 2018 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Fri Sep 14 2018 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sun Aug 05 2018 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Tue Jan 23 2018 Automatic Build System <autodist@mambasoft.it> 1.6.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Oct 11 2017 Automatic Build System <autodist@mambasoft.it> 1.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Mon Sep 18 2017 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sat Aug 26 2017 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Fri Aug 11 2017 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sat Dec 17 2016 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Oct 05 2016 Automatic Build System <autodist@mambasoft.it> 1.5.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sat Jun 11 2016 Automatic Build System <autodist@mambasoft.it> 1.5.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Mar 02 2016 Automatic Build System <autodist@mambasoft.it> 1.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Fri Dec 11 2015 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Oct 21 2015 Automatic Build System <autodist@mambasoft.it> 1.5.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Oct 07 2015 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sat Jul 11 2015 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Wed Mar 11 2015 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Thu Feb 26 2015 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Tue Dec 09 2014 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Mon Dec 08 2014 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:21 +01:00
|
|
|
* Sun Apr 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.22-1mamba
|
|
|
|
- package created using the webbuild interface
|