From 3007c5e331caaba9e96cbda5900e3aa44b633ca508c7becabcf0ce78bf042b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 13:43:42 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main initviocons revision 34a6a97c50a48fc169c3b56756e6d24e --- .gitattributes | 23 ++++++++ initviocons-0.5.tar.bz2 | 3 + initviocons.changes | 123 ++++++++++++++++++++++++++++++++++++++++ initviocons.spec | 63 ++++++++++++++++++++ 4 files changed, 212 insertions(+) create mode 100644 .gitattributes create mode 100644 initviocons-0.5.tar.bz2 create mode 100644 initviocons.changes create mode 100644 initviocons.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/initviocons-0.5.tar.bz2 b/initviocons-0.5.tar.bz2 new file mode 100644 index 0000000..fa937c2 --- /dev/null +++ b/initviocons-0.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c09700d629df0c9bb2e36ae1ed40381d11c97e9457e617e841ce8a21a2b4e2f7 +size 63963 diff --git a/initviocons.changes b/initviocons.changes new file mode 100644 index 0000000..31b43ff --- /dev/null +++ b/initviocons.changes @@ -0,0 +1,123 @@ +------------------------------------------------------------------- +Tue Nov 7 21:45:56 UTC 2023 - Dirk Müller + +- spec-cleaner run + +------------------------------------------------------------------- +Tue Dec 27 12:27:04 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + +------------------------------------------------------------------- +Fri Oct 16 09:56:18 UTC 2020 - Ludwig Nussel + +- prepare usrmerge (boo#1029961) + +------------------------------------------------------------------- +Wed May 31 21:41:00 UTC 2017 - meissner@suse.com + +- Actually build with RPM_OPT_FLAGS, will also catch + too long -F arguments (bsc#1041840) + +------------------------------------------------------------------- +Fri Feb 17 18:56:46 UTC 2012 - rschweikert@suse.com + +- place binary in /usr tree (UsrMerge project) + +------------------------------------------------------------------- +Thu Dec 1 15:48:27 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Mon Oct 5 19:46:42 CEST 2009 - poeml@suse.de + +- add missing executable permissions to /usr/bin/termprobes + [bnc#544224] + +------------------------------------------------------------------- +Mon Dec 10 18:12:13 CET 2007 - poeml@suse.de + +- update to r27: + - when using -e, only output the TERM value and don't add + LINES,COLUMNS by default anymore. Discussion in [#184179] (ssh + installation exit abnormally when change terminal window size) + has shown that they are not needed anyway, and they seem to + cause problems in some cases (when used together with ssh). In + order to be able to revert to the previous behaviour, the -s + switch was added. It adds LINES and COLUMNS to the eval output + again. + +------------------------------------------------------------------- +Wed Nov 14 12:20:42 CET 2007 - poeml@suse.de + +- update to r25: + - recognize WebSM console + https://bugzilla.novell.com/show_bug.cgi?id=256139 + which sends a characteristic primary da + +------------------------------------------------------------------- +Thu Jul 19 07:28:29 CEST 2007 - poeml@suse.de + +- update to 0.5 (svn r24) + - support for mlterm and Terminal.app + - prefer Terminal.app over kterm (which responds in the same + way). kterm is not widely used anymore, it was an old xterm + fork but it isn't UTF-8 capable. + - make it compile on Darwin 8.6 + - fold in patches initviocons-0.4.dif (c shell eval mode) + initviocons.minimal-termsize.patch [#140383] + initviocons.ps3-hack.patch + initviocons.ps3-matching.patch + +------------------------------------------------------------------- +Tue Jul 17 12:22:22 CEST 2007 - sassmann@suse.de + +- added new /proc/device-tree/model matching for ps3 detection + +------------------------------------------------------------------- +Tue Apr 24 20:48:49 CEST 2007 - olh@suse.de + +- do not run initviocons on PS3, until the kernel fb is fixed + +------------------------------------------------------------------- +Wed Jan 25 21:36:37 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sun Jan 8 13:15:57 CET 2006 - olh@suse.de + +- do not set cols/rows to less than 80x24 (#140383) + +----------------------------------------------------------------- +Wed Oct 26 13:31:58 CEST 2005 - werner@suse.de + +- Add support for C shell in eval mode + +----------------------------------------------------------------- +Wed Oct 5 13:56:12 CEST 2005 - dmueller@suse.de + + - add norootforbuild + +------------------------------------------------------------------- +Sun Jun 9 18:20:34 CEST 2002 - poeml@suse.de + +- update to 0.4 +- no longer ignore carriage return when a Windows telnet client ist + connected (on iSeries). The telnet server has been fixed to + handle the Network Virtual Terminal newline correctly. If the + respective Program Temporary Fixes are installed on the iSeries, + this fix here is needed as well to prevent Enter key malfunction + on the virtual console. + +------------------------------------------------------------------- +Tue Mar 12 10:26:54 CET 2002 - kukuk@suse.de + +- Fix filelist (exclude /usr/bin as directory) + +------------------------------------------------------------------- +Mon Feb 4 13:21:37 CET 2002 - poeml@suse.de + +- created package + diff --git a/initviocons.spec b/initviocons.spec new file mode 100644 index 0000000..41d668f --- /dev/null +++ b/initviocons.spec @@ -0,0 +1,63 @@ +# +# spec file for package initviocons +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: initviocons +Version: 0.5 +Release: 0 +Summary: Terminal Initialization, e.g. for the iSeries Virtual Console +License: GPL-2.0-or-later +Group: System/Console +URL: http://svn.poeml.de/viewcvs/initviocons/ +Source: initviocons-%{version}.tar.bz2 +BuildRequires: automake + +%description +Initviocons can be used on the iSeries platform to recognize terminal +features of a telnet client that is connected to the virtual console +(similar to a serial console). It probes the terminal via escape +sequences to find out the screen size and a suitable TERM type. It also +does special initialization if possible (for example, carriage return +suppression for Windows telnet clients). On the iSeries platform, it +additionally checks for the presence of more than one terminal +connected on the same line. See %{_sysconfdir}/profile for a usage example. + +%prep +%setup -q -n initviocons-%{version} + +%build +autoreconf -fi +%configure +%make_build CFLAGS="%{optflags} -Wall" + +%install +%make_install +install -m 0755 termprobes %{buildroot}/%{_bindir}/termprobes +%if 0%{?suse_version} < 1550 +mkdir -p %{buildroot}/bin +ln -sf %{_bindir}/initviocons %{buildroot}/bin +%endif + +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%if 0%{?suse_version} < 1550 +/bin/* +%endif +%{_bindir}/* + +%changelog