OBS User unknown 2008-04-20 23:48:39 +00:00 committed by Git OBS Bridge
parent db960625ac
commit 0ee0f71602
4 changed files with 33 additions and 2 deletions

22
openssh-5.0p1-pts.diff Normal file
View File

@ -0,0 +1,22 @@
--- loginrec.c
+++ loginrec.c 2008-04-18 17:58:59.585065028 +0200
@@ -549,7 +549,7 @@ getlast_entry(struct logininfo *li)
* 1. The full filename (including '/dev')
* 2. The stripped name (excluding '/dev')
* 3. The abbreviated name (e.g. /dev/ttyp00 -> yp00
- * /dev/pts/1 -> ts/1 )
+ * /dev/pts/1 -> /1 )
*
* Form 3 is used on some systems to identify a .tmp.? entry when
* attempting to remove it. Typically both addition and removal is
@@ -610,6 +610,10 @@ line_abbrevname(char *dst, const char *s
if (strncmp(src, "tty", 3) == 0)
src += 3;
#endif
+ if (strncmp(src, "pts/", 4) == 0) {
+ src += 3;
+ if (strlen(src) > 4) src++;
+ }
len = strlen(src);

View File

@ -16,7 +16,7 @@ BuildRequires: gtk2-devel krb5-devel opensc-devel openssh openssl-devel pam-dev
License: BSD 3-Clause License: BSD 3-Clause
Group: Productivity/Networking/SSH Group: Productivity/Networking/SSH
Version: 5.0p1 Version: 5.0p1
Release: 1 Release: 5
Requires: openssh = %{version} openssh-askpass = %{version} Requires: openssh = %{version} openssh-askpass = %{version}
AutoReqProv: on AutoReqProv: on
Summary: A GNOME-Based Passphrase Dialog for OpenSSH Summary: A GNOME-Based Passphrase Dialog for OpenSSH

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 18 17:53:30 CEST 2008 - werner@suse.de
- Handle pts slave lines like utemper
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 9 14:37:57 CEST 2008 - anicka@suse.cz Wed Apr 9 14:37:57 CEST 2008 - anicka@suse.cz

View File

@ -30,7 +30,7 @@ PreReq: /usr/sbin/groupadd /usr/sbin/useradd %insserv_prereq %fillup_pr
Conflicts: nonfreessh Conflicts: nonfreessh
AutoReqProv: on AutoReqProv: on
Version: 5.0p1 Version: 5.0p1
Release: 1 Release: 4
%define xversion 1.2.4.1 %define xversion 1.2.4.1
Summary: Secure Shell Client and Server (Remote Login Program) Summary: Secure Shell Client and Server (Remote Login Program)
Url: http://www.openssh.com/ Url: http://www.openssh.com/
@ -61,6 +61,7 @@ Patch41: %{name}-%{version}-gcc-fix.patch
Patch42: %{name}-gssapi_krb5-fix.patch Patch42: %{name}-gssapi_krb5-fix.patch
Patch43: %{name}-%{version}-default-protocol.diff Patch43: %{name}-%{version}-default-protocol.diff
Patch44: %{name}-%{version}-audit.patch Patch44: %{name}-%{version}-audit.patch
Patch45: %{name}-%{version}-pts.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package askpass %package askpass
@ -150,6 +151,7 @@ Authors:
%patch42 %patch42
%patch43 %patch43
%patch44 -p1 %patch44 -p1
%patch45
cp -v %{SOURCE4} . cp -v %{SOURCE4} .
cp -v %{SOURCE6} . cp -v %{SOURCE6} .
cd ../x11-ssh-askpass-%{xversion} cd ../x11-ssh-askpass-%{xversion}
@ -292,6 +294,8 @@ rm -rf $RPM_BUILD_ROOT
%config %_appdefdir/SshAskpass %config %_appdefdir/SshAskpass
%changelog %changelog
* Fri Apr 18 2008 werner@suse.de
- Handle pts slave lines like utemper
* Wed Apr 09 2008 anicka@suse.cz * Wed Apr 09 2008 anicka@suse.cz
- update to 5.0p1 - update to 5.0p1
* CVE-2008-1483: Avoid possible hijacking of X11-forwarded * CVE-2008-1483: Avoid possible hijacking of X11-forwarded