commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-09-30 19:54:00 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.4249 (New) Package is "tigervnc" Wed Sep 30 19:54:00 2020 rev:71 rq:838621 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-09-29 18:59:22.289596236 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.4249/tigervnc.changes 2020-09-30 19:54:15.000777126 +0200 @@ -4 +4,5 @@ -- U_0001-Properly-store-certificate-exceptions.patch, +- CVE-2020-26117: Server certificates were stored as certiticate + authoritied, allowing malicious owners of these certificates + to impersonate any server after a client had added an exception + (boo#1176733) + U_0001-Properly-store-certificate-exceptions.patch, @@ -6 +9,0 @@ - * Properly store certificate exceptions (boo#1176733) Other differences: --
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-09-29 18:59:18 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.4249 (New) Package is "tigervnc" Tue Sep 29 18:59:18 2020 rev:70 rq:837392 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-09-18 14:36:26.675736964 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.4249/tigervnc.changes 2020-09-29 18:59:22.289596236 +0200 @@ -1,0 +2,8 @@ +Fri Sep 25 10:38:58 UTC 2020 - Stefan Dirsch + +- U_0001-Properly-store-certificate-exceptions.patch, + U_0002-Properly-store-certificate-exceptions-in-Java-viewer.patch + * Properly store certificate exceptions (boo#1176733) +- adjusted u_tigervnc-add-autoaccept-parameter.patch + +--- New: U_0001-Properly-store-certificate-exceptions.patch U_0002-Properly-store-certificate-exceptions-in-Java-viewer.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.ZmI7YA/_old 2020-09-29 18:59:23.469597669 +0200 +++ /var/tmp/diff_new_pack.ZmI7YA/_new 2020-09-29 18:59:23.473597674 +0200 @@ -147,6 +147,8 @@ Patch11:U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch Patch12:tigervnc-fix-saving-of-bad-server-certs.patch Patch13:u_xorg-server-1.20.7-ddxInputThreadInit.patch +Patch21:U_0001-Properly-store-certificate-exceptions.patch +Patch22: U_0002-Properly-store-certificate-exceptions-in-Java-viewer.patch %description TigerVNC is an implementation of VNC (Virtual Network Computing), a @@ -259,12 +261,14 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 -%patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch21 -p1 +%patch22 -p1 +%patch8 -p1 cp -r %{_prefix}/src/xserver/* unix/xserver/ pushd unix/xserver ++ U_0001-Properly-store-certificate-exceptions.patch ++ >From b30f10c681ec87720cff85d490f67098568a9cba Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 21 May 2020 21:10:38 +0200 Subject: [PATCH] Properly store certificate exceptions The previous method stored the certificates as authorities, meaning that the owner of that certificate could impersonate any server it wanted after a client had added an exception. Handle this more properly by only storing exceptions for specific hostname/certificate combinations, the same way browsers or SSH does things. --- common/rfb/CSecurityTLS.cxx | 163 1 file changed, 73 insertions(+), 90 deletions(-) diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx index 5c303a37..99008378 100644 --- a/common/rfb/CSecurityTLS.cxx +++ b/common/rfb/CSecurityTLS.cxx @@ -250,22 +250,6 @@ void CSecurityTLS::setParam() if (*cafile && gnutls_certificate_set_x509_trust_file(cert_cred,cafile,GNUTLS_X509_FMT_PEM) < 0) throw AuthFailureException("load of CA cert failed"); -/* Load previously saved certs */ -char *homeDir = NULL; -int err; -if (getvnchomedir(&homeDir) == -1) - vlog.error("Could not obtain VNC home directory path"); -else { - CharArray caSave(strlen(homeDir) + 19 + 1); - sprintf(caSave.buf, "%sx509_savedcerts.pem", homeDir); - delete [] homeDir; - - err = gnutls_certificate_set_x509_trust_file(cert_cred, caSave.buf, - GNUTLS_X509_FMT_PEM); - if (err < 0) -vlog.debug("Failed to load saved server certificates from %s", caSave.buf); -} - if (*crlfile && gnutls_certificate_set_x509_crl_file(cert_cred,crlfile,GNUTLS_X509_FMT_PEM) < 0) throw AuthFailureException("load of CRL failed"); @@ -290,7 +274,10 @@ void CSecurityTLS::checkSession() const gnutls_datum_t *cert_list; unsigned int cert_list_size = 0; int err; + + char *homeDir; gnutls_datum_t info; + size_t len; if (anon) return; @@ -333,13 +320,13 @@ void CSecurityTLS::checkSession() throw AuthFailureException("decoding of certificate failed"); if (gnutls_x509_crt_check_hostname(crt, client->getServerName()) == 0) { -char buf[255]; +CharArray text; vlog.debug("hostname mismatch"); -snprintf(buf, sizeof(buf), "Hostname (%s) does not match any certificate, " - "do you want to continue?", client->getServerName()); -buf[sizeof(buf) - 1] = '\0'; -if (!msg->showMsgBox(UserMsgBox::M_YESNO, "hostname mismatch", buf)) - throw AuthFailureException("hostname mismatch"); +text.format("Hostname (%s) does not match the server certificate, " +"do you wa
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-09-18 14:33:10 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.4249 (New) Package is "tigervnc" Fri Sep 18 14:33:10 2020 rev:69 rq:835044 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-08-27 14:41:59.181232410 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.4249/tigervnc.changes 2020-09-18 14:36:26.675736964 +0200 @@ -1,0 +2,5 @@ +Wed Sep 16 10:01:17 UTC 2020 - Stefan Dirsch + +- vnserver: fix startup of Plasma desktop (boo#1176571) + +--- Other differences: -- ++ u_tigervnc_update_default_vncxstartup.patch ++ --- /var/tmp/diff_new_pack.qztTwn/_old 2020-09-18 14:36:28.187738313 +0200 +++ /var/tmp/diff_new_pack.qztTwn/_new 2020-09-18 14:36:28.187738313 +0200 @@ -33,12 +33,12 @@ - " exec /etc/X11/xinit/xinitrc\n". + "\n". + "if [ -x \"\$client\" ]; then\n". -+ " exec \"\$client\"\n". ++ " exec dbus-launch --exit-with-x11 \"\$client\"\n". "fi\n". - "if [ -f /etc/X11/xinit/xinitrc ]; then\n". - " exec sh /etc/X11/xinit/xinitrc\n". + "if [ -f \"\$client\" ]; then\n". -+ " exec sh \"\$client\"\n". ++ " exec dbus-launch --exit-with-x11 sh \"\$client\"\n". "fi\n". + "\n". "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-08-27 14:41:57 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.3399 (New) Package is "tigervnc" Thu Aug 27 14:41:57 2020 rev:68 rq:828750 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-07-02 23:57:23.837083490 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.3399/tigervnc.changes 2020-08-27 14:41:59.181232410 +0200 @@ -1,0 +2,6 @@ +Wed Aug 19 09:51:43 UTC 2020 - Callum Farmer + +- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075) +- Spec file cleanups + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.lrZ587/_old 2020-08-27 14:42:00.001231648 +0200 +++ /var/tmp/diff_new_pack.lrZ587/_new 2020-08-27 14:42:00.005231644 +0200 @@ -266,7 +266,7 @@ %patch12 -p1 %patch13 -p1 -cp -r /usr/src/xserver/* unix/xserver/ +cp -r %{_prefix}/src/xserver/* unix/xserver/ pushd unix/xserver patch -p1 < ../xserver120.patch popd @@ -285,8 +285,8 @@ --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ --disable-xwin --disable-xephyr --disable-kdrive --with-pic \ --disable-static --disable-xinerama \ ---with-xkb-path="/usr/share/X11/xkb" \ ---with-xkb-output="/var/lib/xkb/compiled" \ +--with-xkb-path="%{_datadir}/X11/xkb" \ +--with-xkb-output="%{_sharedstatedir}/xkb/compiled" \ --enable-glx --enable-dri \ %ifnarch s390 s390x --enable-dri2 \ @@ -297,7 +297,7 @@ --without-dtrace \ --disable-unit-tests \ --disable-devel-docs \ ---with-fontrootdir=/usr/share/fonts \ +--with-fontrootdir=%{_datadir}/fonts \ --disable-selective-werror make %{?_smp_mflags} V=1 popd @@ -312,50 +312,50 @@ %make_install -mv $RPM_BUILD_ROOT/usr/bin/vncviewer $RPM_BUILD_ROOT/usr/bin/vncviewer-tigervnc -mv $RPM_BUILD_ROOT/usr/share/man/man1/vncviewer.1 $RPM_BUILD_ROOT/usr/share/man/man1/vncviewer-tigervnc.1 +mv %{buildroot}%{_bindir}/vncviewer %{buildroot}%{_bindir}/vncviewer-tigervnc +mv %{buildroot}%{_datadir}/man/man1/vncviewer.1 %{buildroot}%{_datadir}/man/man1/vncviewer-tigervnc.1 pushd unix/xserver %make_install popd pushd java -mkdir -p $RPM_BUILD_ROOT%{_datadir}/vnc/classes -install -m755 VncViewer.jar $RPM_BUILD_ROOT%{_datadir}/vnc/classes +mkdir -p %{buildroot}%{_datadir}/vnc/classes +install -m755 VncViewer.jar %{buildroot}%{_datadir}/vnc/classes popd %ifnarch s390x -install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/usr/share/X11/xorg.conf.d/10-libvnc.conf +install -D -m 644 %{SOURCE4} %{buildroot}%{_datadir}/X11/xorg.conf.d/10-libvnc.conf %endif %if %{use_firewalld} -install -D -m 644 %{SOURCE17} $RPM_BUILD_ROOT%{_libexecdir}/firewalld/services/tigervnc.xml -install -D -m 644 %{SOURCE18} $RPM_BUILD_ROOT%{_libexecdir}/firewalld/services/tigervnc-https.xml +install -D -m 644 %{SOURCE17} %{buildroot}%{_prefix}/lib/firewalld/services/tigervnc.xml +install -D -m 644 %{SOURCE18} %{buildroot}%{_prefix}/lib/firewalld/services/tigervnc-https.xml %else -install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server -install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd +install -D -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server +install -D -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd %endif # only package as %doc (boo#1173045) cp %{SOURCE7} . -install -D -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg -install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_distconfdir}/pam.d/vnc -install -D -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/vnc/classes +install -D -m 755 %{SOURCE8} %{buildroot}%{_bindir}/vncpasswd.arg +install -D -m 644 %{SOURCE9} %{buildroot}%{_distconfdir}/pam.d/vnc +install -D -m 644 %{SOURCE11} %{buildroot}%{_datadir}/vnc/classes %if 0%{?suse_version} >= 1315 -ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer -ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz +ln -s -f %{_sysconfdir}/alternatives/vncviewer %{buildroot}%{_bindir}/vncviewer +ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz %{buildroot}%{_mandir}/man1/vncviewer.1.gz %endif mkdir -p %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcxvnc ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcxvnc-novnc -mkdir -p $RPM_BUILD_ROOT%{_syscon
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-07-02 23:56:52 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.3060 (New) Package is "tigervnc" Thu Jul 2 23:56:52 2020 rev:67 rq:818107 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-04-14 15:18:34.560609086 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.3060/tigervnc.changes 2020-07-02 23:57:23.837083490 +0200 @@ -1,0 +2,7 @@ +Wed Jul 1 10:19:18 UTC 2020 - Stefan Dirsch + +- moved vnc snippet to /usr/share/X11/xorg.conf.d (boo#1173045) +- package SLP sample config vnc.reg only as %doc (boo#1173045) +- moved vnc pam config to /etc/usr/pam.d (boo#1173045) + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.2Ht3BN/_old 2020-07-02 23:57:25.933090438 +0200 +++ /var/tmp/diff_new_pack.2Ht3BN/_new 2020-07-02 23:57:25.937090452 +0200 @@ -30,6 +30,10 @@ %define use_firewalld 0 %endif +%if 0%{?suse_version} < 1550 +%define _distconfdir /etc +%endif + Name: tigervnc Version:1.10.1 Release:0 @@ -321,7 +325,7 @@ popd %ifnarch s390x -install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-libvnc.conf +install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/usr/share/X11/xorg.conf.d/10-libvnc.conf %endif %if %{use_firewalld} @@ -332,9 +336,10 @@ install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd %endif -install -D -m 644 %{SOURCE7} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg +# only package as %doc (boo#1173045) +cp %{SOURCE7} . install -D -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg -install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/vnc +install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_distconfdir}/pam.d/vnc install -D -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/vnc/classes %if 0%{?suse_version} >= 1315 ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer @@ -463,7 +468,7 @@ %_datadir/applications/vncviewer.desktop %files -n xorg-x11-Xvnc -%doc LICENCE.TXT README.rst +%doc LICENCE.TXT README.rst vnc.reg %defattr(-,root,root) %{_bindir}/Xvnc @@ -497,10 +502,11 @@ %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd %endif -%dir /etc/slp.reg.d -%config(noreplace) /etc/slp.reg.d/vnc.reg - -%config %{_sysconfdir}/pam.d/vnc +%if 0%{?suse_version} < 1550 +%config %{_distconfdir}/pam.d/vnc +%else +%{_distconfdir}/pam.d/vnc +%endif %dir %attr(0755,%{vncuser},%{vncuser}) %{_sysconfdir}/vnc %ghost %attr(0600,%{vncuser},%{vncuser}) %config(noreplace) %{tlskey} @@ -520,7 +526,7 @@ %exclude /usr/%{_lib}/xorg/protocol.txt %exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la %{_libdir}/xorg/modules/extensions/libvnc.so -%config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf +/usr/share/X11/xorg.conf.d/10-libvnc.conf %endif %files -n xorg-x11-Xvnc-novnc
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-04-14 15:09:03 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.2738 (New) Package is "tigervnc" Tue Apr 14 15:09:03 2020 rev:66 rq:793788 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-02-29 21:18:15.078054893 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.2738/tigervnc.changes 2020-04-14 15:18:34.560609086 +0200 @@ -1,0 +2,32 @@ +Mon Apr 13 18:20:43 UTC 2020 - Lorenzo Paulatto + +- TigerVNC 1.10.1: + Added libXdamage-devel and libXrandr-devel to the BuildRequisites, + to build x0vncserver with DAMAGE, RANDR and XTEXT support + +--- +Fri Apr 10 10:33:53 UTC 2020 - Andreas Stieger + +- TigerVNC 1.10.1: + Previously patched security fixes now in upstream release: + CVE-2019-15691, bsc#1159856 + CVE-2019-15692, bsc#1160250 + CVE-2019-15693, bsc#1159858 + CVE-2019-15694, bsc#1160251 + CVE-2019-15695, bsc#1159860 + dropping the following patches: + * 0001-Make-ZlibInStream-more-robust-against-failures.patch + * 0002-Encapsulate-PixelBuffer-internal-details.patch + * 0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch + * 0004-Add-write-protection-to-OffsetPixelBuffer.patch + * 0005-Handle-empty-Tight-gradient-rects.patch + * 0006-Add-unit-test-for-PixelFormat-sanity-checks.patch + * 0007-Fix-depth-sanity-test-in-PixelFormat.patch + * 0008-Add-sanity-checks-for-PixelFormat-shift-values.patch + * 0009-Remove-unused-FixedMemOutStream.patch + * 0010-Use-size_t-for-lengths-in-stream-objects.patch + * 0011-Be-defensive-about-overflows-in-stream-objects.patch + * 0012-Add-unit-tests-for-PixelFormat.is888-detection.patch + * 0013-Handle-pixel-formats-with-odd-shift-values.patch + +--- Old: 0001-Make-ZlibInStream-more-robust-against-failures.patch 0002-Encapsulate-PixelBuffer-internal-details.patch 0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch 0004-Add-write-protection-to-OffsetPixelBuffer.patch 0005-Handle-empty-Tight-gradient-rects.patch 0006-Add-unit-test-for-PixelFormat-sanity-checks.patch 0007-Fix-depth-sanity-test-in-PixelFormat.patch 0008-Add-sanity-checks-for-PixelFormat-shift-values.patch 0009-Remove-unused-FixedMemOutStream.patch 0010-Use-size_t-for-lengths-in-stream-objects.patch 0011-Be-defensive-about-overflows-in-stream-objects.patch 0012-Add-unit-tests-for-PixelFormat.is888-detection.patch 0013-Handle-pixel-formats-with-odd-shift-values.patch tigervnc-1.10.0.tar.gz New: tigervnc-1.10.1.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.u80ESV/_old 2020-04-14 15:18:35.300609844 +0200 +++ /var/tmp/diff_new_pack.u80ESV/_new 2020-04-14 15:18:35.304609848 +0200 @@ -31,7 +31,7 @@ %endif Name: tigervnc -Version:1.10.0 +Version:1.10.1 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -55,6 +55,8 @@ BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(xtst) # Because of keytool to build java client +BuildRequires: libXdamage-devel +BuildRequires: libXrandr-devel BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: mozilla-nss @@ -108,10 +110,9 @@ URL:http://tigervnc.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:An implementation of VNC -#Source1: https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz License:GPL-2.0-only AND MIT Group: System/X11/Servers/XF86_4 -Source1:tigervnc-%{version}.tar.gz +Source1: https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source4:10-libvnc.conf Source5:vnc-server.susefirewall Source6:vnc-httpd.susefirewall @@ -142,19 +143,6 @@ Patch11:U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch Patch12:tigervnc-fix-saving-of-bad-server-certs.patch Patch13:u_xorg-server-1.20.7-ddxInputThreadInit.patch -Patch21:0001-Make-ZlibInStream-more-robust-against-failures.patch -Patch22:0002-Encapsulate-PixelBuffer-internal-details.patch -Patch23:0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch -Patch24:0004-Add-write-protection-to-OffsetPixelBuffer.patch -Patch25:0005-Handle-empty-Tight-gradient-rects.patch -Patch26:0006-Add-unit-test-for-PixelFormat-sanity-checks.patch -Patch27:0007-Fix-depth-sanity-test-in-PixelFormat.patch -Pat
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-02-29 21:18:14 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.26092 (New) Package is "tigervnc" Sat Feb 29 21:18:14 2020 rev:65 rq:778811 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-02-15 22:23:24.843244641 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.26092/tigervnc.changes 2020-02-29 21:18:15.078054893 +0100 @@ -1,0 +2,6 @@ +Sun Feb 23 10:18:23 UTC 2020 - Hans-Peter Jansen + +- raise java dependency to 1.8.0 in order to compile the java part + on older distributions + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.a0bQf8/_old 2020-02-29 21:18:16.118054396 +0100 +++ /var/tmp/diff_new_pack.a0bQf8/_new 2020-02-29 21:18:16.122054394 +0100 @@ -42,7 +42,7 @@ BuildRequires: fltk-devel >= 1.3.3 BuildRequires: gcc-c++ BuildRequires: gcc-c++ -BuildRequires: java-devel >= 1.6.0 +BuildRequires: java-devel >= 1.8.0 BuildRequires: jpackage-utils BuildRequires: libjpeg-devel BuildRequires: libopenssl-devel
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-02-15 22:23:19 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.26092 (New) Package is "tigervnc" Sat Feb 15 22:23:19 2020 rev:64 rq:771558 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-01-18 12:17:14.959110534 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.26092/tigervnc.changes 2020-02-15 22:23:24.843244641 +0100 @@ -1,0 +2,6 @@ +Fri Feb 7 11:55:20 UTC 2020 - Stefan Dirsch + +- added a reference to bsc#1162951 about the reasoning why adding + the vnc user to the shadow group + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.V5wf6a/_old 2020-02-15 22:23:26.079245309 +0100 +++ /var/tmp/diff_new_pack.V5wf6a/_new 2020-02-15 22:23:26.079245309 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -407,6 +407,8 @@ getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || : getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || : +# add vnc user to shadow group. (bsc#980326) +# more details about the reasoning in bsc#1162951 usermod -G shadow -a %{vncuser} || : %post -n xorg-x11-Xvnc
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-01-18 12:15:43 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.26092 (New) Package is "tigervnc" Sat Jan 18 12:15:43 2020 rev:63 rq:764639 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-01-12 23:17:52.122671546 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.26092/tigervnc.changes 2020-01-18 12:17:14.959110534 +0100 @@ -1,0 +2,7 @@ +Wed Jan 15 11:42:20 UTC 2020 - Stefan Dirsch + +- u_xorg-server-1.20.7-ddxInputThreadInit.patch + * buildfix for xorg-server 1.20.7, which moved ddxInputThread +call from os layer into ddx layer + +--- New: u_xorg-server-1.20.7-ddxInputThreadInit.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.EYckXa/_old 2020-01-18 12:17:17.27774 +0100 +++ /var/tmp/diff_new_pack.EYckXa/_new 2020-01-18 12:17:17.275111777 +0100 @@ -141,6 +141,7 @@ Patch10:n_correct_path_in_desktop_file.patch Patch11:U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch Patch12:tigervnc-fix-saving-of-bad-server-certs.patch +Patch13:u_xorg-server-1.20.7-ddxInputThreadInit.patch Patch21:0001-Make-ZlibInStream-more-robust-against-failures.patch Patch22:0002-Encapsulate-PixelBuffer-internal-details.patch Patch23:0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch @@ -273,6 +274,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 ++ u_xorg-server-1.20.7-ddxInputThreadInit.patch ++ diff -u -p -r tigervnc-1.10.0.old/unix/xserver/hw/vnc/xvnc.c tigervnc-1.10.0/unix/xserver/hw/vnc/xvnc.c --- tigervnc-1.10.0.old/unix/xserver/hw/vnc/xvnc.c 2020-01-15 11:19:19.486731848 + +++ tigervnc-1.10.0/unix/xserver/hw/vnc/xvnc.c 2020-01-15 11:37:33.275445409 + @@ -295,6 +295,15 @@ void ddxBeforeReset(void) } #endif +#if INPUTTHREAD +/** This function is called in Xserver/os/inputthread.c when starting +the input thread. */ +void +ddxInputThreadInit(void) +{ +} +#endif + void ddxUseMsg(void) { vncPrintBanner();
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-01-12 23:17:04 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.6675 (New) Package is "tigervnc" Sun Jan 12 23:17:04 2020 rev:62 rq:762160 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2020-01-07 23:51:28.883973005 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.6675/tigervnc.changes 2020-01-12 23:17:52.122671546 +0100 @@ -1,0 +2,28 @@ +Tue Jan 7 15:43:09 UTC 2020 - Stefan Dirsch + +- TigerVNC security fix: + 0001-Make-ZlibInStream-more-robust-against-failures.patch + 0002-Encapsulate-PixelBuffer-internal-details.patch + 0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch + 0004-Add-write-protection-to-OffsetPixelBuffer.patch + 0005-Handle-empty-Tight-gradient-rects.patch + 0006-Add-unit-test-for-PixelFormat-sanity-checks.patch + 0007-Fix-depth-sanity-test-in-PixelFormat.patch + 0008-Add-sanity-checks-for-PixelFormat-shift-values.patch + 0009-Remove-unused-FixedMemOutStream.patch + 0010-Use-size_t-for-lengths-in-stream-objects.patch + 0011-Be-defensive-about-overflows-in-stream-objects.patch + 0012-Add-unit-tests-for-PixelFormat.is888-detection.patch + 0013-Handle-pixel-formats-with-odd-shift-values.patch + * stack use-after-return due to incorrect usage of stack memory +in ZRLEDecoder (CVE-2019-15691, bsc#1159856) + * improper value checks in CopyRectDecode may lead to heap +buffer overflow (CVE-2019-15692, bsc#1160250) + * heap buffer overflow in TightDecoder::FilterGradient +(CVE-2019-15693, bsc#1159858) + * improper error handling in processing MemOutStream may lead +to heap buffer overflow (CVE-2019-15694, bsc#1160251 + * stack buffer overflow, which could be triggered from +CMsgReader::readSetCurso (CVE-2019-15695, bsc#1159860) + +--- New: 0001-Make-ZlibInStream-more-robust-against-failures.patch 0002-Encapsulate-PixelBuffer-internal-details.patch 0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch 0004-Add-write-protection-to-OffsetPixelBuffer.patch 0005-Handle-empty-Tight-gradient-rects.patch 0006-Add-unit-test-for-PixelFormat-sanity-checks.patch 0007-Fix-depth-sanity-test-in-PixelFormat.patch 0008-Add-sanity-checks-for-PixelFormat-shift-values.patch 0009-Remove-unused-FixedMemOutStream.patch 0010-Use-size_t-for-lengths-in-stream-objects.patch 0011-Be-defensive-about-overflows-in-stream-objects.patch 0012-Add-unit-tests-for-PixelFormat.is888-detection.patch 0013-Handle-pixel-formats-with-odd-shift-values.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.PFiKfk/_old 2020-01-12 23:17:53.354672002 +0100 +++ /var/tmp/diff_new_pack.PFiKfk/_new 2020-01-12 23:17:53.354672002 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -141,6 +141,19 @@ Patch10:n_correct_path_in_desktop_file.patch Patch11:U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch Patch12:tigervnc-fix-saving-of-bad-server-certs.patch +Patch21:0001-Make-ZlibInStream-more-robust-against-failures.patch +Patch22:0002-Encapsulate-PixelBuffer-internal-details.patch +Patch23:0003-Restrict-PixelBuffer-dimensions-to-safe-values.patch +Patch24:0004-Add-write-protection-to-OffsetPixelBuffer.patch +Patch25:0005-Handle-empty-Tight-gradient-rects.patch +Patch26:0006-Add-unit-test-for-PixelFormat-sanity-checks.patch +Patch27:0007-Fix-depth-sanity-test-in-PixelFormat.patch +Patch28:0008-Add-sanity-checks-for-PixelFormat-shift-values.patch +Patch29:0009-Remove-unused-FixedMemOutStream.patch +Patch30:0010-Use-size_t-for-lengths-in-stream-objects.patch +Patch31:0011-Be-defensive-about-overflows-in-stream-objects.patch +Patch32:0012-Add-unit-tests-for-PixelFormat.is888-detection.patch +Patch33:0013-Handle-pixel-formats-with-odd-shift-values.patch %description TigerVNC is an implementation of VNC (Virtual Network Computing), a @@ -260,6 +273,19 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p1 +%patch26 -p1 +%patch27 -p1 +%patch28 -p1 +%patch29 -p1 +%patch30 -p1 +%patch31 -p1 +%patch32 -p1 +%patch33 -p1 pushd unix/xserver patch -p1 < ../xserver120.patch ++ 0001-Make
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2020-01-07 23:51:14 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.6675 (New) Package is "tigervnc" Tue Jan 7 23:51:14 2020 rev:61 rq:760855 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2019-10-09 15:18:26.320655797 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.6675/tigervnc.changes 2020-01-07 23:51:28.883973005 +0100 @@ -1,0 +2,21 @@ +Tue Dec 31 09:53:30 UTC 2019 - Loic Devulder + +- Add tigervnc-fix-saving-of-bad-server-certs.patch + * fix saving of bad server certificates (boo#1159948) + +--- +Tue Dec 3 10:32:36 UTC 2019 - Marius Kittler + +- tigervnc-1.10.0 + * The clipboard now supports full Unicode in the native viewer, WinVNC and Xvnc/libvnc.so + * The native client will now respect the system trust store when verifying server certificates + * Improved compatibility with VMware's VNC server + * Improved compatibility with some input methods on macOS + * Improvements to the automatic "repair" of JPEG artefacts + * Better handling of the Alt keys in some corner cases + * The Java web server has been removed as applets are no longer support by most browsers + * x0vncserver can now be configured to only allow local connections + * x0vncserver has received fixes for when only part of the display is shared + * Polling is now default in WinVNC as that works better for most + +--- Old: tigervnc-1.9.0-201-e71a426.tar.gz New: tigervnc-1.10.0.tar.gz tigervnc-fix-saving-of-bad-server-certs.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.2Iki6g/_old 2020-01-07 23:51:29.471973310 +0100 +++ /var/tmp/diff_new_pack.2Iki6g/_new 2020-01-07 23:51:29.475973312 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ %endif Name: tigervnc -Version:1.9.0 +Version:1.10.0 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -105,13 +105,13 @@ Requires(post): update-alternatives Requires(postun): update-alternatives %endif -Url:http://tigervnc.org/ +URL:http://tigervnc.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:An implementation of VNC #Source1: https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz License:GPL-2.0-only AND MIT Group: System/X11/Servers/XF86_4 -Source1:tigervnc-1.9.0-201-e71a426.tar.gz +Source1:tigervnc-%{version}.tar.gz Source4:10-libvnc.conf Source5:vnc-server.susefirewall Source6:vnc-httpd.susefirewall @@ -140,6 +140,7 @@ Patch9: u_change-button-layout-in-ServerDialog.patch Patch10:n_correct_path_in_desktop_file.patch Patch11:U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch +Patch12:tigervnc-fix-saving-of-bad-server-certs.patch %description TigerVNC is an implementation of VNC (Virtual Network Computing), a @@ -244,7 +245,7 @@ It maps common x11vnc arguments to x0vncserver arguments. %prep -%setup -T -b1 -q -n tigervnc +%setup -T -b1 -q -n tigervnc-%{version} cp -r /usr/src/xserver/* unix/xserver/ %patch1 -p1 @@ -258,6 +259,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 pushd unix/xserver patch -p1 < ../xserver120.patch ++ tigervnc-1.9.0-201-e71a426.tar.gz -> tigervnc-1.10.0.tar.gz ++ 5133 lines of diff (skipped) ++ tigervnc-fix-saving-of-bad-server-certs.patch ++ >From dbad687182ae9093efaf096a069eeafc18b22973 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 30 Dec 2019 10:24:11 +0100 Subject: [PATCH 1/2] Fix saving of bad server certificates This check is completely backwards and it is currently unknown how this ever worked. --- common/rfb/CSecurityTLS.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx index aa1910909..c1a00212a 100644 --- a/common/rfb/CSecurityTLS.cxx +++ b/common/rfb/CSecurityTLS.cxx @@ -416,8 +416,9 @@ void CSecurityTLS::checkSession() delete [] certinfo; if (gnutls_x509_crt_export(crt, GNUTLS_X509_FMT_PEM, NULL, &out_size) - == GNUTLS_E_SHORT_MEMORY_BUFFER) -throw A
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2019-10-09 15:18:24 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.2352 (New) Package is "tigervnc" Wed Oct 9 15:18:24 2019 rev:60 rq:735309 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2019-04-22 12:25:17.396978903 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.2352/tigervnc.changes 2019-10-09 15:18:26.320655797 +0200 @@ -1,0 +2,7 @@ +Fri Oct 4 14:19:48 UTC 2019 - Hans-Peter Jansen + +- tigervnc-1.9.0-201-e71a426 + * implements extended clipboard handling (now utf-8 based) + * fixes a couple of small glitches + +--- Old: tigervnc-1.9.0-199-005db35.tar.gz New: tigervnc-1.9.0-201-e71a426.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.bSOTcw/_old 2019-10-09 15:18:27.052653911 +0200 +++ /var/tmp/diff_new_pack.bSOTcw/_new 2019-10-09 15:18:27.052653911 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -111,7 +111,7 @@ #Source1: https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz License:GPL-2.0-only AND MIT Group: System/X11/Servers/XF86_4 -Source1:tigervnc-1.9.0-199-005db35.tar.gz +Source1:tigervnc-1.9.0-201-e71a426.tar.gz Source4:10-libvnc.conf Source5:vnc-server.susefirewall Source6:vnc-httpd.susefirewall ++ tigervnc-1.9.0-199-005db35.tar.gz -> tigervnc-1.9.0-201-e71a426.tar.gz ++ 9982 lines of diff (skipped)
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2019-04-22 12:25:15 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.5536 (New) Package is "tigervnc" Mon Apr 22 12:25:15 2019 rev:59 rq:696394 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2019-03-26 22:30:19.869736065 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.5536/tigervnc.changes 2019-04-22 12:25:17.396978903 +0200 @@ -1,0 +2,6 @@ +Sat Apr 20 09:54:02 UTC 2019 - Stefan Dirsch + +- tigervnc-1.9.0-199-005db35 + * update to current git master in order to fix boo#1132901 + +--- Old: v1.9.0.tar.gz New: tigervnc-1.9.0-199-005db35.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.ec172R/_old 2019-04-22 12:25:18.308980136 +0200 +++ /var/tmp/diff_new_pack.ec172R/_new 2019-04-22 12:25:18.312980142 +0200 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -108,9 +108,10 @@ Url:http://tigervnc.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:An implementation of VNC +#Source1: https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz License:GPL-2.0-only AND MIT Group: System/X11/Servers/XF86_4 -Source1:https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz +Source1:tigervnc-1.9.0-199-005db35.tar.gz Source4:10-libvnc.conf Source5:vnc-server.susefirewall Source6:vnc-httpd.susefirewall @@ -182,8 +183,8 @@ %package -n xorg-x11-Xvnc-module Requires: xorg-x11-Xvnc Summary:VNC module for X server +#%%{x11_abi_extension_req} Group: System/X11/Servers/XF86_4 -%{x11_abi_extension_req} %description -n xorg-x11-Xvnc-module This module allows to share content of X server's screen over VNC. @@ -243,7 +244,7 @@ It maps common x11vnc arguments to x0vncserver arguments. %prep -%setup -T -b1 -q +%setup -T -b1 -q -n tigervnc cp -r /usr/src/xserver/* unix/xserver/ %patch1 -p1 ++ U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch ++ --- /var/tmp/diff_new_pack.ec172R/_old 2019-04-22 12:25:18.352980196 +0200 +++ /var/tmp/diff_new_pack.ec172R/_new 2019-04-22 12:25:18.352980196 +0200 @@ -10,13 +10,13 @@ vncviewer/Viewport.cxx | 6 ++ 1 file changed, 6 insertions(+) -diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx -index 4e23dc8c..317f06b2 100644 +Index: b/vncviewer/Viewport.cxx +=== --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx -@@ -635,6 +635,12 @@ int Viewport::handle(int event) - exit_vncviewer(e.str()); - } +@@ -655,6 +655,12 @@ int Viewport::handle(int event) + if (menuAltKey) + handleKeyPress(0x38, XK_Alt_L); +// Resend Ctrl/Alt if needed +if (menuCtrlKey) @@ -27,6 +27,3 @@ // Yes, we would like some focus please! return 1; --- -2.16.4 - ++ n_tigervnc-date-time.patch ++ --- /var/tmp/diff_new_pack.ec172R/_old 2019-04-22 12:25:18.372980223 +0200 +++ /var/tmp/diff_new_pack.ec172R/_new 2019-04-22 12:25:18.372980223 +0200 @@ -1,74 +1,72 @@ -Index: tigervnc-1.9.0/unix/xserver/hw/vnc/buildtime.c +Index: b/unix/xserver/hw/vnc/buildtime.c === tigervnc-1.9.0.orig/unix/xserver/hw/vnc/buildtime.c -+++ tigervnc-1.9.0/unix/xserver/hw/vnc/buildtime.c +--- a/unix/xserver/hw/vnc/buildtime.c b/unix/xserver/hw/vnc/buildtime.c @@ -15,4 +15,4 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -char buildtime[] = __DATE__ " " __TIME__; +char buildtime[] = "??? ?? ??:??:??"; -Index: tigervnc-1.9.0/unix/vncconfig/buildtime.c +Index: b/unix/vncconfig/buildtime.c === tigervnc-1.9.0.orig/unix/vncconfig/buildtime.c -+++ tigervnc-1.9.0/unix/vncconfig/buildtime.c +--- a/unix/vncconfig/buildtime.c b/unix/vncconfig/buildtime.c @@ -15,4 +15,4 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -char buildtime[] = __DATE__ " " __TIME__; +char buildtime[] = "??? ?? ??:??:??"; -Index: tigervnc-1.9.0/unix/x0vncserver/buildtime.c +Index: b/unix/x0vncserver/buildtime.c ==
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2019-03-26 22:30:17 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.25356 (New) Package is "tigervnc" Tue Mar 26 22:30:17 2019 rev:58 rq:688637 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2019-02-08 12:07:30.121602088 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.25356/tigervnc.changes 2019-03-26 22:30:19.869736065 +0100 @@ -1,0 +2,28 @@ +Tue Mar 26 08:22:53 UTC 2019 - Yifan Jiang + +- Update with-vnc-key.sh to use only hostname for CN. + + The gnutls introduces gnutls_x509_crt_check_hostname2 in + gnutls/lib/x509/hostname-verify.c#L159 to check if the given + certificate's subject matches the given hostname. + + The function is used by the recent version of libvncclient which + will fail to verify the certification if there is a mismatching + between the connected hostname and the cert issuer's common name. + + https://github.com/LibVNC/libvncserver/commit/cc69ee9 + + So the previous way to generate the vnc server's cert brings a + complicated CN, making the client using libvncclient + (e.g. vinagre, remmina) hard to adapt the hostname check. It is + better to populate the hostname as the common name without extra + strings. + +--- +Thu Mar 21 09:16:51 UTC 2019 - Dominique Leuenberger + +- Change Requires(post): firewall-macros to BuildRequires: the + macros are expanded at build time and not needed at all at + runtime. + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.Q0imM5/_old 2019-03-26 22:30:21.577735653 +0100 +++ /var/tmp/diff_new_pack.Q0imM5/_new 2019-03-26 22:30:21.581735653 +0100 @@ -153,7 +153,7 @@ Requires(post): /bin/awk Requires(post): systemd %if %{use_firewalld} -Requires(post): firewall-macros +BuildRequires: firewall-macros %endif # Needed to generate certificates Requires: windowmanager ++ with-vnc-key.sh ++ --- /var/tmp/diff_new_pack.Q0imM5/_old 2019-03-26 22:30:21.801735599 +0100 +++ /var/tmp/diff_new_pack.Q0imM5/_new 2019-03-26 22:30:21.805735598 +0100 @@ -25,7 +25,7 @@ # If the cert file doesn't exist, generate it. if ! test -e $TLSCERT ; then # Keeping it short, because hostname could be long and max CN is 64 characters -CN="VNC service on `hostname`" +CN="`hostname`" CN=${CN:0:64} openssl req -new -x509 -extensions usr_cert -key $TLSKEY -out $TLSCERT -days 7305 -subj "/CN=$CN/" chown vnc:vnc $TLSCERT
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2019-02-08 12:07:27 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.28833 (New) Package is "tigervnc" Fri Feb 8 12:07:27 2019 rev:57 rq:672440 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2019-02-04 21:21:18.687655490 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.28833/tigervnc.changes 2019-02-08 12:07:30.121602088 +0100 @@ -1,0 +2,6 @@ +Thu Feb 7 12:34:03 UTC 2019 - Stephan Kulow + +- Fix build with latest cmake - which now requires the source + directory as argument (still works with old cmake versions) + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.bgp0Wj/_old 2019-02-08 12:07:31.085601727 +0100 +++ /var/tmp/diff_new_pack.bgp0Wj/_new 2019-02-08 12:07:31.089601724 +0100 @@ -266,7 +266,7 @@ export CXXFLAGS="%optflags" export CFLAGS="%optflags" # Build all tigervnc -cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo . make %{?_smp_mflags} # Build Xvnc server @@ -295,7 +295,7 @@ # Build java client pushd java -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8 -source 1.6 -target 1.6" +cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8 -source 1.6 -target 1.6" . make %{?_smp_mflags} popd
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2019-02-04 21:21:17 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.28833 (New) Package is "tigervnc" Mon Feb 4 21:21:17 2019 rev:56 rq:666700 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2019-01-15 13:15:14.220411440 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.28833/tigervnc.changes 2019-02-04 21:21:18.687655490 +0100 @@ -1,0 +2,12 @@ +Thu Jan 17 12:07:27 UTC 2019 - m...@suse.com + +- Switch websocket dependency to python3. (bsc#1119737) + +--- +Thu Jan 17 10:21:29 UTC 2019 - m...@suse.com + +- Do not build xorg-x11-Xvnc-module on s390. It fails to build + because macros.xorg-server is incomplete on s390 and the module + would be useless without real X server anyway. + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.daT59J/_old 2019-02-04 21:21:19.515655292 +0100 +++ /var/tmp/diff_new_pack.daT59J/_new 2019-02-04 21:21:19.527655289 +0100 @@ -166,7 +166,9 @@ # For the with-vnc-key.sh script Requires: /bin/hostname %{?systemd_requires} +%ifnarch s390 s390x Recommends: xorg-x11-Xvnc-module +%endif Provides: tightvnc = 1.3.9 Provides: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh Obsoletes: tightvnc < 1.3.9 @@ -176,6 +178,7 @@ %description -n xorg-x11-Xvnc This is the TigerVNC implementation of Xvnc. +%ifnarch s390 s390x %package -n xorg-x11-Xvnc-module Requires: xorg-x11-Xvnc Summary:VNC module for X server @@ -186,10 +189,11 @@ This module allows to share content of X server's screen over VNC. It is loaded into X server as a module if enable in X server's configuration. +%endif %package -n xorg-x11-Xvnc-novnc Requires: novnc -Requires: python-websockify +Requires: python3-websockify Requires: xorg-x11-Xvnc %{?systemd_requires} Summary:NoVNC service for Xvnc @@ -497,17 +501,19 @@ %{_libexecdir}/vnc -%files -n xorg-x11-Xvnc-module +%ifarch s390 s390x +# These would be in xorg-x11-Xvnc-module, but we don't build that on s390 %exclude /usr/%{_lib}/xorg/protocol.txt %exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la +%exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.so +%endif + %ifnarch s390 s390x +%files -n xorg-x11-Xvnc-module +%exclude /usr/%{_lib}/xorg/protocol.txt +%exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la %{_libdir}/xorg/modules/extensions/libvnc.so %config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf -%else -%exclude /etc/X11/xorg.conf.d -%exclude %{_libdir}/xorg/modules -%exclude %{_libdir}/xorg/modules/extensions -%exclude %{_libdir}/xorg/modules/extensions/libvnc.so %endif %files -n xorg-x11-Xvnc-novnc
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2019-01-15 13:15:12 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new.28833 (New) Package is "tigervnc" Tue Jan 15 13:15:12 2019 rev:55 rq:663689 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-10-01 09:05:58.499863986 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new.28833/tigervnc.changes 2019-01-15 13:15:14.220411440 +0100 @@ -1,0 +2,6 @@ +Tue Jan 8 12:38:42 UTC 2019 - m...@suse.com + +- Add U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch + * Fix the ALT and CTRL buttons in viewer's F8 menu. (bsc#1119354) + +--- New: U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.qIsrE2/_old 2019-01-15 13:15:15.160410702 +0100 +++ /var/tmp/diff_new_pack.qIsrE2/_new 2019-01-15 13:15:15.160410702 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -138,6 +138,7 @@ Patch8: u_tigervnc-add-autoaccept-parameter.patch Patch9: u_change-button-layout-in-ServerDialog.patch Patch10:n_correct_path_in_desktop_file.patch +Patch11:U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch %description TigerVNC is an implementation of VNC (Virtual Network Computing), a @@ -251,6 +252,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 pushd unix/xserver patch -p1 < ../xserver120.patch ++ U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch ++ >From 9f83180219380c690fb743182308bc2d534b8b1b Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sun, 8 Jul 2018 02:15:43 +0900 Subject: [PATCH] viewer: reset ctrl / alt to menu state on focus Setting Ctrl or Alt key on menu only sends the key press, and the state is lost when focus is lost and recovered. This checks the menu variable and sends the keys again if needed. --- vncviewer/Viewport.cxx | 6 ++ 1 file changed, 6 insertions(+) diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 4e23dc8c..317f06b2 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -635,6 +635,12 @@ int Viewport::handle(int event) exit_vncviewer(e.str()); } +// Resend Ctrl/Alt if needed +if (menuCtrlKey) + handleKeyPress(0x1d, XK_Control_L); +if (menuAltKey) + handleKeyPress(0x38, XK_Alt_L); + // Yes, we would like some focus please! return 1; -- 2.16.4
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-10-01 09:05:56 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Mon Oct 1 09:05:56 2018 rev:54 rq:637398 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-08-07 09:41:43.833169240 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-10-01 09:05:58.499863986 +0200 @@ -1,0 +2,6 @@ +Wed Sep 19 21:19:21 UTC 2018 - Jason Sikes + +- Changed "openssl" requirement to "openssl(cli)" + * (bsc#1101470) + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.VUSpKq/_old 2018-10-01 09:05:59.855862820 +0200 +++ /var/tmp/diff_new_pack.VUSpKq/_new 2018-10-01 09:05:59.859862816 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -155,13 +155,13 @@ Requires(post): firewall-macros %endif # Needed to generate certificates -Requires: openssl Requires: windowmanager Requires: xauth Requires: xinit Requires: xkbcomp Requires: xkeyboard-config Requires: xorg-x11-fonts-core +Requires: openssl(cli) # For the with-vnc-key.sh script Requires: /bin/hostname %{?systemd_requires}
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-08-07 09:41:41 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Tue Aug 7 09:41:41 2018 rev:53 rq:627664 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-06-15 14:33:29.036415290 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-08-07 09:41:43.833169240 +0200 @@ -1,0 +2,48 @@ +Mon Aug 6 12:04:52 UTC 2018 - m...@suse.com + +- Add xvnc.target to fix xvnc-novnc.service's dependency. + (bnc#1103552) +- Split the X server's VNC module into subpackage and give it + dependency on the current extension ABI. + +--- +Thu Aug 2 08:31:09 UTC 2018 - m...@suse.com + +- Update to tigervnc 1.9.0 + * Alternative, "raw" keyboard mode in the native client and all servers + * CapsLock/NumLock/ScrollLock synchronisation in the native client and all servers + * Automatic "repair" of JPEG artefacts on screen in all servers + * Support for UNIX sockets in the native client and in the UNIX servers + * Both clients now warn when sending the password over a possibly insecure channel + * Performance improvements in the Java client + * The Java client now requires Java 7 + * Improved high latency handling in all servers + * Slightly better keyboard handling in x0vncserver + * x0vncserver now supports cursors and screen resize + * Xorg 1.20 can now be used as a base for Xvnc/libvnc.so +- Fixes bnc#1103537 + +- Removed patches (included in 1.9.0): + * u_tigervnc-show-unencrypted-warning.patch + * U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch + * U_handle_certificate_verification_for_saved_certs_correctly.patch + * u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch + * u_add-support-for-X-server-1.20.0.patch + * U_vncviewer-Fix-fullscreen-scrolling.patch + * U_vncviewer-Fix-scrollbar-visibility.patch + +- Removed patches (no longer needed): + * tigervnc-1.8.0-nowindows.patch + +- Refreshed patches: + * n_tigervnc-date-time.patch + * tigervnc-clean-pressed-key-on-exit.patch + * u_tigervnc-add-autoaccept-parameter.patch + * u_tigervnc-ignore-epipe-on-write.patch + +- Added patches: + * n_correct_path_in_desktop_file.patch + +- Fixed typo in 10-libvnc.conf + +--- Old: U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch U_handle_certificate_verification_for_saved_certs_correctly.patch U_vncviewer-Fix-fullscreen-scrolling.patch U_vncviewer-Fix-scrollbar-visibility.patch tigervnc-1.8.0-nowindows.patch u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch u_add-support-for-X-server-1.20.0.patch u_tigervnc-show-unencrypted-warning.patch v1.8.0.tar.gz New: n_correct_path_in_desktop_file.patch v1.9.0.tar.gz xvnc.target Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.gzjw4L/_old 2018-08-07 09:41:44.469170348 +0200 +++ /var/tmp/diff_new_pack.gzjw4L/_new 2018-08-07 09:41:44.469170348 +0200 @@ -31,7 +31,7 @@ %endif Name: tigervnc -Version:1.8.0 +Version:1.9.0 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -126,6 +126,7 @@ Source16: xvnc-novnc.socket Source17: tigervnc.firewalld Source18: tigervnc-https.firewalld +Source19: xvnc.target Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch @@ -134,16 +135,9 @@ Patch5: u_tigervnc-cve-2014-8240.patch Patch6: u_tigervnc_update_default_vncxstartup.patch Patch7: u_build_libXvnc_as_separate_library.patch -Patch8: u_tigervnc-show-unencrypted-warning.patch -Patch9: U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch -Patch10: U_handle_certificate_verification_for_saved_certs_correctly.patch -Patch11:u_tigervnc-add-autoaccept-parameter.patch -Patch12:u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch -Patch13:tigervnc-1.8.0-nowindows.patch -Patch14:u_change-button-layout-in-ServerDialog.patch -Patch15:u_add-support-for-X-server-1.20.0.patch -Patch16:U_vncviewer-Fix-fullscreen-scrolling.patch -Patch17:U_vncviewer-Fix-scrollbar-visibility.patch +Patch8: u_tigervnc-add-autoaccept-parameter.patch +Patch9: u_change-button-layout-in-ServerDialog.patch +Patch10:n_correct_path_in_desktop_file.patch %description TigerVNC is an implementation of VNC (V
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-06-15 14:33:25 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Fri Jun 15 14:33:25 2018 rev:52 rq:615208 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-04-26 13:22:39.205877425 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-06-15 14:33:29.036415290 +0200 @@ -1,0 +2,16 @@ +Fri Jun 8 09:09:38 UTC 2018 - m...@suse.com + +- Updated u_add-support-for-X-server-1.20.0.patch to version sent + upstream. Fixes GLX initialization. + +--- +Wed Jun 6 09:07:23 UTC 2018 - m...@suse.com + +- U_vncviewer-Fix-fullscreen-scrolling.patch, + U_vncviewer-Fix-scrollbar-visibility.patch + * Fix scrolling in vncviewer. (boo#1095664) + +- u_add-support-for-X-server-1.20.0.patch + * Fix build against X server 1.20.0. + +--- New: U_vncviewer-Fix-fullscreen-scrolling.patch U_vncviewer-Fix-scrollbar-visibility.patch u_add-support-for-X-server-1.20.0.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.XJQtRP/_old 2018-06-15 14:33:30.844349161 +0200 +++ /var/tmp/diff_new_pack.XJQtRP/_new 2018-06-15 14:33:30.848349014 +0200 @@ -141,6 +141,9 @@ Patch12:u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch Patch13:tigervnc-1.8.0-nowindows.patch Patch14:u_change-button-layout-in-ServerDialog.patch +Patch15:u_add-support-for-X-server-1.20.0.patch +Patch16:U_vncviewer-Fix-fullscreen-scrolling.patch +Patch17:U_vncviewer-Fix-scrollbar-visibility.patch %description TigerVNC is an implementation of VNC (Virtual Network Computing), a @@ -246,9 +249,12 @@ %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 pushd unix/xserver -patch -p1 < ../xserver119.patch +patch -p1 < ../xserver120.patch popd %build ++ U_vncviewer-Fix-fullscreen-scrolling.patch ++ >From e8d25d83463805c0f6ef623dba2ac9a276df3587 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 23 May 2017 02:16:27 -0400 Subject: [PATCH] vncviewer: Fix fullscreen scrolling --- vncviewer/DesktopWindow.cxx | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 47fe8f89..946b162c 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -1120,11 +1120,6 @@ void DesktopWindow::scrollTo(int x, int y) hscroll->value(x); vscroll->value(y); - if (!hscroll->visible()) -x = -viewport->x(); - if (!vscroll->visible()) -y = -viewport->y(); - // Scrollbar position results in inverse movement of // the viewport widget x = -x; @@ -1189,7 +1184,7 @@ void DesktopWindow::handleEdgeScroll(void *data) if ((dx == 0) && (dy == 0)) return; - self->scrollTo(self->hscroll->value() + dx, self->vscroll->value() + dy); + self->scrollTo(self->hscroll->value() - dx, self->vscroll->value() - dy); Fl::repeat_timeout(0.1, handleEdgeScroll, data); } -- 2.13.6 ++ U_vncviewer-Fix-scrollbar-visibility.patch ++ >From 0a8c4d48bbf71b83a575ec89b41aebc4439242ae Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 23 May 2017 14:03:15 -0400 Subject: [PATCH] vncviewer: Fix scrollbar visibility Have a window that is sized to the remote screen. Now shrink the window vertically, making it shorter than the remote screen in one axis. The vertical scrollbar appears. However, the horizontal scrollbar does not appear, despite the rightmost ~24 pixels (Fl::scrollbar_size()) being hidden by the vertical scroll bar. Fix that. For clarity, move the fullscreen checks into a separate `if` statement, rather than keeping the size and fullscreen checks together. I think the comment does a decent job of explaining and justifying the check's logic, but if you require further convincing, perhaps this alternate explanation will help: The check for the X-axis is if ((w() - (h() < viewport->h() ? Fl::scrollbar_size() : 0) < viewport->w()) To be a bit more verbose and repetitive, we can split that ternary in to two separate checks, and add some comments: if ( (w() - < viewport->w()) // X needs a scrollbar || ( (w() - Fl::scrollbar_size() < viewport->w()) && (h() < viewport->h()) ) //( X doesn't need a scrollbar unless Y does ) && ( Y does need one ) ) ) Within the "Y does need one" check, we don't need to worry abo
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-04-26 13:22:37 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Thu Apr 26 13:22:37 2018 rev:51 rq:600357 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-04-17 11:12:23.524832099 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-04-26 13:22:39.205877425 +0200 @@ -1,0 +2,5 @@ +Tue Apr 24 09:16:59 UTC 2018 - m...@suse.com + +- Reload firewalld files after installation. + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.pFOFSj/_old 2018-04-26 13:22:40.329836282 +0200 +++ /var/tmp/diff_new_pack.pFOFSj/_new 2018-04-26 13:22:40.329836282 +0200 @@ -154,6 +154,9 @@ Requires(post): /usr/sbin/groupadd Requires(post): /bin/awk Requires(post): systemd +%if %{use_firewalld} +Requires(post): firewall-macros +%endif # Needed to generate certificates Requires: openssl Requires: windowmanager @@ -366,6 +369,10 @@ %post -n xorg-x11-Xvnc %service_add_post xvnc.socket +%if %{use_firewalld} +%{firewalld_reload} +%endif + # If there is old xinetd configuration file and VNC service was enabled, enable the systemd service too. # Once we are done, RPM will rename the file to /etc/xinetd.d/vnc.rpmsave, so this won't happen # during future updates.
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-04-17 11:12:22 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Tue Apr 17 11:12:22 2018 rev:50 rq:595580 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-03-29 11:47:27.464008682 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-04-17 11:12:23.524832099 +0200 @@ -1,0 +2,14 @@ +Wed Apr 11 09:48:51 UTC 2018 - jeng...@inai.de + +- Limit feature description to openSUSE. Ensure neutrality of + description. + +--- +Wed Apr 11 08:12:52 UTC 2018 - m...@suse.com + +- Add u_change-button-layout-in-ServerDialog.patch + * To fit strings in languages with longer words... (bnc#1084865) +- Refresh n_tigervnc-date-time.patch + * Completely hide the build time (bnc#1082968) + +--- New: u_change-button-layout-in-ServerDialog.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.Ky347s/_old 2018-04-17 11:12:24.688777503 +0200 +++ /var/tmp/diff_new_pack.Ky347s/_new 2018-04-17 11:12:24.692777315 +0200 @@ -107,8 +107,8 @@ %endif Url:http://tigervnc.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary:A high-performance, platform-neutral implementation of VNC -License:GPL-2.0 and MIT +Summary:An implementation of VNC +License:GPL-2.0-only AND MIT Group: System/X11/Servers/XF86_4 Source1:https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz Source4:10-libvnc.conf @@ -140,13 +140,14 @@ Patch11:u_tigervnc-add-autoaccept-parameter.patch Patch12:u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch Patch13:tigervnc-1.8.0-nowindows.patch +Patch14:u_change-button-layout-in-ServerDialog.patch %description -TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), -a client/server application that allows users to launch and interact with graphical applications on remote machines. -TigerVNC provides the levels of performance necessary to run 3D and video applications; -it attempts to maintain a common look and feel and re-use components, where possible, across the various platforms that it supports. -TigerVNC also provides extensions for advanced authentication methods and TLS encryption. +TigerVNC is an implementation of VNC (Virtual Network Computing), a +client/server application that allows users to launch and interact +with graphical applications on remote machines. TigerVNC is capable +of running 3D and video applications. TigerVNC also provides +extensions for advanced authentication methods and TLS encryption. %package -n xorg-x11-Xvnc Requires(post): /usr/sbin/useradd @@ -241,6 +242,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 pushd unix/xserver patch -p1 < ../xserver119.patch @@ -250,7 +252,7 @@ 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="??-??-?? ??:??" +cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags} # Build Xvnc server ++ n_tigervnc-date-time.patch ++ --- /var/tmp/diff_new_pack.Ky347s/_old 2018-04-17 11:12:24.760774126 +0200 +++ /var/tmp/diff_new_pack.Ky347s/_new 2018-04-17 11:12:24.764773938 +0200 @@ -1,41 +1,74 @@ -Index: tigervnc-1.4.1/unix/xserver/hw/vnc/buildtime.c +Index: tigervnc-1.8.0/unix/xserver/hw/vnc/buildtime.c === tigervnc-1.4.1.orig/unix/xserver/hw/vnc/buildtime.c -+++ tigervnc-1.4.1/unix/xserver/hw/vnc/buildtime.c +--- tigervnc-1.8.0.orig/unix/xserver/hw/vnc/buildtime.c tigervnc-1.8.0/unix/xserver/hw/vnc/buildtime.c @@ -15,4 +15,4 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -char buildtime[] = __DATE__ " " __TIME__; +char buildtime[] = "??? ?? ??:??:??"; -Index: tigervnc-1.4.1/unix/vncconfig/buildtime.c +Index: tigervnc-1.8.0/unix/vncconfig/buildtime.c === tigervnc-1.4.1.orig/unix/vncconfig/buildtime.c -+++ tigervnc-1.4.1/unix/vncconfig/buildtime.c +--- tigervnc-1.8.0.orig/unix/vncconfig/buildtime.c tigervnc-1.8.0/unix/vncconfig/buildtime.c @@ -15,4 +15,4 @@ * Fou
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-03-29 11:47:27 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Thu Mar 29 11:47:27 2018 rev:49 rq:590613 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2018-03-04 11:53:31.744145115 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-03-29 11:47:27.464008682 +0200 @@ -1,0 +2,7 @@ +Thu Mar 22 14:27:28 UTC 2018 - m...@suse.com + +- Enable xvnc.socket if upgraded from previous installation that + had VNC enabled in xinetd configuration. (bnc#1085974) +- Subpackage xorg-x11-Xvnc must also obsolete tightvnc. + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.v6zNPK/_old 2018-03-29 11:47:28.435973657 +0200 +++ /var/tmp/diff_new_pack.v6zNPK/_new 2018-03-29 11:47:28.435973657 +0200 @@ -151,6 +151,8 @@ %package -n xorg-x11-Xvnc Requires(post): /usr/sbin/useradd Requires(post): /usr/sbin/groupadd +Requires(post): /bin/awk +Requires(post): systemd # Needed to generate certificates Requires: openssl Requires: windowmanager @@ -162,7 +164,9 @@ # For the with-vnc-key.sh script Requires: /bin/hostname %{?systemd_requires} +Provides: tightvnc = 1.3.9 Provides: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh +Obsoletes: tightvnc < 1.3.9 Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4 @@ -360,6 +364,20 @@ %post -n xorg-x11-Xvnc %service_add_post xvnc.socket +# If there is old xinetd configuration file and VNC service was enabled, enable the systemd service too. +# Once we are done, RPM will rename the file to /etc/xinetd.d/vnc.rpmsave, so this won't happen +# during future updates. +if [ -e /etc/xinetd.d/vnc ] && awk ' + BEGIN { in_vnc1_section = 0 } + /service.*vnc1/ { in_vnc1_section = 1 } + in_vnc1_section && /disable\s*=\s*yes/ { exit 1 } + in_vnc1_section && /}/ { exit 0 } + ' /etc/xinetd.d/vnc; +then + echo "Found old xinetd configuration with enabled VNC service. Enabling xvnc.socket." + systemctl enable xvnc.socket +fi + %preun -n xorg-x11-Xvnc %service_del_preun xvnc.socket
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2018-03-04 11:53:31 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Sun Mar 4 11:53:31 2018 rev:48 rq:581689 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-12-22 12:17:18.114635866 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2018-03-04 11:53:31.744145115 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 12:19:52 UTC 2018 - m...@suse.com + +- Replace SuSEFirewall2 by firewalld. (bnc#1081952) + +--- Old: vnc-httpd.firewall vnc-server.firewall New: tigervnc-https.firewalld tigervnc.firewalld vnc-httpd.susefirewall vnc-server.susefirewall Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.5tpvsU/_old 2018-03-04 11:53:32.588114736 +0100 +++ /var/tmp/diff_new_pack.5tpvsU/_new 2018-03-04 11:53:32.592114592 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,12 @@ %define _unitdir %{_prefix}/lib/systemd/system +%if 0%{?suse_version} >= 1500 +%define use_firewalld 1 +%else +%define use_firewalld 0 +%endif + Name: tigervnc Version:1.8.0 Release:0 @@ -106,8 +112,8 @@ Group: System/X11/Servers/XF86_4 Source1:https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz Source4:10-libvnc.conf -Source5:vnc-server.firewall -Source6:vnc-httpd.firewall +Source5:vnc-server.susefirewall +Source6:vnc-httpd.susefirewall Source7:vnc.reg Source8:vncpasswd.arg Source9:vnc.pam @@ -118,6 +124,8 @@ Source14: xvnc.socket Source15: xvnc-novnc.service Source16: xvnc-novnc.socket +Source17: tigervnc.firewalld +Source18: tigervnc-https.firewalld Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch @@ -290,8 +298,15 @@ %ifnarch s390x install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-libvnc.conf %endif -install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/vnc-server -install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd + +%if %{use_firewalld} +install -D -m 644 %{SOURCE17} $RPM_BUILD_ROOT%{_libexecdir}/firewalld/services/tigervnc.xml +install -D -m 644 %{SOURCE18} $RPM_BUILD_ROOT%{_libexecdir}/firewalld/services/tigervnc-https.xml +%else +install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server +install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd +%endif + install -D -m 644 %{SOURCE7} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/vnc @@ -435,8 +450,15 @@ %exclude /var/lib/xkb/compiled/README.compiled +%if %{use_firewalld} +%dir %{_libexecdir}/firewalld +%dir %{_libexecdir}/firewalld/services +%{_libexecdir}/firewalld/services/tigervnc.xml +%{_libexecdir}/firewalld/services/tigervnc-https.xml +%else %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd +%endif %ifnarch s390 s390x %config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf ++ tigervnc-https.firewalld ++ VNC over HTTPS The xvnc-novnc servers a web-based VNC viewer over HTTPS. Allows accessing VNC using any modern browser. It displays VNC display :1. ++ tigervnc.firewalld ++ VNC display :1 VNC is protocol for remote desktop. The TigerVNC service and the vncmanager service use VNC display number :1. ++ vnc-httpd.susefirewall ++ ## Name: VNC mini-HTTP server ## Description: Opens the VNC HTTP ports so that browsers can connect. TCP="5800:5899" ++ vnc-server.susefirewall ++ ## Name: VNC ## Description: Opens VNC server ports so that viewers can connect. TCP="5900:5999"
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-12-22 12:17:15 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Fri Dec 22 12:17:15 2017 rev:47 rq:559108 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-12-15 14:03:22.594434859 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-12-22 12:17:18.114635866 +0100 @@ -1,0 +2,13 @@ +Mon Dec 18 16:44:20 UTC 2017 - dims...@opensuse.org + +- Do not mess with /usr/lib*64)?/debug: this is RPM's playground + for debuginfo packages. + +--- +Mon Dec 18 14:56:17 UTC 2017 - fst...@suse.com + +- Added patch: + * tigervnc-1.8.0-nowindows.patch ++ Remove Windows code that is removed from jdk10 + +--- New: tigervnc-1.8.0-nowindows.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.e7d3Sv/_old 2017-12-22 12:17:19.258580088 +0100 +++ /var/tmp/diff_new_pack.e7d3Sv/_new 2017-12-22 12:17:19.262579893 +0100 @@ -131,6 +131,7 @@ Patch10: U_handle_certificate_verification_for_saved_certs_correctly.patch Patch11:u_tigervnc-add-autoaccept-parameter.patch Patch12:u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch +Patch13:tigervnc-1.8.0-nowindows.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -227,6 +228,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 pushd unix/xserver patch -p1 < ../xserver119.patch @@ -446,10 +448,6 @@ %config %{_sysconfdir}/pam.d/vnc -%exclude /usr/lib/debug/* -%exclude /usr/lib/debug/.* -%exclude /usr/src/debug - %dir %attr(0755,%{vncuser},%{vncuser}) %{_sysconfdir}/vnc %ghost %attr(0600,%{vncuser},%{vncuser}) %config(noreplace) %{tlskey} %ghost %attr(0644,%{vncuser},%{vncuser}) %config(noreplace) %{tlscert} ++ tigervnc-1.8.0-nowindows.patch ++ --- tigervnc-1.8.0/java/com/tigervnc/vncviewer/F8Menu.java 2017-12-18 15:47:56.544658662 +0100 +++ tigervnc-1.8.0/java/com/tigervnc/vncviewer/F8Menu.java 2017-12-18 15:54:53.002571101 +0100 @@ -40,9 +40,6 @@ public F8Menu(CConn cc) { super("VNC Menu"); setLightWeightPopupEnabled(false); -String os = System.getProperty("os.name"); -if (os.startsWith("Windows")) - com.sun.java.swing.plaf.windows.WindowsLookAndFeel.setMnemonicHidden(false); this.cc = cc; restore= addMenuItem("Restore",KeyEvent.VK_R); restore.setEnabled(!embed.getValue());
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-12-15 14:03:17 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Fri Dec 15 14:03:17 2017 rev:46 rq:556489 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-10-02 16:52:31.348550207 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-12-15 14:03:22.594434859 +0100 @@ -1,0 +2,8 @@ +Tue Dec 12 13:15:25 UTC 2017 - m...@suse.com + +- Depend on pkgconfig's gl, egl and gbm instead of Mesa-devel. + * Those dependencies are what the underlying X server really +needs. Mesa-devel is too general and is a bottleneck in +distribution build. (bnc#1071297) + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.5zA8Tn/_old 2017-12-15 14:03:23.326399524 +0100 +++ /var/tmp/diff_new_pack.5zA8Tn/_new 2017-12-15 14:03:23.326399524 +0100 @@ -30,7 +30,6 @@ Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 Provides: vnc -BuildRequires: Mesa-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: cmake @@ -63,9 +62,11 @@ BuildRequires: pkgconfig(compositeproto) >= 0.4 BuildRequires: pkgconfig(damageproto) >= 1.1 BuildRequires: pkgconfig(dri) +BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(fixesproto) >= 4.1 BuildRequires: pkgconfig(fontsproto) BuildRequires: pkgconfig(fontutil) +BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glproto) BuildRequires: pkgconfig(gnutls)
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-10-02 16:52:23 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Mon Oct 2 16:52:23 2017 rev:45 rq:530419 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-09-13 22:27:17.773277555 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-10-02 16:52:31.348550207 +0200 @@ -1,0 +2,19 @@ +Tue Sep 26 11:53:23 UTC 2017 - m...@suse.com + +- u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch + * Fixes crash in x0vncserver after client disconnects. +(bnc#1058587) + +--- +Mon Sep 25 08:36:07 UTC 2017 - m...@suse.com + +- Add tigervnc-x11vnc wrapper for x0vncserver that replaces x11vnc. + (fate#323207) + +- Replace java applet with novnc as web-based VNC viewer. + (fate#323880) + +- Convert xinetd services to systemd socket activated services. + (bnc#1058460) + +--- Old: vnc.xinetd vnc_inetd_httpd New: u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch x11vnc xvnc-novnc.service xvnc-novnc.socket xvnc.socket xvnc@.service Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.knMmyu/_old 2017-10-02 16:52:34.152156704 +0200 +++ /var/tmp/diff_new_pack.knMmyu/_new 2017-10-02 16:52:34.152156704 +0200 @@ -22,6 +22,8 @@ %define tlskey %{_sysconfdir}/vnc/tls.key %define tlscert %{_sysconfdir}/vnc/tls.cert +%define _unitdir %{_prefix}/lib/systemd/system + Name: tigervnc Version:1.8.0 Release:0 @@ -53,6 +55,7 @@ BuildRequires: mozilla-nss BuildRequires: pam-devel BuildRequires: pkg-config +BuildRequires: systemd-rpm-macros BuildRequires: xmlto BuildRequires: xorg-x11-libICE-devel BuildRequires: xorg-x11-libSM-devel @@ -101,16 +104,20 @@ License:GPL-2.0 and MIT Group: System/X11/Servers/XF86_4 Source1:https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz -Source3:vnc.xinetd Source4:10-libvnc.conf Source5:vnc-server.firewall Source6:vnc-httpd.firewall -Source7:vnc_inetd_httpd -Source8:vnc.reg -Source9:vncpasswd.arg -Source10: vnc.pam -Source11: with-vnc-key.sh -Source12: index.vnc +Source7:vnc.reg +Source8:vncpasswd.arg +Source9:vnc.pam +Source10: with-vnc-key.sh +Source11: index.vnc +Source12: x11vnc +Source13: xvnc@.service +Source14: xvnc.socket +Source15: xvnc-novnc.service +Source16: xvnc-novnc.socket + Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch Patch3: u_tigervnc-ignore-epipe-on-write.patch @@ -122,6 +129,7 @@ Patch9: U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch Patch10: U_handle_certificate_verification_for_saved_certs_correctly.patch Patch11:u_tigervnc-add-autoaccept-parameter.patch +Patch12:u_Unset-pixel-buffer-when-x0vncserver-client-disconnect.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -135,18 +143,15 @@ Requires(post): /usr/sbin/groupadd # Needed to generate certificates Requires: openssl -# Needed to serve java applet -Requires: python -Requires: python-pyOpenSSL Requires: windowmanager Requires: xauth -Requires: xinetd Requires: xinit Requires: xkbcomp Requires: xkeyboard-config Requires: xorg-x11-fonts-core # For the with-vnc-key.sh script Requires: /bin/hostname +%{?systemd_requires} Provides: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4 @@ -154,6 +159,29 @@ %description -n xorg-x11-Xvnc This is the TigerVNC implementation of Xvnc. +%package -n xorg-x11-Xvnc-novnc +Requires: novnc +Requires: python-websockify +Requires: xorg-x11-Xvnc +%{?systemd_requires} +Summary:NoVNC service for Xvnc +Group: System/X11/Servers/XF86_4 +BuildArch: noarch + +%description -n xorg-x11-Xvnc-novnc +A service that starts noVNC linked to Xvnc server. + +%package -n xorg-x11-Xvnc-java +BuildArch: noarch + +%{?systemd_requires} +Summary:VNC viewer in java +Group: System/X11/Servers/XF86_4 + +%description -n xorg-x11-Xvnc-java +A VNC client written in java that can be used as sta
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-09-13 22:27:16 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Wed Sep 13 22:27:16 2017 rev:44 rq:523519 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-08-23 11:52:32.280939219 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-09-13 22:27:17.773277555 +0200 @@ -1,0 +2,6 @@ +Mon Sep 11 14:12:30 UTC 2017 - fst...@suse.com + +- Specify java source and target level 1.6 in order to be able to + build with jdk9 + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.uUjHL9/_old 2017-09-13 22:27:18.913117089 +0200 +++ /var/tmp/diff_new_pack.uUjHL9/_new 2017-09-13 22:27:18.917116526 +0200 @@ -222,7 +222,7 @@ # Build java client pushd java -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8" +cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8 -source 1.6 -target 1.6" make %{?_smp_mflags} popd
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-08-23 11:52:31 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Wed Aug 23 11:52:31 2017 rev:43 rq:516144 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-08-08 11:57:50.383853443 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-08-23 11:52:32.280939219 +0200 @@ -1,0 +2,6 @@ +Fri Aug 11 08:59:54 UTC 2017 - m...@suse.com + +- Disable MIT-SHM extension when running under vnc user. + (bnc#1053373) + +--- Other differences: -- ++ vnc.xinetd ++ --- /var/tmp/diff_new_pack.oPu9Wg/_old 2017-08-23 11:52:34.072686995 +0200 +++ /var/tmp/diff_new_pack.oPu9Wg/_new 2017-08-23 11:52:34.072686995 +0200 @@ -10,7 +10,7 @@ wait= no user= vnc server = /usr/lib/vnc/with-vnc-key.sh - server_args = /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1024x768 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 + server_args = /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1024x768 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 -extension MIT-SHM disable = yes } # default: off @@ -25,7 +25,7 @@ wait= no user= vnc server = /usr/lib/vnc/with-vnc-key.sh - server_args = /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1280x1024 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 + server_args = /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1280x1024 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 -extension MIT-SHM disable = yes } # default: off @@ -40,7 +40,7 @@ wait= no user= vnc server = /usr/lib/vnc/with-vnc-key.sh - server_args = /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1600x1200 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 + server_args = /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1600x1200 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 -extension MIT-SHM disable = yes } # default: off
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-08-08 11:57:50 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Tue Aug 8 11:57:50 2017 rev:42 rq:511646 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-06-16 10:53:29.710379631 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-08-08 11:57:50.383853443 +0200 @@ -1,0 +2,19 @@ +Thu Jul 20 07:49:41 UTC 2017 - m...@suse.com + +- U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch, + U_handle_certificate_verification_for_saved_certs_correctly.patch + * Fix certificate handling in the java client. (bnc#1041847) + +- Refresh u_tigervnc-add-autoaccept-parameter.patch and apply it + last. + +- Make sure CN in generated certificate doesn't exceed 64 + characters. (bnc#1041847) + +--- +Fri Jul 7 08:06:00 UTC 2017 - m...@suse.com + +- Change with-vnc-key.sh to generate TLS certificate using current + hostname. (bnc#1041847) + +--- New: U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch U_handle_certificate_verification_for_saved_certs_correctly.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.s02rYR/_old 2017-08-08 11:57:51.935634886 +0200 +++ /var/tmp/diff_new_pack.s02rYR/_new 2017-08-08 11:57:51.955632069 +0200 @@ -116,10 +116,12 @@ Patch3: u_tigervnc-ignore-epipe-on-write.patch Patch4: n_tigervnc-date-time.patch Patch5: u_tigervnc-cve-2014-8240.patch -Patch6: u_tigervnc-add-autoaccept-parameter.patch -Patch7: u_tigervnc_update_default_vncxstartup.patch -Patch8: u_build_libXvnc_as_separate_library.patch -Patch9: u_tigervnc-show-unencrypted-warning.patch +Patch6: u_tigervnc_update_default_vncxstartup.patch +Patch7: u_build_libXvnc_as_separate_library.patch +Patch8: u_tigervnc-show-unencrypted-warning.patch +Patch9: U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch +Patch10: U_handle_certificate_verification_for_saved_certs_correctly.patch +Patch11:u_tigervnc-add-autoaccept-parameter.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -143,6 +145,8 @@ Requires: xkbcomp Requires: xkeyboard-config Requires: xorg-x11-fonts-core +# For the with-vnc-key.sh script +Requires: /bin/hostname Provides: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4 @@ -178,6 +182,8 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 +%patch11 -p1 pushd unix/xserver patch -p1 < ../xserver119.patch ++ U_allow_multiple_certs_with_same_dn_in_saved_certs_file.patch ++ Git-commit: 7fcc8614e1ff8c19fd3a1a275fa5ab6eda28f6bd Author: "Brian P. Hinz" Subject: Allow multiple certs with same DN in saved certs file. Signed-off-by: Michal Srb References: bnc#1041847 diff --git a/java/com/tigervnc/rfb/CSecurityTLS.java b/java/com/tigervnc/rfb/CSecurityTLS.java index 4b20e0bf..08aa1125 100644 --- a/java/com/tigervnc/rfb/CSecurityTLS.java +++ b/java/com/tigervnc/rfb/CSecurityTLS.java @@ -218,9 +218,8 @@ public class CSecurityTLS extends CSecurity { Collection cacerts = cf.generateCertificates(caStream); for (Certificate cert : cacerts) { -String dn = - ((X509Certificate)cert).getSubjectX500Principal().getName(); -ks.setCertificateEntry(dn, (X509Certificate)cert); +String thumbprint = getThumbprint((X509Certificate)cert); +ks.setCertificateEntry(thumbprint, (X509Certificate)cert); } } File cacert = new File(cafile); @@ -229,9 +228,8 @@ public class CSecurityTLS extends CSecurity { Collection cacerts = cf.generateCertificates(caStream); for (Certificate cert : cacerts) { -String dn = - ((X509Certificate)cert).getSubjectX500Principal().getName(); -ks.setCertificateEntry(dn, (X509Certificate)cert); +String thumbprint = getThumbprint((X509Certificate)cert); +ks.setCertificateEntry(thumbprint, (X509Certificate)cert); } } PKIXBuilderParameters params = @@ -264,19 +262,13 @@ public class CSecurityTLS extends CSecurity { public void checkServerTrusted(X509Certificate[] chain, String authT
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-06-16 10:53:21 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Fri Jun 16 10:53:21 2017 rev:41 rq:502675 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-06-04 01:47:04.328340282 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-06-16 10:53:29.710379631 +0200 @@ -1,0 +2,5 @@ +Fri Jun 9 11:03:23 UTC 2017 - tchva...@suse.com + +- Require java-deve >= 1.6.0 to avoid bootstrap fail + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.en17wr/_old 2017-06-16 10:53:30.622251265 +0200 +++ /var/tmp/diff_new_pack.en17wr/_new 2017-06-16 10:53:30.626250702 +0200 @@ -35,7 +35,7 @@ BuildRequires: fltk-devel >= 1.3.3 BuildRequires: gcc-c++ BuildRequires: gcc-c++ -BuildRequires: java-devel +BuildRequires: java-devel >= 1.6.0 BuildRequires: jpackage-utils BuildRequires: libjpeg-devel BuildRequires: libopenssl-devel
commit tigervnc for openSUSE:Factory
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.changes2017-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 - meiss...@suse.com + +- removed unneeded -fPIC flags for CFLAGS, these made it avoid + PIE support. + +--- +Wed May 31 11:33:52 UTC 2017 - m...@suse.com + +- 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 - m...@suse.com + +- 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
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-03-10 20:36:34 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Fri Mar 10 20:36:34 2017 rev:39 rq:461975 version:1.7.1 Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-02-22 13:44:32.373150467 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-03-10 20:36:35.395200850 +0100 @@ -1,0 +2,5 @@ +Thu Mar 2 14:19:27 UTC 2017 - m...@suse.com + +- Readd index.vnc. (bnc#1026833) + +--- New: index.vnc Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.QMMPMf/_old 2017-03-10 20:36:36.631025723 +0100 +++ /var/tmp/diff_new_pack.QMMPMf/_new 2017-03-10 20:36:36.635025156 +0100 @@ -110,6 +110,7 @@ Source9:vncpasswd.arg Source10: vnc.pam Source11: with-vnc-key.sh +Source12: index.vnc Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch Patch3: u_tigervnc-ignore-epipe-on-write.patch @@ -249,6 +250,7 @@ install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/vnc +install -D -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/vnc/classes %if 0%{?suse_version} >= 1315 ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz ++ index.vnc ++ $USER's $DESKTOP desktop ($DISPLAY) http://www.tigervnc.org/";>TigerVNC site
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-02-22 13:44:31 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2017-02-03 20:03:35.323187935 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-02-22 13:44:32.373150467 +0100 @@ -1,0 +2,6 @@ +Mon Feb 20 17:43:56 UTC 2017 - m...@suse.com + +- U_tigervnc-fix-inetd-not-working-with-xserver-1-19.patch + * Fixes inetd mode with x server 1.19 (bnc#1025759) + +--- New: U_tigervnc-fix-inetd-not-working-with-xserver-1-19.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.u7AQXs/_old 2017-02-22 13:44:33.165037677 +0100 +++ /var/tmp/diff_new_pack.u7AQXs/_new 2017-02-22 13:44:33.173036539 +0100 @@ -120,6 +120,7 @@ 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), @@ -179,6 +180,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 pushd unix/xserver patch -p1 < ../xserver119.patch ++ U_tigervnc-fix-inetd-not-working-with-xserver-1-19.patch ++ Git-commit: 712cf8673d6e57442f41636e44020f5e1839c7f8 Patch-Mainline: Upstream Author: Hans de Goede Subject: Fix -inetd not working with xserver >= 1.19 Signed-off-by: Michal Srb xserver 1.19's OsInit will create a pollfd, followed by checking if fd 2 / stderr is writable and if it is not, replacing fd 2 with /dev/null. Since we close stderr in inetd mode to avoid xserver messages being send to the client as vnc data, the pollfd becomes fd 2, only to be replaced by /dev/null since a pollfd is not writable. This commit fixes this by opening /dev/null directly after the close(2), avoiding that the pollfd becomes fd 2. Alan Coopersmith: Change to use dup2() for atomic switch of fd Signed-off-by: Hans de Goede diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c index c5b684d..ef30d69 100644 --- a/unix/xserver/hw/vnc/xvnc.c +++ b/unix/xserver/hw/vnc/xvnc.c @@ -572,9 +572,17 @@ ddxProcessArgument(int argc, char *argv[], int i) if (strcmp(argv[i], "-inetd") == 0) { + int nullfd; + dup2(0,3); vncInetdSock = 3; - close(2); + + /* Avoid xserver >= 1.19's epoll-fd becoming fd 2 / stderr only to be + replaced by /dev/null by OsInit() because the pollfd is not + writable, breaking ospoll_wait(). */ + nullfd = open("/dev/null", O_WRONLY); + dup2(nullfd, 2); + close(nullfd); if (!displaySpecified) { int port = vncGetSocketPort(vncInetdSock);
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2017-01-27 10:45:51 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-12-06 14:23:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2017-02-03 20:03:35.323187935 +0100 @@ -1,0 +2,9 @@ +Wed Jan 25 14:52:21 UTC 2017 - m...@suse.com + +- Update to tigervnc 1.7.1. + * This is a security update for TigerVNC 1.7.0 which fixes a +memory overflow issue via the RRE decoder. A malicious server +could possibly use this issue to take control of the TigerVNC +viewer. + +--- Old: v1.7.0.tar.gz New: v1.7.1.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.AEOIu8/_old 2017-02-03 20:03:37.546874939 +0100 +++ /var/tmp/diff_new_pack.AEOIu8/_new 2017-02-03 20:03:37.550874377 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %define tlscert %{_sysconfdir}/vnc/tls.cert Name: tigervnc -Version:1.7.0 +Version:1.7.1 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 ++ v1.7.0.tar.gz -> v1.7.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tigervnc-1.7.0/CMakeLists.txt new/tigervnc-1.7.1/CMakeLists.txt --- old/tigervnc-1.7.0/CMakeLists.txt 2016-09-08 12:31:18.0 +0200 +++ new/tigervnc-1.7.1/CMakeLists.txt 2017-01-18 13:39:28.0 +0100 @@ -21,10 +21,10 @@ include(CMakeMacroLibtoolFile) project(tigervnc) -set(VERSION 1.7.0) +set(VERSION 1.7.1) # The RC version must always be four comma-separated numbers -set(RCVERSION 1,7,0,0) +set(RCVERSION 1,7,1,0) # Installation paths set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tigervnc-1.7.0/common/rfb/PixelBuffer.cxx new/tigervnc-1.7.1/common/rfb/PixelBuffer.cxx --- old/tigervnc-1.7.0/common/rfb/PixelBuffer.cxx 2016-09-08 12:31:18.0 +0200 +++ new/tigervnc-1.7.1/common/rfb/PixelBuffer.cxx 2017-01-18 13:39:28.0 +0100 @@ -101,15 +101,26 @@ int stride; U8 *buf; int w, h, b; + Rect drect; - w = r.width(); - h = r.height(); + drect = r; + if (!drect.enclosed_by(getRect())) { +vlog.error("Destination rect %dx%d at %d,%d exceeds framebuffer %dx%d", + drect.width(), drect.height(), drect.tl.x, drect.tl.y, width_, height_); +drect = drect.intersect(getRect()); + } + + if (drect.is_empty()) +return; + + w = drect.width(); + h = drect.height(); b = format.bpp/8; if (h == 0) return; - buf = getBufferRW(r, &stride); + buf = getBufferRW(drect, &stride); if (b == 1) { while (h--) { @@ -136,7 +147,7 @@ } } - commitBufferRW(r); + commitBufferRW(drect); } void ModifiablePixelBuffer::imageRect(const Rect& r, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tigervnc-1.7.0/java/CMakeLists.txt new/tigervnc-1.7.1/java/CMakeLists.txt --- old/tigervnc-1.7.0/java/CMakeLists.txt 2016-09-08 12:31:18.0 +0200 +++ new/tigervnc-1.7.1/java/CMakeLists.txt 2017-01-18 13:39:28.0 +0100 @@ -2,7 +2,7 @@ project(tigervnc-java Java) if(NOT VERSION) - set(VERSION 1.7.0) + set(VERSION 1.7.1) endif() find_package(Java) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tigervnc-1.7.0/unix/xserver/hw/vnc/xvnc.c new/tigervnc-1.7.1/unix/xserver/hw/vnc/xvnc.c --- old/tigervnc-1.7.0/unix/xserver/hw/vnc/xvnc.c 2016-09-08 12:31:18.0 +0200 +++ new/tigervnc-1.7.1/unix/xserver/hw/vnc/xvnc.c 2017-01-18 13:39:28.0 +0100 @@ -85,7 +85,7 @@ #include "version-config.h" #include "site.h" -#define XVNCVERSION "TigerVNC 1.7.0" +#define XVNCVERSION "TigerVNC 1.7.1" #define XVNCCOPYRIGHT ("Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)\n" \ "See http://www.tigervnc.org for information on TigerVNC.\n")
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-12-06 14:23:14 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-09-17 14:37:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-12-06 14:23:15.0 +0100 @@ -1,0 +2,6 @@ +Wed Nov 30 17:15:40 UTC 2016 - sndir...@suse.com + +- U_Add-xorg-xserver-1.19-support.patch + * Add xorg-xserver 1.19 support + +--- New: U_Add-xorg-xserver-1.19-support.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.XnlST2/_old 2016-12-06 14:23:16.0 +0100 +++ /var/tmp/diff_new_pack.XnlST2/_new 2016-12-06 14:23:16.0 +0100 @@ -85,6 +85,7 @@ BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 BuildRequires: pkgconfig(xf86driproto) >= 2.1.1 BuildRequires: pkgconfig(xfont) >= 1.4.2 +BuildRequires: pkgconfig(xfont2) BuildRequires: pkgconfig(xineramaproto) BuildRequires: pkgconfig(xkbfile) BuildRequires: pkgconfig(xorg-macros) >= 1.14 @@ -118,6 +119,7 @@ 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 %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -176,9 +178,10 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 pushd unix/xserver -patch -p1 < ../xserver117.patch +patch -p1 < ../xserver119.patch popd %build ++ U_Add-xorg-xserver-1.19-support.patch ++ >From 3fed95eda27dfbeee6535f987f5d14a66f64749b Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 5 Oct 2016 11:15:27 +0200 Subject: [PATCH] Add xorg-xserver 1.19 support --- unix/xserver/hw/vnc/XserverDesktop.cc | 183 ++ unix/xserver/hw/vnc/XserverDesktop.h | 7 ++ unix/xserver/hw/vnc/vncBlockHandler.c | 19 unix/xserver/hw/vnc/vncExtInit.cc | 13 +++ unix/xserver/hw/vnc/vncExtInit.h | 5 + unix/xserver/hw/vnc/vncHooks.c| 21 +++- unix/xserver/hw/vnc/xorg-version.h| 4 +- unix/xserver119.patch | 95 ++ 8 files changed, 343 insertions(+), 4 deletions(-) create mode 100644 unix/xserver119.patch diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index 4f82a54..8cc0b0b 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -90,6 +90,30 @@ public: XserverDesktop* desktop; }; +#if XORG >= 119 +extern "C" { +/* + * xserver NotifyFd callbacks. Note we also expect write notifies to work, + * which only works with xserver >= 1.19. + */ +#include "os.h" + +static void HandleListenFd(int fd, int xevents, void *data) +{ + XserverDesktop *desktop = (XserverDesktop *)data; + + desktop->handleListenFd(fd); +} + +static void HandleSocketFd(int fd, int xevents, void *data) +{ + XserverDesktop *desktop = (XserverDesktop *)data; + + desktop->handleSocketFd(fd, xevents); +} + +} +#endif XserverDesktop::XserverDesktop(int screenIndex_, std::list listeners_, @@ -111,15 +135,35 @@ XserverDesktop::XserverDesktop(int screenIndex_, if (!httpListeners.empty ()) httpServer = new FileHTTPServer(this); + +#if XORG >= 119 + for (std::list::iterator i = listeners.begin(); + i != listeners.end(); + i++) { +SetNotifyFd((*i)->getFd(), HandleListenFd, X_NOTIFY_READ, this); + } + + for (std::list::iterator i = httpListeners.begin(); + i != httpListeners.end(); + i++) { +SetNotifyFd((*i)->getFd(), HandleListenFd, X_NOTIFY_READ, this); + } +#endif } XserverDesktop::~XserverDesktop() { while (!listeners.empty()) { +#if XORG >= 119 +RemoveNotifyFd(listeners.back()->getFd()); +#endif delete listeners.back(); listeners.pop_back(); } while (!httpListeners.empty()) { +#if XORG >= 119 +RemoveNotifyFd(listeners.back()->getFd()); +#endif delete httpListeners.back(); httpListeners.pop_back(); } @@ -389,6 +433,140 @@ void XserverDesktop::add_copied(const rfb::Region &dest, const rfb::Point &delta } } +#if XORG >= 119 +void XserverDesktop::handleListenFd(int fd) +{ + std::list::iterator i; + SocketServer *fd_server = NULL; + bool is_http = false; + + for (i = listeners.begin(); i != listeners.end(); i++) { +if ((*i)->getFd() == fd) { + fd_ser
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-09-17 14:37:23 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-08-18 09:16:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-09-17 14:37:24.0 +0200 @@ -1,0 +2,16 @@ +Tue Sep 13 14:10:08 UTC 2016 - m...@suse.com + +- Update to tigervnc 1.7.0. + * Multi-threaded decoder in the FLTK viewer + * Improved SSH integration in the Java viewer + * Fine grained lock down of Xvnc parameters + * Compatibility with Xorg 1.18 + * Lots of packaging fixes + * Better compatibility with Vino, both in the FLTK and Java viewer +- Removed patches: + * U_add_allowoverride_parameter.patch + * U_include-vencrypt-only-if-any-subtype-present.patch + * U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch + * u_xserver118.patch + +--- Old: U_add_allowoverride_parameter.patch U_include-vencrypt-only-if-any-subtype-present.patch U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch u_xserver118.patch v1.6.0.tar.gz New: v1.7.0.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.6LrbJS/_old 2016-09-17 14:37:25.0 +0200 +++ /var/tmp/diff_new_pack.6LrbJS/_new 2016-09-17 14:37:25.0 +0200 @@ -23,7 +23,7 @@ %define tlscert %{_sysconfdir}/vnc/tls.cert Name: tigervnc -Version:1.6.0 +Version:1.7.0 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -113,15 +113,11 @@ Patch2: tigervnc-clean-pressed-key-on-exit.patch Patch3: u_tigervnc-ignore-epipe-on-write.patch Patch4: n_tigervnc-date-time.patch -Patch5: U_include-vencrypt-only-if-any-subtype-present.patch -Patch6: u_tigervnc-cve-2014-8240.patch -Patch7: u_tigervnc-add-autoaccept-parameter.patch -Patch8: u_xserver118.patch -Patch9: u_tigervnc_update_default_vncxstartup.patch -Patch10:U_add_allowoverride_parameter.patch -Patch11:u_build_libXvnc_as_separate_library.patch -Patch12:u_tigervnc-show-unencrypted-warning.patch -Patch13:U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch +Patch5: u_tigervnc-cve-2014-8240.patch +Patch6: u_tigervnc-add-autoaccept-parameter.patch +Patch7: u_tigervnc_update_default_vncxstartup.patch +Patch8: u_build_libXvnc_as_separate_library.patch +Patch9: u_tigervnc-show-unencrypted-warning.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -175,15 +171,11 @@ %patch2 -p1 %patch3 -p0 %patch4 -p1 -%patch5 -p0 +%patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch @@ -222,7 +214,7 @@ # Build java client pushd java -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} +cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8" make %{?_smp_mflags} popd @@ -301,6 +293,24 @@ %ghost %_sysconfdir/alternatives/vncviewer.1.gz %endif +%dir %_datadir/icons/hicolor/16x16 +%dir %_datadir/icons/hicolor/16x16/apps +%dir %_datadir/icons/hicolor/22x22 +%dir %_datadir/icons/hicolor/22x22/apps +%dir %_datadir/icons/hicolor/24x24 +%dir %_datadir/icons/hicolor/24x24/apps +%dir %_datadir/icons/hicolor/32x32 +%dir %_datadir/icons/hicolor/32x32/apps +%dir %_datadir/icons/hicolor/48x48 +%dir %_datadir/icons/hicolor/48x48/apps +%dir %_datadir/icons/hicolor/scalable +%dir %_datadir/icons/hicolor/scalable/apps + +%_datadir/icons/hicolor/*/apps/tigervnc.png +%_datadir/icons/hicolor/scalable/apps/tigervnc.svg + +%_datadir/applications/vncviewer.desktop + %files -n xorg-x11-Xvnc %doc LICENCE.TXT README.txt %defattr(-,root,root) ++ tigervnc-clean-pressed-key-on-exit.patch ++ --- /var/tmp/diff_new_pack.6LrbJS/_old 2016-09-17 14:37:25.0 +0200 +++ /var/tmp/diff_new_pack.6LrbJS/_new 2016-09-17 14:37:25.0 +0200 @@ -1,7 +1,7 @@ -Index: tigervnc-1.5.0/vncviewer/DesktopWindow.cxx +Index: tigervnc-1.7.0/vncviewer/DesktopWindow.cxx === tigervnc-1.5.0.orig/vncviewer/DesktopWindow.cxx -+++ tigervnc-1.5.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() Op
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-08-18 09:16:26 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-06-29 15:01:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-08-18 09:16:28.0 +0200 @@ -1,0 +2,8 @@ +Mon Aug 8 20:05:19 UTC 2016 - e...@suse.com + +- Adding a generic 'windowmanager' requires which will be + satisfied by any package providing 'windowmanager': + Requires: windowmanager + (boo#981663). + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.1Qn50R/_old 2016-08-18 09:16:29.0 +0200 +++ /var/tmp/diff_new_pack.1Qn50R/_new 2016-08-18 09:16:29.0 +0200 @@ -136,9 +136,9 @@ # Needed to generate certificates Requires: openssl # Needed to serve java applet -Requires: icewm Requires: python Requires: python-pyOpenSSL +Requires: windowmanager Requires: xauth Requires: xinetd Requires: xinit
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-06-29 15:01:19 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-06-02 12:48:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-06-29 15:01:21.0 +0200 @@ -1,0 +2,12 @@ +Thu Jun 16 13:17:15 UTC 2016 - m...@suse.com + +- Generate VNC key and certificate on first use, not during + installation. (bnc#982349) + +--- +Mon Jun 13 15:21:19 UTC 2016 - m...@suse.com + +- Add U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch + * Fix zlib stream reset in tight encoding. (bnc#963417) + +--- New: U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch with-vnc-key.sh Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.9fpjyb/_old 2016-06-29 15:01:22.0 +0200 +++ /var/tmp/diff_new_pack.9fpjyb/_new 2016-06-29 15:01:22.0 +0200 @@ -108,6 +108,7 @@ Source8:vnc.reg Source9:vncpasswd.arg Source10: vnc.pam +Source11: with-vnc-key.sh Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch Patch3: u_tigervnc-ignore-epipe-on-write.patch @@ -120,6 +121,7 @@ Patch10:U_add_allowoverride_parameter.patch Patch11:u_build_libXvnc_as_separate_library.patch Patch12:u_tigervnc-show-unencrypted-warning.patch +Patch13:U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -129,10 +131,10 @@ TigerVNC also provides extensions for advanced authentication methods and TLS encryption. %package -n xorg-x11-Xvnc -# Needed to generate certificates -Requires(post): openssl Requires(post): /usr/sbin/useradd Requires(post): /usr/sbin/groupadd +# Needed to generate certificates +Requires: openssl # Needed to serve java applet Requires: icewm Requires: python @@ -143,6 +145,7 @@ Requires: xkbcomp Requires: xkeyboard-config Requires: xorg-x11-fonts-core +Provides: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4 @@ -180,6 +183,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch @@ -255,6 +259,9 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/vnc +mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/vnc +install -D -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{_libexecdir}/vnc + rm -rf $RPM_BUILD_ROOT/usr/share/doc/tigervnc-* %find_lang '%{name}' @@ -264,18 +271,6 @@ getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || : usermod -G shadow -a %{vncuser} || : -%post -n xorg-x11-Xvnc -if ! test -e %{tlskey} ; then - (umask 077 && openssl genrsa -out %{tlskey} 2048) - chown %{vncuser}:%{vncgroup} %{tlskey} -fi -if ! test -e %{tlscert} ; then - cn="Automatically generated certificate for the VNC service" - openssl req -new -x509 -extensions usr_cert \ --key %{tlskey} -out %{tlscert} -days 7305 -subj "/CN=$cn/" - chown %{vncuser}:%{vncgroup} %{tlscert} -fi - %post %if 0%{?suse_version} >= 1315 %_sbindir/update-alternatives \ @@ -358,10 +353,12 @@ %doc java/com/tigervnc/vncviewer/README %{_datadir}/vnc -%dir %{_sysconfdir}/vnc +%dir %attr(0755,%{vncuser},%{vncuser}) %{_sysconfdir}/vnc %ghost %attr(0600,%{vncuser},%{vncuser}) %config(noreplace) %{tlskey} %ghost %attr(0644,%{vncuser},%{vncuser}) %config(noreplace) %{tlscert} +%{_libexecdir}/vnc + %files -n libXvnc1 %defattr(-,root,root) %{_libdir}/libXvnc.so.1* ++ U_tigervnc_clear_up_zlibinstream_reset_behaviour.patch ++ >From 6f318e4451fcb45054408eaf568ca1c30c2d1ab6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 11 Nov 2015 13:11:09 +0100 Subject: [PATCH] Clear up ZlibInStream::reset() behaviour It previously only did a reset of the ZlibInStream object, not the underlying zlib stream. It also had the side effect of flushing the underlying stream and disassociating from it. Clear things up by changing the naming, and introducing a proper reset function (which is needed by the Tight decoder). Index: tigervnc-1.5.0/common/rdr/ZlibInStream.cxx === --- tigervnc-1.5.0.orig/com
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-06-02 12:48:33 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-05-04 08:17:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-06-02 12:48:35.0 +0200 @@ -1,0 +2,7 @@ +Tue May 24 12:46:07 UTC 2016 - m...@suse.com + +- Add /etc/pam.d/vnc configuration and add vnc user to shadow + group. (bnc#980326) +- Add dependency on fltk-devel version >= 1.3.3. + +--- New: vnc.pam Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.mlWwrR/_old 2016-06-02 12:48:36.0 +0200 +++ /var/tmp/diff_new_pack.mlWwrR/_new 2016-06-02 12:48:36.0 +0200 @@ -32,7 +32,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: cmake -BuildRequires: fltk-devel +BuildRequires: fltk-devel >= 1.3.3 BuildRequires: gcc-c++ BuildRequires: gcc-c++ BuildRequires: java-devel @@ -107,6 +107,7 @@ Source7:vnc_inetd_httpd Source8:vnc.reg Source9:vncpasswd.arg +Source10: vnc.pam Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch Patch3: u_tigervnc-ignore-epipe-on-write.patch @@ -246,6 +247,7 @@ install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg +install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/vnc %if 0%{?suse_version} >= 1315 ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz @@ -260,6 +262,7 @@ %pre -n xorg-x11-Xvnc getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || : getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || : +usermod -G shadow -a %{vncuser} || : %post -n xorg-x11-Xvnc if ! test -e %{tlskey} ; then @@ -346,6 +349,8 @@ %dir /etc/slp.reg.d %config(noreplace) /etc/slp.reg.d/vnc.reg +%config %{_sysconfdir}/pam.d/vnc + %exclude /usr/lib/debug/* %exclude /usr/lib/debug/.* %exclude /usr/src/debug ++ vnc.pam ++ #%PAM-1.0 auth includecommon-auth account includecommon-account password includecommon-password session includecommon-session
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-05-04 08:17:51 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2016-01-13 22:42:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-05-04 08:17:52.0 +0200 @@ -1,0 +2,12 @@ +Fri Apr 29 14:13:22 UTC 2016 - m...@suse.com + +- Add U_add_allowoverride_parameter.patch and +u_build_libXvnc_as_separate_library.patch (fate#319319) +- Add u_tigervnc-show-unencrypted-warning.patch (fate#319701) + +--- +Wed Apr 27 10:34:05 UTC 2016 - m...@suse.com + +- Add dependency on xorg-x11-fonts-core. (bnc#977019) + +--- New: U_add_allowoverride_parameter.patch u_build_libXvnc_as_separate_library.patch u_tigervnc-show-unencrypted-warning.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.X6joUg/_old 2016-05-04 08:17:53.0 +0200 +++ /var/tmp/diff_new_pack.X6joUg/_new 2016-05-04 08:17:53.0 +0200 @@ -116,6 +116,9 @@ Patch7: u_tigervnc-add-autoaccept-parameter.patch Patch8: u_xserver118.patch Patch9: u_tigervnc_update_default_vncxstartup.patch +Patch10:U_add_allowoverride_parameter.patch +Patch11:u_build_libXvnc_as_separate_library.patch +Patch12:u_tigervnc-show-unencrypted-warning.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -138,12 +141,28 @@ Requires: xinit Requires: xkbcomp Requires: xkeyboard-config +Requires: xorg-x11-fonts-core Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4 %description -n xorg-x11-Xvnc This is the TigerVNC implementation of Xvnc. +%package -n libXvnc1 +Summary:X extension to control VNC module +Group: System/Libraries + +%description -n libXvnc1 +Xvnc extension allows X clients to read and change VNC configuration. + +%package -n libXvnc-devel +Summary:X extension to control VNC module +Group: Development/Libraries/C and C++ +Requires: libXvnc1 = %version + +%description -n libXvnc-devel +Xvnc extension allows X clients to read and change VNC configuration. + %prep %setup -T -b1 -q cp -r /usr/src/xserver/* unix/xserver/ @@ -157,6 +176,9 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch @@ -265,6 +287,10 @@ fi %endif +%post -n libXvnc1 -p /sbin/ldconfig + +%postun -n libXvnc1 -p /sbin/ldconfig + %files -f %{name}.lang %defattr(-,root,root,-) %ghost %{_bindir}/vncviewer @@ -331,4 +357,13 @@ %ghost %attr(0600,%{vncuser},%{vncuser}) %config(noreplace) %{tlskey} %ghost %attr(0644,%{vncuser},%{vncuser}) %config(noreplace) %{tlscert} +%files -n libXvnc1 +%defattr(-,root,root) +%{_libdir}/libXvnc.so.1* + +%files -n libXvnc-devel +%defattr(-,root,root) +%{_libdir}/libXvnc.so +%{_includedir}/X11/extensions/Xvnc.h + %changelog ++ U_add_allowoverride_parameter.patch ++ Git-commit: ef0dd758a3fad048c1f04e144b03a3e69b001f21 Patch-Mainline: To be upstreamed Author: Michal Srb Subject: Add AllowOverride parameter. References: fate#319319 Allows to specify which configuration parameters can be modified on runtime. diff --git a/unix/xserver/hw/vnc/vncExt.c b/unix/xserver/hw/vnc/vncExt.c index 43794da..b27115f 100644 --- a/unix/xserver/hw/vnc/vncExt.c +++ b/unix/xserver/hw/vnc/vncExt.c @@ -182,17 +182,16 @@ static int ProcVncExtSetParam(ClientPtr client) rep.sequenceNumber = client->sequence; /* - * Allow to change only certain parameters. - * Changing other parameters (for example PAM service name) - * could have negative security impact. + * Prevent change of clipboard related parameters if clipboard is disabled. */ - if (strncasecmp(param, "desktop", 7) != 0 && - strncasecmp(param, "AcceptPointerEvents", 19) != 0 && - (vncNoClipboard || strncasecmp(param, "SendCutText", 11) != 0) && - (vncNoClipboard || strncasecmp(param, "AcceptCutText", 13) != 0)) + if (vncNoClipboard && + (strncasecmp(param, "SendCutText", 11) == 0 || + strncasecmp(param, "AcceptCutText", 13) == 0)) +goto deny; + + if (!vncOverrideParam(param)) goto deny; - vncSetParamSimple(param); rep.success = 1; // Send DesktopName update if desktop name has been changed diff --git a/unix/xserver/hw/
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2016-01-13 22:42:48 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-12-20 10:52:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2016-01-13 22:42:49.0 +0100 @@ -1,0 +2,16 @@ +Tue Jan 12 12:14:27 UTC 2016 - m...@suse.com + +- Updated to tigervnc 1.6.0. +- Removed patches: + * N_tigervnc_revert_fltk_1_3_3_requirements.patch + * U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch + * u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch + * u_tigervnc-use-default-trust-manager-in-java-viewer-if-custom.patch + * u_tigervnc-use_preferred_mode.patch + * u_tigervnc-vncserver-clean-pid-files.patch +- Updated patches: + * n_tigervnc-date-time.patch + * u_tigervnc-add-autoaccept-parameter.patch + * u_tigervnc_update_default_vncxstartup.patch + +--- Old: N_tigervnc_revert_fltk_1_3_3_requirements.patch U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch u_tigervnc-use-default-trust-manager-in-java-viewer-if-custom.patch u_tigervnc-use_preferred_mode.patch u_tigervnc-vncserver-clean-pid-files.patch v1.5.0.tar.gz New: v1.6.0.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.CT9boK/_old 2016-01-13 22:42:50.0 +0100 +++ /var/tmp/diff_new_pack.CT9boK/_new 2016-01-13 22:42:50.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %define tlscert %{_sysconfdir}/vnc/tls.cert Name: tigervnc -Version:1.5.0 +Version:1.6.0 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -112,16 +112,10 @@ Patch3: u_tigervnc-ignore-epipe-on-write.patch Patch4: n_tigervnc-date-time.patch Patch5: U_include-vencrypt-only-if-any-subtype-present.patch -Patch6: u_tigervnc-use_preferred_mode.patch -Patch7: u_tigervnc-cve-2014-8240.patch -Patch8: u_tigervnc-use-default-trust-manager-in-java-viewer-if-custom.patch -Patch9: u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch -Patch10:u_tigervnc-add-autoaccept-parameter.patch -Patch11:N_tigervnc_revert_fltk_1_3_3_requirements.patch -Patch12:U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch -Patch13:u_tigervnc-vncserver-clean-pid-files.patch -Patch14:u_xserver118.patch -Patch15:u_tigervnc_update_default_vncxstartup.patch +Patch6: u_tigervnc-cve-2014-8240.patch +Patch7: u_tigervnc-add-autoaccept-parameter.patch +Patch8: u_xserver118.patch +Patch9: u_tigervnc_update_default_vncxstartup.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -159,16 +153,10 @@ %patch3 -p0 %patch4 -p1 %patch5 -p0 -%patch6 -p0 +%patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch @@ -178,7 +166,7 @@ export CXXFLAGS="%optflags -fPIC" export CFLAGS="%optflags -fPIC" # Build all tigervnc -cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TIMESTAMP="??-??-?? ??:??" make %{?_smp_mflags} # Build Xvnc server ++ n_tigervnc-date-time.patch ++ --- /var/tmp/diff_new_pack.CT9boK/_old 2016-01-13 22:42:50.0 +0100 +++ /var/tmp/diff_new_pack.CT9boK/_new 2016-01-13 22:42:50.0 +0100 @@ -39,16 +39,3 @@ -const char* buildTime = "Built on " __DATE__ " at " __TIME__; +const char* buildTime = "Built on ??? ?? at ??:??:??"; Index: tigervnc-1.4.1/CMakeLists.txt -=== tigervnc-1.4.1.orig/CMakeLists.txt -+++ tigervnc-1.4.1/CMakeLists.txt -@@ -39,8 +39,7 @@ if(MSVC) - message(FATAL_ERROR "TigerVNC cannot be built with Visual Studio. Please use MinGW") - endif
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-12-20 10:52:22 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-11-17 14:20:54.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-12-20 10:52:32.0 +0100 @@ -1,0 +2,7 @@ +Wed Dec 16 14:25:35 UTC 2015 - m...@suse.com + +- u_tigervnc_update_default_vncxstartup.patch + * Update default VNC xstartup script. +- Add dependency on xinit and icewm. (bnc#956537) + +--- New: u_tigervnc_update_default_vncxstartup.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.MeD2qK/_old 2015-12-20 10:52:33.0 +0100 +++ /var/tmp/diff_new_pack.MeD2qK/_new 2015-12-20 10:52:33.0 +0100 @@ -121,6 +121,7 @@ Patch12:U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch Patch13:u_tigervnc-vncserver-clean-pid-files.patch Patch14:u_xserver118.patch +Patch15:u_tigervnc_update_default_vncxstartup.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -135,10 +136,12 @@ Requires(post): /usr/sbin/useradd Requires(post): /usr/sbin/groupadd # Needed to serve java applet +Requires: icewm Requires: python Requires: python-pyOpenSSL Requires: xauth Requires: xinetd +Requires: xinit Requires: xkbcomp Requires: xkeyboard-config Summary:TigerVNC implementation of Xvnc @@ -165,6 +168,7 @@ %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch ++ u_tigervnc_update_default_vncxstartup.patch ++ Author: Michal Srb References: bnc#956537 Subject: Update default vnc xstartup script. Index: tigervnc-1.5.0/unix/vncserver === --- tigervnc-1.5.0.orig/unix/vncserver +++ tigervnc-1.5.0/unix/vncserver @@ -59,27 +59,31 @@ $defaultXStartup = ("#!/bin/sh\n\n". "unset SESSION_MANAGER\n". "unset DBUS_SESSION_BUS_ADDRESS\n". - "OS=`uname -s`\n". - "if [ \$OS = 'Linux' ]; then\n". - " case \"\$WINDOWMANAGER\" in\n". - "\*gnome\*)\n". - " if [ -e /etc/SuSE-release ]; then\n". - "PATH=\$PATH:/opt/gnome/bin\n". - "export PATH\n". - " fi\n". - " ;;\n". - " esac\n". + "\n". + "userclientrc=\$HOME/.xinitrc\n". + "sysclientrc=/etc/X11/xinit/xinitrc\n". + "\n". + "if [ -f \"\$userclientrc\" ]; then\n". + " client=\"\$userclientrc\"\n". + "elif [ -f \"\$sysclientrc\" ]; then\n". + " client=\"\$sysclientrc\"\n". "fi\n". - "if [ -x /etc/X11/xinit/xinitrc ]; then\n". - " exec /etc/X11/xinit/xinitrc\n". + "\n". + "if [ -x \"\$client\" ]; then\n". + " exec \"\$client\"\n". "fi\n". - "if [ -f /etc/X11/xinit/xinitrc ]; then\n". - " exec sh /etc/X11/xinit/xinitrc\n". + "if [ -f \"\$client\" ]; then\n". + " exec sh \"\$client\"\n". "fi\n". + "\n". "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n". "xsetroot -solid grey\n". "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n". - "twm &\n"); + "if [ -x /usr/bin/twm ]; then\n". + " /usr/bin/twm &\n". + "else\n". + " echo \"No window manager found. You should install a window manager to get properly working VNC session.\"\n". + "fi\n"); chop($host = `uname -n`);
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-11-17 14:20:52 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-10-12 10:00:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-11-17 14:20:54.0 +0100 @@ -1,0 +2,6 @@ +Thu Nov 12 12:51:31 UTC 2015 - m...@suse.com + +- u_xserver118.patch + * Build with xserver 1.18.0. + +--- New: u_xserver118.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.6NXOpC/_old 2015-11-17 14:20:55.0 +0100 +++ /var/tmp/diff_new_pack.6NXOpC/_new 2015-11-17 14:20:55.0 +0100 @@ -120,6 +120,7 @@ Patch11:N_tigervnc_revert_fltk_1_3_3_requirements.patch Patch12:U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch Patch13:u_tigervnc-vncserver-clean-pid-files.patch +Patch14:u_xserver118.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -163,6 +164,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch ++ u_xserver118.patch ++ Subject: Support X server 1.18.0 Author: Michal Srb Patch-Mainline: To be upstreamed diff --git a/unix/xserver/hw/vnc/xorg-version.h b/unix/xserver/hw/vnc/xorg-version.h index 8cc1c86..60610cb 100644 --- a/unix/xserver/hw/vnc/xorg-version.h +++ b/unix/xserver/hw/vnc/xorg-version.h @@ -48,8 +48,10 @@ #define XORG 116 #elif XORG_VERSION_CURRENT < ((1 * 1000) + (17 * 10) + (99 * 1000)) #define XORG 117 +#elif XORG_VERSION_CURRENT < ((1 * 1000) + (18 * 10) + (99 * 1000)) +#define XORG 118 #else -#error "X.Org newer than 1.17 is not supported" +#error "X.Org newer than 1.18 is not supported" #endif #endif index 4c90a95..55befa7 100644 --- a/unix/xserver/hw/vnc/Input.c +++ b/unix/xserver/hw/vnc/Input.c @@ -300,8 +300,10 @@ static inline void pressKey(DeviceIntPtr dev, int kc, Bool down, const char *msg #if XORG < 111 n = GetKeyboardEvents(eventq, dev, action, kc); enqueueEvents(dev, n); -#else +#elif XORG < 118 QueueKeyboardEvents(dev, action, kc, NULL); +#else + QueueKeyboardEvents(dev, action, kc); #endif }
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-10-12 10:00:29 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-09-24 06:12:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-10-12 10:00:30.0 +0200 @@ -1,0 +2,6 @@ +Thu Oct 1 23:16:52 UTC 2015 - m...@suse.com + +- u_tigervnc-vncserver-clean-pid-files.patch + * vncserver: Clean pid files of dead processes. (bnc#948392) + +--- New: u_tigervnc-vncserver-clean-pid-files.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.nIxL5W/_old 2015-10-12 10:00:31.0 +0200 +++ /var/tmp/diff_new_pack.nIxL5W/_new 2015-10-12 10:00:31.0 +0200 @@ -119,6 +119,7 @@ Patch10:u_tigervnc-add-autoaccept-parameter.patch Patch11:N_tigervnc_revert_fltk_1_3_3_requirements.patch Patch12:U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch +Patch13:u_tigervnc-vncserver-clean-pid-files.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -161,6 +162,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch ++ u_tigervnc-vncserver-clean-pid-files.patch ++ Author: Egbert Eich Subject: Clean pid files of dead processes. Patch-Mainline: To be upstreamed References: bnc#948392 Signed-off-by: Michal Srb --- a/unix/vncserver2015-05-19 18:01:12.0 +0200 +++ b/unix/vncserver2015-10-01 15:52:50.920363305 +0200 @@ -302,6 +302,7 @@ } unless (kill 0, `cat $pidFile`) { warn "Could not start Xvnc.\n\n"; +unlink $pidFile; open(LOG, "<$desktopLog"); while () { print; } close(LOG); @@ -587,7 +588,12 @@ print "X DISPLAY #\tPROCESS ID\n"; foreach my $file (@filelist) { if ($file =~ /$host:(\d+)$\.pid/) { - print ":".$1."\t\t".`cat $vncUserDir/$file`; + chop($tmp_pid = `cat $vncUserDir/$file`); + if (kill 0, $tmp_pid) { + print ":".$1."\t\t".`cat $vncUserDir/$file`; + } else { + unlink ($vncUserDir . "/" . $file); + } } } exit 1;
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-09-24 06:12:40 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-09-03 18:04:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-09-24 06:12:41.0 +0200 @@ -1,0 +2,6 @@ +Sun Sep 13 14:57:35 UTC 2015 - m...@suse.com + +- U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch + * Fixes Xvnc with -inetd parameter. (bnc#945600) + +--- New: U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.9LFtnX/_old 2015-09-24 06:12:42.0 +0200 +++ /var/tmp/diff_new_pack.9LFtnX/_new 2015-09-24 06:12:42.0 +0200 @@ -118,6 +118,7 @@ Patch9: u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch Patch10:u_tigervnc-add-autoaccept-parameter.patch Patch11:N_tigervnc_revert_fltk_1_3_3_requirements.patch +Patch12:U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -159,6 +160,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 pushd unix/xserver patch -p1 < ../xserver117.patch ++ U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch ++ Subject: [PATCH] Fix reversed logic in vncIsTCPPortUsed() Author: Pierre Ossman Patch-mainline: Upstream Git-commit: 6bb08082956334711de44dad49b95f90a7b02700 Signed-off-by: Michal Srb Patch by Jay Kulpinski. Prevents -inetd mode from automatically finding a free X11 display number. diff --git a/unix/xserver/hw/vnc/RFBGlue.cc b/unix/xserver/hw/vnc/RFBGlue.cc index 09832ab..a150792 100644 --- a/unix/xserver/hw/vnc/RFBGlue.cc +++ b/unix/xserver/hw/vnc/RFBGlue.cc @@ -194,7 +194,7 @@ int vncIsTCPPortUsed(int port) std::list dummy; network::createTcpListeners (&dummy, 0, port); } catch (rdr::Exception& e) { -return 0; +return 1; } - return 1; + return 0; }
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-09-03 17:59:10 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-08-28 08:25:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-09-03 18:04:55.0 +0200 @@ -1,0 +2,6 @@ +Thu Aug 27 14:14:46 UTC 2015 - h...@suse.com + +- VNC server cannot run without xauth and xkbcomp, therefore + introduce these dependencies. + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.Tas0Bs/_old 2015-09-03 18:05:00.0 +0200 +++ /var/tmp/diff_new_pack.Tas0Bs/_new 2015-09-03 18:05:00.0 +0200 @@ -134,7 +134,9 @@ # Needed to serve java applet Requires: python Requires: python-pyOpenSSL +Requires: xauth Requires: xinetd +Requires: xkbcomp Requires: xkeyboard-config Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-08-28 08:25:29 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-08-21 07:36:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-08-28 08:25:30.0 +0200 @@ -1,0 +2,7 @@ +Tue Aug 25 15:14:04 UTC 2015 - m...@suse.com + +- Remove commented out DefaultDepth 16 from 10-libvnc.conf file. + Using 16 bit depth can cause troubles and does not have any + positives anymore, so lets not suggest it to users. (bnc#942982) + +--- Other differences: -- ++ 10-libvnc.conf ++ --- /var/tmp/diff_new_pack.yHRp9D/_old 2015-08-28 08:25:31.0 +0200 +++ /var/tmp/diff_new_pack.yHRp9D/_new 2015-08-28 08:25:31.0 +0200 @@ -13,7 +13,6 @@ #Section "Screen" #Identifier "Screen0 -#DefaultDepth 16 #Option "SecurityTypes" "VncAuth" #Option "PasswordFile" "/root/.vnc/passwd" #EndSection
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-08-21 07:36:26 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-07-21 13:26:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-08-21 07:36:27.0 +0200 @@ -1,0 +2,6 @@ +Fri Jul 31 13:48:16 UTC 2015 - dims...@opensuse.org + +- Add /usr/sbin/groupadd and /usr/sbin/useradd Requires(post) to + xorg-x11-Xvnc: the scripts are creating users/groups. + +--- @@ -18,0 +25,7 @@ + +--- +Thu May 28 02:10:46 CEST 2015 - r...@suse.de + +- add buildrequires for xf86driproto and presentproto to + match xserver +- disable dri2 on s390/s390x Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.mtSgqu/_old 2015-08-21 07:36:28.0 +0200 +++ /var/tmp/diff_new_pack.mtSgqu/_new 2015-08-21 07:36:28.0 +0200 @@ -72,6 +72,7 @@ BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(pciaccess) >= 0.8.0 BuildRequires: pkgconfig(pixman-1) >= 0.15.20 +BuildRequires: pkgconfig(presentproto) >= 1.0 BuildRequires: pkgconfig(randrproto) >= 1.2.99.3 BuildRequires: pkgconfig(recordproto) >= 1.13.99.1 BuildRequires: pkgconfig(renderproto) >= 0.11 @@ -82,6 +83,7 @@ BuildRequires: pkgconfig(xcmiscproto) >= 1.2.0 BuildRequires: pkgconfig(xdmcp) BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 +BuildRequires: pkgconfig(xf86driproto) >= 2.1.1 BuildRequires: pkgconfig(xfont) >= 1.4.2 BuildRequires: pkgconfig(xineramaproto) BuildRequires: pkgconfig(xkbfile) @@ -127,6 +129,8 @@ %package -n xorg-x11-Xvnc # Needed to generate certificates Requires(post): openssl +Requires(post): /usr/sbin/useradd +Requires(post): /usr/sbin/groupadd # Needed to serve java applet Requires: python Requires: python-pyOpenSSL @@ -174,7 +178,10 @@ --disable-static --disable-xinerama \ --with-xkb-path="/usr/share/X11/xkb" \ --with-xkb-output="/var/lib/xkb/compiled" \ ---enable-glx --enable-dri --enable-dri2 \ +--enable-glx --enable-dri \ +%ifnarch s390 s390x + --enable-dri2 \ +%endif --disable-config-dbus \ --disable-config-hal \ --disable-config-udev \ @@ -229,8 +236,8 @@ %find_lang '%{name}' %pre -n xorg-x11-Xvnc -getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} -getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} +getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || : +getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || : %post -n xorg-x11-Xvnc if ! test -e %{tlskey} ; then @@ -291,7 +298,7 @@ %exclude /usr/%{_lib}/xorg/protocol.txt %exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la -%ifnarch s390x +%ifnarch s390 s390x %{_libdir}/xorg/modules/extensions/libvnc.so %else %exclude %{_libdir}/xorg/modules @@ -304,7 +311,7 @@ %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd -%ifnarch s390x +%ifnarch s390 s390x %config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf %else %exclude /etc/X11/xorg.conf.d
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-07-21 13:26:06 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-04-27 22:06:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-07-21 13:26:07.0 +0200 @@ -1,0 +2,19 @@ +Wed Jul 15 11:52:02 UTC 2015 - m...@suse.com + +- Updated to tigervnc 1.5.0. +- Dropped no longer needed patches: + * tigervnc-sf3495623.patch + * u_syslog.patch + * u_tigervnc-build-with-xserver-1.17.patch + * tigervnc-gnutls-3.4-required.patch + * u_tigervnc-dont-send-ascii-control-characters.patch + * u_terminate_instead_of_ignoring_restart.patch +- Dropped no longer needed index.vnc. +- Use encryption everywhere. (fate#318936) + * u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch + * u_tigervnc-use-default-trust-manager-in-java-viewer-if-custom.patch + * u_tigervnc-add-autoaccept-parameter.patch +- Work with fltk 1.3.2. + * N_tigervnc_revert_fltk_1_3_3_requirements.patch + +--- Old: index.vnc tigervnc-gnutls-3.4-required.patch tigervnc-sf3495623.patch u_syslog.patch u_terminate_instead_of_ignoring_restart.patch u_tigervnc-build-with-xserver-1.17.patch u_tigervnc-dont-send-ascii-control-characters.patch v1.4.3.tar.gz New: N_tigervnc_revert_fltk_1_3_3_requirements.patch u_tigervnc-add-autoaccept-parameter.patch u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch u_tigervnc-use-default-trust-manager-in-java-viewer-if-custom.patch v1.5.0.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.wwnu0G/_old 2015-07-21 13:26:08.0 +0200 +++ /var/tmp/diff_new_pack.wwnu0G/_new 2015-07-21 13:26:08.0 +0200 @@ -16,8 +16,14 @@ # +%define vncgroup vnc +%define vncuser vnc + +%define tlskey %{_sysconfdir}/vnc/tls.key +%define tlscert %{_sysconfdir}/vnc/tls.cert + Name: tigervnc -Version:1.4.3 +Version:1.5.0 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -92,7 +98,6 @@ License:GPL-2.0 and MIT Group: System/X11/Servers/XF86_4 Source1:https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz -Source2:index.vnc Source3:vnc.xinetd Source4:10-libvnc.conf Source5:vnc-server.firewall @@ -102,18 +107,15 @@ Source9:vncpasswd.arg Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch -Patch3: tigervnc-sf3495623.patch -Patch4: u_tigervnc-dont-send-ascii-control-characters.patch -Patch5: u_tigervnc-ignore-epipe-on-write.patch -Patch6: n_tigervnc-date-time.patch -Patch7: U_include-vencrypt-only-if-any-subtype-present.patch -Patch8: u_tigervnc-use_preferred_mode.patch -Patch9: u_tigervnc-cve-2014-8240.patch -Patch10:u_tigervnc-build-with-xserver-1.17.patch -Patch11:u_terminate_instead_of_ignoring_restart.patch -# Require and build against gnutls 3.x -Patch12:tigervnc-gnutls-3.4-required.patch -Patch13:u_syslog.patch +Patch3: u_tigervnc-ignore-epipe-on-write.patch +Patch4: n_tigervnc-date-time.patch +Patch5: U_include-vencrypt-only-if-any-subtype-present.patch +Patch6: u_tigervnc-use_preferred_mode.patch +Patch7: u_tigervnc-cve-2014-8240.patch +Patch8: u_tigervnc-use-default-trust-manager-in-java-viewer-if-custom.patch +Patch9: u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch +Patch10:u_tigervnc-add-autoaccept-parameter.patch +Patch11:N_tigervnc_revert_fltk_1_3_3_requirements.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -123,6 +125,11 @@ TigerVNC also provides extensions for advanced authentication methods and TLS encryption. %package -n xorg-x11-Xvnc +# Needed to generate certificates +Requires(post): openssl +# Needed to serve java applet +Requires: python +Requires: python-pyOpenSSL Requires: xinetd Requires: xkeyboard-config Summary:TigerVNC implementation of Xvnc @@ -137,20 +144,18 @@ %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p0 +%patch3 -p0 +%patch4 -p1 %patch5 -p0 -%patch6 -p1 -%patch7 -p0 -%patch8 -p0 +%patch6 -p0 +%patch7 -p1 +%patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 -%patch12 -p1 -%patch13 -p1 pushd
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-04-27 22:06:42 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-04-18 10:38:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-04-27 22:06:43.0 +0200 @@ -1,0 +2,6 @@ +Mon Apr 20 12:10:10 UTC 2015 - m...@suse.com + +- u_syslog.patch, vnc.xinetd + * Add logging to syslog. + +--- New: u_syslog.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.ChP1B3/_old 2015-04-27 22:06:44.0 +0200 +++ /var/tmp/diff_new_pack.ChP1B3/_new 2015-04-27 22:06:44.0 +0200 @@ -113,6 +113,7 @@ Patch11:u_terminate_instead_of_ignoring_restart.patch # Require and build against gnutls 3.x Patch12:tigervnc-gnutls-3.4-required.patch +Patch13:u_syslog.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -146,6 +147,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 pushd unix/xserver patch -p1 < ../xserver116.patch ++ u_syslog.patch ++ Author: Michal Srb Subject: Syslog logging Patch-Mainline: To be upstreamed Index: tigervnc-1.4.1/common/rfb/CMakeLists.txt === --- tigervnc-1.4.1.orig/common/rfb/CMakeLists.txt +++ tigervnc-1.4.1/common/rfb/CMakeLists.txt @@ -29,6 +29,7 @@ set(RFB_SOURCES Logger.cxx Logger_file.cxx Logger_stdio.cxx + Logger_syslog.cxx Password.cxx PixelBuffer.cxx PixelFormat.cxx Index: tigervnc-1.4.1/common/rfb/LogWriter.h === --- tigervnc-1.4.1.orig/common/rfb/LogWriter.h +++ tigervnc-1.4.1/common/rfb/LogWriter.h @@ -68,10 +68,15 @@ namespace rfb { } } -DEF_LOGFUNCTION(error, 0) -DEF_LOGFUNCTION(status, 10) -DEF_LOGFUNCTION(info, 30) -DEF_LOGFUNCTION(debug, 100) +static const int LEVEL_ERROR = 0; +static const int LEVEL_STATUS = 10; +static const int LEVEL_INFO = 30; +static const int LEVEL_DEBUG = 100; + +DEF_LOGFUNCTION(error, LEVEL_ERROR) +DEF_LOGFUNCTION(status, LEVEL_STATUS) +DEF_LOGFUNCTION(info, LEVEL_INFO) +DEF_LOGFUNCTION(debug, LEVEL_DEBUG) // -=- DIAGNOSTIC & HELPER ROUTINES Index: tigervnc-1.4.1/common/rfb/Logger_syslog.cxx === --- /dev/null +++ tigervnc-1.4.1/common/rfb/Logger_syslog.cxx @@ -0,0 +1,65 @@ +/* Copyright (C) 2015 TigerVNC + * + * This is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * USA. + */ + +// -=- Logger_syslog.cxx - Logger instance for a syslog + +#include +#include +#include + +#include +#include +#include +#include + +using namespace rfb; + + +Logger_Syslog::Logger_Syslog(const char* loggerName) + : Logger(loggerName) +{ + openlog("Xvnc", LOG_CONS | LOG_PID, LOG_USER); +} + +Logger_Syslog::~Logger_Syslog() +{ + closelog(); +} + +void Logger_Syslog::write(int level, const char *logname, const char *message) +{ + // Convert our priority level into syslog level + int priority; + if (level >= LogWriter::LEVEL_DEBUG) { +priority = LOG_DEBUG; + } else if (level >= LogWriter::LEVEL_INFO) { +priority = LOG_INFO; + } else if (level >= LogWriter::LEVEL_STATUS) { +priority = LOG_NOTICE; + } else { +priority = LOG_ERR; + } + + syslog(priority, "%s: %s", logname, message); +} + +static Logger_Syslog logger("syslog"); + +void rfb::initSyslogLogger() { + logger.registerLogger(); +} Index: tigervnc-1.4.1/common/rfb/Logger_syslog.h === --- /dev/null +++ tigervnc-1.4.1/common/rfb/Logger_syslog.h @@ -0,0 +1,40 @@ +/* Copyright (C) 2015 TigerVNC + * + * This is free software; you ca
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-04-18 10:38:44 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-04-07 09:28:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-04-18 10:38:45.0 +0200 @@ -1,0 +2,18 @@ +Wed Apr 15 10:39:07 UTC 2015 - dims...@opensuse.org + +- Add tigervnc-gnutls-3.4-required.patch: raise gnutls dependency + to 3.2. Simplifies code, but makes it build with gnutls 3.4. + Patch taken from Arch. + +--- +Tue Apr 14 08:53:09 UTC 2015 - meiss...@suse.com + +- Updated to tigervnc 1.4.3 + + * Upstream patches applied to the underlying Xorg code base to mitigate +CVE-2015-0255 / bsc#915810. + * Fixes for performance regressions introduced in 1.4.0. + * Character encoding of clipboard text send by Java viewer now strictly +adheres to the RFB specification. + +--- Old: tigervnc-1.4.1.tar.gz New: tigervnc-gnutls-3.4-required.patch v1.4.3.tar.gz Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.mNR8Xq/_old 2015-04-18 10:38:46.0 +0200 +++ /var/tmp/diff_new_pack.mNR8Xq/_new 2015-04-18 10:38:46.0 +0200 @@ -17,7 +17,7 @@ Name: tigervnc -Version:1.4.1 +Version:1.4.3 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -86,12 +86,12 @@ Requires(post): update-alternatives Requires(postun): update-alternatives %endif -Url:http://sourceforge.net/apps/mediawiki/tigervnc/ +Url:http://tigervnc.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:A high-performance, platform-neutral implementation of VNC License:GPL-2.0 and MIT Group: System/X11/Servers/XF86_4 -Source1:tigervnc-1.4.1.tar.gz +Source1:https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz Source2:index.vnc Source3:vnc.xinetd Source4:10-libvnc.conf @@ -111,6 +111,8 @@ Patch9: u_tigervnc-cve-2014-8240.patch Patch10:u_tigervnc-build-with-xserver-1.17.patch Patch11:u_terminate_instead_of_ignoring_restart.patch +# Require and build against gnutls 3.x +Patch12:tigervnc-gnutls-3.4-required.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -129,7 +131,7 @@ This is the TigerVNC implementation of Xvnc. %prep -%setup -T -b1 +%setup -T -b1 -q cp -r /usr/src/xserver/* unix/xserver/ %patch1 -p1 @@ -143,6 +145,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 pushd unix/xserver patch -p1 < ../xserver116.patch @@ -213,6 +216,8 @@ ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz %endif +rm -rf $RPM_BUILD_ROOT/usr/share/doc/tigervnc-* + %find_lang '%{name}' %if 0%{?suse_version} >= 1315 @@ -233,9 +238,7 @@ %defattr(-,root,root,-) %ghost %{_bindir}/vncviewer %{_bindir}/vncviewer-tigervnc -%exclude /usr/share/doc/tigervnc-1.4.1 -%doc LICENCE.TXT -%doc README.txt +%doc LICENCE.TXT README.txt %ghost %_mandir/man1/vncviewer.1.gz %doc %_mandir/man1/vncviewer-tigervnc.1.gz %if 0%{?suse_version} >= 1315 @@ -244,6 +247,7 @@ %endif %files -n xorg-x11-Xvnc +%doc LICENCE.TXT README.txt %defattr(-,root,root) %{_bindir}/Xvnc ++ tigervnc-gnutls-3.4-required.patch ++ 719 lines (skipped)
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-04-07 09:28:28 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-02-27 11:06:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-04-07 09:28:29.0 +0200 @@ -1,0 +2,6 @@ +Wed Apr 1 12:44:09 UTC 2015 - m...@suse.com + +- u_terminate_instead_of_ignoring_restart.patch + * Terminate instead of ignoring restart. (bnc#920969) + +--- New: u_terminate_instead_of_ignoring_restart.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.Kvqixr/_old 2015-04-07 09:28:30.0 +0200 +++ /var/tmp/diff_new_pack.Kvqixr/_new 2015-04-07 09:28:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -110,6 +110,7 @@ Patch8: u_tigervnc-use_preferred_mode.patch Patch9: u_tigervnc-cve-2014-8240.patch Patch10:u_tigervnc-build-with-xserver-1.17.patch +Patch11:u_terminate_instead_of_ignoring_restart.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -141,6 +142,7 @@ %patch8 -p0 %patch9 -p1 %patch10 -p1 +%patch11 -p1 pushd unix/xserver patch -p1 < ../xserver116.patch ++ u_terminate_instead_of_ignoring_restart.patch ++ Author: Michal Srb Subject: Terminate instead of ignoring reset Patch-Mainline: To be upstreamed References: bnc#920969 Index: tigervnc-1.3.0/unix/xserver/hw/vnc/xvnc.cc === --- tigervnc-1.3.0.orig/unix/xserver/hw/vnc/xvnc.cc +++ tigervnc-1.3.0/unix/xserver/hw/vnc/xvnc.cc @@ -1607,7 +1607,12 @@ vfbScreenInit(ScreenPtr pScreen, int arg static void vfbClientStateChange(CallbackListPtr*, void *, void *) { - dispatchException &= ~DE_RESET; +if (dispatchException & DE_RESET) { +ErrorF("Warning: VNC extension does not support -reset, terminating instead. Use -noreset to prevent termination.\n"); + +dispatchException |= DE_TERMINATE; +dispatchException &= ~DE_RESET; +} } #if XORG >= 113
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-02-27 11:06:46 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2015-01-15 15:58:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-02-27 11:06:48.0 +0100 @@ -1,0 +2,14 @@ +Tue Feb 24 13:00:22 UTC 2015 - m...@suse.com + +- Fix build against X server 1.17.x. + * u_tigervnc-build-with-xserver-1.17.patch + +--- +Thu Feb 5 13:39:04 UTC 2015 - m...@suse.com + +- Use xserver sources from xorg-x11-server-source. +- Drop no longer needed patches: + * N_xorg-server-xdmcp.patch + * n_tigervnc-dont-build-gtf.patch + +--- Old: N_xorg-server-xdmcp.patch n_tigervnc-dont-build-gtf.patch xorg-server-1.16.1.tar.bz2 New: u_tigervnc-build-with-xserver-1.17.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.iHXHx0/_old 2015-02-27 11:06:49.0 +0100 +++ /var/tmp/diff_new_pack.iHXHx0/_new 2015-02-27 11:06:49.0 +0100 @@ -36,6 +36,7 @@ BuildRequires: libtool BuildRequires: nasm BuildRequires: xorg-x11-server-sdk +BuildRequires: xorg-x11-server-source BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xproto) @@ -91,7 +92,7 @@ License:GPL-2.0 and MIT Group: System/X11/Servers/XF86_4 Source1:tigervnc-1.4.1.tar.gz -Source2:xorg-server-1.16.1.tar.bz2 +Source2:index.vnc Source3:vnc.xinetd Source4:10-libvnc.conf Source5:vnc-server.firewall @@ -99,9 +100,6 @@ Source7:vnc_inetd_httpd Source8:vnc.reg Source9:vncpasswd.arg -Source10: index.vnc - -# Tiger vnc patches Patch1: tigervnc-newfbsize.patch Patch2: tigervnc-clean-pressed-key-on-exit.patch Patch3: tigervnc-sf3495623.patch @@ -111,10 +109,7 @@ Patch7: U_include-vencrypt-only-if-any-subtype-present.patch Patch8: u_tigervnc-use_preferred_mode.patch Patch9: u_tigervnc-cve-2014-8240.patch - -# Xserver patches -Patch20:N_xorg-server-xdmcp.patch -Patch21:n_tigervnc-dont-build-gtf.patch +Patch10:u_tigervnc-build-with-xserver-1.17.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -133,13 +128,8 @@ This is the TigerVNC implementation of Xvnc. %prep -%setup -T -b1 -b2 -cp -r ../xorg-server-*/* unix/xserver/ - -if [ -e unix/xserver/hw/xfree86/modes/xf86gtf.c -o -e unix/xserver/hw/xfree86/utils/gtf/gtf.c ]; then - echo "Files hw/xfree86/modes/xf86gtf hw/xfree86/utils/gtf/gtf.c have to be excluded from the xserver source tar ball (bnc#85566)." - exit 1 -fi +%setup -T -b1 +cp -r /usr/src/xserver/* unix/xserver/ %patch1 -p1 %patch2 -p1 @@ -150,11 +140,10 @@ %patch7 -p0 %patch8 -p0 %patch9 -p1 +%patch10 -p1 pushd unix/xserver patch -p1 < ../xserver116.patch -%patch20 -p1 -%patch21 -p1 popd %build @@ -207,6 +196,7 @@ install -m755 VncViewer.jar $RPM_BUILD_ROOT%{_datadir}/vnc/classes popd +install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/vnc/classes install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/vnc %ifnarch s390x install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-libvnc.conf @@ -216,7 +206,6 @@ install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg -install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vnc/classes %if 0%{?suse_version} >= 1315 ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz ++ u_tigervnc-build-with-xserver-1.17.patch ++ Author: Michal Srb Subject: Build with xserver 1.17.x. Do not use removed xalloc&xfree. Add 1.17.x to supported list. Index: tigervnc-1.4.1/unix/xserver/hw/vnc/xorg-version.h === --- tigervnc-1.4.1.orig/unix/xserver/hw/vnc/xorg-version.h +++ tigervnc-1.4.1/unix/xserver/hw/vnc/xorg-version.h @@ -48,8 +48,10 @@ #define XORG 115 #elif XORG_VERSION_CURRENT < ((1 * 1000) + (16 * 10) + (99 * 1000)) #define XORG 116 +#elif XORG_VERSION_CURRENT < ((1 * 1000) + (17 * 10) + (99 * 10
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2015-01-15 15:58:11 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-11-24 11:17:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2015-01-15 15:58:12.0 +0100 @@ -1,0 +2,12 @@ +Fri Jan 9 12:50:45 UTC 2015 - m...@suse.com + +- Update to tigervnc 1.4.1 on xorg-server 1.16.1. +- Drop upstreamed or obsolete patches: +tigervnc-sf3492352.diff +u_aarch64-support.patch +u_tigervnc-check-shm-harder.patch +u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch +u_tigervnc-1.3.0-fix-use-after-free.patch +tigervnc-1.2.80-fix-int-to-pointer.patch + +--- Old: tigervnc-1.2.80-fix-int-to-pointer.patch tigervnc-1.3.1.tar.bz2 tigervnc-sf3492352.diff u_aarch64-support.patch u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch u_tigervnc-1.3.0-fix-use-after-free.patch u_tigervnc-check-shm-harder.patch xorg-server-1.14.0.tar.bz2 New: tigervnc-1.4.1.tar.gz xorg-server-1.16.1.tar.bz2 Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.SNjj9i/_old 2015-01-15 15:58:14.0 +0100 +++ /var/tmp/diff_new_pack.SNjj9i/_new 2015-01-15 15:58:14.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: tigervnc -Version:1.3.1 +Version:1.4.1 Release:0 Provides: tightvnc = 1.3.9 Obsoletes: tightvnc < 1.3.9 @@ -90,8 +90,8 @@ Summary:A high-performance, platform-neutral implementation of VNC License:GPL-2.0 and MIT Group: System/X11/Servers/XF86_4 -Source1:tigervnc-1.3.1.tar.bz2 -Source2:xorg-server-1.14.0.tar.bz2 +Source1:tigervnc-1.4.1.tar.gz +Source2:xorg-server-1.16.1.tar.bz2 Source3:vnc.xinetd Source4:10-libvnc.conf Source5:vnc-server.firewall @@ -102,25 +102,19 @@ Source10: index.vnc # Tiger vnc patches -Patch1: u_tigervnc-1.3.0-fix-use-after-free.patch -Patch2: tigervnc-newfbsize.patch -Patch3: tigervnc-clean-pressed-key-on-exit.patch -Patch4: tigervnc-sf3492352.diff -Patch5: tigervnc-sf3495623.patch -Patch6: u_tigervnc-dont-send-ascii-control-characters.patch -Patch7: u_tigervnc-ignore-epipe-on-write.patch -Patch8: n_tigervnc-date-time.patch -Patch9: U_include-vencrypt-only-if-any-subtype-present.patch -Patch10:u_tigervnc-check-shm-harder.patch -Patch11:u_tigervnc-use_preferred_mode.patch -Patch12:u_tigervnc-cve-2014-8240.patch +Patch1: tigervnc-newfbsize.patch +Patch2: tigervnc-clean-pressed-key-on-exit.patch +Patch3: tigervnc-sf3495623.patch +Patch4: u_tigervnc-dont-send-ascii-control-characters.patch +Patch5: u_tigervnc-ignore-epipe-on-write.patch +Patch6: n_tigervnc-date-time.patch +Patch7: U_include-vencrypt-only-if-any-subtype-present.patch +Patch8: u_tigervnc-use_preferred_mode.patch +Patch9: u_tigervnc-cve-2014-8240.patch # Xserver patches -Patch20:tigervnc-1.2.80-fix-int-to-pointer.patch -Patch21:u_aarch64-support.patch -Patch22:N_xorg-server-xdmcp.patch -Patch23:n_tigervnc-dont-build-gtf.patch -Patch24:u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch +Patch20:N_xorg-server-xdmcp.patch +Patch21:n_tigervnc-dont-build-gtf.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -150,23 +144,17 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p0 +%patch4 -p0 +%patch5 -p0 +%patch6 -p1 %patch7 -p0 -%patch8 -p1 -%patch9 -p0 -%patch10 -p0 -%patch11 -p0 -%patch12 -p1 +%patch8 -p0 +%patch9 -p1 pushd unix/xserver -patch -p1 < ../xserver114.patch +patch -p1 < ../xserver116.patch %patch20 -p1 %patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 popd %build @@ -254,7 +242,7 @@ %defattr(-,root,root,-) %ghost %{_bindir}/vncviewer %{_bindir}/vncviewer-tigervnc -%exclude /usr/share/doc/tigervnc-1.3.1 +%exclude /usr/share/doc/tiger
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-11-24 11:17:29 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-11-03 13:11:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-11-24 11:17:30.0 +0100 @@ -1,0 +2,5 @@ +Sun Nov 16 09:33:04 UTC 2014 - os...@naiandei.net + +- add -fPIC to CFLAGS and CXXFLAGS to compile correctly on armv7l + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.GDqKkG/_old 2014-11-24 11:17:31.0 +0100 +++ /var/tmp/diff_new_pack.GDqKkG/_new 2014-11-24 11:17:31.0 +0100 @@ -170,8 +170,8 @@ popd %build -export CXXFLAGS="%optflags" -export CFLAGS="%optflags" +export CXXFLAGS="%optflags -fPIC" +export CFLAGS="%optflags -fPIC" # Build all tigervnc cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-11-03 13:11:31 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-10-14 07:10:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-11-03 13:11:59.0 +0100 @@ -1,0 +2,7 @@ +Thu Oct 30 13:33:27 UTC 2014 - m...@suse.com + +- u_tigervnc-cve-2014-8240.patch + * Prevent potentially dangerous integer overflow. +(bnc#900896 CVE-2014-8240) + +--- New: u_tigervnc-cve-2014-8240.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.nN6nd0/_old 2014-11-03 13:12:00.0 +0100 +++ /var/tmp/diff_new_pack.nN6nd0/_new 2014-11-03 13:12:00.0 +0100 @@ -113,6 +113,7 @@ Patch9: U_include-vencrypt-only-if-any-subtype-present.patch Patch10:u_tigervnc-check-shm-harder.patch Patch11:u_tigervnc-use_preferred_mode.patch +Patch12:u_tigervnc-cve-2014-8240.patch # Xserver patches Patch20:tigervnc-1.2.80-fix-int-to-pointer.patch @@ -157,6 +158,7 @@ %patch9 -p0 %patch10 -p0 %patch11 -p0 +%patch12 -p1 pushd unix/xserver patch -p1 < ../xserver114.patch ++ u_tigervnc-cve-2014-8240.patch ++ Patch-Mainline: To be upstreamed References: bnc#900896 CVE-2014-8240 Signed-off-by: Michal Srb diff -up tigervnc-1.3.1/unix/x0vncserver/Image.cxx.CVE-2014-8240 tigervnc-1.3.1/unix/x0vncserver/Image.cxx --- tigervnc-1.3.1/unix/x0vncserver/Image.cxx.CVE-2014-8240 2008-03-19 16:14:48.0 + +++ tigervnc-1.3.1/unix/x0vncserver/Image.cxx 2014-10-16 12:23:08.013339234 +0100 @@ -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); + if (xim->bytes_per_line <= 0 || + xim->height <= 0 || + xim->height >= INT_MAX / xim->bytes_per_line) { +vlog.error("Invalid display size"); +XDestroyImage(xim); +exit(1); + } + xim->data = (char *)malloc(xim->bytes_per_line * xim->height); if (xim->data == NULL) { vlog.error("malloc() failed"); @@ -254,6 +262,17 @@ void ShmImage::Init(int width, int heigh delete shminfo; shminfo = NULL; return; + } + + if (xim->bytes_per_line <= 0 || + xim->height <= 0 || + xim->height >= INT_MAX / xim->bytes_per_line) { +vlog.error("Invalid display size"); +XDestroyImage(xim); +xim = NULL; +delete shminfo; +shminfo = NULL; +return; } shminfo->shmid = shmget(IPC_PRIVATE, diff -up tigervnc-1.3.1/vncviewer/X11PixelBuffer.cxx.CVE-2014-8240 tigervnc-1.3.1/vncviewer/X11PixelBuffer.cxx --- tigervnc-1.3.1/vncviewer/X11PixelBuffer.cxx.CVE-2014-8240 2011-08-23 13:04:46.0 +0100 +++ tigervnc-1.3.1/vncviewer/X11PixelBuffer.cxx 2014-10-16 12:22:53.053261132 +0100 @@ -105,6 +105,15 @@ PlatformPixelBuffer::PlatformPixelBuffer ZPixmap, 0, 0, width, height, BitmapPad(fl_display), 0); assert(xim); +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); assert(xim->data); } @@ -169,6 +178,16 @@ int PlatformPixelBuffer::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); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-10-14 07:10:05 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-08-29 17:42:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-10-14 07:10:21.0 +0200 @@ -1,0 +2,6 @@ +Mon Oct 13 11:51:03 UTC 2014 - m...@suse.com + +- u_tigervnc-use_preferred_mode.patch + * Mark user chosen resolution as preferred. (bnc#896540) + +--- New: u_tigervnc-use_preferred_mode.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.M1Y1jN/_old 2014-10-14 07:10:22.0 +0200 +++ /var/tmp/diff_new_pack.M1Y1jN/_new 2014-10-14 07:10:22.0 +0200 @@ -112,6 +112,7 @@ Patch8: n_tigervnc-date-time.patch Patch9: U_include-vencrypt-only-if-any-subtype-present.patch Patch10:u_tigervnc-check-shm-harder.patch +Patch11:u_tigervnc-use_preferred_mode.patch # Xserver patches Patch20:tigervnc-1.2.80-fix-int-to-pointer.patch @@ -155,6 +156,7 @@ %patch8 -p1 %patch9 -p0 %patch10 -p0 +%patch11 -p0 pushd unix/xserver patch -p1 < ../xserver114.patch ++ u_tigervnc-use_preferred_mode.patch ++ Author: Michal Srb Subject: Use preferred mode. Patch-Mainline: To be upstreamed References: bnc#896540 If there is any resolution specified with -geometry or -screen parameters, report this resolution as preferred one. That way desktop environments won't change it immediately after start. Index: unix/xserver/hw/vnc/xvnc.cc === --- unix/xserver/hw/vnc/xvnc.cc (revision 5186) +++ unix/xserver/hw/vnc/xvnc.cc (working copy) @@ -1319,12 +1319,22 @@ /* Make sure the CRTC has this output set */ vncRandRCrtcSet(pScreen, crtc, NULL, 0, 0, RR_Rotate_0, 1, &output); -/* Populate a list of default modes */ -RRModePtr modes[sizeof(vncRandRWidths)/sizeof(*vncRandRWidths)]; -int num_modes; +/* Populate a list of modes */ +RRModePtr modes[sizeof(vncRandRWidths)/sizeof(*vncRandRWidths) + 1]; +int num_modes = 0; -num_modes = 0; +/* Start with requested mode */ +mode = vncRandRModeGet(pScreen->width, pScreen->height); +if(mode != NULL) { + modes[num_modes] = mode; + num_modes++; +} + +/* Add default modes */ for (int i = 0;i < sizeof(vncRandRWidths)/sizeof(*vncRandRWidths);i++) { +if (vncRandRWidths[i] == pScreen->width && vncRandRHeights[i] == pScreen->height) +continue; + mode = vncRandRModeGet(vncRandRWidths[i], vncRandRHeights[i]); if (mode != NULL) { modes[num_modes] = mode; @@ -1332,7 +1342,7 @@ } } -RROutputSetModes(output, modes, num_modes, 0); +RROutputSetModes(output, modes, num_modes, 1); return crtc; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-08-29 17:42:53 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-08-20 17:53:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-08-29 17:42:54.0 +0200 @@ -1,0 +2,5 @@ +Mon Aug 18 13:58:30 UTC 2014 - sndir...@suse.com + +- use update-alternatives only on openSUSE > 13.1 + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.PHkcSK/_old 2014-08-29 17:42:56.0 +0200 +++ /var/tmp/diff_new_pack.PHkcSK/_new 2014-08-29 17:42:56.0 +0200 @@ -81,8 +81,10 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.14 BuildRequires: pkgconfig(xproto) >= 7.0.17 BuildRequires: pkgconfig(xtrans) >= 1.2.2 +%if 0%{?suse_version} >= 1315 Requires(post): update-alternatives Requires(postun): update-alternatives +%endif Url:http://sourceforge.net/apps/mediawiki/tigervnc/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:A high-performance, platform-neutral implementation of VNC @@ -223,11 +225,15 @@ install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vnc/classes +%if 0%{?suse_version} >= 1315 ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz +%endif %find_lang '%{name}' +%if 0%{?suse_version} >= 1315 + %post %_sbindir/update-alternatives \ --install %{_bindir}/vncviewer vncviewer %{_bindir}/vncviewer-tigervnc 20 \ @@ -238,6 +244,8 @@ "%_sbindir/update-alternatives" --remove vncviewer /usr/bin/vncviewer-tigervnc fi +%endif + %files -f %{name}.lang %defattr(-,root,root,-) %ghost %{_bindir}/vncviewer @@ -247,8 +255,10 @@ %doc README.txt %ghost %_mandir/man1/vncviewer.1.gz %doc %_mandir/man1/vncviewer-tigervnc.1.gz +%if 0%{?suse_version} >= 1315 %ghost %_sysconfdir/alternatives/vncviewer %ghost %_sysconfdir/alternatives/vncviewer.1.gz +%endif %files -n xorg-x11-Xvnc %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-08-20 17:53:42 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-08-06 11:42:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-08-20 17:53:47.0 +0200 @@ -1,0 +2,7 @@ +Mon Aug 18 11:07:09 UTC 2014 - m...@suse.com + +- u_tigervnc-check-shm-harder.patch + * Check if SHM really works before deciding to use it. +(bnc#890580) + +--- New: u_tigervnc-check-shm-harder.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.HEhNHU/_old 2014-08-20 17:53:50.0 +0200 +++ /var/tmp/diff_new_pack.HEhNHU/_new 2014-08-20 17:53:50.0 +0200 @@ -109,12 +109,14 @@ Patch7: u_tigervnc-ignore-epipe-on-write.patch Patch8: n_tigervnc-date-time.patch Patch9: U_include-vencrypt-only-if-any-subtype-present.patch +Patch10:u_tigervnc-check-shm-harder.patch + # Xserver patches -Patch10:tigervnc-1.2.80-fix-int-to-pointer.patch -Patch11:u_aarch64-support.patch -Patch12:N_xorg-server-xdmcp.patch -Patch13:n_tigervnc-dont-build-gtf.patch -Patch14:u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch +Patch20:tigervnc-1.2.80-fix-int-to-pointer.patch +Patch21:u_aarch64-support.patch +Patch22:N_xorg-server-xdmcp.patch +Patch23:n_tigervnc-dont-build-gtf.patch +Patch24:u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -150,13 +152,15 @@ %patch7 -p0 %patch8 -p1 %patch9 -p0 +%patch10 -p0 + pushd unix/xserver patch -p1 < ../xserver114.patch -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 popd %build ++ u_tigervnc-check-shm-harder.patch ++ Index: vncviewer/X11PixelBuffer.cxx === --- vncviewer/X11PixelBuffer.cxx(revision 5186) +++ vncviewer/X11PixelBuffer.cxx(working copy) @@ -158,6 +158,8 @@ Bool pixmaps; XErrorHandler old_handler; Status status; + Window test_window; + GC test_gc; if (!XShmQueryVersion(fl_display, &major, &minor, &pixmaps)) return 0; @@ -187,6 +189,12 @@ old_handler = XSetErrorHandler(XShmAttachErrorHandler); XShmAttach(fl_display, shminfo); + test_window = XCreateSimpleWindow(fl_display, XDefaultRootWindow(fl_display), 0, 0, width(), height(), 0, 0, 0); + test_gc = XCreateGC(fl_display, test_window, 0, 0); + XShmPutImage(fl_display, test_window, test_gc, xim, 0, 0, 0, 0, width(), height(), False); + XFreeGC(fl_display, test_gc); + XDestroyWindow(fl_display, test_window); + XSync(fl_display, False); XSetErrorHandler(old_handler); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-08-06 11:42:12 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-06-18 10:59:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-08-06 11:42:15.0 +0200 @@ -1,0 +2,7 @@ +Mon Aug 4 10:37:08 UTC 2014 - m...@suse.com + +- U_include-vencrypt-only-if-any-subtype-present.patch + * Do not automatically offer VeNCrypt security if none of it's +subtypes is selected. (bnc#889781) + +--- New: U_include-vencrypt-only-if-any-subtype-present.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.xPePrB/_old 2014-08-06 11:42:16.0 +0200 +++ /var/tmp/diff_new_pack.xPePrB/_new 2014-08-06 11:42:16.0 +0200 @@ -108,6 +108,7 @@ Patch6: u_tigervnc-dont-send-ascii-control-characters.patch Patch7: u_tigervnc-ignore-epipe-on-write.patch Patch8: n_tigervnc-date-time.patch +Patch9: U_include-vencrypt-only-if-any-subtype-present.patch # Xserver patches Patch10:tigervnc-1.2.80-fix-int-to-pointer.patch Patch11:u_aarch64-support.patch @@ -148,6 +149,7 @@ %patch6 -p0 %patch7 -p0 %patch8 -p1 +%patch9 -p0 pushd unix/xserver patch -p1 < ../xserver114.patch %patch10 -p1 ++ U_include-vencrypt-only-if-any-subtype-present.patch ++ Index: common/rfb/Security.cxx === --- common/rfb/Security.cxx (revision 5186) +++ common/rfb/Security.cxx (working copy) @@ -71,10 +71,15 @@ list result; list::iterator i; - result.push_back(secTypeVeNCrypt); + bool VeNCryptPresent = false; for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++) -if (*i < 0x100) +if (*i < 0x100) { result.push_back(*i); +} else { + if(!VeNCryptPresent) +result.push_back(secTypeVeNCrypt); + VeNCryptPresent = true; +} return result; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-06-18 10:59:19 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-06-02 07:04:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-06-18 10:59:23.0 +0200 @@ -1,0 +2,5 @@ +Wed Jun 4 11:39:54 UTC 2014 - m...@suse.com + +- Fix some errors reported by rpmlint. + +--- @@ -10 +14,0 @@ - Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.amQIZX/_old 2014-06-18 10:59:24.0 +0200 +++ /var/tmp/diff_new_pack.amQIZX/_new 2014-06-18 10:59:24.0 +0200 @@ -20,7 +20,7 @@ Version:1.3.1 Release:0 Provides: tightvnc = 1.3.9 -Obsoletes: tightvnc < 1.3.10 +Obsoletes: tightvnc < 1.3.9 Provides: vnc BuildRequires: Mesa-devel BuildRequires: autoconf @@ -217,11 +217,15 @@ install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vnc/classes +ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer +ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz %find_lang '%{name}' %post -"%_sbindir/update-alternatives" --install /usr/bin/vncviewer vncviewer /usr/bin/vncviewer-tigervnc 20 +%_sbindir/update-alternatives \ +--install %{_bindir}/vncviewer vncviewer %{_bindir}/vncviewer-tigervnc 20 \ +--slave %{_mandir}/man1/vncviewer.1.gz vncviewer.1.gz %{_mandir}/man1/vncviewer-tigervnc.1.gz %postun if [ "$1" = 0 ] ; then @@ -230,12 +234,15 @@ %files -f %{name}.lang %defattr(-,root,root,-) +%ghost %{_bindir}/vncviewer %{_bindir}/vncviewer-tigervnc %exclude /usr/share/doc/tigervnc-1.3.1 %doc LICENCE.TXT %doc README.txt -%{_mandir}/man1/vncviewer-tigervnc.1* +%ghost %_mandir/man1/vncviewer.1.gz +%doc %_mandir/man1/vncviewer-tigervnc.1.gz %ghost %_sysconfdir/alternatives/vncviewer +%ghost %_sysconfdir/alternatives/vncviewer.1.gz %files -n xorg-x11-Xvnc %defattr(-,root,root) @@ -267,8 +274,8 @@ %exclude /var/lib/xkb/compiled/README.compiled -/etc/sysconfig/SuSEfirewall2.d/services/vnc-server -/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd +%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server +%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd %ifnarch s390x %config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-06-02 07:04:30 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-05-18 06:50:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-06-02 07:04:32.0 +0200 @@ -1,0 +2,23 @@ +Thu May 29 03:37:30 UTC 2014 - crrodrig...@opensuse.org + +- n_tigervnc-date-time.patch package republishes everyday + and gets on my nerves, this is because the binaries contain + hardcoded timestamps, avoid that. +- export CXXFLAGS and CFLAGS before building ttigervnc otherwise + it gets built without optimization. +- Make build verbose so it rpmlint catches errors like the above ones. + + +--- +Wed May 28 14:54:02 UTC 2014 - m...@suse.com + +- Use update-alternatives. + +--- +Tue May 20 13:55:30 UTC 2014 - m...@suse.com + +- u_tigervnc-ignore-epipe-on-write.patch + * Do not display error message because of EPIPE on write. +(bnc#864676) + +--- New: n_tigervnc-date-time.patch u_tigervnc-ignore-epipe-on-write.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.6bQTVM/_old 2014-06-02 07:04:33.0 +0200 +++ /var/tmp/diff_new_pack.6bQTVM/_new 2014-06-02 07:04:33.0 +0200 @@ -19,7 +19,9 @@ Name: tigervnc Version:1.3.1 Release:0 -Conflicts: tightvnc +Provides: tightvnc = 1.3.9 +Obsoletes: tightvnc < 1.3.10 +Provides: vnc BuildRequires: Mesa-devel BuildRequires: autoconf BuildRequires: automake @@ -79,6 +81,8 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.14 BuildRequires: pkgconfig(xproto) >= 7.0.17 BuildRequires: pkgconfig(xtrans) >= 1.2.2 +Requires(post): update-alternatives +Requires(postun): update-alternatives Url:http://sourceforge.net/apps/mediawiki/tigervnc/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:A high-performance, platform-neutral implementation of VNC @@ -102,7 +106,8 @@ Patch4: tigervnc-sf3492352.diff Patch5: tigervnc-sf3495623.patch Patch6: u_tigervnc-dont-send-ascii-control-characters.patch - +Patch7: u_tigervnc-ignore-epipe-on-write.patch +Patch8: n_tigervnc-date-time.patch # Xserver patches Patch10:tigervnc-1.2.80-fix-int-to-pointer.patch Patch11:u_aarch64-support.patch @@ -141,7 +146,8 @@ %patch4 -p1 %patch5 -p1 %patch6 -p0 - +%patch7 -p0 +%patch8 -p1 pushd unix/xserver patch -p1 < ../xserver114.patch %patch10 -p1 @@ -152,8 +158,10 @@ popd %build +export CXXFLAGS="%optflags" +export CFLAGS="%optflags" # Build all tigervnc -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags} # Build Xvnc server @@ -174,7 +182,7 @@ --disable-devel-docs \ --with-fontrootdir=/usr/share/fonts \ --disable-selective-werror -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 popd # Build java client @@ -187,6 +195,9 @@ %make_install +mv $RPM_BUILD_ROOT/usr/bin/vncviewer $RPM_BUILD_ROOT/usr/bin/vncviewer-tigervnc +mv $RPM_BUILD_ROOT/usr/share/man/man1/vncviewer.1 $RPM_BUILD_ROOT/usr/share/man/man1/vncviewer-tigervnc.1 + pushd unix/xserver %make_install popd @@ -209,13 +220,22 @@ %find_lang '%{name}' +%post +"%_sbindir/update-alternatives" --install /usr/bin/vncviewer vncviewer /usr/bin/vncviewer-tigervnc 20 + +%postun +if [ "$1" = 0 ] ; then + "%_sbindir/update-alternatives" --remove vncviewer /usr/bin/vncviewer-tigervnc +fi + %files -f %{name}.lang %defattr(-,root,root,-) -%{_bindir}/vncviewer +%{_bindir}/vncviewer-tigervnc %exclude /usr/share/doc/tigervnc-1.3.1 %doc LICENCE.TXT %doc README.txt -%{_mandir}/man1/vncviewer.1* +%{_mandir}/man1/vncviewer-tigervnc.1* +%ghost %_sysconfdir/alternatives/vncviewer %files -n xorg-x11-Xvnc %defattr(-,root,root) ++ n_tigervnc-date-time.patch ++ --- tigervnc-1.3.1.orig/unix/xserver/hw/vnc/buildtime.c +++ tigervnc-1.3.1/unix/xserver/hw/vnc/buildtime.c @@ -15,4 +15,4 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -char buildtime[] = __DATE__ " " __TIME__; +char buildtime[] = "??? ?? ??:??:??"; --- tigervnc-1.3.1.orig/unix/vncconfig/buildtime.c +++ tigervnc-1.3.1/unix
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-05-18 06:50:03 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-05-05 21:09:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-05-18 06:50:05.0 +0200 @@ -1,0 +2,6 @@ +Fri May 16 13:52:19 UTC 2014 - m...@suse.com + +- Update to version 1.3.1 + * Security release (CVE-2014-0011). + +--- Old: tigervnc-1.3.0.tar.bz2 xorg-server-1.13.0.tar.bz2 New: tigervnc-1.3.1.tar.bz2 xorg-server-1.14.0.tar.bz2 Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.K8mOwm/_old 2014-05-18 06:50:08.0 +0200 +++ /var/tmp/diff_new_pack.K8mOwm/_new 2014-05-18 06:50:08.0 +0200 @@ -17,7 +17,7 @@ Name: tigervnc -Version:1.3.0 +Version:1.3.1 Release:0 Conflicts: tightvnc BuildRequires: Mesa-devel @@ -84,8 +84,8 @@ Summary:A high-performance, platform-neutral implementation of VNC License:GPL-2.0 and MIT Group: System/X11/Servers/XF86_4 -Source1:tigervnc-1.3.0.tar.bz2 -Source2:xorg-server-1.13.0.tar.bz2 +Source1:tigervnc-1.3.1.tar.bz2 +Source2:xorg-server-1.14.0.tar.bz2 Source3:vnc.xinetd Source4:10-libvnc.conf Source5:vnc-server.firewall @@ -143,7 +143,7 @@ %patch6 -p0 pushd unix/xserver -patch -p1 < ../xserver113.patch +patch -p1 < ../xserver114.patch %patch10 -p1 %patch11 -p1 %patch12 -p1 @@ -212,7 +212,7 @@ %files -f %{name}.lang %defattr(-,root,root,-) %{_bindir}/vncviewer -%exclude /usr/share/doc/tigervnc-1.3.0 +%exclude /usr/share/doc/tigervnc-1.3.1 %doc LICENCE.TXT %doc README.txt %{_mandir}/man1/vncviewer.1* ++ tigervnc-1.3.0.tar.bz2 -> tigervnc-1.3.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tigervnc-1.3.0/CMakeLists.txt new/tigervnc-1.3.1/CMakeLists.txt --- old/tigervnc-1.3.0/CMakeLists.txt 2013-07-04 15:41:14.0 +0200 +++ new/tigervnc-1.3.1/CMakeLists.txt 2014-03-19 14:22:01.0 +0100 @@ -18,10 +18,10 @@ include(CMakeMacroLibtoolFile) project(tigervnc) -set(VERSION 1.3.0) +set(VERSION 1.3.1) # The RC version must always be four comma-separated numbers -set(RCVERSION 1,3,0,0) +set(RCVERSION 1,3,1,0) # Installation paths set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin") @@ -63,6 +63,10 @@ message(STATUS "VERSION = ${VERSION}, BUILD = ${BUILD}") add_definitions(-D__BUILD__="${BUILD}") +# We want to keep our asserts even in release builds so remove NDEBUG +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -UNDEBUG") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UNDEBUG") + if(NOT DEFINED BUILD_WINVNC) set(BUILD_WINVNC 1) endif() @@ -303,8 +307,20 @@ option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) if(ENABLE_GNUTLS) find_package(GnuTLS) + find_package(Gcrypt) + find_package(Gpg_Error) if (GNUTLS_FOUND) include_directories(${GNUTLS_INCLUDE_DIR}) +if (GCRYPT_FOUND) + include_directories(${GCRYPT_INCLUDE_DIR}) + set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARIES};${GCRYPT_LIBRARIES}) + set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GCRYPT_LIBRARIES}) + if (GPG_ERROR_FOUND) +include_directories(${GPG_ERROR_INCLUDE_DIR}) +set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARIES};${GPG_ERROR_LIBRARIES}) +set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GPG_ERROR_LIBRARIES}) + endif() +endif() add_definitions("-DHAVE_GNUTLS") add_definitions(${GNUTLS_DEFINITIONS}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tigervnc-1.3.0/cmake/Modules/FindGcrypt.cmake new/tigervnc-1.3.1/cmake/Modules/FindGcrypt.cmake --- old/tigervnc-1.3.0/cmake/Modules/FindGcrypt.cmake 1970-01-01 01:00:00.0 +0100 +++ new/tigervnc-1.3.1/cmake/Modules/FindGcrypt.cmake 2014-03-19 14:22:01.0 +0100 @@ -0,0 +1,36 @@ +# - Find gcrypt +# Find the native GCRYPT includes and library +# +# GCRYPT_FOUND - True if gcrypt found. +# GCRYPT_INCLUDE_DIR - where to find gcrypt.h, etc. +# GCRYPT_LIBRARIES - List of libraries when using gcrypt. + +if (GCRYPT_INCLUDE_DIR AND GCRYPT_LIBRARIES) + set(GCRYPT_FIND_QUIETLY TRUE) +endif (GCRYPT_INCLUDE_DIR AND GCRYPT_LIBRARIES) + +# Include dir +find_path(GCRYPT_INCLUDE_DIR + NAMES + gcrypt.h +) + +# Library +find_library(GCRYPT_LIB
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-05-05 21:09:53 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-03-18 14:52:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-05-05 21:09:54.0 +0200 @@ -1,0 +2,19 @@ +Mon Apr 28 01:00:39 UTC 2014 - sndir...@suse.com + +- added missing pkgconfig(xorg-macros) >= 1.14 + +--- +Sat Apr 26 12:04:30 UTC 2014 - sndir...@suse.com + +- xorg-x11-Xvnc: require xkeyboard-config (bnc#875329) + +--- +Fri Apr 25 11:55:11 UTC 2014 - m...@suse.com + +- vnc.xinetd + * Do not use 16 bpp by default anymore. The network trafic gain +of 16 bpp together with Tight encoding is arguable. 16 bpp +causes graphical issues and is known to not work properly +in Mesa. (bnc#871965) + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.iGUCVs/_old 2014-05-05 21:09:55.0 +0200 +++ /var/tmp/diff_new_pack.iGUCVs/_new 2014-05-05 21:09:55.0 +0200 @@ -76,6 +76,7 @@ BuildRequires: pkgconfig(xfont) >= 1.4.2 BuildRequires: pkgconfig(xineramaproto) BuildRequires: pkgconfig(xkbfile) +BuildRequires: pkgconfig(xorg-macros) >= 1.14 BuildRequires: pkgconfig(xproto) >= 7.0.17 BuildRequires: pkgconfig(xtrans) >= 1.2.2 Url:http://sourceforge.net/apps/mediawiki/tigervnc/ @@ -118,6 +119,7 @@ %package -n xorg-x11-Xvnc Requires: xinetd +Requires: xkeyboard-config Summary:TigerVNC implementation of Xvnc Group: System/X11/Servers/XF86_4 ++ vnc.xinetd ++ --- /var/tmp/diff_new_pack.iGUCVs/_old 2014-05-05 21:09:55.0 +0200 +++ /var/tmp/diff_new_pack.iGUCVs/_new 2014-05-05 21:09:55.0 +0200 @@ -10,7 +10,7 @@ wait= no user= nobody server = /usr/bin/Xvnc - server_args = -noreset -inetd -once -query localhost -geometry 1024x768 -depth 16 -securitytypes none + server_args = -noreset -inetd -once -query localhost -geometry 1024x768 -securitytypes none disable = yes } # default: off @@ -25,7 +25,7 @@ wait= no user= nobody server = /usr/bin/Xvnc - server_args = -noreset -inetd -once -query localhost -geometry 1280x1024 -depth 16 -securitytypes none + server_args = -noreset -inetd -once -query localhost -geometry 1280x1024 -securitytypes none disable = yes } # default: off @@ -40,7 +40,7 @@ wait= no user= nobody server = /usr/bin/Xvnc - server_args = -noreset -inetd -once -query localhost -geometry 1600x1200 -depth 16 -securitytypes none + server_args = -noreset -inetd -once -query localhost -geometry 1600x1200 -securitytypes none disable = yes } # default: off -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-03-18 14:52:31 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-02-24 18:25:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-03-18 14:52:31.0 +0100 @@ -1,0 +2,8 @@ +Mon Mar 17 13:47:18 UTC 2014 - m...@suse.com + +- Update HTML page that serves vnc client applet. (bnc#867273) +- u_tigervnc-dont-send-ascii-control-characters.patch + * Send CTRL+[A-Z] combinations instead of ascii control characters. +(bnc#864666) + +--- New: index.vnc u_tigervnc-dont-send-ascii-control-characters.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.YJtwCv/_old 2014-03-18 14:52:32.0 +0100 +++ /var/tmp/diff_new_pack.YJtwCv/_new 2014-03-18 14:52:32.0 +0100 @@ -92,6 +92,7 @@ Source7:vnc_inetd_httpd Source8:vnc.reg Source9:vncpasswd.arg +Source10: index.vnc # Tiger vnc patches Patch1: u_tigervnc-1.3.0-fix-use-after-free.patch @@ -99,6 +100,7 @@ Patch3: tigervnc-clean-pressed-key-on-exit.patch Patch4: tigervnc-sf3492352.diff Patch5: tigervnc-sf3495623.patch +Patch6: u_tigervnc-dont-send-ascii-control-characters.patch # Xserver patches Patch10:tigervnc-1.2.80-fix-int-to-pointer.patch @@ -136,6 +138,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p0 pushd unix/xserver patch -p1 < ../xserver113.patch @@ -189,7 +192,6 @@ pushd java mkdir -p $RPM_BUILD_ROOT%{_datadir}/vnc/classes install -m755 VncViewer.jar $RPM_BUILD_ROOT%{_datadir}/vnc/classes -install -m644 com/tigervnc/vncviewer/index.vnc $RPM_BUILD_ROOT%{_datadir}/vnc/classes popd install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/vnc @@ -201,6 +203,7 @@ install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg +install -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vnc/classes %find_lang '%{name}' ++ index.vnc ++ $USER's $DESKTOP desktop ($DISPLAY) http://www.tigervnc.org/";>TigerVNC site ++ u_tigervnc-dont-send-ascii-control-characters.patch ++ Author: Michal Srb Subject: Do not send ascii control characters for CTRL+[A-Z] combinations. Patch-Mainline: To be upstreamed References: bnc#864666 Index: vncviewer/Viewport.cxx === --- vncviewer/Viewport.cxx (revision 5162) +++ vncviewer/Viewport.cxx (working copy) @@ -753,7 +753,13 @@ return XK_VoidSymbol; } - ucs = fl_utf8decode(keyText, NULL, NULL); + if (keyCode >= 'a' && keyCode <= 'z' && keyText[0] < 0x20) { +// Do not send ascii control characters - send the original key combination that caused them. +ucs = keyCode; + } else { +ucs = fl_utf8decode(keyText, NULL, NULL); + } + return ucs2keysym(ucs); } ++ vnc_inetd_httpd ++ --- /var/tmp/diff_new_pack.YJtwCv/_old 2014-03-18 14:52:32.0 +0100 +++ /var/tmp/diff_new_pack.YJtwCv/_new 2014-03-18 14:52:32.0 +0100 @@ -23,8 +23,10 @@ content=" Remote Desktop - - + + + + " ;; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-02-24 18:25:52 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-02-15 08:07:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-02-24 18:25:52.0 +0100 @@ -1,0 +2,6 @@ +Mon Feb 24 14:42:50 UTC 2014 - m...@suse.com + +- u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch: + arch: Fix image and bitmap byte order for ppc64le (bnc#865069) + +--- New: u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.icKuZy/_old 2014-02-24 18:25:53.0 +0100 +++ /var/tmp/diff_new_pack.icKuZy/_new 2014-02-24 18:25:53.0 +0100 @@ -105,6 +105,7 @@ Patch11:u_aarch64-support.patch Patch12:N_xorg-server-xdmcp.patch Patch13:n_tigervnc-dont-build-gtf.patch +Patch14:u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch %description TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), @@ -142,6 +143,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 popd %build ++ u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch ++ From: Dinar Valeev Date: Mon Feb 24 10:48:22 2014 +0100 Subject: [PATCH]arch: Fix image and bitmap byte order for ppc64le Patch-Mainline: to be upstreamed Git-commit: 3874826e84151917a443f8efb46ea7414c990243 Git-repo: git://anongit.freedesktop.org/git/xorg/xserver References: bnc#865069 Signed-off-by: Egbert Eich So far PPC was big endian for sure. For ppc64le this is no longer true. Signed-off-by: Egbert Eich --- include/servermd.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/servermd.h b/include/servermd.h index 11f6c10..256d84b 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -114,8 +114,13 @@ SOFTWARE. #if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) -#define IMAGE_BYTE_ORDERMSBFirst -#define BITMAP_BIT_ORDERMSBFirst +#if defined(__LITTLE_ENDIAN__) +#define IMAGE_BYTE_ORDER LSBFirst +#define BITMAP_BIT_ORDER LSBFirst +#else +#define IMAGE_BYTE_ORDER MSBFirst +#define BITMAP_BIT_ORDER MSBFirst +#endif #define GLYPHPADBYTES 4 #endif /* PowerPC */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-02-15 08:07:27 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-01-13 10:56:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-02-15 08:07:28.0 +0100 @@ -1,0 +2,13 @@ +Thu Feb 13 14:29:47 UTC 2014 - m...@suse.com + +- Readd vncpasswd.arg for compatibility with installation system + and potentially another users. (bnc#855246) + +--- +Fri Feb 7 14:52:02 UTC 2014 - m...@suse.com + +- Drop tigervnc-sf3492503.diff, tigervnc-sf3495623.diff and + tigervnc-sf3495623.patch.old (not used and not needed). +- Update tigervnc-sf3492352.diff and tigervnc-sf3495623.patch. + +--- Old: tigervnc-sf3492503.patch tigervnc-sf3493012.patch xorg-bug38185.patch New: vncpasswd.arg Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.jer3p8/_old 2014-02-15 08:07:29.0 +0100 +++ /var/tmp/diff_new_pack.jer3p8/_new 2014-02-15 08:07:29.0 +0100 @@ -91,11 +91,14 @@ Source6:vnc-httpd.firewall Source7:vnc_inetd_httpd Source8:vnc.reg +Source9:vncpasswd.arg # Tiger vnc patches Patch1: u_tigervnc-1.3.0-fix-use-after-free.patch Patch2: tigervnc-newfbsize.patch Patch3: tigervnc-clean-pressed-key-on-exit.patch +Patch4: tigervnc-sf3492352.diff +Patch5: tigervnc-sf3495623.patch # Xserver patches Patch10:tigervnc-1.2.80-fix-int-to-pointer.patch @@ -130,6 +133,8 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 pushd unix/xserver patch -p1 < ../xserver113.patch @@ -193,6 +198,7 @@ install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg +install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg %find_lang '%{name}' @@ -210,6 +216,7 @@ %{_bindir}/Xvnc %{_bindir}/vncconfig %{_bindir}/vncpasswd +%{_bindir}/vncpasswd.arg %{_bindir}/vncserver %{_bindir}/x0vncserver %{_bindir}/vnc_inetd_httpd ++ tigervnc-sf3495623.patch ++ --- /var/tmp/diff_new_pack.jer3p8/_old 2014-02-15 08:07:29.0 +0100 +++ /var/tmp/diff_new_pack.jer3p8/_new 2014-02-15 08:07:29.0 +0100 @@ -1,242 +1,23 @@ -Tylko w o/common/network: Makefile -diff -aur o/common/network/Socket.h n/common/network/Socket.h o/common/network/Socket.h 2011-08-09 23:16:40.0 +0200 -+++ n/common/network/Socket.h 2012-03-01 15:36:05.274711896 +0100 -@@ -22,9 +22,9 @@ - #define __NETWORK_SOCKET_H__ - - #include --#include --#include --#include -+#include "../rdr/FdInStream.h" -+#include "../rdr/FdOutStream.h" -+#include "../rdr/Exception.h" - - namespace network { - -diff -aur o/common/network/TcpSocket.cxx n/common/network/TcpSocket.cxx o/common/network/TcpSocket.cxx 2011-08-09 23:16:40.0 +0200 -+++ n/common/network/TcpSocket.cxx 2012-03-01 15:47:39.684622379 +0100 -@@ -20,6 +20,9 @@ - #include - #endif - -+#include -+#include -+ - #ifdef WIN32 - //#include - #include -@@ -41,10 +44,10 @@ - #endif - - #include --#include --#include --#include --#include -+#include "../network/TcpSocket.h" -+#include "../os/net.h" -+#include "../rfb/util.h" -+#include "../rfb/LogWriter.h" - - #ifndef INADDR_NONE - #define INADDR_NONE ((unsigned long)-1) -@@ -53,6 +56,71 @@ - #define INADDR_LOOPBACK ((unsigned long)0x7F01) - #endif - -+template < class P_T > -+class temporary_buffer:protected::std::pair < P_T *,::std::ptrdiff_t > -+{ -+public:typedef P_T -+item_type; -+public:typedef class -+temporary_buffer < -+item_type > -+ itself, & -+ref; -+ typedef itself const & -+cref; -+public:typedef -+class::std::pair < -+item_type *,::std::ptrdiff_t > -+inherited; -+public:typedef typename -+inherited::second_type -+size_type; -+public: -+temporary_buffer (::std::ptrdiff_t const &p_s = 01) -+:inherited (::std::get_temporary_buffer < item_type > (p_s)) -+ { -+ } -+private:temporary_buffer (cref); -+ ref -+ operator = (cref); -+public:~temporary_buffer () -+ { -+::std::return_temporary_buffer (inherited::first); -+ } -+public:size_type const & -+ size () const -+ { -+return -+ inherited::second; -+ } -+public:item_type * const & -+ buff
commit tigervnc for openSUSE:Factory
Hello community, here is the log from the commit of package tigervnc for openSUSE:Factory checked in at 2014-01-13 10:56:29 Comparing /work/SRC/openSUSE:Factory/tigervnc (Old) and /work/SRC/openSUSE:Factory/.tigervnc.new (New) Package is "tigervnc" Changes: --- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes2014-01-02 11:15:27.0 +0100 +++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes 2014-01-13 10:56:30.0 +0100 @@ -1,0 +2,10 @@ +Fri Jan 10 15:11:50 UTC 2014 - sndir...@suse.com + +- do not include vnc Xserver module and xorg.conf snippet on s390x + +--- +Thu Jan 9 11:40:13 UTC 2014 - m...@suse.com + +- Remove unnecessary BuildRequires for binutils-gold. + +--- Other differences: -- ++ tigervnc.spec ++ --- /var/tmp/diff_new_pack.31kWCH/_old 2014-01-13 10:56:32.0 +0100 +++ /var/tmp/diff_new_pack.31kWCH/_new 2014-01-13 10:56:32.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package xorg-x11-Xvnc +# spec file for package tigervnc # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,30 +15,74 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: tigervnc Version:1.3.0 Release:0 -License:GPL-2.0 and MIT Conflicts: tightvnc -BuildRequires: xorg-x11-server-sdk Mesa-devel libopenssl-devel gcc-c++ libjpeg-devel fltk-devel -BuildRequires: nasm gcc-c++ pkgconfig(xproto) pkgconfig(x11) pkgconfig(xext) pkgconfig(xtst) -BuildRequires: cmake autoconf automake libtool binutils-gold -BuildRequires: java-devel jpackage-utils +BuildRequires: Mesa-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: cmake +BuildRequires: fltk-devel +BuildRequires: gcc-c++ +BuildRequires: gcc-c++ +BuildRequires: java-devel +BuildRequires: jpackage-utils +BuildRequires: libjpeg-devel +BuildRequires: libopenssl-devel +BuildRequires: libtool +BuildRequires: nasm +BuildRequires: xorg-x11-server-sdk +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xproto) +BuildRequires: pkgconfig(xtst) # Because of keytool to build java client +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel BuildRequires: mozilla-nss -BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel pkgconfig(libtasn1) pkgconfig(gnutls) libgcrypt-devel libgpg-error-devel pam-devel +BuildRequires: pam-devel +BuildRequires: pkg-config +BuildRequires: xmlto +BuildRequires: xorg-x11-libICE-devel +BuildRequires: xorg-x11-libSM-devel +BuildRequires: pkgconfig(bigreqsproto) >= 1.1.0 +BuildRequires: pkgconfig(compositeproto) >= 0.4 +BuildRequires: pkgconfig(damageproto) >= 1.1 +BuildRequires: pkgconfig(dri) +BuildRequires: pkgconfig(fixesproto) >= 4.1 +BuildRequires: pkgconfig(fontsproto) BuildRequires: pkgconfig(fontutil) -BuildRequires: pkg-config xmlto pkgconfig(pixman-1) >= 0.15.20 pkgconfig(glproto) pkgconfig(gl) pkgconfig(dri) pkgconfig(openssl) -BuildRequires: pkgconfig(fixesproto) >= 4.1 pkgconfig(damageproto) >= 1.1 pkgconfig(xcmiscproto) >= 1.2.0 pkgconfig(xtrans) >= 1.2.2 -BuildRequires: pkgconfig(bigreqsproto) >= 1.1.0 pkgconfig(xproto) >= 7.0.17 pkgconfig(randrproto) >= 1.2.99.3 pkgconfig(renderproto) >= 0.11 -BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 pkgconfig(inputproto) >= 1.9.99.902 pkgconfig(kbproto) >= 1.0.3 pkgconfig(fontsproto) -BuildRequires: pkgconfig(videoproto) pkgconfig(compositeproto) >= 0.4 pkgconfig(recordproto) >= 1.13.99.1 pkgconfig(scrnsaverproto) >= 1.1 -BuildRequires: pkgconfig(resourceproto) pkgconfig(xineramaproto) pkgconfig(xkbfile) pkgconfig(xau) pkgconfig(xdmcp) pkgconfig(xfont) >= 1.4.2 +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glproto) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(inputproto) >= 1.9.99.902 +BuildRequires: pkgconfig(kbproto) >= 1.0.3 +BuildRequires: pkgconfig(libtasn1) +BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(pciaccess) >= 0.8.0 -URL:http://sourceforge.net/apps/mediawiki/tigervnc/ +BuildRequires: pkgconfig(pixman-1) >= 0.15.20 +BuildRequires: pkgconfig(randrproto) >= 1.2.99.3 +BuildRequires: pkgconfig(recordproto) >= 1.13.99.1 +BuildRequires: pkgconfig(renderproto) >= 0.11 +BuildRequires: pkgconfig(resourceproto) +BuildRequires: pkgconfig(scrnsaverproto) >= 1.1 +Build