summaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools-grsec
diff options
context:
space:
mode:
Diffstat (limited to 'main/open-vm-tools-grsec')
-rw-r--r--main/open-vm-tools-grsec/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/open-vm-tools-grsec/APKBUILD b/main/open-vm-tools-grsec/APKBUILD
index 4c4bfbc93..5daaec3b9 100644
--- a/main/open-vm-tools-grsec/APKBUILD
+++ b/main/open-vm-tools-grsec/APKBUILD
@@ -2,21 +2,24 @@
_flavor=grsec
_realname=open-vm-tools
-_realver=2011.06.27
-_realsubver=437995
+_mypkgrel=2
+
+# source open-vm-tools version
+if [ -f ../../main/$_realname/APKBUILD ]; then
+ . ../../main/$_realname/APKBUILD
+fi
+
+_realver="$pkgver"
+_realsubver="$_pkgsubver"
# source the kernel version
if [ -f ../../main/linux-${_flavor}/APKBUILD ]; then
. ../../main/linux-${_flavor}/APKBUILD
fi
-_kver=$pkgver
_kernelver="$pkgver-r$pkgrel"
-_abi_release=${pkgver}-${_flavor}
_kpkgrel=$pkgrel
pkgname="$_realname-$_flavor"
-pkgver=$_kver
-_mypkgrel=0
pkgrel=$(($_kpkgrel + $_mypkgrel))
pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools."