Hello community,

here is the log from the commit of package vncmanager for openSUSE:Factory 
checked in at 2016-06-29 15:01:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vncmanager (Old)
 and      /work/SRC/openSUSE:Factory/.vncmanager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vncmanager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/vncmanager/vncmanager.changes    2016-06-11 
00:00:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.vncmanager.new/vncmanager.changes       
2016-06-29 15:01:32.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Jun 16 12:07:33 UTC 2016 - [email protected]
+
+- Update to 1.0.1
+  * Fix build with gcc 6, fix licence link in README. (bnc#985002)
+- Add dependency on xorg-x11-Xvnc. (bnc#984461)
+- Add n_use_with_vnc_key_wrapper.patch
+  * Use with-vnc-key.sh wrapper to generate VNC key and certificate
+    on first use. (bnc#982349)
+
+-------------------------------------------------------------------

Old:
----
  vncmanager-1.0.0.tar.gz

New:
----
  n_use_with_vnc_key_wrapper.patch
  vncmanager-1.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vncmanager.spec ++++++
--- /var/tmp/diff_new_pack.20JEDg/_old  2016-06-29 15:01:33.000000000 +0200
+++ /var/tmp/diff_new_pack.20JEDg/_new  2016-06-29 15:01:33.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vncmanager
 #
-# 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
@@ -15,17 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%define vncgroup vnc
+%define vncuser vnc
+
 Name:           vncmanager
-Version:        1.0.0
+Version:        1.0.1
 Release:        0
-BuildRequires:  gcc-c++
+BuildRequires:  boost-devel
 BuildRequires:  cmake
+BuildRequires:  gcc-c++
 BuildRequires:  libgnutls-devel
-BuildRequires:  boost-devel
 BuildRequires:  pkg-config
 BuildRequires:  systemd-devel
 BuildRequires:  systemd-rpm-macros
+Requires(post): xorg-x11-Xvnc
 Requires:       vncmanager-greeter
+Requires:       xorg-x11-Xvnc
+Requires:       xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh
 Recommends:     vncmanager-controller
 
 Url:            https://github.com/michalsrb/vncmanager
@@ -36,6 +43,7 @@
 Source:         vncmanager-%{version}.tar.gz
 Source1:        tmpfile.conf
 Patch1:         n_use_port_5901.patch
+Patch2:         n_use_with_vnc_key_wrapper.patch
 
 %description
 Session manager for VNC. It listens on VNC port and spawns Xvnc processes for 
incoming clients.
@@ -56,6 +64,7 @@
 %prep
 %setup
 %patch1 -p1
+%patch2 -p1
 
 %build
 %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=ON
@@ -77,7 +86,7 @@
 %{_bindir}/vncmanager
 %{_unitdir}/vncmanager.service
 %{_sbindir}/rcvncmanager
-%dir %{_sysconfdir}/vnc
+%dir %attr(0755,%{vncuser},%{vncuser}) %{_sysconfdir}/vnc
 %config(noreplace) %{_sysconfdir}/vnc/vncmanager.conf
 /usr/lib/tmpfiles.d/%{name}.conf
 %ghost %dir /run/vncmanager

++++++ n_use_with_vnc_key_wrapper.patch ++++++
Use Xvnc's with-vnc-key wrapper to create key and certificate on first use.
Index: vncmanager-1.0.1/vncmanager.service.in
===================================================================
--- vncmanager-1.0.1.orig/vncmanager.service.in
+++ vncmanager-1.0.1/vncmanager.service.in
@@ -4,7 +4,7 @@ After=network.target
 
 [Service]
 User=vnc
-ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/vncmanager
+ExecStart=/usr/lib/vnc/with-vnc-key.sh @CMAKE_INSTALL_FULL_BINDIR@/vncmanager
 
 [Install]
 WantedBy=multi-user.target
++++++ vncmanager-1.0.0.tar.gz -> vncmanager-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vncmanager-1.0.0/README.md 
new/vncmanager-1.0.1/README.md
--- old/vncmanager-1.0.0/README.md      2016-04-27 23:16:22.000000000 +0200
+++ new/vncmanager-1.0.1/README.md      2016-06-16 12:30:02.000000000 +0200
@@ -4,4 +4,4 @@
 TODO: Add more information.
 
 ## License
-The project is open sourced under the [MIT 
license](http://www.tldrlegal.com/license/apache-license-2.0-%28apache-2.0%29).
+The project is open sourced under the [MIT 
license](https://tldrlegal.com/license/mit-license).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vncmanager-1.0.0/rfb.h new/vncmanager-1.0.1/rfb.h
--- old/vncmanager-1.0.0/rfb.h  2016-04-27 23:16:22.000000000 +0200
+++ new/vncmanager-1.0.1/rfb.h  2016-06-16 12:30:02.000000000 +0200
@@ -483,9 +483,9 @@
 
 enum class VeNCryptSubtype : uint32_t   // Contains only the supported subtypes
 {
-    Invalid = SecurityType::Invalid,
-    None = SecurityType::None,
-    VncAuth = SecurityType::VncAuth,
+    Invalid = (uint32_t) SecurityType::Invalid,
+    None = (uint32_t) SecurityType::None,
+    VncAuth = (uint32_t) SecurityType::VncAuth,
 
     Plain = 256,   // (used in direction towards local Xvnc)
     TLSNone = 257,


Reply via email to