open-vm-tools-12

This commit is contained in:
AuxXxilium 2022-08-15 10:19:23 +08:00
parent df07b998e9
commit 674dc996b1
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,49 @@
PKG_NAME = open-vm-tools
PKG_VERS = 12.0.0
PKG_BUILD = 19345655
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

@ -0,0 +1,3 @@
open-vm-tools-12.0.0-19345655.tar.gz SHA1 db43ba622a27c54311d70fcbc93e91153e3271fd
open-vm-tools-12.0.0-19345655.tar.gz SHA256 ea370217a213802f91b01231e28298bbe54134822351fb5cc70255d80ba0e775
open-vm-tools-12.0.0-19345655.tar.gz MD5 e5a2c7df0cd1bd37f5dbb92a7fd77985