Hello community,
here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2017-05-27 13:09:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
and /work/SRC/openSUSE:Factory/.virtualbox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox"
Sat May 27 13:09:24 2017 rev:134 rq:497123 version:5.1.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2017-05-06 18:24:44.296823724 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes 2017-05-27 13:09:52.451530641 +0200
@@ -1,0 +2,36 @@
+Sun May 21 13:28:15 UTC 2017 - hpj@urpla.net
+
+- add %dir /usr/share/licenses to new vnc package
+
+-------------------------------------------------------------------
+Wed May 17 20:33:08 UTC 2017 - Larry.Finger@lwfinger.net
+
+- Made changes to build with gcc 7.x. This adds new file "vbox_fix_for_gcc7.patch".
+ Changed the building of VBoxVNC to remove the hack used earlier.
+
+-------------------------------------------------------------------
+Wed May 10 17:39:57 UTC 2017 - Larry.Finger@lwfinger.net
+
+- Make a number of changes:
+ * Add VBoxVNC as a proper external pack rather than just make the so available (bnc #1037033). Thanks to Michal Nowak for most of this effort.
+ One hack was required to work around a bug in "VBoxManage extpack install" whereby the --accept-license option failed to work.
+ * Improve startup of VirtualBox through use of systemd service files:
+ a. Beginning with Oracle version 5.0.8, the command used to build the kernel modules outside of the RPM packaging
+ code changed; however, the openSUSE version did not implement the new method. That new code is now implemented.
+ b. In Tumbleweed, the SysV init scripts to systemd service files stopped working. Part of the new code also checks
+ to see if the kernel modules are loaded. If not, new script files are called to include the necessary packages
+ and build the necessary modules.
+ c. The hooks are in place to remove the sysv init files and do the complete conversion to systemd. This step will
+ be done at a later time.
+
+ * New files are "vboxconfig.sh", "vboxguestconfig.sh", "vboxdrv.service", and "vboxadd-service.service".
+ * New sub-packages virtualbox-guest-source and virtualbox-vnc are produced.
+ * Some typos in virtualbox.spec are fixed.
+
+-------------------------------------------------------------------
+Thu May 4 17:59:45 UTC 2017 - Larry.Finger@lwfinger.net
+
+- Add libelf-devel to build. Fixes bnc #1037511.
+ Modified the startup files to build the kernel modules if they are missing. Files "vboxconfig.sh" and "vboxguestconfig" added.
+
+-------------------------------------------------------------------
New:
----
vbox_fix_for_gcc7.patch
vboxconfig.sh
vboxguestconfig.sh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.XFJMN1/_old 2017-05-27 13:09:54.859190237 +0200
+++ /var/tmp/diff_new_pack.XFJMN1/_new 2017-05-27 13:09:54.863189671 +0200
@@ -49,6 +49,8 @@
Source13: %{name}-sysconfig.vbox
Source14: vboxdrv.service
Source15: vboxadd-service.service
+Source16: vboxconfig.sh
+Source17: vboxguestconfig.sh
Source98: %{name}-rpmlintrc
Source99: %{name}-patch-source.sh
#rework init scripts to fit suse needs
@@ -94,6 +96,8 @@
Patch113: vbox_remove_smp_mflags.patch
# Fix change in API for get_user_pages()
Patch114: vbox_fix_42.3_api.patch
+# Allow use of gcc7
+Patch115: vbox_fix_for_gcc7.patch
# Fix for missing include needed for server 1.19
Patch116: Fix_for_server_1.19.patch
#
@@ -102,6 +106,7 @@
BuildRequires: acpica
BuildRequires: alsa-devel
BuildRequires: bin86
+BuildRequires: infinipath-psm
BuildRequires: systemd-rpm-macros
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
@@ -122,6 +127,7 @@
BuildRequires: kernel-syms
BuildRequires: libcap-devel
BuildRequires: libcurl-devel
+BuildRequires: libelf-devel
BuildRequires: libidl-devel
BuildRequires: libopenssl-devel
BuildRequires: libqt5-linguist
@@ -293,7 +299,7 @@
###########################################
%package host-source
-Summary: Source files for %{name} kernel modules
+Summary: Source files for %{name} host kernel modules
Group: Development/Sources
Requires: %{name} = %{version}
Requires: gcc
@@ -301,9 +307,22 @@
BuildArch: noarch
%description host-source
-Source files for %{name} kernel modules
+Source files for %{name} host kernel modules
These can be built for custom kernels using
cd %{_prefix}/src/kernel-modules/virtualbox ; make ; make install
+
+%package guest-source
+Summary: Source files for %{name} guest kernel modules
+Group: Development/Sources
+Requires: %{name} = %{version}
+Requires: gcc
+Requires: make
+BuildArch: noarch
+
+%description guest-source
+Source files for %{name} guest kernel modules
+These can be built for custom kernels using
+cd %{_prefix}/src/kernel-modules/virtualbox/guest ; make ; make install
###########################################
%package guest-desktop-icons
@@ -317,6 +336,17 @@
This package contains icons for guest desktop files that were created on the desktop.
###########################################
+%package vnc
+Summary: VNC desktop sharing
+Group: System/Emulators/PC
+Requires: %{name} = %{version}
+
+%description vnc
+Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer
+protocol (RFB) to remotely control another computer. When this optional feature is desired, it is installed
+as an "extpack" for VirtualBox. The implementation is licensed under GPL.
+###########################################
+
%prep
%setup -q -n VirtualBox-%{version}
%patch1 -p1
@@ -342,6 +372,7 @@
%if 0%{?sle_version} == 120300
%patch114 -p1
%endif
+%patch115 -p1
%patch116 -p1
#copy user manual
@@ -352,7 +383,7 @@
##########################
####workaround kmk_sed --v
#instead of kmk_sed use /usr/bin/sed because of bug http://svn.netlabs.org/kbuild/ticket/112,
-#but we have to create wrapper which will handle --append and --outpout options which are not provided by /usr/bin/sed
+#but we have to create wrapper which will handle --append and --output options which are not provided by /usr/bin/sed
cat >> kmk_sed <