## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %ifnarch s390x %bcond_without tests %else %if 0%{?el8} # ConnectionTest fails %bcond_with tests %else %bcond_without tests %endif %endif %ifarch s390x # UniversalStackTrace fails with undefined references %bcond_with unwind %else %bcond_without unwind %endif %global _firewalld_dir %{_prefix}/lib/firewalld Name: et Version: 7.1.1 Release: %autorelease Summary: Remote shell that survives IP roaming and disconnect # Apache-2.0: et, UniversalStacktrace # MIT: base64, easyloggingpp, libvterm, PlatformFolders # Zlib: sole, ThreadPool License: Apache-2.0 AND MIT AND Zlib URL: https://mistertea.github.io/EternalTerminal/ Source0: https://github.com/MisterTea/EternalTerminal/archive/et-v%{version}/EternalTerminal-%{version}.tar.gz Source1: et.xml Patch0: et-use-system-dependency.patch # Upstream builds with -Werror; fix the warnings Fedora's -Wall enables # https://github.com/MisterTea/EternalTerminal/pull/920 Patch1: et-pr920-gcc-wall-warnings.patch # Reject pipe paths too long for sun_path instead of leaving it # unterminated (also fixes -Wstringop-truncation); backported to 7.1.1 # https://github.com/MisterTea/EternalTerminal/pull/921 Patch2: et-pr921-pipe-path-length.patch # Raise the soft open file limit in the FD_SETSIZE poller test; Koji's # soft limit of 1024 makes F_DUPFD(FD_SETSIZE) fail # https://github.com/MisterTea/EternalTerminal/pull/922 Patch3: et-pr922-fdpoller-nofile-limit.patch ExcludeArch: %{ix86} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: firewalld-filesystem # -static BR required for tracking of header-only libraries BuildRequires: catch-devel BuildRequires: cpp-httplib-devel BuildRequires: cpp-httplib-static BuildRequires: cxxopts-devel BuildRequires: cxxopts-static BuildRequires: json-devel BuildRequires: json-static BuildRequires: libatomic BuildRequires: libselinux-devel BuildRequires: libsodium-devel %if %{with unwind} BuildRequires: libunwind-devel %endif BuildRequires: libutempter-devel BuildRequires: openssl-devel %if %{with tests} # pgrep, pkill and ps, used by the htm end-to-end tests BuildRequires: procps-ng %endif BuildRequires: protobuf-compiler BuildRequires: protobuf-lite-devel BuildRequires: simpleini-devel BuildRequires: systemd BuildRequires: zlib-devel # Bundled libraries # Versions are those of the submodule commits pinned at the release tag # (external/ in the upstream git repository). The tarball carries them # in external_imported/; the prep section checks that only the # directories listed here remain, so a newly bundled library fails the # build. # https://github.com/tkislan/base64 Provides: bundled(base64) = 0^20200731git6780d5b # MisterTea fork of https://github.com/abumusamq/easyloggingpp Provides: bundled(easyloggingpp) = 9.97.0^20210202git8489989 # Vendored copy (not a submodule) of libvterm 0.3.3 plus later changes; # et needs vterm_screen_callbacks_has_pushline4(), which the released # 0.3.3 shipped as libvterm-devel does not have Provides: bundled(libvterm) = 0.3.3 # https://github.com/sago007/PlatformFolders Provides: bundled(PlatformFolders) = 4.3.0 # https://github.com/r-lyeh-archived/sole Provides: bundled(sole) = 1.0.1^20200819git424b969 # https://github.com/progschj/ThreadPool Provides: bundled(ThreadPool) = 0^20140926git9a42ec1 # https://github.com/MisterTea/UniversalStacktrace Provides: bundled(UniversalStacktrace) = 0^20260918gitfc5ade8 # Not shipped: sanitizers-cmake (build only). Removed in prep: Catch2, # cotire, cpp-httplib, cxxopts, json, msgpack-c, sentry-native, # simpleini, vcpkg %{?systemd_requires} %description Eternal Terminal (ET) is a remote shell that automatically reconnects without interrupting the session. %prep %autosetup -p1 -n EternalTerminal-et-v%{version} # Unbundle: Catch2, cpp-httplib, cxxopts, json, simpleini # Unused: cotire, msgpack-c, vcpkg; sentry-native (telemetry disabled) for d in Catch2 cotire cpp-httplib cxxopts json msgpack-c sentry-native simpleini vcpkg; do rm -r external_imported/$d done # Fail if upstream bundles something new; update the bundled() Provides # and License when this list changes expected="base64 easyloggingpp libvterm PlatformFolders sanitizers-cmake sole ThreadPool UniversalStacktrace" actual=$(ls external_imported | LC_ALL=C sort -f | xargs) if [ "$actual" != "$expected" ]; then echo "external_imported changed: expected '$expected', got '$actual'" >&2 exit 1 fi # Telemetry is compiled out (DISABLE_TELEMETRY); do not suggest otherwise sed -i 's/^telemetry = true$/telemetry = false/' etc/et.cfg %build # DISABLE_TELEMETRY also disables sentry; without it, logs are sent to # Datadog unless ET_NO_TELEMETRY is set %cmake \ -DDISABLE_TELEMETRY=ON \ -DDISABLE_VCPKG=ON \ -DBASH_COMPLETION_COMPLETIONSDIR=%{bash_completions_dir} \ -DZSH_COMPLETIONS_DIR=%{zsh_completions_dir} %cmake_build %install %cmake_install mkdir -p \ %{buildroot}%{_unitdir} \ %{buildroot}%{_sysconfdir} \ %{buildroot}%{_firewalld_dir}/services install -m 0644 -p systemctl/et.service %{buildroot}%{_unitdir}/et.service install -m 0644 -p etc/et.cfg %{buildroot}%{_sysconfdir}/et.cfg install -m 0644 %{SOURCE1} %{buildroot}%{_firewalld_dir}/services/et.xml # Windows wrapper for et1 rm %{buildroot}%{_bindir}/et1.cmd %if %{with tests} %check %if 0%{?fedora} %ctest %else %ctest --verbose %endif %endif %post %systemd_post et.service %firewalld_reload %preun %systemd_preun et.service %postun %systemd_postun_with_restart et.service %firewalld_reload %files %license LICENSE %doc README.md %{_bindir}/et %{_bindir}/et1 %{_bindir}/etctl %{_bindir}/etserver %{_bindir}/etterminal %{_bindir}/htm %{_bindir}/htmd %dir %{_firewalld_dir} %dir %{_firewalld_dir}/services %{_firewalld_dir}/services/et.xml %config(noreplace) %{_sysconfdir}/et.cfg %{_unitdir}/et.service %{bash_completions_dir}/et %{zsh_completions_dir}/_et %changelog ## START: Generated by rpmautospec * Tue Nov 10 2026 Michel Lind - 7.1.1-1 - Update to 7.1.1 - et client short options now match OpenSSH (-c -t -p -l -x -f -N -v -e); the previous meanings remain available as long options - Build with telemetry disabled; it sent errors to Sentry and logs to Datadog by default - Package etctl, et1 and the bash/zsh completions - Declare bundled libraries from the upstream submodule pins, fail the build on newly bundled ones, and update License accordingly - Fix the build with -Wall -Werror and an unterminated sun_path (upstream PRs #920 and #921) - Let the FD_SETSIZE poller test raise the open file limit, which is 1024 on Koji builders (upstream PR #922) - BuildRequire procps-ng for the htm end-to-end tests * Fri Sep 25 2026 Benjamin A. Beasley - 6.2.11-5 - Rebuilt for abseil-cpp 20260817.0 * Wed Jul 15 2026 Fedora Release Engineering - 6.2.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 24 2026 Benjamin A. Beasley - 6.2.11-3 - Rebuilt for abseil-cpp 20260526.0 * Fri Jun 12 2026 Yaakov Selkowitz - 6.2.11-2 - Rebuilt for openssl 4.0 * Sat Feb 07 2026 topazus - 6.2.11-1 - update to 6.2.11; rhbz#2434025 * Fri Jan 16 2026 Fedora Release Engineering - 6.2.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Jul 23 2025 Fedora Release Engineering - 6.2.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jan 16 2025 Fedora Release Engineering - 6.2.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jul 17 2024 Fedora Release Engineering - 6.2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed May 01 2024 Michel Lind - 6.2.8-3 - Fix s390x test gating * Wed May 01 2024 Michel Lind - 6.2.8-2 - Unbundle Catch2 again * Tue Apr 30 2024 Michel Lind - 6.2.8-1 - Update to 6.2.8 (rhbz#2162155) - Temporarily rebundle catch2; the version in Fedora is too old * Fri Apr 26 2024 Michel Lind - 6.2.1-15 - Disable unwind on s390x * Fri Apr 26 2024 Michel Lind - 6.2.1-14 - Unbundle cpp-httplib (rhbz#2169585) - Eliminate almost all sed usage - Use find_package to find cxxopts - Use pkg_check_modules to find easylogging++ - Enable SELinux support - Enable unwind support * Thu Apr 25 2024 Michel Lind - 6.2.1-13 - Use SPDX license identifier * Wed Jan 24 2024 Fedora Release Engineering - 6.2.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 6.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 17 2023 Davide Cavalca - 6.2.1-10 - Unbreak the build; Fixes: RHBZ#2242330, RHBZ#2225796, RHBZ#2171485 * Thu Oct 05 2023 Remi Collet - 6.2.1-9 - rebuild for new libsodium * Wed Jul 19 2023 Fedora Release Engineering - 6.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 6.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 04 2022 Benjamin A. Beasley - 6.2.1-6 - Unbundle cxxopts * Sun Sep 04 2022 Benjamin A. Beasley - 6.2.1-5 - Unbundle json (“JSON for Modern C++”) * Sun Sep 04 2022 Benjamin A. Beasley - 6.2.1-4 - Unbundle easyloggingpp * Thu Jul 21 2022 Fedora Release Engineering - 6.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri May 06 2022 Michel Alexandre Salim - 6.2.1-2 - Fix %%%%cmake invocation to make it work on Rawhide * Fri May 06 2022 Michel Alexandre Salim - 6.2.1-1 - Update to 6.2.1 * Thu Jan 20 2022 Fedora Release Engineering - 6.1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 14 2022 Michel Alexandre Salim - 6.1.11-1 - Update to 6.1.11; Unbundle Catch2 (Benjamin A. Beasley ) * Sun Nov 07 2021 Mamoru TASAKA - 6.1.9-2 - rebuild for new protobuf * Thu Nov 4 2021 Michel Alexandre Salim - 6.1.9-1 - Update to 6.1.9 * Wed Nov 3 2021 Michel Alexandre Salim - 6.1.8-4.20211103git900348b - Red fixes * Mon Oct 25 2021 Adrian Reber - 6.1.8-4 - Rebuilt for protobuf 3.18.1 * Tue Sep 14 2021 Sahana Prasad - 6.1.8-3 - Rebuilt with OpenSSL 3.0.0 * Wed Jul 21 2021 Fedora Release Engineering - 6.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 11 2021 Michel Alexandre Salim - 6.1.8-1 - Update to 6.1.8 * Mon Apr 26 2021 Michel Alexandre Salim - 6.1.7-1 - Update to 6.1.7 * Tue Mar 30 2021 Jonathan Wakely - 6.1.4-2 - Rebuilt for removed libstdc++ symbol (#1937698) * Tue Mar 16 2021 Michel Alexandre Salim - 6.1.4-1 - Update to 6.1.4 - Fix for SIGSTKSZ/MINSIGSTKSZ non-constant on glibc > 2.33 - Declare bundled libraries * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 6.0.13-4 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Tue Jan 26 2021 Fedora Release Engineering - 6.0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 14 08:47:13 CET 2021 Adrian Reber - 6.0.13-2 - Rebuilt for protobuf 3.14 * Thu Nov 19 2020 Michel Alexandre Salim - 6.0.13-1 - Update to 6.0.13 * Thu Nov 5 2020 Filipe Brandenburger - 6.0.11-3 - Go back to using protobuf-lite on epel8, since the -devel package for it is now available (rhbz#1787458). * Thu Sep 24 2020 Adrian Reber - 6.0.11-2 - Rebuilt for protobuf 3.13 * Mon Aug 3 2020 Michel Alexandre Salim - 6.0.11-1 - Update to 6.0.11 - Use the new option to specify linking against the full protobuf on EPEL - Adjust for cmake macro changes * Sat Aug 01 2020 Fedora Release Engineering - 6.0.7-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 6.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 14 2020 Adrian Reber - 6.0.7-2 - Rebuilt for protobuf 3.12 * Tue Mar 3 2020 Michel Alexandre Salim - 6.0.7-1 - Update to 6.0.7 * Tue Feb 18 2020 Michel Alexandre Salim - 6.0.6-1 - Update to 6.0.6 * Sat Feb 1 2020 Michel Alexandre Salim - 6.0.5-1 - Update to 6.0.5 - Build for EPEL 8 * Tue Jan 28 2020 Fedora Release Engineering - 6.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Dec 1 2019 Michel Alexandre Salim - 6.0.4-1 - Update to 6.0.4 * Sun Sep 22 2019 Michel Alexandre Salim - 6.0.3-1 - Update to 6.0.3 * Wed Jul 24 2019 Fedora Release Engineering - 5.1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 27 2019 Michel Alexandre Salim - 5.1.10-1 - Update to 5.1.10 * Thu Jan 31 2019 Fedora Release Engineering - 5.1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 16 2019 Jason Gauci - 5.1.9-1 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.9 * Wed Nov 21 2018 Igor Gnatenko - 5.1.8-3 - Rebuild for protobuf 3.6 * Wed Oct 31 2018 Sérgio Basto - 5.1.8-2 - Make it possible build it on EPEL 7 * Mon Oct 29 2018 Michel Alexandre Salim - 5.1.8-1 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.8 * Wed Oct 17 2018 Michel Alexandre Salim - 5.1.7-1%{?dist} - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.7 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.6 * Tue Oct 9 2018 Jason Gauci - 5.1.5-2%{?dist} - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.5 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.4 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.3 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.2 - https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.1 * Fri Aug 24 2018 Michel Alexandre Salim - 5.1.0-1%{?dist} - Update to 5.1.0 * Tue Aug 14 2018 Michel Alexandre Salim - 5.0.7-2%{?dist} - add BR on gcc-c++ * Thu Aug 9 2018 Michel Alexandre Salim - 5.0.7-1%{?dist} - Initial package ## END: Generated by rpmautospec