aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-12 12:14:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-12 12:14:50 +0000
commitb20c0a726e03a095e1065f67ce4f0f4e3f1e09dd (patch)
treed5e3ec7af7e0e25ef1ff418eebcba25d09cb2ea1 /main
parentbc1f499d60d70b26d511575ebf2c8ebe9bd20984 (diff)
downloadaports-b20c0a726e03a095e1065f67ce4f0f4e3f1e09dd.tar.bz2
aports-b20c0a726e03a095e1065f67ce4f0f4e3f1e09dd.tar.xz
main/open-vm-tools-vserver: upgrade to 9.2.0_p799703
Diffstat (limited to 'main')
-rw-r--r--main/open-vm-tools-vserver/APKBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/main/open-vm-tools-vserver/APKBUILD b/main/open-vm-tools-vserver/APKBUILD
index 91638178c6..dbe6817383 100644
--- a/main/open-vm-tools-vserver/APKBUILD
+++ b/main/open-vm-tools-vserver/APKBUILD
@@ -6,22 +6,22 @@ _name=$_realname-$_flavor
_kver=3.4.13
_kpkgrel=0
_myvsver=vs2.3.3.8
-_mypkgrel=0
+_mypkgrel=1
-_realver=2012.05.21
-_realsubver=724730
+_realver=9.2.0_p799703
+_ver=${_realver/_p/-}
# source open-vm-tools version
-if [ -f ../$_realname/APKBUILD ]; then
- . ../$_realname/APKBUILD
- [ "$_realver" != "$pkgver" ] && die "please set _realver to $pkgver"
- [ "$_realsubver" != "$_pkgsubver" ] \
- && die "please set _realsubver to $_pkgsubver"
+if [ -f ../main/$_realname/APKBUILD ]; then
+ . ../main/$_realname/APKBUILD
+ pkgname=$_realname-$_flavor
+ [ "${_realver}" != "$pkgver" ] && die "please set _realver to $pkgver"
fi
# source the kernel version
if [ -f ../linux-${_flavor}/APKBUILD ]; then
. ../linux-${_flavor}/APKBUILD
+ pkgname=$_realname-$_flavor
[ "$_kver" != "$pkgver" ] && die "$_name: please set _kver to $pkgver"
[ "$_kpkgrel" != "$pkgrel" ] && die "$_name: please set _kpkgrel to $pkgrel"
[ "$_myvsver" != "$_vsver" ] && die "$_name: please set _myvsver to $_vsver"
@@ -41,12 +41,12 @@ license="LGPL"
subpackages=""
depends="linux-${_flavor}=${_kernelver}"
makedepends="glib-dev gettext-dev linux-${_flavor}-dev=${_kernelver}"
-source="http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$_realver-$_realsubver.tar.gz
+source="http://downloads.sourceforge.net/project/open-vm-tools/open-vm-tools/stable-${_realver%.*}.x/open-vm-tools-${_ver}.tar.gz
vmware-modules.initd
"
install_if="linux-${_flavor}=${_kernelver} open-vm-tools"
-_builddir="$srcdir/$_realname-$_realver-$_realsubver"
+_builddir="$srcdir/$_realname-$_ver"
prepare() {
cd "$_builddir"
@@ -77,5 +77,5 @@ package() {
done
}
-md5sums="91affb5b23db8abceff930613845f434 open-vm-tools-2012.05.21-724730.tar.gz
+md5sums="37341978a00a1568b898a8ce024f9da9 open-vm-tools-9.2.0-799703.tar.gz
afba2c3487d0b12cee80eb2f04b05ba1 vmware-modules.initd"