summaryrefslogtreecommitdiff
path: root/community-testing/open-vm-tools-modules
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-08-09 12:30:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-08-09 12:30:29 +0000
commit5135b52f901206bbb365152084e82e92c120e0be (patch)
treea3d5219f485bfc5320181d4644e1879ddf438866 /community-testing/open-vm-tools-modules
parent2b6f5a28e2e55b46c1169228e1e56f3b18dd08b5 (diff)
Tue Aug 9 12:30:28 UTC 2011
Diffstat (limited to 'community-testing/open-vm-tools-modules')
-rw-r--r--community-testing/open-vm-tools-modules/PKGBUILD38
-rw-r--r--community-testing/open-vm-tools-modules/open-vm-tools-modules.install34
2 files changed, 0 insertions, 72 deletions
diff --git a/community-testing/open-vm-tools-modules/PKGBUILD b/community-testing/open-vm-tools-modules/PKGBUILD
deleted file mode 100644
index 449f8d6cf..000000000
--- a/community-testing/open-vm-tools-modules/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 52418 2011-07-24 20:40:05Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
-
-pkgname=open-vm-tools-modules
-pkgver=2011.07.19
-_pkgsubver=450511
-pkgrel=1
-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=('GPL')
-makedepends=('libdnet' 'icu' 'uriparser' 'linux-headers')
-depends=("linux")
-install=$pkgname.install
-source=("http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz")
-md5sums=('efe9b078045e9f7ea1e1311bf11857e6')
-
-build() {
- cd "$srcdir/open-vm-tools-${pkgver}-${_pkgsubver}"
- sed -i 's#-lproc-3.2.7#-lproc-3.2.8#' configure
- [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --without-x
- (cd modules && make modules)
-}
-
-package() {
- _kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -`
- depends=("linux>=3.${_kernver}" "linux<3.`expr ${_kernver} + 1`")
- KERNEL_VERSION=`uname -r`
- msg "Kernel = $KERNEL_VERSION"
-
- cd "$srcdir/open-vm-tools-${pkgver}-${_pkgsubver}"
- mkdir -p $pkgdir/lib/modules/$KERNEL_VERSION/misc/
- for MOD in `find -type f -name '*.ko'`; do
- install -D -m644 $MOD $pkgdir/lib/modules/$KERNEL_VERSION/misc/
- done
- sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$KERNEL_VERSION'/" $startdir/$pkgname.install
-}
diff --git a/community-testing/open-vm-tools-modules/open-vm-tools-modules.install b/community-testing/open-vm-tools-modules/open-vm-tools-modules.install
deleted file mode 100644
index 8de8d6ec5..000000000
--- a/community-testing/open-vm-tools-modules/open-vm-tools-modules.install
+++ /dev/null
@@ -1,34 +0,0 @@
-KERNEL_VERSION='2.6.38-ARCH'
-
-post_install() {
- depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
-
- VMXNET="install pcnet32 /sbin/modprobe -q --ignore-install vmxnet;"
- VMXNET="$VMXNET /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS;"
- VMXNET="$VMXNET /bin/true;"
-
- echo ">>> Enabling vmxnet driver in /etc/modprobe.d/modprobe.conf"
- echo ">>> (this will disable pcnet32 driver)"
- sed "$ a \\\n#VMware net driver\n$VMXNET" -i /etc/modprobe.d/modprobe.conf
- echo
-
- echo ">>>"
- echo ">>> If vmxnet driver doesn't handle your NIC, you have to manually"
- echo ">>> disable loading of pcnet32 driver"
- echo ">>>"
-}
-
-post_upgrade() {
- depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-post_remove() {
- depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
-
- echo ">>> Disabling vmxnet driver in /etc/modprobe.d/modprobe.conf"
- sed "/VMware net driver/,+1 d" -i /etc/modprobe.d/modprobe.conf
-
- echo ">>>"
- echo ">>> Remember to un-blacklist pcnet32 driver"
- echo ">>>"
-}