Improve compatibility with vinagre client (#692048).
Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
d44e21d6f6
commit
3a8abefd95
@ -1,6 +1,6 @@
|
|||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 1.0.90
|
Version: 1.0.90
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -44,6 +44,7 @@ Patch8: tigervnc-viewer-reparent.patch
|
|||||||
Patch10: tigervnc11-ldnow.patch
|
Patch10: tigervnc11-ldnow.patch
|
||||||
Patch11: tigervnc11-gethomedir.patch
|
Patch11: tigervnc11-gethomedir.patch
|
||||||
Patch12: tigervnc11-glx.patch
|
Patch12: tigervnc11-glx.patch
|
||||||
|
Patch13: tigervnc11-rh692048.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Network Computing (VNC) is a remote display system which
|
Virtual Network Computing (VNC) is a remote display system which
|
||||||
@ -131,6 +132,7 @@ This package contains license of the TigerVNC suite
|
|||||||
%patch10 -p1 -b .ldnow
|
%patch10 -p1 -b .ldnow
|
||||||
%patch11 -p1 -b .gethomedir
|
%patch11 -p1 -b .gethomedir
|
||||||
%patch12 -p1 -b .glx
|
%patch12 -p1 -b .glx
|
||||||
|
%patch13 -p1 -b .rh692048
|
||||||
|
|
||||||
cp -r /usr/share/xorg-x11-server-source/* unix/xserver
|
cp -r /usr/share/xorg-x11-server-source/* unix/xserver
|
||||||
pushd unix/xserver
|
pushd unix/xserver
|
||||||
@ -300,6 +302,9 @@ fi
|
|||||||
%doc LICENCE.TXT
|
%doc LICENCE.TXT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 08 2011 Adam Tkac <atkac redhat com> - 1.0.90-2
|
||||||
|
- improve compatibility with vinagre client (#692048)
|
||||||
|
|
||||||
* Tue Mar 22 2011 Adam Tkac <atkac redhat com> - 1.0.90-1
|
* Tue Mar 22 2011 Adam Tkac <atkac redhat com> - 1.0.90-1
|
||||||
- update to 1.0.90
|
- update to 1.0.90
|
||||||
|
|
||||||
|
44
tigervnc11-rh692048.patch
Normal file
44
tigervnc11-rh692048.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
diff -up tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx.rh690245 tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx
|
||||||
|
--- tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx.rh690245 2011-02-21 14:14:16.000000000 +0100
|
||||||
|
+++ tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx 2011-03-31 09:47:34.519099718 +0200
|
||||||
|
@@ -45,7 +45,7 @@ StringParameter SecurityClient::secTypes
|
||||||
|
("SecurityTypes",
|
||||||
|
"Specify which security scheme to use (None, VncAuth)",
|
||||||
|
#ifdef HAVE_GNUTLS
|
||||||
|
- "X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None",
|
||||||
|
+ "VeNCrypt,X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None",
|
||||||
|
#else
|
||||||
|
"VncAuth,None",
|
||||||
|
#endif
|
||||||
|
diff -up tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx.rh690245 tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx
|
||||||
|
--- tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx.rh690245 2011-02-21 14:14:16.000000000 +0100
|
||||||
|
+++ tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx 2011-03-31 09:47:34.519099718 +0200
|
||||||
|
@@ -67,7 +67,6 @@ const std::list<rdr::U8> Security::GetEn
|
||||||
|
list<rdr::U8> result;
|
||||||
|
list<U32>::iterator i;
|
||||||
|
|
||||||
|
- result.push_back(secTypeVeNCrypt);
|
||||||
|
for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++)
|
||||||
|
if (*i < 0x100)
|
||||||
|
result.push_back(*i);
|
||||||
|
@@ -105,8 +104,6 @@ bool Security::IsSupported(U32 secType)
|
||||||
|
for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++)
|
||||||
|
if (*i == secType)
|
||||||
|
return true;
|
||||||
|
- if (secType == secTypeVeNCrypt)
|
||||||
|
- return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
diff -up tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx.rh690245 tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx
|
||||||
|
--- tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx.rh690245 2011-02-21 14:50:17.000000000 +0100
|
||||||
|
+++ tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx 2011-03-31 10:06:43.595362302 +0200
|
||||||
|
@@ -39,7 +39,7 @@ StringParameter SecurityServer::secTypes
|
||||||
|
("SecurityTypes",
|
||||||
|
"Specify which security scheme to use (None, VncAuth)",
|
||||||
|
#ifdef HAVE_GNUTLS
|
||||||
|
- "VncAuth,TLSVnc",
|
||||||
|
+ "VncAuth",
|
||||||
|
#else
|
||||||
|
"VncAuth",
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user