import CS dhcp-4.4.2-20.b1.el9

This commit is contained in:
AlmaLinux RelEng Bot 2026-03-30 11:19:50 -04:00
parent 84ed047020
commit dbca114c64
3 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1 @@
d /var/lib/dhcpd 0755 dhcpd dhcpd -

View File

@ -15,7 +15,7 @@
Summary: Dynamic host configuration protocol software
Name: dhcp
Version: 4.4.2
Release: 19.b1%{?dist}
Release: 20.b1%{?dist}
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
# dcantrell maintaining the package) made incorrect use of the epoch and
@ -32,7 +32,8 @@ Source5: 56dhclient
Source6: dhcpd.service
Source7: dhcpd6.service
Source8: dhcrelay.service
Source9: dhcp.sysusers
Source9: systemd-sysusers.conf
Source10: systemd-tmpfiles.conf
Patch1: 0001-change-bug-url.patch
Patch2: 0002-additional-dhclient-options.patch
@ -289,8 +290,9 @@ install -m 644 %{SOURCE6} %{buildroot}%{_unitdir}
install -m 644 %{SOURCE7} %{buildroot}%{_unitdir}
install -m 644 %{SOURCE8} %{buildroot}%{_unitdir}
# systemd-sysusers
# Install systemd sysusers and tmpfiles configs
install -p -D -m 0644 %{SOURCE9} %{buildroot}%{_sysusersdir}/dhcp.conf
install -p -D -m 0644 %{SOURCE10} %{buildroot}%{_tmpfilesdir}/dhcp.conf
# Start empty lease databases
mkdir -p %{buildroot}%{_localstatedir}/lib/dhcpd/
@ -453,6 +455,7 @@ done
%attr(0644,root,root) %{_unitdir}/dhcpd.service
%attr(0644,root,root) %{_unitdir}/dhcpd6.service
%{_sysusersdir}/dhcp.conf
%{_tmpfilesdir}/dhcp.conf
%{_sbindir}/dhcpd
%{_bindir}/omshell
%attr(0644,root,root) %{_mandir}/man1/omshell.1.gz
@ -509,6 +512,10 @@ done
%endif
%changelog
* Wed Jan 07 2026 Martin Osvald <mosvald@redhat.com> - 12:4.4.2-20.b1
- Create /var/lib/dhcpd through systemd-tmpfiles
Resolves: RHEL-134207
* Wed Apr 12 2023 Martin Osvald <mosvald@redhat.com> - 12:4.4.2-19.b1
- Do not drop bounding set twice (#2184965)