From 62c4fd5a765ab30ad5f776afc3be53a19df3eac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 16:44:39 +0100 Subject: [PATCH 1/2] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- tcpcrypt.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/tcpcrypt.spec b/tcpcrypt.spec index cf5642a..e61f288 100644 --- a/tcpcrypt.spec +++ b/tcpcrypt.spec @@ -4,7 +4,7 @@ Summary: Opportunistically encrypt TCP connections Name: tcpcrypt Version: 0.5 -Release: 17%{?dist} +Release: 18%{?dist} # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD Url: http://tcpcrypt.org/ @@ -22,7 +22,6 @@ BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -Requires(pre): shadow-utils %description Provides a protocol that attempts to encrypt (almost) all of your @@ -47,6 +46,11 @@ Contains libraries used by tcpcryptd server and tcpcrypt-aware applications %prep %autosetup +# Create a sysusers.d config file +cat >tcpcrypt.sysusers.conf </dev/null || groupadd -r tcpcryptd -getent passwd tcpcryptd >/dev/null || \ -useradd -r -g tcpcryptd -d /var/run/tcpcryptd -s /sbin/nologin \ --c "tcpcrypt daemon account" tcpcryptd || exit 0 %post %systemd_post tcpcryptd.service @@ -101,6 +103,9 @@ useradd -r -g tcpcryptd -d /var/run/tcpcryptd -s /sbin/nologin \ %systemd_postun_with_restart tcpcryptd.service %changelog +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 0.5-18 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Sun Jan 19 2025 Fedora Release Engineering - 0.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 3bed1886a7b1d203b3b01725bd8cde80b71c2185 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:08:58 +0000 Subject: [PATCH 2/2] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- tcpcrypt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tcpcrypt.spec b/tcpcrypt.spec index e61f288..050228a 100644 --- a/tcpcrypt.spec +++ b/tcpcrypt.spec @@ -4,7 +4,7 @@ Summary: Opportunistically encrypt TCP connections Name: tcpcrypt Version: 0.5 -Release: 18%{?dist} +Release: 19%{?dist} # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD Url: http://tcpcrypt.org/ @@ -103,6 +103,9 @@ install -m0644 -D tcpcrypt.sysusers.conf %{buildroot}%{_sysusersdir}/tcpcrypt.co %systemd_postun_with_restart tcpcryptd.service %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.5-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 0.5-18 - Add sysusers.d config file to allow rpm to create users/groups automatically