Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-06-04 01:47:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tigervnc" Sun Jun 4 01:47:03 2017 rev:40 rq:500601 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes 2017-03-10 20:36:35.395200850 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-06-04 01:47:04.328340282 +0200 @@ -1,0 +2,27 @@ +Fri Jun 2 10:02:06 UTC 2017 - [email protected] + +- removed unneeded -fPIC flags for CFLAGS, these made it avoid + PIE support. + +------------------------------------------------------------------- +Wed May 31 11:33:52 UTC 2017 - [email protected] + +- Update to tigervnc 1.8.0 + * Overhaul of the Java client to match the look and behaviour of the native client + * Initial work for multi-threaded decoding in the Java client + * vncconfig no longer needed for clipboard with Xvnc/libvnc.so + * vncserver has system wide config support + * Full support for alpha cursors in Xvnc/libvnc.so and both viewers + +- Removed patches: + * U_Add-xorg-xserver-1.19-support.patch + * U_tigervnc-fix-inetd-not-working-with-xserver-1-19.patch + * U_tigervnc-better-check-for-screen-visibility.patch + +------------------------------------------------------------------- +Mon Apr 10 14:24:51 UTC 2017 - [email protected] + +- U_tigervnc-better-check-for-screen-visibility.patch + * Crop operations to visible screen. (bnc#1032272) + +------------------------------------------------------------------- Old: ---- U_Add-xorg-xserver-1.19-support.patch U_tigervnc-fix-inetd-not-working-with-xserver-1-19.patch v1.7.1.tar.gz New: ---- v1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tigervnc.spec ++++++ --- /var/tmp/diff_new_pack.F4JHSw/_old 2017-06-04 01:47:05.768136847 +0200 +++ /var/tmp/diff_new_pack.F4JHSw/_new 2017-06-04 01:47:05.772136282 +0200 @@ -23,7 +23,7 @@ %define tlscert %{_sysconfdir}/vnc/tls.cert Name: tigervnc -Version: 1.7.1 +Version: 1.8.0 Release: 0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -120,8 +120,6 @@ Patch7: u_tigervnc_update_default_vncxstartup.patch Patch8: u_build_libXvnc_as_separate_library.patch Patch9: u_tigervnc-show-unencrypted-warning.patch -Patch10: U_Add-xorg-xserver-1.19-support.patch -Patch11: U_tigervnc-fix-inetd-not-working-with-xserver-1-19.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -180,16 +178,14 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 -%patch10 -p1 -%patch11 -p1 pushd unix/xserver patch -p1 < ../xserver119.patch popd %build -export CXXFLAGS="%optflags -fPIC" -export CFLAGS="%optflags -fPIC" +export CXXFLAGS="%optflags" +export CFLAGS="%optflags" # Build all tigervnc cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TIMESTAMP="??-??-?? ??:??" make %{?_smp_mflags} ++++++ tigervnc-clean-pressed-key-on-exit.patch ++++++ --- /var/tmp/diff_new_pack.F4JHSw/_old 2017-06-04 01:47:05.844126110 +0200 +++ /var/tmp/diff_new_pack.F4JHSw/_new 2017-06-04 01:47:05.844126110 +0200 @@ -1,21 +1,21 @@ -Index: tigervnc-1.7.0/vncviewer/DesktopWindow.cxx +Index: tigervnc-1.8.0/vncviewer/DesktopWindow.cxx =================================================================== ---- tigervnc-1.7.0.orig/vncviewer/DesktopWindow.cxx -+++ tigervnc-1.7.0/vncviewer/DesktopWindow.cxx -@@ -177,6 +177,8 @@ DesktopWindow::~DesktopWindow() +--- tigervnc-1.8.0.orig/vncviewer/DesktopWindow.cxx ++++ tigervnc-1.8.0/vncviewer/DesktopWindow.cxx +@@ -206,6 +206,8 @@ DesktopWindow::~DesktopWindow() - OptionsDialog::removeCallback(handleOptions); + delete statsGraph; + delete viewport; + // FLTK automatically deletes all child widgets, so we shouldn't touch // them ourselves here } -Index: tigervnc-1.7.0/vncviewer/Viewport.cxx +Index: tigervnc-1.8.0/vncviewer/Viewport.cxx =================================================================== ---- tigervnc-1.7.0.orig/vncviewer/Viewport.cxx -+++ tigervnc-1.7.0/vncviewer/Viewport.cxx -@@ -140,6 +140,11 @@ Viewport::Viewport(int w, int h, const r +--- tigervnc-1.8.0.orig/vncviewer/Viewport.cxx ++++ tigervnc-1.8.0/vncviewer/Viewport.cxx +@@ -131,6 +131,11 @@ Viewport::Viewport(int w, int h, const r Viewport::~Viewport() { @@ -27,10 +27,10 @@ // Unregister all timeouts in case they get a change tro trigger // again later when this object is already gone. Fl::remove_timeout(handlePointerTimeout, this); -Index: tigervnc-1.7.0/vncviewer/vncviewer.cxx +Index: tigervnc-1.8.0/vncviewer/vncviewer.cxx =================================================================== ---- tigervnc-1.7.0.orig/vncviewer/vncviewer.cxx -+++ tigervnc-1.7.0/vncviewer/vncviewer.cxx +--- tigervnc-1.8.0.orig/vncviewer/vncviewer.cxx ++++ tigervnc-1.8.0/vncviewer/vncviewer.cxx @@ -107,6 +107,8 @@ static const char *about_text() return buffer; } ++++++ u_tigervnc-add-autoaccept-parameter.patch ++++++ --- /var/tmp/diff_new_pack.F4JHSw/_old 2017-06-04 01:47:05.864123285 +0200 +++ /var/tmp/diff_new_pack.F4JHSw/_new 2017-06-04 01:47:05.864123285 +0200 @@ -1,10 +1,10 @@ -Index: tigervnc-1.6.0/java/com/tigervnc/rfb/CSecurityTLS.java +Index: tigervnc-1.8.0/java/com/tigervnc/rfb/CSecurityTLS.java =================================================================== ---- tigervnc-1.6.0.orig/java/com/tigervnc/rfb/CSecurityTLS.java -+++ tigervnc-1.6.0/java/com/tigervnc/rfb/CSecurityTLS.java +--- tigervnc-1.8.0.orig/java/com/tigervnc/rfb/CSecurityTLS.java ++++ tigervnc-1.8.0/java/com/tigervnc/rfb/CSecurityTLS.java @@ -64,6 +64,9 @@ public class CSecurityTLS extends CSecur - public static StringParameter x509crl - = new StringParameter("x509crl", + public static StringParameter X509CRL + = new StringParameter("X509CRL", "X509 CRL file", "", Configuration.ConfigurationObject.ConfViewer); + public static StringParameter x509autoaccept + = new StringParameter("x509autoaccept", @@ -14,8 +14,8 @@ { @@ -82,6 +85,7 @@ public class CSecurityTLS extends CSecur setDefaults(); - cafile = x509ca.getData(); - crlfile = x509crl.getData(); + cafile = X509CA.getData(); + crlfile = X509CRL.getData(); + certautoaccept = x509autoaccept.getData(); } @@ -41,24 +41,16 @@ private FdInStream is; private FdOutStream os; -Index: tigervnc-1.6.0/java/com/tigervnc/vncviewer/VncViewer.java +Index: tigervnc-1.8.0/java/com/tigervnc/vncviewer/VncViewer.java =================================================================== ---- tigervnc-1.6.0.orig/java/com/tigervnc/vncviewer/VncViewer.java -+++ tigervnc-1.6.0/java/com/tigervnc/vncviewer/VncViewer.java -@@ -353,6 +353,8 @@ public class VncViewer extends javax.swi - parent.setFocusTraversalKeysEnabled(false); +--- tigervnc-1.8.0.orig/java/com/tigervnc/vncviewer/VncViewer.java ++++ tigervnc-1.8.0/java/com/tigervnc/vncviewer/VncViewer.java +@@ -368,6 +368,8 @@ public class VncViewer extends javax.swi + // Called right after zero-arg constructor in applet mode setLookAndFeel(); setBackground(Color.white); + + SecurityClient.setDefaults(); - } - - private void getTimestamp() { -@@ -374,6 +376,7 @@ public class VncViewer extends javax.swi - if (embed.getValue() && nViewers == 0) { - alwaysShowServerDialog.setParam(false); - Configuration.global().readAppletParams(this); -+ Configuration.viewer().readAppletParams(this); - fullScreen.setParam(false); - scalingFactor.setParam("100"); - String host = getCodeBase().getHost(); + applet = this; + vncServerName.put(loadAppletParameters(applet).toCharArray()).flip(); + if (embed.getValue()) { ++++++ u_tigervnc-cve-2014-8240.patch ++++++ --- /var/tmp/diff_new_pack.F4JHSw/_old 2017-06-04 01:47:05.880121024 +0200 +++ /var/tmp/diff_new_pack.F4JHSw/_new 2017-06-04 01:47:05.880121024 +0200 @@ -2,10 +2,10 @@ References: bnc#900896 CVE-2014-8240 Signed-off-by: Michal Srb <[email protected]> -Index: tigervnc-1.4.1/unix/x0vncserver/Image.cxx +Index: tigervnc-1.8.0/unix/x0vncserver/Image.cxx =================================================================== ---- tigervnc-1.4.1.orig/unix/x0vncserver/Image.cxx -+++ tigervnc-1.4.1/unix/x0vncserver/Image.cxx +--- tigervnc-1.8.0.orig/unix/x0vncserver/Image.cxx ++++ tigervnc-1.8.0/unix/x0vncserver/Image.cxx @@ -80,6 +80,14 @@ void Image::Init(int width, int height) xim = XCreateImage(dpy, vis, DefaultDepth(dpy, DefaultScreen(dpy)), ZPixmap, 0, 0, width, height, BitmapPad(dpy), 0); @@ -39,40 +39,3 @@ } shminfo->shmid = shmget(IPC_PRIVATE, -Index: tigervnc-1.4.1/vncviewer/X11PixelBuffer.cxx -=================================================================== ---- tigervnc-1.4.1.orig/vncviewer/X11PixelBuffer.cxx -+++ tigervnc-1.4.1/vncviewer/X11PixelBuffer.cxx -@@ -106,6 +106,15 @@ X11PixelBuffer::X11PixelBuffer(int width - if (!xim) - throw rfb::Exception(_("Could not create framebuffer image")); - -+ if (xim->bytes_per_line <= 0 || -+ xim->height <= 0 || -+ xim->height >= INT_MAX / xim->bytes_per_line) { -+ if (xim) -+ XDestroyImage(xim); -+ xim = NULL; -+ throw rfb::Exception("Invalid display size"); -+ } -+ - xim->data = (char*)malloc(xim->bytes_per_line * xim->height); - if (!xim->data) - throw rfb::Exception(_("Not enough memory for framebuffer")); -@@ -172,6 +181,16 @@ int X11PixelBuffer::setupShm() - if (!xim) - goto free_shminfo; - -+ if (xim->bytes_per_line <= 0 || -+ xim->height <= 0 || -+ xim->height >= INT_MAX / xim->bytes_per_line) { -+ XDestroyImage(xim); -+ xim = NULL; -+ delete shminfo; -+ shminfo = NULL; -+ throw rfb::Exception("Invalid display size"); -+ } -+ - shminfo->shmid = shmget(IPC_PRIVATE, - xim->bytes_per_line * xim->height, - IPC_CREAT|0777); ++++++ v1.7.1.tar.gz -> v1.8.0.tar.gz ++++++ ++++ 35193 lines of diff (skipped)
