diff --git a/files/0001-Don-t-set-Werror-it-s-evil.patch b/files/0001-Don-t-set-Werror-it-s-evil.patch --- a/files/0001-Don-t-set-Werror-it-s-evil.patch +++ b/files/0001-Don-t-set-Werror-it-s-evil.patch @@ -1,25 +1,13 @@ -From a85b3d9047a50921ec64266501de28eeb5498517 Mon Sep 17 00:00:00 2001 -From: Ikey Doherty -Date: Thu, 13 Apr 2017 22:20:26 +0100 -Subject: [PATCH] Don't set -Werror, it's evil. - -Signed-off-by: Ikey Doherty ---- - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 8d4604e..4d925f2 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1137,7 +1137,6 @@ AC_C_VOLATILE +diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac +index 325a39f..b66a85b 100644 +--- a/open-vm-tools/configure.ac ++++ b/open-vm-tools/configure.ac +@@ -1218,7 +1218,7 @@ AC_C_VOLATILE ### General flags / actions CFLAGS="$CFLAGS -Wall" -CFLAGS="$CFLAGS -Werror" ++ - # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' - # in Xlib.h on OpenSolaris. --- -2.12.2 - + # Suppress warnings from clang when taking the address of packed struct + # member fields when compiling hgfsServer.c diff --git a/files/vmtoolsd.service b/files/vmtoolsd.service new file mode 100644 --- /dev/null +++ b/files/vmtoolsd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Open Virtual Machine Tools (VMware Tools) +ConditionVirtualization=vmware + +[Service] +ExecStart=/usr/bin/vmtoolsd + +[Install] +WantedBy=multi-user.target diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : open-vm-tools -version : 10.3.0 -release : 126 +version : 10.3.5 +release : 127 source : - - https://github.com/vmware/open-vm-tools/releases/download/stable-10.3.0/open-vm-tools-10.3.0-8931395.tar.gz : ca5bcd62a969803015bb4ca8e2610c376487be6b6b95e7500f6684d65813b161 + - https://github.com/vmware/open-vm-tools/archive/stable-10.3.5.tar.gz : c0ecd281d6113ca700b1ab0a10559db72e80d8fc03264d53ebfdc400578ab1b6 license : LGPL-2.1 component : system.utils summary : @@ -31,16 +31,21 @@ optimize : no-bind-now setup : | %patch -p1 < $pkgfiles/0001-Don-t-set-Werror-it-s-evil.patch + pushd open-vm-tools sed -i -e 's|.*common-agent/etc/config/Makefile.*||' configure.ac mkdir -p common-agent/etc/config - %reconfigure --with-kernel-release="%kernel_version_lts%" --with-gtk3 --with-gtkmm3 + %reconfigure --with-kernel-release="%kernel_version_lts%" \ + --with-gtk3 \ + --with-gtkmm3 + popd build : | - %make + %make -C open-vm-tools install : | - %make_install -j1 + %make_install -C open-vm-tools -j1 + install -Dm00644 $pkgfiles/vmtoolsd.service $installdir/%libdir%/systemd/system/vmtoolsd.service # Let LDM know about our aliases - install -D -m 00644 $pkgfiles/open-vm-tools.modaliases $installdir/usr/share/linux-driver-management/modaliases/open-vm-tools.modaliases + install -Dm00644 $pkgfiles/open-vm-tools.modaliases $installdir/usr/share/linux-driver-management/modaliases/open-vm-tools.modaliases install -d $installdir/usr/share/defaults/etc mv $installdir/etc/pam.d $installdir/usr/share/defaults/etc/pam.d diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ open-vm-tools - Bryan T. Meyers - bmeyers@datadrake.com + F. von Gellhorn + flinux@vongellhorn.ch LGPL-2.1 system.utils @@ -78,6 +78,7 @@ /usr/lib64/open-vm-tools/plugins/vmusr/libdesktopEvents.so /usr/lib64/open-vm-tools/plugins/vmusr/libdndcp.so /usr/lib64/open-vm-tools/plugins/vmusr/libresolutionSet.so + /usr/lib64/systemd/system/vmtoolsd.service /usr/sbin/mount.vmhgfs /usr/share/defaults/etc/pam.d/vmtoolsd /usr/share/open-vm-tools/messages/de/VGAuthService.vmsg @@ -123,7 +124,7 @@ programming.devel - open-vm-tools + open-vm-tools /usr/include/libDeployPkg/deploypkg.h @@ -163,12 +164,12 @@ - - 2018-11-09 - 10.3.0 + + 2018-12-04 + 10.3.5 Packaging update - Bryan T. Meyers - bmeyers@datadrake.com + F. von Gellhorn + flinux@vongellhorn.ch \ No newline at end of file