Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 09:01:39 +00:00
parent f428ba2b46
commit a0e2f82c6c
4 changed files with 24 additions and 10 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/tlog-12.1.tar.gz SOURCES/tlog-14.tar.gz

View File

@ -1 +1 @@
556c0c33d07c4191f6e14ab28b322c2300edef68 SOURCES/tlog-12.1.tar.gz 0c6f3cc5622164a60e5295176e7af8612eb09606 SOURCES/tlog-14.tar.gz

2
SOURCES/tlog.sysusers Normal file
View File

@ -0,0 +1,2 @@
u tlog - "Tlog terminal I/O logger" /run/tlog /sbin/nologin
g tlog -

View File

@ -19,8 +19,8 @@
%{!?make_build:%global make_build %{__make} %{?_smp_mflags}} %{!?make_build:%global make_build %{__make} %{?_smp_mflags}}
Name: tlog Name: tlog
Version: 12.1 Version: 14
Release: 2%{?dist} Release: 1%{?dist}
Summary: Terminal I/O logger Summary: Terminal I/O logger
%if "%{_vendor}" == "debbuild" %if "%{_vendor}" == "debbuild"
@ -34,7 +34,8 @@ License: GPLv2+
%endif %endif
URL: https://github.com/Scribery/%{name} URL: https://github.com/Scribery/%{name}
Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: tlog.sysusers
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -57,6 +58,7 @@ Requires: systemd-sysv
Requires(preun): systemd Requires(preun): systemd
Requires(post): systemd Requires(post): systemd
Requires(postun): systemd Requires(postun): systemd
%{?sysusers_requires_compat}
%endif %endif
%else %else
@ -111,6 +113,7 @@ rm -r %{buildroot}/usr/include/%{name}
mkdir -p %{buildroot}%{_localstatedir}/run mkdir -p %{buildroot}%{_localstatedir}/run
install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name} install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name}
%endif %endif
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
%files %files
%{!?_licensedir:%global license %doc} %{!?_licensedir:%global license %doc}
@ -133,13 +136,10 @@ rm -r %{buildroot}/usr/include/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec.conf
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec-session.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec-session.conf
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-play.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}-play.conf
%{_sysusersdir}/%{name}.conf
%pre %pre
getent group %{name} >/dev/null || %sysusers_create_compat %{SOURCE1}
groupadd -r %{name}
getent passwd %{name} >/dev/null ||
useradd -r -g %{name} -d %{_localstatedir}/run/%{name} -s /sbin/nologin \
-c "Tlog terminal I/O logger" %{name}
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -156,6 +156,18 @@ systemd-tmpfiles --create %{name}.conf >/dev/null 2>&1 || :
/sbin/ldconfig /sbin/ldconfig
%changelog %changelog
* Wed Feb 07 2024 Justin Stephenson <jstephen@redhat.com> - 14-1
- Release v14
- configure: correctly handle systemd versions before 245
* Fri Jul 14 2023 Justin Stephenson <jstephen@redhat.com> - 13-2
- Provide a sysusers.d file to get user() and group() provides
(see https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format).
* Mon Apr 17 2023 Justin Stephenson <jstephen@redhat.com> - 13-1
- Update the Fedora license
- MAN: Add missing comma in tlog-rec-session.conf
* Thu Apr 21 2022 Justin Stephenson <jstephen@redhat.com> - 12.1 * Thu Apr 21 2022 Justin Stephenson <jstephen@redhat.com> - 12.1
- Exit transfer loop when output fd is closed - Exit transfer loop when output fd is closed
- Revert "Prevent infinite transfer loop on GDM login" - Revert "Prevent infinite transfer loop on GDM login"