2020-05-10 18:33:10 +02:00
# Description: A set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guests
# URL: https://github.com/vmware/open-vm-tools
# Maintainer: Matt Housh, jaeger at crux dot ninja
2020-08-15 22:47:03 +02:00
# Depends on: libmspack libdnet glib rpcsvc-proto
2011-08-11 10:08:12 +02:00
name=open-vm-tools
2020-10-24 19:33:10 +02:00
version=11.2.0-16938113
2020-08-20 02:55:42 +02:00
release=1
2020-05-10 18:33:10 +02:00
source=(https://github.com/vmware/$name/releases/download/stable-${version%-*}/$name-$version.tar.gz \
2020-08-20 02:55:42 +02:00
vmtoolsd)
2011-08-11 10:08:12 +02:00
2020-05-10 18:33:10 +02:00
build() {
2011-08-11 10:08:12 +02:00
cd $name-$version
2020-05-10 18:33:10 +02:00
./configure --prefix=/usr \
2011-08-11 10:08:12 +02:00
--without-icu \
2020-05-10 18:33:10 +02:00
--without-x \
--without-xerces
2011-08-11 10:08:12 +02:00
make
make DESTDIR=$PKG install
2020-05-10 18:33:10 +02:00
install -o root -g root -m 0755 -D $SRC/vmtoolsd \
$PKG/etc/rc.d/vmtoolsd
2020-05-24 17:56:48 +02:00
# fix mount.vmhgfs symlink
ln -sf /usr/sbin/mount.vmhgfs $PKG/sbin/mount.vmhgfs
sed -i -e '/pam_unix_/d' $PKG/etc/pam.d/vmtoolsd
2011-08-11 10:08:12 +02:00
}