summaryrefslogtreecommitdiff
path: root/community/open-vm-tools
diff options
context:
space:
mode:
Diffstat (limited to 'community/open-vm-tools')
-rw-r--r--community/open-vm-tools/PKGBUILD100
-rw-r--r--community/open-vm-tools/modprobe.conf1
-rw-r--r--community/open-vm-tools/open-vm-tools-X11Bool.patch15
-rw-r--r--community/open-vm-tools/open-vm-tools-dkms.install23
-rw-r--r--community/open-vm-tools/open-vm-tools.conf.d11
-rw-r--r--community/open-vm-tools/open-vm-tools.install10
-rw-r--r--community/open-vm-tools/open-vm-tools.rc.d106
-rw-r--r--community/open-vm-tools/scripts-network-FS19541.patch38
-rw-r--r--community/open-vm-tools/scripts-network.patch73
-rw-r--r--community/open-vm-tools/tools.conf1
-rw-r--r--community/open-vm-tools/vmtoolsd.service9
-rw-r--r--community/open-vm-tools/vmware-guestd6
-rw-r--r--community/open-vm-tools/xautostart.conf6
13 files changed, 0 insertions, 399 deletions
diff --git a/community/open-vm-tools/PKGBUILD b/community/open-vm-tools/PKGBUILD
deleted file mode 100644
index 22b63f7d6..000000000
--- a/community/open-vm-tools/PKGBUILD
+++ /dev/null
@@ -1,100 +0,0 @@
-# $Id: PKGBUILD 80292 2012-11-19 13:12:33Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
-
-pkgbase=open-vm-tools
-pkgname=('open-vm-tools' 'open-vm-tools-dkms')
-epoch=1
-pkgver=9.2.2
-_pkgsubver=893683
-pkgrel=3
-pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools"
-arch=('i686' 'x86_64')
-url="http://open-vm-tools.sourceforge.net/"
-license=('LGPL')
-depends=('libdnet' 'icu' 'procps-ng' 'uriparser' 'libsigc++' 'libxss' 'iproute2')
-makedepends=('chrpath' 'doxygen' 'gtkmm' 'fuse' 'libxtst')
-optdepends=('gtkmm' 'libnotify' 'libxtst' 'fuse' 'libsm'
- 'open-vm-tools-modules: for linux kernel'
- 'open-vm-tools-dkms: for linux-lts and other kernels')
-backup=('etc/conf.d/open-vm-tools'
- 'etc/pam.d/vmware-guestd')
-options=('docs' '!libtool')
-install=$pkgname.install
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-${_pkgsubver}.tar.gz
- scripts-network.patch
- scripts-network-FS19541.patch
- open-vm-tools-X11Bool.patch
- open-vm-tools.conf.d
- open-vm-tools.rc.d
- tools.conf
- vmware-guestd
- xautostart.conf
- modprobe.conf
- vmtoolsd.service)
-md5sums=('7af505681d736d4c9ee6493b1166689f'
- 'b8f68fef3d388489e40dba581b6da18a'
- '507ead54854e49762ca2a6893529c484'
- '8c333a979578bdc0c3134c1dd6bb7353'
- '6567ca1b465854f832fc94a4e9faf876'
- '0848618fa6310294db2752c77ae99865'
- 'b55d15e2c4be396aad709aeca91033d3'
- '1b9ae908fce4c623269f100ee9bdfdef'
- '75a25d83417e683957321f97a00f8465'
- 'bc5518489077e91655489bd04b868584'
- 'a6c53243d31c765580f6dded7d5fa98f')
-
-build() {
- cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}"
- export CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS
- [ -f Makefile ] || CUSTOM_PROCPS_NAME="procps" ./configure --prefix=/usr --without-kernel-modules
- make
-}
-
-package_open-vm-tools() {
- cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}"
-
- make install DESTDIR="$pkgdir"
- install -Dm0644 vmware-user-suid-wrapper/vmware-user.desktop $pkgdir/usr/share/applications/vmware-user.desktop
-
- # vmware-user XDG autostart
- mkdir -p $pkgdir/etc/xdg/autostart
- ln -s /usr/share/applications/vmware-user.desktop $pkgdir/etc/xdg/autostart/vmware-user.desktop
-
- install -D -m 755 scripts/common/vmware-xdg-detect-de "$pkgdir"/usr/bin/vmware-xdg-detect-de
- chmod 07755 "$pkgdir"/usr/bin/vmware-user-suid-wrapper
-
- cd "$pkgdir"
- patch -p1 -i "$srcdir"/scripts-network.patch etc/vmware-tools/scripts/vmware/network
- patch -p1 -i "$srcdir"/scripts-network-FS19541.patch etc/vmware-tools/scripts/vmware/network
-
- install -Dm0755 "$srcdir"/open-vm-tools.rc.d "$pkgdir"/etc/rc.d/open-vm-tools
- install -Dm0644 "$srcdir"/open-vm-tools.conf.d "$pkgdir"/etc/conf.d/open-vm-tools
- install -Dm0644 "$srcdir"/tools.conf "$pkgdir"/etc/vmware-tools/tools.conf
- install -Dm0644 "$srcdir"/xautostart.conf "$pkgdir"/etc/vmware-tools/xautostart.conf
- install -Dm0644 "$srcdir"/vmware-guestd "$pkgdir"/etc/pam.d/vmware-guestd
- rm -rf "$pkgdir"/usr/etc
-
- ln -fs /usr/sbin/mount.vmhgfs "$pkgdir"/sbin/mount.vmhgfs
-
- cd "$pkgdir" && find -type f -exec sh -c "file {} | grep ELF >/dev/null && echo {} && chrpath -d {}" \;
- install -Dm644 ${srcdir}/vmtoolsd.service ${pkgdir}/usr/lib/systemd/system/vmtoolsd.service
-}
-
-package_open-vm-tools-dkms() {
- pkgdesc="kernel modules for the open source implementation of VMware Tools"
- depends=('dkms')
- provides=('open-vm-tools-modules')
- conflicts=('open-vm-tools-modules')
- optdepends=()
- backup=()
- install=open-vm-tools-dkms.install
-
- install -d -m755 ${pkgdir}/usr/src/
- sh ${srcdir}/open-vm-tools-${pkgver}-${_pkgsubver}/modules/linux/dkms.sh \
- ${srcdir}/open-vm-tools-${pkgver}-${_pkgsubver}/ \
- ${pkgdir}/usr/src/
- install -Dm644 ${srcdir}/modprobe.conf ${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf
-
- rm -f $pkgdir/etc/vmware-tools/scripts/vmware/*.orig
-}
diff --git a/community/open-vm-tools/modprobe.conf b/community/open-vm-tools/modprobe.conf
deleted file mode 100644
index 6a1a9ca53..000000000
--- a/community/open-vm-tools/modprobe.conf
+++ /dev/null
@@ -1 +0,0 @@
-softdep pcnet32 pre: vmxnet
diff --git a/community/open-vm-tools/open-vm-tools-X11Bool.patch b/community/open-vm-tools/open-vm-tools-X11Bool.patch
deleted file mode 100644
index f12581807..000000000
--- a/community/open-vm-tools/open-vm-tools-X11Bool.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -wbBur open-vm-tools-2010.08.24-292196.org/lib/include/vm_basic_types.h open-vm-tools-2010.08.24-292196/lib/include/vm_basic_types.h
---- open-vm-tools-2010.08.24-292196.org/lib/include/vm_basic_types.h 2010-08-24 19:59:22.000000000 +0000
-+++ open-vm-tools-2010.08.24-292196/lib/include/vm_basic_types.h 2010-08-30 09:38:48.000000000 +0000
-@@ -83,8 +83,11 @@
-
- /* STRICT ANSI means the Xserver build and X defines Bool differently. */
- #if !defined(__STRICT_ANSI__) || defined(__FreeBSD__) || defined(__MINGW32__)
-+# ifndef _XTYPEDEF_BOOL
-+# define _XTYPEDEF_BOOL
- typedef char Bool;
- #endif
-+#endif
-
- #ifndef FALSE
- #define FALSE 0
diff --git a/community/open-vm-tools/open-vm-tools-dkms.install b/community/open-vm-tools/open-vm-tools-dkms.install
deleted file mode 100644
index 6aadce7c7..000000000
--- a/community/open-vm-tools/open-vm-tools-dkms.install
+++ /dev/null
@@ -1,23 +0,0 @@
-post_install() {
- echo ">>> Enable building of open-vm-tools modules:"
- echo ">>> $ dkms add open-vm-tools/${1%-*}"
- echo ">>>"
- echo ">>> Enabling vmxnet driver in /usr/lib/modprobe.d/open-vm-tools-modules.conf"
- echo ">>> (this will disable pcnet32 driver)"
- echo ">>>"
- echo ">>> If vmxnet driver doesn't handle your NIC, you have to manually"
- echo ">>> disable loading of pcnet32 driver"
- echo ">>>"
-}
-
-post_upgrade() {
- echo ">>> Enable building of open-vm-tools modules:"
- echo ">>> $ dkms add open-vm-tools/${1%-*}"
- echo ">>>"
-}
-
-post_remove() {
- echo ">>>"
- echo ">>> Remember to un-blacklist pcnet32 driver"
- echo ">>>"
-}
diff --git a/community/open-vm-tools/open-vm-tools.conf.d b/community/open-vm-tools/open-vm-tools.conf.d
deleted file mode 100644
index e24ab4e7f..000000000
--- a/community/open-vm-tools/open-vm-tools.conf.d
+++ /dev/null
@@ -1,11 +0,0 @@
-# Enable support for Drag'n'Drop
-VM_DRAG_AND_DROP="yes"
-
-# Load these modules on startup
-# They must be listed in proper dependency order
-# vmblock module loading is switched by VM_DRAG_AND_DROP variable above
-VM_MODULES=('vmci' 'vsock' 'vmhgfs' 'vmsync')
-
-# vmware-guestd settings
-GUESTD_BIN="/usr/sbin/vmware-guestd"
-PIDFILE="/var/run/vmware-guestd.pid"
diff --git a/community/open-vm-tools/open-vm-tools.install b/community/open-vm-tools/open-vm-tools.install
deleted file mode 100644
index 88d9b88e6..000000000
--- a/community/open-vm-tools/open-vm-tools.install
+++ /dev/null
@@ -1,10 +0,0 @@
-post_install() {
- [ ! -d "/mnt/hgfs" ] && mkdir /mnt/hgfs
- echo ">>>"
- echo ">>> You can mount VMware Shared Folders via:"
- echo ">>> mount -t vmhgfs .host:/ /mnt/hgfs"
- echo ">>>"
- echo ">>> or by adding this line to /etc/fstab:"
- echo ">>> .host:/ /mnt/hgfs vmhgfs defaults 0 0"
- echo ">>>"
-}
diff --git a/community/open-vm-tools/open-vm-tools.rc.d b/community/open-vm-tools/open-vm-tools.rc.d
deleted file mode 100644
index 1d9505abc..000000000
--- a/community/open-vm-tools/open-vm-tools.rc.d
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/open-vm-tools ] && . /etc/conf.d/open-vm-tools
-
-PID=`pidof -o %PPID /usr/bin/vmtoolsd`
-case "$1" in
- start)
- stat_busy "Starting Open Virtual Machine Tools"
-
- if [ "$VM_DRAG_AND_DROP" == "yes" ]; then
- VMBLOCK=`grep -w vmblock /proc/modules`
- [ -z "$VMBLOCK" ] && modprobe vmblock
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- fi
-
- DND_TMPDIR="/tmp/VMwareDnD"
- if [ ! -d "$DND_TMPDIR" ]; then
- mkdir $DND_TMPDIR
- chmod 1777 $DND_TMPDIR
- fi
-
- mount -t vmblock none /proc/fs/vmblock/mountPoint
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- fi
- fi
-
-
- for m in ${VM_MODULES[@]}; do
- VMMOD=`grep -w $m /proc/modules`
- [ -z "$VMMOD" ] && \
- { modprobe $m
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- fi; }
- done
-
-
- [ -z "$PID" ] && /usr/bin/vmtoolsd --background $PIDFILE
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon open-vm-tools
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Open Virtual Machine Tools"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
-# if [ $? -gt 0 ]; then
-# stat_fail
-# exit 1
-# fi
-
- VM_MODULES_RM=()
- for m in ${VM_MODULES[@]}; do
- VM_MODULES_RM=($m ${VM_MODULES_RM[@]})
- done
-
- for m in ${VM_MODULES_RM[@]}; do
- VMMOD=`grep -w $m /proc/modules`
- [ ! -z "$VMMOD" ] && rmmod $m
- if [ $? -gt 0 ]; then
- stat_fail
- exit 4
- fi
- done
-
- if [ "$VM_DRAG_AND_DROP" == "yes" ]; then
- MOUNTPOINT=`grep -w "none /proc/fs/vmblock/mountPoint vmblock" /proc/modules`
- [ -z "$MOUNTPOINT" ] && umount /proc/fs/vmblock/mountPoint
- if [ $? -gt 0 ]; then
- stat_fail
- exit 5
- fi
-
- DND_TMPDIR="/tmp/VMwareDnD"
- rm -r $DND_TMPDIR
-
- VMBLOCK=`grep -w vmblock /proc/modules`
- [ ! -z "$VMBLOCK" ] && rmmod vmblock
- if [ $? -gt 0 ]; then
- stat_fail
- exit 6
- fi
- fi
-
- rm_daemon open-vm-tools
- stat_done
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/open-vm-tools/scripts-network-FS19541.patch b/community/open-vm-tools/scripts-network-FS19541.patch
deleted file mode 100644
index 296f22242..000000000
--- a/community/open-vm-tools/scripts-network-FS19541.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- network.orig 2011-11-09 18:42:28.000000000 +0400
-+++ network 2011-11-09 18:46:22.000000000 +0400
-@@ -76,7 +76,7 @@
- else
- echo `date` "[rescue_nic] activating $nic ..."
-
-- ifup $nic
-+ ip link set $nic up
- exitCode=`expr $exitCode \| $?`
- fi
- done < $activeList
-@@ -105,7 +105,7 @@
- # `which' may be a bit noisy, so we'll shush it.
- dbusSend=`which dbus-send 2>/dev/null`
- rc=$?
-- if [ $rc = 0 ]; then
-+ if [ $rc = 0 ] && [ `pidof dbus-daemon` ]; then
- # NetworkManager 0.8.0
- $dbusSend --system --print-reply \
- --dest=org.freedesktop.NetworkManager \
-@@ -154,7 +154,7 @@
- # `which' may be a bit noisy, so we'll shush it.
- dbusSend=`which dbus-send 2>/dev/null`
- rc=$?
-- if [ $rc = 0 ]; then
-+ if [ $rc = 0 ] && [ `pidof dbus-daemon` ]; then
- # NetworkManager 0.8.0
- $dbusSend --system --print-reply \
- --dest=org.freedesktop.NetworkManager \
-@@ -203,7 +203,7 @@
-
- # XXX Are these really necessary? If so, we should have seen customer
- # complaints by now.
-- which ifup >/dev/null 2>&1 || Panic "ifup not in search path."
-+# which ifup >/dev/null 2>&1 || Panic "ifup not in search path."
- which ifconfig >/dev/null 2>&1 || Panic "ifconfig not in search path."
-
- case "$1" in
diff --git a/community/open-vm-tools/scripts-network.patch b/community/open-vm-tools/scripts-network.patch
deleted file mode 100644
index 44c7e6dcb..000000000
--- a/community/open-vm-tools/scripts-network.patch
+++ /dev/null
@@ -1,73 +0,0 @@
---- network.org 2012-03-17 22:20:11.000000000 +0400
-+++ network 2012-03-17 22:18:47.000000000 +0400
-@@ -34,51 +34,6 @@
-
-
- #
--# find_networking_script --
--#
--# Searches common Linux distro init/rc paths to find a singular network
--# services script.
--#
--# Result:
--# Returns a valid networking script path on success or "error" on failure.
--#
--# Side effects:
--# None.
--#
--
--find_networking_script() {
-- local script="error"
-- for dir in "/etc/init.d" "/sbin/init.d" "/etc" "/etc/rc.d" ; do
-- if [ -d "$dir/rc0.d" ] &&
-- [ -d "$dir/rc1.d" ] &&
-- [ -d "$dir/rc2.d" ] &&
-- [ -d "$dir/rc3.d" ] &&
-- [ -d "$dir/rc4.d" ] &&
-- [ -d "$dir/rc5.d" ] &&
-- [ -d "$dir/rc6.d" ]; then
--
-- # Now find the appropriate networking script.
-- if [ -d "$dir/init.d" ]; then
-- if [ -x "$dir/init.d/network" ]; then
-- script="$dir/init.d/network"
-- elif [ -x "$dir/init.d/networking" ]; then
-- script="$dir/init.d/networking"
-- fi
-- else
-- if [ -x "$dir/network" ]; then
-- script="$dir/network"
-- elif [ -x "$dir/networking" ]; then
-- script="$dir/networking"
-- fi
-- fi
-- fi
-- done
--
-- echo "$script"
--}
--
--
--#
- # run_network_script --
- #
- # Finds out how to run the system's script used to control networking, and
-@@ -87,17 +42,7 @@
- #
- run_network_script()
- {
-- script=`find_networking_script`
-- [ "$script" != "error" ] || Panic "Cannot find system networking script."
--
-- # Using SysV "service" if it exists, otherwise fall back to run the script directly
-- service=`which service 2>/dev/null`
-- if [ $? = 0 -a -n "$service" ]; then
-- serviceName=`basename "$script"`
-- "$service" "$serviceName" "$1"
-- else
-- "$script" "$1"
-- fi
-+ /etc/rc.d/network "$1"
- }
-
-
diff --git a/community/open-vm-tools/tools.conf b/community/open-vm-tools/tools.conf
deleted file mode 100644
index 0bb2681b1..000000000
--- a/community/open-vm-tools/tools.conf
+++ /dev/null
@@ -1 +0,0 @@
-bindir = "/usr/bin"
diff --git a/community/open-vm-tools/vmtoolsd.service b/community/open-vm-tools/vmtoolsd.service
deleted file mode 100644
index 1b9924c1f..000000000
--- a/community/open-vm-tools/vmtoolsd.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Open Virtual Machine Tools (VMware Tools)
-ConditionVirtualization=vmware
-
-[Service]
-ExecStart=/usr/bin/vmtoolsd
-
-[Install]
-WantedBy=multi-user.target
diff --git a/community/open-vm-tools/vmware-guestd b/community/open-vm-tools/vmware-guestd
deleted file mode 100644
index f8ea34fc0..000000000
--- a/community/open-vm-tools/vmware-guestd
+++ /dev/null
@@ -1,6 +0,0 @@
-#%PAM-1.0
-
-auth sufficient pam_unix2.so shadow nullok
-auth required pam_unix_auth.so shadow nullok
-account sufficient pam_unix2.so
-account required pam_unix_acct.so
diff --git a/community/open-vm-tools/xautostart.conf b/community/open-vm-tools/xautostart.conf
deleted file mode 100644
index 829f379ce..000000000
--- a/community/open-vm-tools/xautostart.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-gnome-panel
-ksmserver
-startkde
-kwrapper
-panel
-xfce4-panel