Hello community,
here is the log from the commit of package xlogin for openSUSE:Factory checked in at 2014-12-05 21:04:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xlogin (Old)
and /work/SRC/openSUSE:Factory/.xlogin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xlogin"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xlogin/xlogin.changes 2014-11-04 17:29:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xlogin.new/xlogin.changes 2014-12-05 21:03:54.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Nov 18 23:05:00 UTC 2014 - Led
+
+- fix bashisms in xtelnet script:
+ option '-e' of 'echo' command may be unsupported in other
+ POSIX-complete shells
+- add patches:
+ * xlogin-0.2-fix-bashisms.patch
+
+-------------------------------------------------------------------
New:
----
xlogin-0.2-fix-bashisms.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xlogin.spec ++++++
--- /var/tmp/diff_new_pack.mRIFMC/_old 2014-12-05 21:03:55.000000000 +0100
+++ /var/tmp/diff_new_pack.mRIFMC/_new 2014-12-05 21:03:55.000000000 +0100
@@ -26,6 +26,7 @@
Group: Productivity/Networking/Other
Source: xlogin-0.2.tar.gz
Patch: xlogin-0.2.dif
+Patch1: xlogin-0.2-fix-bashisms.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -50,6 +51,7 @@
%prep
%setup
%patch
+%patch1 -p1
xmkmf
%build
++++++ xlogin-0.2-fix-bashisms.patch ++++++
diff -Ndur xlogin-0.2/xtelnet.script xlogin-0.2-fix-bashisms/xtelnet.script
--- xlogin-0.2/xtelnet.script 2006-08-21 20:33:49.000000000 +0300
+++ xlogin-0.2-fix-bashisms/xtelnet.script 2014-11-19 01:02:18.361062183 +0200
@@ -24,7 +24,8 @@
#
usage ()
{
- echo -e "$0: Usage\n $0 [-iconic] [-a] [-q] host [host ...]" 1>&2
+ echo "$0: Usage" >&2
+ echo " $0 [-iconic] [-a] [-q] host [host ...]" >&2
exit 1
}
#
@@ -43,11 +44,13 @@
#
# And start the xterm
#
-test -z "$quiet" && echo -e "$0:
+if [ -z "$quiet" ]; then
+ echo "$0:
If you have problems with the backspace key you should execute
the command line:
-\tstty erase '$kbs'
+ stty erase '$kbs'
after successful login."
+fi
for h in $hosts; do
${term} -T "telnet ${h}" -n ${h} ${iconic} ${tn} -tm "erase ${kbs}" \
-e ${telnet} ${h} &
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org