Compare commits

...

8 Commits

Author SHA1 Message Date
eabdullin b03ba6b729 Import from AlmaLinux stable repository 2024-05-31 18:11:36 +00:00
CentOS Sources 0cf26d7c0d import tlog-12.1-2.el8 2022-11-08 06:44:39 +00:00
CentOS Sources 3ec7223387 import tlog-12.1-1.el8_6 2022-05-10 15:00:45 +00:00
CentOS Sources 7c23876ea0 import tlog-12-1.el8 2022-05-10 07:36:23 +00:00
CentOS Sources d466bc6055 import tlog-11-1.el8 2021-11-21 04:22:45 +00:00
CentOS Sources bc4ee8b0d2 import tlog-9-2.el8 2021-09-10 05:14:35 +00:00
CentOS Sources 5fff47858d import tlog-8-2.el8 2021-09-10 05:14:32 +00:00
CentOS Sources 1077febcc0 import tlog-7-2.el8 2021-09-10 05:14:29 +00:00
3 changed files with 103 additions and 16 deletions

2
.gitignore vendored
View File

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

View File

@ -1 +0,0 @@
9ac11e41e32417dedb287de8f4b3d23f80a07667 SOURCES/tlog-6.tar.gz

View File

@ -1,19 +1,17 @@
Name: tlog
Version: 6
Version: 14
Release: 1%{?dist}
Summary: Terminal I/O logger
Group: Applications/System
License: GPLv2+
URL: https://github.com/Scribery/%{name}
Source: https://github.com/Scribery/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc
BuildRequires: json-c-devel
BuildRequires: curl-devel
BuildRequires: m4
BuildRequires: libutempter-devel
# If it's not RHEL6 and older
%if 0%{?rhel} == 0 || 0%{?rhel} >= 7
BuildRequires: systemd-devel
@ -22,7 +20,6 @@ BuildRequires: systemd-units
Requires(post): sed
Requires(postun): sed
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
Tlog is a terminal I/O recording program similar to "script", but used in
@ -38,7 +35,7 @@ in JSON format.
%build
# If it's not RHEL6 and older
%if 0%{?rhel} == 0 || 0%{?rhel} >= 7
%configure --disable-rpath --disable-static
%configure --disable-rpath --disable-static --enable-utempter
# Else, if it's RHEL6 or older
%else
%configure --disable-rpath --disable-static --disable-journal
@ -111,7 +108,65 @@ rm -r %{buildroot}/usr/include/%{name}
/sbin/ldconfig
%changelog
* Wed May 29 2019 Justin Stephenson <jstephen@redhat.com> - 6-1
* Wed Feb 07 2024 Justin Stephenson <jstephen@redhat.com> - 14-1
- Release v14
- configure: correctly handle systemd versions before 245
* Mon Apr 17 2023 Justin Stephenson <jstephen@redhat.com> - 13-1
- Update the Fedora license
- MAN: Add missing comma in tlog-rec-session.conf
* Mon May 23 2022 Justin Stephenson <jstephen@redhat.com> - 12.1
- Exit transfer loop when output fd is closed
- Revert "Prevent infinite transfer loop on GDM login"
* Wed Nov 17 2021 Justin Stephenson <jstephen@redhat.com> - 12-1
- Release v12
- Prevent infinite transfer loop on GDM login.
- tlog-play: add journal namespace support.
- tlitest: extend delay for limit-action delay test.
* Tue Apr 27 2021 Justin Stephenson <jstephen@redhat.com> - 11-1
- Fire SIGCHLD after utempter_add_record since it probably eats it.
- Correct suse rpmbuild
- Update debbuild for travis CI
* Thu Oct 15 2020 Justin Stephenson <jstephen@redhat.com> - 9-2
- Skip utmp removal with piped IO on stdin
* Thu Oct 15 2020 Justin Stephenson <jstephen@redhat.com> - 9-1
- Release v9
- Add libutempter support
- Require journal match filter
- Add file reader match functionality
- Restore cursor visibility and color attributes on tlog-play exit
- Add "time" real clock timestamp message field
- Various upstream CI improvements
* Tue May 26 2020 Justin Stephenson <jstephen@redhat.com> - 8-2
- Test fixups from v8
* Thu May 21 2020 Justin Stephenson <jstephen@redhat.com> - 8-1
- Release v8
- Spec file fixes for EL6
- Spec file improvements for Debian/Ubuntu pkg-config
- Tlog-play improve authentication options
- Handle piped in I/O from stdin and improve the main recording transfer exit
condition.
- Use empty string on hostname resolution failure
* Tue Nov 12 2019 Justin Stephenson <jstephen@redhat.com> - 7-1
- Release v7
- Allow tlog-play redirection of stdout
- Add -i/--interactive option to tlog-rec-session. Allows login
programs to call tlog-rec-session more transparently.
- Make in_txt/out_txt fields optional. This handles missing fields
when reading from Elasticsearch or other backends.
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue May 28 2019 Justin Stephenson <jstephen@redhat.com> - 6-1
- Release v6. Added features and implemented fixes follow. See README.md and
manpages for documentation of new features.
- Add integration tests for end-to-end test coverage.
@ -120,11 +175,32 @@ rm -r %{buildroot}/usr/include/%{name}
- Fix a distribution issue causing incorrect M4_CONF_PATH expansion.
- Log more detailed error when systemd journal is not present.
* Tue Oct 09 2018 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 5-1
- Release v5
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jun 01 2018 Kyrylo Gliebov <kgliebov@redhat.com> - 4-4
- Initial build for RHEL-8.0
* Wed Dec 5 2018 Kirill Glebov <kgliebov@redhat.com> - 5-1
- Release v5. Added features and implemented fixes follow. See README.md and
manpages for documentation of new features.
- Implement support for --configuration option for all programs.
The option makes the program output its configuration in JSON and then
exit.
- Add BuildDependencies to allow yum-builddep.
- Open JSON writer file with euid/egid. To allow creating protected log files
with tlog-rec-session, open the JSON writer's file with the EUID and
GUID the program was started with.
- Installing Packages with the APT Addon instead of apt-get.
- Switch to using TLOG_ERRS_RAISE macros.
- Fix tlog-play cleanup-path segfault.
- Modify command-line option parsing.
- Remove "fields" field from ES query URL to fix compatibility with
Elasticsearch 5.
- Remove unused _source parameter from ES query URL.
- Fix tlog-rec-session file permissions bug.
- Use CLOCK_MONOTONIC for rate-limiting writing.
- Filter out some more input control sequences.
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 4-3
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
@ -166,13 +242,22 @@ rm -r %{buildroot}/usr/include/%{name}
packaging to prevent users from changing their shells themselves once it has
been assigned.
- Add support for specifying the shell to start via the tlog-rec-session
executable name. E.g. by making a tlog-rec-session-shell-bin-zsh ->
executable name. E.g. by making a tlog-rec-session-shell-zsh ->
tlog-rec-session symlink and executing it. That can be used to specify
particular shells to be recorded for specific users by assigning these
symlinks as their login shells.
- Make error messages from all the tools a bit less noisy and more readable.
* Tue Apr 12 2016 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3-1
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 3-4
- Rebuilt for libjson-c.so.3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Feb 22 2017 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3-1
- Release v3. Added features and implemented fixes follow.
- Make each JSON message timing data start with window size.
This makes it possible to pick up the stream from any message and also
@ -208,6 +293,9 @@ rm -r %{buildroot}/usr/include/%{name}
rsyslog, and playback directly from Elasticsearch, among other, smaller
additions.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Apr 6 2016 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 2-1
- Release v2. Not ready for production. Following features are added.
- Fully-fledged command-line interface to tlog-play, along with config file