|
|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
%global _hardened_build 1 |
|
|
|
%global _hardened_build 1 |
|
|
|
|
|
|
|
|
|
|
|
#global extra_version rc1 |
|
|
|
#%%global extra_version rc1 |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{with_python2} |
|
|
|
%if 0%{with_python2} |
|
|
|
%global python_primary %{__python2} |
|
|
|
%global python_primary %{__python2} |
|
|
@ -14,7 +14,6 @@ |
|
|
|
%global python_primary %{__python3} |
|
|
|
%global python_primary %{__python3} |
|
|
|
%endif # with_python3 |
|
|
|
%endif # with_python3 |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} |
|
|
|
|
|
|
|
%global with_munin 0 |
|
|
|
%global with_munin 0 |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python2} && 0%{?rhel} <= 6 |
|
|
|
%if 0%{?with_python2} && 0%{?rhel} <= 6 |
|
|
@ -24,16 +23,12 @@ |
|
|
|
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} |
|
|
|
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} |
|
|
|
%endif # with_python2 && rhel <= 6 |
|
|
|
%endif # with_python2 && rhel <= 6 |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} <= 7 |
|
|
|
|
|
|
|
%global with_python3 1 |
|
|
|
%global with_python3 1 |
|
|
|
%else |
|
|
|
|
|
|
|
%global with_python2 1 |
|
|
|
%global with_python2 1 |
|
|
|
%endif # rhel <= 7 |
|
|
|
|
|
|
|
%endif # rhel |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Validating, recursive, and caching DNS(SEC) resolver |
|
|
|
Summary: Validating, recursive, and caching DNS(SEC) resolver |
|
|
|
Name: unbound |
|
|
|
Name: unbound |
|
|
|
Version: 1.7.3 |
|
|
|
Version: 1.8.1 |
|
|
|
Release: 1%{?extra_version:.%{extra_version}}%{?dist} |
|
|
|
Release: 1%{?extra_version:.%{extra_version}}%{?dist} |
|
|
|
License: BSD |
|
|
|
License: BSD |
|
|
|
Url: https://www.unbound.net/ |
|
|
|
Url: https://www.unbound.net/ |
|
|
@ -88,7 +83,6 @@ as a server, but are linked into an application) are easily possible. |
|
|
|
%if %{with_munin} |
|
|
|
%if %{with_munin} |
|
|
|
%package munin |
|
|
|
%package munin |
|
|
|
Summary: Plugin for the munin / munin-node monitoring package |
|
|
|
Summary: Plugin for the munin / munin-node monitoring package |
|
|
|
Group: System Environment/Daemons |
|
|
|
|
|
|
|
Requires: munin-node |
|
|
|
Requires: munin-node |
|
|
|
Requires: %{name} = %{version}-%{release}, bc |
|
|
|
Requires: %{name} = %{version}-%{release}, bc |
|
|
|
BuildArch: noarch |
|
|
|
BuildArch: noarch |
|
|
@ -99,7 +93,6 @@ Plugin for the munin / munin-node monitoring package |
|
|
|
|
|
|
|
|
|
|
|
%package devel |
|
|
|
%package devel |
|
|
|
Summary: Development package that includes the unbound header files |
|
|
|
Summary: Development package that includes the unbound header files |
|
|
|
Group: Development/Libraries |
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}, openssl-devel |
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}, openssl-devel |
|
|
|
Requires: pkgconfig |
|
|
|
Requires: pkgconfig |
|
|
|
|
|
|
|
|
|
|
@ -108,12 +101,7 @@ The devel package contains the unbound library and the include files |
|
|
|
|
|
|
|
|
|
|
|
%package libs |
|
|
|
%package libs |
|
|
|
Summary: Libraries used by the unbound server and client applications |
|
|
|
Summary: Libraries used by the unbound server and client applications |
|
|
|
Group: Applications/System |
|
|
|
%{?systemd_requires} |
|
|
|
Requires(post): /sbin/ldconfig |
|
|
|
|
|
|
|
Requires(post): systemd |
|
|
|
|
|
|
|
Requires(postun): /sbin/ldconfig |
|
|
|
|
|
|
|
Requires(postun): systemd |
|
|
|
|
|
|
|
Requires(preun): systemd |
|
|
|
|
|
|
|
Requires(pre): shadow-utils |
|
|
|
Requires(pre): shadow-utils |
|
|
|
|
|
|
|
|
|
|
|
%description libs |
|
|
|
%description libs |
|
|
@ -123,7 +111,6 @@ Contains libraries used by the unbound server and client applications |
|
|
|
%package -n python2-unbound |
|
|
|
%package -n python2-unbound |
|
|
|
%{?python_provide:%python_provide python2-unbound} |
|
|
|
%{?python_provide:%python_provide python2-unbound} |
|
|
|
Summary: Python 2 modules and extensions for unbound |
|
|
|
Summary: Python 2 modules and extensions for unbound |
|
|
|
Group: Applications/System |
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release} |
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release} |
|
|
|
Provides: unbound-python = %{version}-%{release} |
|
|
|
Provides: unbound-python = %{version}-%{release} |
|
|
|
Obsoletes: unbound-python < %{version}-%{release} |
|
|
|
Obsoletes: unbound-python < %{version}-%{release} |
|
|
@ -135,7 +122,6 @@ Python 2 modules and extensions for unbound |
|
|
|
%if 0%{with_python3} |
|
|
|
%if 0%{with_python3} |
|
|
|
%package -n python3-unbound |
|
|
|
%package -n python3-unbound |
|
|
|
Summary: Python 3 modules and extensions for unbound |
|
|
|
Summary: Python 3 modules and extensions for unbound |
|
|
|
Group: Applications/System |
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release} |
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-unbound |
|
|
|
%description -n python3-unbound |
|
|
@ -158,6 +144,7 @@ Python 3 modules and extensions for unbound |
|
|
|
%setup -qcn %{pkgname} |
|
|
|
%setup -qcn %{pkgname} |
|
|
|
|
|
|
|
|
|
|
|
pushd %{pkgname} |
|
|
|
pushd %{pkgname} |
|
|
|
|
|
|
|
|
|
|
|
# only for snapshots |
|
|
|
# only for snapshots |
|
|
|
# autoreconf -iv |
|
|
|
# autoreconf -iv |
|
|
|
|
|
|
|
|
|
|
@ -299,7 +286,7 @@ useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \ |
|
|
|
%systemd_post unbound-keygen.service |
|
|
|
%systemd_post unbound-keygen.service |
|
|
|
|
|
|
|
|
|
|
|
%post libs |
|
|
|
%post libs |
|
|
|
/sbin/ldconfig |
|
|
|
%{?ldconfig} |
|
|
|
%systemd_post unbound-anchor.timer |
|
|
|
%systemd_post unbound-anchor.timer |
|
|
|
# start the timer only if installing the package to prevent starting it, if it was stopped on purpose |
|
|
|
# start the timer only if installing the package to prevent starting it, if it was stopped on purpose |
|
|
|
if [ "$1" -eq 1 ]; then |
|
|
|
if [ "$1" -eq 1 ]; then |
|
|
@ -319,7 +306,7 @@ fi |
|
|
|
%systemd_postun unbound-keygen.service |
|
|
|
%systemd_postun unbound-keygen.service |
|
|
|
|
|
|
|
|
|
|
|
%postun libs |
|
|
|
%postun libs |
|
|
|
/sbin/ldconfig |
|
|
|
%{?ldconfig} |
|
|
|
%systemd_postun_with_restart unbound-anchor.timer |
|
|
|
%systemd_postun_with_restart unbound-anchor.timer |
|
|
|
|
|
|
|
|
|
|
|
%triggerun -- unbound < 1.4.12-4 |
|
|
|
%triggerun -- unbound < 1.4.12-4 |
|
|
@ -367,6 +354,10 @@ popd |
|
|
|
%attr(0644,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/conf.d/*.conf |
|
|
|
%attr(0644,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/conf.d/*.conf |
|
|
|
%dir %attr(0755,root,unbound) %{_sysconfdir}/%{name}/local.d |
|
|
|
%dir %attr(0755,root,unbound) %{_sysconfdir}/%{name}/local.d |
|
|
|
%attr(0644,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/local.d/*.conf |
|
|
|
%attr(0644,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/local.d/*.conf |
|
|
|
|
|
|
|
%ghost %attr(0640,root,unbound) %{_sysconfdir}/%{name}/unbound_control.pem |
|
|
|
|
|
|
|
%ghost %attr(0640,root,unbound) %{_sysconfdir}/%{name}/unbound_control.key |
|
|
|
|
|
|
|
%ghost %attr(0640,root,unbound) %{_sysconfdir}/%{name}/unbound_server.pem |
|
|
|
|
|
|
|
%ghost %attr(0640,root,unbound) %{_sysconfdir}/%{name}/unbound_server.key |
|
|
|
%{_sbindir}/unbound |
|
|
|
%{_sbindir}/unbound |
|
|
|
%{_sbindir}/unbound-checkconf |
|
|
|
%{_sbindir}/unbound-checkconf |
|
|
|
%{_sbindir}/unbound-control |
|
|
|
%{_sbindir}/unbound-control |
|
|
@ -424,6 +415,53 @@ popd |
|
|
|
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key |
|
|
|
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key |
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Mon Oct 08 2018 Petr Menšík <pemensik@redhat.com> - 1.8.1-1 |
|
|
|
|
|
|
|
- Update to 1.8.1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 01 2018 Petr Menšík <pemensik@redhat.com> - 1.8.0-2 |
|
|
|
|
|
|
|
- Skip ipv6 forwarders without ipv6 support (#1633874) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 19 2018 Petr Menšík <pemensik@redhat.com> - 1.8.0-1 |
|
|
|
|
|
|
|
- Rebase to 1.8.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 14 2018 Paul Wouters <pwouters@redhat.com> - 1.7.3-9 |
|
|
|
|
|
|
|
- Fix for restarting unbound service after deleting key/pem files for remote control |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Petr Menšík <pemensik@redhat.com> - 1.7.3-8 |
|
|
|
|
|
|
|
- Release memory in unbound-host |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Petr Menšík <pemensik@redhat.com> - 1.7.3-7 |
|
|
|
|
|
|
|
- Remove unused Group tag |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 18 2018 Petr Menšík <pemensik@redhat.com> - 1.7.3-6 |
|
|
|
|
|
|
|
- Cleanup generated client and server keys (#1601773) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-5 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 09 2018 Petr Menšík <pemensik@redhat.com> - 1.7.3-4 |
|
|
|
|
|
|
|
- Do not call ldconfig if possible |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 04 2018 Petr Menšík <pemensik@redhat.com> - 1.7.3-3 |
|
|
|
|
|
|
|
- Update trust anchors also behind firewall (#1598078) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7.3-2 |
|
|
|
|
|
|
|
- Rebuilt for Python 3.7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Petr Menšík <pemensik@redhat.com> - 1.7.3-1 |
|
|
|
|
|
|
|
- Update to 1.7.3 (#1593708) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Petr Menšík <pemensik@redhat.com> - 1.7.2-3 |
|
|
|
|
|
|
|
- Remove last python2 dependency from python3 build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7.2-2 |
|
|
|
|
|
|
|
- Rebuilt for Python 3.7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 11 2018 Paul Wouters <pwouters@redhat.com> - 1.7.2-1 |
|
|
|
|
|
|
|
- Resolves rhbz#1589807 unbound-1.7.2 is available |
|
|
|
|
|
|
|
- Add patch to fix stub/forward zone not returning ServFail when TTL expires |
|
|
|
|
|
|
|
- Enabled the new root-key-sentinel option |
|
|
|
|
|
|
|
|
|
|
|
* Wed May 30 2018 Petr Menšík <pemensik@redhat.com> - 1.7.1-1 |
|
|
|
* Wed May 30 2018 Petr Menšík <pemensik@redhat.com> - 1.7.1-1 |
|
|
|
- Update to 1.7.1 (#1574495) |
|
|
|
- Update to 1.7.1 (#1574495) |
|
|
|
|
|
|
|
|
|
|
|