forked from ports/contrib
open-vm-tools: adopted, updated to version 11.1.0-16036546
This commit is contained in:
parent
73b9b99783
commit
94212a50a6
@ -1,41 +1,65 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/vmtools
|
||||
-rwxr-xr-x root/root etc/rc.d/vmtoolsd
|
||||
drwxr-xr-x root/root etc/vmware-tools/
|
||||
-rwxr-xr-x root/root etc/vmware-tools/poweroff-vm-default
|
||||
-rwxr-xr-x root/root etc/vmware-tools/poweron-vm-default
|
||||
-rwxr-xr-x root/root etc/vmware-tools/resume-vm-default
|
||||
drwxr-xr-x root/root etc/vmware-tools/scripts/
|
||||
drwxr-xr-x root/root etc/vmware-tools/scripts/vmware/
|
||||
-rwxr-xr-x root/root etc/vmware-tools/scripts/vmware/network
|
||||
-rwxr-xr-x root/root etc/vmware-tools/statechange.subr
|
||||
-rwxr-xr-x root/root etc/vmware-tools/suspend-vm-default
|
||||
-rw-r--r-- root/root etc/vmware-tools/tools.conf
|
||||
-rwxr-xr-x root/root etc/vmware-tools/vm-support
|
||||
-rwxr-xr-x root/root etc/vmware-tools/tools.conf.example
|
||||
drwxr-xr-x root/root lib/
|
||||
drwxr-xr-x root/root lib/udev/
|
||||
drwxr-xr-x root/root lib/udev/rules.d/
|
||||
-rw-r--r-- root/root lib/udev/rules.d/99-vmware-scsi-udev.rules
|
||||
drwxr-xr-x root/root sbin/
|
||||
-rwxr-xr-x root/root sbin/mount.vmhgfs
|
||||
lrwxrwxrwx root/root sbin/mount.vmhgfs -> /usr/ports/work/open-vm-tools/pkg/usr/sbin/mount.vmhgfs
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/vm-support
|
||||
-rwxr-xr-x root/root usr/bin/vmtoolsd
|
||||
-rwxr-xr-x root/root usr/bin/vmware-checkvm
|
||||
-rwxr-xr-x root/root usr/bin/vmware-hgfsclient
|
||||
-rwxr-xr-x root/root usr/bin/vmware-namespace-cmd
|
||||
-rwxr-xr-x root/root usr/bin/vmware-rpctool
|
||||
-rwxr-xr-x root/root usr/bin/vmware-toolbox-cmd
|
||||
-rwxr-xr-x root/root usr/bin/vmware-xferlogs
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libDeployPkg/
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/deploypkg.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/guestcust-events.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/guestrpc.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/imgcust-api.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/includeCheck.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/linuxDeployment.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/log.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/process.h
|
||||
-rw-r--r-- root/root usr/include/libDeployPkg/vm_basic_types.h
|
||||
drwxr-xr-x root/root usr/include/vmGuestLib/
|
||||
-rw-r--r-- root/root usr/include/vmGuestLib/includeCheck.h
|
||||
-rw-r--r-- root/root usr/include/vmGuestLib/vmGuestLib.h
|
||||
-rw-r--r-- root/root usr/include/vmGuestLib/vmSessionId.h
|
||||
-rw-r--r-- root/root usr/include/vmGuestLib/vm_basic_types.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libDeployPkg.a
|
||||
-rwxr-xr-x root/root usr/lib/libDeployPkg.la
|
||||
lrwxrwxrwx root/root usr/lib/libDeployPkg.so -> libDeployPkg.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libDeployPkg.so.0 -> libDeployPkg.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libDeployPkg.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib/libguestlib.a
|
||||
-rwxr-xr-x root/root usr/lib/libguestlib.la
|
||||
lrwxrwxrwx root/root usr/lib/libguestlib.so -> libguestlib.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libguestlib.so.0 -> libguestlib.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libguestlib.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib/libhgfs.a
|
||||
-rwxr-xr-x root/root usr/lib/libhgfs.la
|
||||
lrwxrwxrwx root/root usr/lib/libhgfs.so -> libhgfs.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libhgfs.so.0 -> libhgfs.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libhgfs.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib/libvmtools.a
|
||||
-rwxr-xr-x root/root usr/lib/libvmtools.la
|
||||
lrwxrwxrwx root/root usr/lib/libvmtools.so -> libvmtools.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libvmtools.so.0 -> libvmtools.so.0.0.0
|
||||
@ -43,12 +67,50 @@ lrwxrwxrwx root/root usr/lib/libvmtools.so.0 -> libvmtools.so.0.0.0
|
||||
drwxr-xr-x root/root usr/lib/open-vm-tools/
|
||||
drwxr-xr-x root/root usr/lib/open-vm-tools/plugins/
|
||||
drwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libhgfsServer.la
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libhgfsServer.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libvix.la
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libvix.so
|
||||
drwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libappInfo.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libdeployPkgPlugin.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libpowerOps.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libresolutionKMS.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libtimeSync.so
|
||||
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libvmbackup.so
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libDeployPkg.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/vmguestlib.pc
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/mount.vmhgfs
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/de/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/de/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/de/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/en/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/en/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/en/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/es/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/es/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/es/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/fr/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/fr/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/fr/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/it/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/it/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/it/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/ja/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/ja/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/ja/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/ko/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/ko/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/ko/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/zh_CN/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/zh_CN/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/zh_CN/vmtoolsd.vmsg
|
||||
drwxr-xr-x root/root usr/share/open-vm-tools/messages/zh_TW/
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/zh_TW/toolboxcmd.vmsg
|
||||
-rw-r--r-- root/root usr/share/open-vm-tools/messages/zh_TW/vmtoolsd.vmsg
|
||||
|
@ -1,7 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yI7qmA1ry9x2H7fBQMBJGRAmFm+ChemfXlUULepcmid47yLXFJx//XVTHlB8+k1StmmWx9B9lvOtIpQzSQFwgI=
|
||||
SHA256 (Pkgfile) = 2b6def779d5e78bffe9fc9e211c100177a489e26165ac8aeec995afb855c1bdd
|
||||
SHA256 (.footprint) = 63176be75c04c83d30fe2d63758996fecd1d80ec9c133aee210baf52c4e844a3
|
||||
SHA256 (open-vm-tools-9.4.6-1770165.tar.gz) = 54d7a83d8115124e4b809098b08d7017ba50828801c2f105cdadbc85a064a079
|
||||
SHA256 (vmtools.rc) = 2e7b9744dafc094b2ba19d82ad2627ead094d3df91044bfcd868893fbea09a0c
|
||||
SHA256 (tools.conf) = 74a735f81a348045434e6a7d9ddef0f38843cab690eb210ae0d6d199ed84cb46
|
||||
RWSagIOpLGJF3/EzUix6MZg+xRihX0pb+957jazXedF0QH1P/4Eb68zPqw/ZwLbGh9ShbQcSP1g8h7bT6+2eqG3t59SxuCpBUQ8=
|
||||
SHA256 (Pkgfile) = 9140bc7c140acc971b1a3e09cd88b2186d9374a727728bb8a9cd8e7908a9606a
|
||||
SHA256 (.footprint) = 24205f360000b3c238c3e6b2662d1a902aa42f0f96f70953bd59bec4ca92fef0
|
||||
SHA256 (open-vm-tools-11.1.0-16036546.tar.gz) = cb029af04357f19a899995f9e1ecfe55222b76158ab6d64fe8b56df0ccf87308
|
||||
SHA256 (vmtoolsd) = a443b32dd7b0505db463ed20ff10c0ea3aefc41f003feb704921afa4c72325d8
|
||||
|
@ -1,41 +1,24 @@
|
||||
# Description: VMWare Tools
|
||||
# URL: http://open-vm-tools.sf.net/
|
||||
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
||||
# Depends: libdnet glib
|
||||
# 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
|
||||
# Depends on: libmspack libdnet glib
|
||||
|
||||
name=open-vm-tools
|
||||
version=9.4.6-1770165
|
||||
version=11.1.0-16036546
|
||||
release=1
|
||||
source=(
|
||||
http://downloads.sourceforge.net/project/$name/$name/stable-9.4.x/$name-$version.tar.gz
|
||||
vmtools.rc
|
||||
tools.conf
|
||||
)
|
||||
source=(https://github.com/vmware/$name/releases/download/stable-${version%-*}/$name-$version.tar.gz \
|
||||
vmtoolsd)
|
||||
|
||||
build(){
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
sed -ie 's|-Werror||g' configure.ac
|
||||
autoreconf -iv
|
||||
|
||||
CUSTOM_PROCPS_NAME=procps \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--without-root-privileges \
|
||||
--without-x \
|
||||
--without-gtk2 \
|
||||
--without-gtkmm \
|
||||
./configure --prefix=/usr \
|
||||
--without-icu \
|
||||
--without-pam \
|
||||
--without-kernel-modules
|
||||
--without-x \
|
||||
--without-xerces
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
mv $PKG/usr/sbin/mount.vmhgfs $PKG/sbin/mount.vmhgfs
|
||||
install -D $SRC/vmtools.rc $PKG/etc/rc.d/vmtools
|
||||
|
||||
rm -rf $PKG/usr/{etc,sbin,share} $PKG/etc/vmware-tools/scripts/vmware/network
|
||||
rm -f $PKG/usr/lib/open-vm-tools/plugins/common/*.la
|
||||
|
||||
install -m644 $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf
|
||||
install -o root -g root -m 0755 -D $SRC/vmtoolsd \
|
||||
$PKG/etc/rc.d/vmtoolsd
|
||||
}
|
||||
|
36
open-vm-tools/vmtoolsd
Executable file
36
open-vm-tools/vmtoolsd
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/vmtoolsd: start/stop vmtoolsd daemon
|
||||
#
|
||||
|
||||
SSD=/sbin/start-stop-daemon
|
||||
PROG=/usr/bin/vmtoolsd
|
||||
PID=/var/run/vmtoolsd.pid
|
||||
OPTS="-b ${PID}"
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
$SSD --start --pidfile $PID --exec $PROG -- $OPTS
|
||||
;;
|
||||
stop)
|
||||
$SSD --stop --retry 10 --pidfile $PID
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
$SSD --status --pidfile $PID
|
||||
case $? in
|
||||
0) echo "$PROG is running with pid $(cat $PID)" ;;
|
||||
1) echo "$PROG is not running but the pid file $PID exists" ;;
|
||||
3) echo "$PROG is not running" ;;
|
||||
4) echo "Unable to determine the program status" ;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart|status]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
Loading…
x
Reference in New Issue
Block a user