|
|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
%global selinuxtype targeted
|
|
|
|
|
|
|
|
|
|
Name: dnsconfd
|
|
|
|
|
Version: 1.7.2
|
|
|
|
|
Version: 1.7.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Local DNS cache configuration daemon
|
|
|
|
|
License: MIT
|
|
|
|
|
@ -11,13 +11,13 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: dnsconfd.sysusers
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-rpm-macros
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
%if %{defined fedora} && 0%{?fedora} < 42 || %{defined rhel} && 0%{?rhel} < 11
|
|
|
|
|
%{?sysusers_requires_compat}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
|
|
|
|
|
Requires: python3-gobject-base
|
|
|
|
|
@ -28,8 +28,9 @@ Requires: dbus-common
|
|
|
|
|
Requires: %{name}-cache
|
|
|
|
|
Requires: polkit
|
|
|
|
|
Suggests: %{name}-unbound
|
|
|
|
|
|
|
|
|
|
%?python_enable_dependency_generator
|
|
|
|
|
Requires: (%{name}-unbound = %{version}-%{release} if %{name}-unbound)
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Dnsconfd configures local DNS cache services.
|
|
|
|
|
@ -92,7 +93,7 @@ Dnsconfd dracut module
|
|
|
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%if %{defined fedora} && 0%{?fedora} < 40 || %{defined rhel} && 0%{?rhel} < 10
|
|
|
|
|
echo '/var/run/dnsconfd(/.*)? gen_context(system_u:object_r:dnsconfd_var_run_t,s0)' >> distribution/dnsconfd.fc
|
|
|
|
|
@ -109,7 +110,7 @@ pushd micro-dnsconfd
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
mkdir -m 0755 -p %{buildroot}%{_datadir}/dbus-1/system.d/
|
|
|
|
|
mkdir -m 0755 -p %{buildroot}%{_datadir}/dbus-1/system-services/
|
|
|
|
|
mkdir -m 0755 -p %{buildroot}%{_sysconfdir}/unbound/conf.d/
|
|
|
|
|
@ -182,11 +183,13 @@ fi
|
|
|
|
|
%posttrans selinux
|
|
|
|
|
%selinux_relabel_post -s %{selinuxtype}
|
|
|
|
|
|
|
|
|
|
%if %{defined fedora} && 0%{?fedora} < 42 || %{defined rhel} && 0%{?rhel} < 11
|
|
|
|
|
%pre
|
|
|
|
|
%sysusers_create_compat %{SOURCE1}
|
|
|
|
|
|
|
|
|
|
%pre unbound
|
|
|
|
|
%sysusers_create_compat %{SOURCE1}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post %{name}.service
|
|
|
|
|
@ -230,63 +233,31 @@ fi
|
|
|
|
|
%{_unitdir}/unbound.service.d/dnsconfd.conf
|
|
|
|
|
%config(noreplace) %attr(644,unbound,unbound) %{_sysconfdir}/unbound/conf.d/unbound.conf
|
|
|
|
|
%attr(664,dnsconfd,dnsconfd) %{_rundir}/dnsconfd/unbound.conf
|
|
|
|
|
%{_sysusersdir}/dnsconfd.conf
|
|
|
|
|
%{_tmpfilesdir}/dnsconfd-unbound.conf
|
|
|
|
|
|
|
|
|
|
%files dracut
|
|
|
|
|
%{_prefix}/lib/dracut/modules.d/99dnsconfd
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 28 2025 Tomas Korbar <tkorbar@redhat.com> -1.7.2-1
|
|
|
|
|
* Thu Jan 08 2026 Tomas Korbar <tkorbar@redhat.com> - 1.7.5-1
|
|
|
|
|
- Rebase to 1.7.5
|
|
|
|
|
- Resolves: RHEL-139901
|
|
|
|
|
|
|
|
|
|
* Tue Jun 03 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.3-1
|
|
|
|
|
- Rebase to 1.7.3
|
|
|
|
|
- Resolves: RHEL-94999
|
|
|
|
|
- Resolves: RHEL-94998
|
|
|
|
|
- Resolves: RHEL-94997
|
|
|
|
|
|
|
|
|
|
* Fri Feb 28 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.2-1
|
|
|
|
|
- Rebase to 1.7.2
|
|
|
|
|
- Resolves: RHEL-80304
|
|
|
|
|
- Resolves: RHEL-80309
|
|
|
|
|
|
|
|
|
|
* Fri Feb 14 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.1-2
|
|
|
|
|
- Rebuild because of bad test configuration
|
|
|
|
|
- Resolves: RHEL-62197
|
|
|
|
|
|
|
|
|
|
* Thu Feb 13 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.1-1
|
|
|
|
|
- Rebase to 1.7.1
|
|
|
|
|
- Resolves: RHEL-79172
|
|
|
|
|
|
|
|
|
|
* Thu Feb 13 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.0-1
|
|
|
|
|
- Rebase to 1.7.0
|
|
|
|
|
- Resolves: RHEL-79172
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-2
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2024 Tomas Korbar <tkorbar@redhat.com> - 1.2.0-1
|
|
|
|
|
- Release 1.2.0
|
|
|
|
|
|
|
|
|
|
* Tue Jul 30 2024 Tomas Korbar <tkorbar@redhat.com> - 1.1.2-1
|
|
|
|
|
- Release 1.1.2
|
|
|
|
|
|
|
|
|
|
* Fri Jun 28 2024 Tomas Korbar <tkorbar@redhat.com> - 1.0.2-2
|
|
|
|
|
- Initial build
|
|
|
|
|
|
|
|
|
|
* Thu Jun 27 2024 Tomas Korbar <tkorbar@redhat.com> - 1.0.2-1
|
|
|
|
|
- Release 1.0.2
|
|
|
|
|
|
|
|
|
|
* Wed Jun 26 2024 Tomas Korbar <tkorbar@redhat.com> - 1.0.1-2
|
|
|
|
|
- Fix /var/run selinux rules
|
|
|
|
|
|
|
|
|
|
* Wed Jun 26 2024 Tomas Korbar <tkorbar@redhat.com> - 1.0.1-1
|
|
|
|
|
- Release 1.0.1
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.0.0-2
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
* Mon May 27 2024 Tomas Korbar <tkorbar@redhat.com> - 1.0.0-1
|
|
|
|
|
- Release 1.0.0
|
|
|
|
|
|
|
|
|
|
* Fri May 17 2024 Tomas Korbar <tkorbar@redhat.com> - 0.0.6-1
|
|
|
|
|
- Release 0.0.6
|
|
|
|
|
|
|
|
|
|
* Fri May 03 2024 Tomas Korbar <tkorbar@redhat.com> - 0.0.5-1
|
|
|
|
|
- Release 0.0.5
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 2024 Tomas Korbar <tkorbar@redhat.com> - 0.0.4-2
|
|
|
|
|
- Fix dnsconfd user installation
|
|
|
|
|
|
|
|
|
|
* Mon Apr 29 2024 Tomas Korbar <tkorbar@redhat.com> - 0.0.4-1
|
|
|
|
|
- Release 0.0.4
|
|
|
|
|
|
|
|
|
|
* Sun Jan 28 2024 Tomas Korbar <tkorbar@redhat.com> - 0.0.2-1
|
|
|
|
|
- Initial version of the package
|
|
|
|
|
- Initial commit on c9s
|
|
|
|
|
- Resolves: RHEL-62197
|