vm: full update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2023-06-13 10:20:26 +02:00
parent 9ddbf60241
commit e881e3f2c3
10 changed files with 8 additions and 220 deletions

View File

@ -34,7 +34,7 @@ jobs:
docker run -i -v ~/tmp/spksrc:/spksrc ghcr.io/synocommunity/spksrc /spksrc/docker.sh
cp -f ~/tmp/spksrc/packages/*.spk /tmp
cp -r /spksrc/sponge /usr/bin/
cd /spksrc/spk/open-vm-tools-12/
cd /spksrc/spk/open-vm-tools/
make arch-apollolake-7.2
make arch-broadwell-7.2
make arch-broadwellnk-7.2

View File

@ -1,49 +0,0 @@
PKG_NAME = open-vm-tools
PKG_VERS = 12.2.0
PKG_BUILD = 21223074
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS)-$(PKG_BUILD).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/vmware/open-vm-tools/releases/download/stable-$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)-$(PKG_BUILD)
DEPENDS = cross/libmspack cross/glib cross/protobuf cross/openssl cross/fuse cross/curl cross/libtirpc cross/procps-ng cross/icu
HOMEPAGE = https://github.com/vmware/open-vm-tools
COMMENT = VMware open-vm-tools project
LICENSE = GPLv2/LGPLv2.1
PRE_CONFIGURE_TARGET = vmtools_pre_configure
INSTALL_TARGET = vmtools_install
POST_INSTALL_TARGET = vmtools_post_install
ENV = PATH=$(STAGING_INSTALL_PREFIX)/bin:$$PATH
ENV += CUSTOM_PROCPS_NAME=procps
ENV += CUSTOM_PROCPS_LIBS="-L$(STAGING_INSTALL_PREFIX)/lib -lprocps"
GNU_CONFIGURE = 1
CONFIGURE_ARGS = --without-x
CONFIGURE_ARGS += --disable-resolutionkms
CONFIGURE_ARGS += --with-tirpc
CONFIGURE_ARGS += --without-pam
CONFIGURE_ARGS += --without-xmlsec1
CONFIGURE_ARGS += --without-icu
CONFIGURE_ARGS += --enable-containerinfo=no
CONFIGURE_ARGS += --enable-servicediscovery
include ../../mk/spksrc.cross-cc.mk
.PHONY: vmtools_pre_configure
vmtools_pre_configure:
$(RUN) autoreconf -fiv
.PHONY: vmtools_install
vmtools_install:
$(RUN) $(MAKE) install DESTDIR=$(STAGING_INSTALL_PREFIX) prefix=""
.PHONY: vmtools_post_install
vmtools_post_install:
# chmod a-x $(STAGING_INSTALL_PREFIX)/etc/pam.d/*
# chmod a-x $(STAGING_INSTALL_PREFIX)/etc/vmware-tools/*.conf
chmod a-x $(STAGING_INSTALL_PREFIX)/etc/vmware-tools/*.conf.example
# chmod a-x $(STAGING_INSTALL_PREFIX)/etc/vmware-tools/vgauth/schemas/*
chmod a-x $(STAGING_INSTALL_PREFIX)/lib/udev/rules.d/99-vmware-scsi-udev.rules
mv $(STAGING_INSTALL_PREFIX)/usr/bin/vm-support $(STAGING_INSTALL_PREFIX)/bin/

View File

@ -1,57 +0,0 @@
rsc:bin/vm-support
bin:bin/vmhgfs-fuse
bin:bin/vmtoolsd
bin:bin/vmware-checkvm
bin:bin/vmware-hgfsclient
bin:bin/vmware-namespace-cmd
bin:bin/vmware-rpctool
bin:bin/vmware-toolbox-cmd
bin:bin/vmware-vmblock-fuse
bin:bin/vmware-xferlogs
rsc:etc/vmware-tools/poweroff-vm-default
rsc:etc/vmware-tools/poweron-vm-default
rsc:etc/vmware-tools/resume-vm-default
rsc:etc/vmware-tools/statechange.subr
rsc:etc/vmware-tools/suspend-vm-default
rsc:etc/vmware-tools/tools.conf.example
lnk:lib/libDeployPkg.so
lnk:lib/libDeployPkg.so.0
lib:lib/libDeployPkg.so.0.0.0
lnk:lib/libguestlib.so
lnk:lib/libguestlib.so.0
lib:lib/libguestlib.so.0.0.0
lnk:lib/libhgfs.so
lnk:lib/libhgfs.so.0
lib:lib/libhgfs.so.0.0.0
lnk:lib/libvmtools.so
lnk:lib/libvmtools.so.0
lib:lib/libvmtools.so.0.0.0
lnk:lib/libguestStoreClient.so.0
lib:lib/libguestStoreClient.so.0.0.0
lib:lib/open-vm-tools/plugins/common/libhgfsServer.so
lib:lib/open-vm-tools/plugins/common/libvix.so
lib:lib/open-vm-tools/plugins/vmsvc/libdeployPkgPlugin.so
lib:lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
lib:lib/open-vm-tools/plugins/vmsvc/libpowerOps.so
lib:lib/open-vm-tools/plugins/vmsvc/libtimeSync.so
lib:lib/open-vm-tools/plugins/vmsvc/libvmbackup.so
rsc:lib/udev/rules.d/99-vmware-scsi-udev.rules
rsc:share/open-vm-tools/messages/de/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/de/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/de/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/en/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/en/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/es/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/es/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/fr/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/fr/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/it/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/it/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/ja/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/ja/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/ko/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/ko/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/zh_CN/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/zh_CN/vmtoolsd.vmsg
rsc:share/open-vm-tools/messages/zh_TW/toolboxcmd.vmsg
rsc:share/open-vm-tools/messages/zh_TW/vmtoolsd.vmsg

View File

@ -1,3 +0,0 @@
open-vm-tools-12.2.0-21223074.tar.gz SHA1 fdade8fb01433f5fddfba3ed3846f1980311794c
open-vm-tools-12.2.0-21223074.tar.gz SHA256 ddc797cb75c435ad03c197ee0753156add148d06aefb14587dd31bff7556479a
open-vm-tools-12.2.0-21223074.tar.gz MD5 96ee2fec9d09c2ade8d2e372171e0ac7

View File

@ -2,11 +2,11 @@
make setup
cp -r /spksrc/sponge /usr/bin/
cd /spksrc/spk/open-vm-tools-12/ && make arch-apollolake-7.2
cd /spksrc/spk/open-vm-tools-12/ && make arch-broadwell-7.2
cd /spksrc/spk/open-vm-tools-12/ && make arch-broadwellnk-7.2
cd /spksrc/spk/open-vm-tools-12/ && make arch-denverton-7.2
cd /spksrc/spk/open-vm-tools-12/ && make arch-geminilake-7.2
cd /spksrc/spk/open-vm-tools-12/ && make arch-r1000-7.2
cd /spksrc/spk/open-vm-tools-12/ && make arch-v1000-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-apollolake-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-broadwell-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-broadwellnk-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-denverton-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-geminilake-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-r1000-7.2
cd /spksrc/spk/open-vm-tools/ && make arch-v1000-7.2
exit

View File

@ -1,25 +0,0 @@
SPK_NAME = open-vm-tools-12
SPK_VERS = 12.2.0
SPK_REV = 1
SPK_ICON = src/open-vm-tools.png
BETA = 1
DEPENDS = cross/$(SPK_NAME)
UNSUPPORTED_ARCHS = $(PPC_ARCHS) $(ARMv5_ARCHS) $(i686_ARCHS) $(ARMv7L_ARCHS)
MAINTAINER = AuxXxilium
DESCRIPTION = open-vm-tools is a set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guests.
RELOAD_UI = yes
DISPLAY_NAME = VMware Tools
CHANGELOG = "SPK Open-vm-tools | 07 Mar 2023 | Build 21223074"
HOMEPAGE = https://github.com/vmware/open-vm-tools
LICENSE = GPLv2/LGPLv2.1
# 'auto' reserved value grabs SPK_NAME
SERVICE_USER = auto
SERVICE_SETUP = src/service-setup.sh
CONF_DIR = src/conf
STARTABLE = yes
include ../../mk/spksrc.spk.mk

View File

@ -1 +0,0 @@

View File

@ -1,7 +0,0 @@
{
"defaults": {
"run-as": "package"
},
"username": "open-vm-tools",
"join-groupname": "wheel"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1,70 +0,0 @@
### Generic variables and functions
### -------------------------------
if [ -z "${SYNOPKG_PKGNAME}" ] || [ -z "${SYNOPKG_DSM_VERSION_MAJOR}" ]; then
echo "Error: Environment variables are not set." 1>&2;
echo "Please run me using synopkg instead. Example: \"synopkg start [packagename]\"" 1>&2;
exit 1
fi
USER="sc-open-vm-tools"
EFF_USER="sc-open-vm-tools"
# start-stop-status script redirect stdout/stderr to LOG_FILE
LOG_FILE="${SYNOPKG_PKGVAR}/${SYNOPKG_PKGNAME}.log"
# Service command has to deliver its pid into PID_FILE
PID_FILE="${SYNOPKG_PKGVAR}/${SYNOPKG_PKGNAME}.pid"
### Package specific variables and functions
### ----------------------------------------
# Package specific behaviors
# Sourced script by generic installer and start-stop-status scripts
VMTOOLS_DIR=${SYNOPKG_PKGDEST}
VMTOOLS_DAEMON="${VMTOOLS_DIR}/bin/vmtoolsd"
CONF_FILE=${VMTOOLS_DIR}/etc/vmware-tools/tools.conf
PLUGINS_PATH=${SYNOPKG_PKGDEST}/lib/open-vm-tools/plugins/vmsvc/
COMMON_PATH=${SYNOPKG_PKGDEST}/lib/open-vm-tools/plugins/
LOG_FOLDER=${SYNOPKG_PKGDEST}/var/log
SCRIPT_PATH=${VMTOOLS_DIR}/etc/vmware-tools
PATH="${VMTOOLS_DIR}/bin:${PATH}"
SERVICE_COMMAND="${VMTOOLS_DAEMON} -b ${PID_FILE} -c ${CONF_FILE} --plugin-path=${PLUGINS_PATH} --common-path=${COMMON_PATH}"
service_postinst ()
{
mkdir -p ${LOG_FOLDER}
cat > ${CONF_FILE} << EOF
# bindir = "${SYNOPKG_PKGDEST}/bin"
# libdir = "${SYNOPKG_PKGDEST}/lib"
[vmtools]
disable-tools-version = false
[setenvironment]
vmsvc.LOCALE = it
[logging]
log = true
vmsvc.level = message
vmsvc.handler = file
vmsvc.data = ${LOG_FOLDER}/vmsvc.${USER}.log
vmtoolsd.level = message
vmtoolsd.handler = file
vmtoolsd.data = ${LOG_FOLDER}/vmtoolsd.${USER}.log
[powerops]
poweron-script=${SCRIPT_PATH}/poweron-vm-default
poweroff-script=${SCRIPT_PATH}/poweroff-vm-default
resume-script=${SCRIPT_PATH}/resume-vm-default
suspend-script=${SCRIPT_PATH}/suspend-vm-default
EOF
}
service_postuninst ()
{
# Remove link
rm -f ${VMTOOLS_DIR}
}