import CS tang-14-2.el9

This commit is contained in:
eabdullin 2023-09-21 20:33:14 +00:00
parent a1c6213674
commit 501d23a64c
3 changed files with 13 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/tang-11.tar.xz SOURCES/tang-14.tar.xz

View File

@ -1 +1 @@
07fd3e9ad2eb5f53cd62477dd1698d067f6663ae SOURCES/tang-11.tar.xz 81a09f024fcb0e8b53bb867b2679ebab14555791 SOURCES/tang-14.tar.xz

View File

@ -1,5 +1,5 @@
Name: tang Name: tang
Version: 11 Version: 14
Release: 2%{?dist} Release: 2%{?dist}
Summary: Network Presence Binding Daemon Summary: Network Presence Binding Daemon
@ -29,6 +29,7 @@ BuildRequires: coreutils
BuildRequires: grep BuildRequires: grep
BuildRequires: socat BuildRequires: socat
BuildRequires: sed BuildRequires: sed
BuildRequires: iproute
%{?systemd_requires} %{?systemd_requires}
Requires: coreutils Requires: coreutils
@ -51,7 +52,7 @@ Tang is a small daemon for binding data to the presence of a third party.
%install %install
%meson_install %meson_install
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/tang.conf install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/tang.conf
echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service grep "User=%{name}" $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service || echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
%{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name} %{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name}
%check %check
@ -99,6 +100,14 @@ fi
%{_sysusersdir}/tang.conf %{_sysusersdir}/tang.conf
%changelog %changelog
* Thu Jun 29 2023 Sergio Arroutbi <sarroutb@redhat.com> - 14-2
- Fix service start up
* Tue Jun 27 2023 Sergio Arroutbi <sarroutb@redhat.com> - 14-1
- New upstream release - v14.
Resolves: rhbz#2182411
Resolves: CVE-2023-1672
* Wed Aug 17 2022 Sergio Arroutbi <sarroutb@redhat.com> - 11-2 * Wed Aug 17 2022 Sergio Arroutbi <sarroutb@redhat.com> - 11-2
- Adopt systemd-sysusers format - Adopt systemd-sysusers format
Resolves: rhbz#2095474 Resolves: rhbz#2095474