aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-02-14 02:49:45 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-02-14 02:53:38 +0100
commit4e078e81a2f30c6fc4cf8fc9c4be5559049c8850 (patch)
tree54c8d39e8b36aa19bc1b79d4131f6dcac724da04 /main
parente92c6bf05abcbe62700d8d20d170bb2c5fb29f9e (diff)
downloadaports-4e078e81a2f30c6fc4cf8fc9c4be5559049c8850.tar.bz2
aports-4e078e81a2f30c6fc4cf8fc9c4be5559049c8850.tar.xz
main/open-vm-tools: improve abuild and fix confd permissions
Diffstat (limited to 'main')
-rw-r--r--main/open-vm-tools/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD
index db3d6efede..5cc8cdd28e 100644
--- a/main/open-vm-tools/APKBUILD
+++ b/main/open-vm-tools/APKBUILD
@@ -14,7 +14,7 @@ makedepends="procps-dev libdnet-dev icu-dev glib-dev bash icu-dev
gtk+-dev libxext-dev libxinerama-dev libxtst-dev gtkmm-dev fuse-dev
libnotify-dev libxrandr-dev libxcomposite-dev libice-dev libsm-dev
libtirpc-dev linux-headers libmspack-dev libressl-dev rpcgen
- automake autoconf libtool m4
+ automake autoconf libtool m4 doxygen
"
source="$pkgname-$pkgver.tar.gz::https://github.com/vmware/$pkgname/archive/stable-$_ver.tar.gz
0001-remove-autotools-generated-files.patch
@@ -32,8 +32,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/vmware/$pkgname/archive/stab
0013-use-off64_t-instead-of-loff_t.patch
0014-remove-references-to-missing-common-agent-etc-config.patch
- open-vm-tools.initd
- open-vm-tools.confd
+ $pkgname.initd
+ $pkgname.confd
"
builddir="$srcdir/$pkgname-stable-$_ver"
@@ -72,13 +72,13 @@ package() {
chmod -x ./etc/vmware-tools/*.conf
mv ./etc/vmware-tools/vm-support ./usr/bin/vm-support || return 1
- install -Dm755 "$srcdir"/open-vm-tools.initd \
- ./etc/init.d/open-vm-tools || return 1
- install -Dm755 "$srcdir"/open-vm-tools.confd \
- ./etc/conf.d/open-vm-tools || return 1
+ install -D -m 755 "$srcdir"/$pkgname.initd \
+ ./etc/init.d/$pkgname || return 1
+ install -D -m 644 "$srcdir"/$pkgname.confd \
+ ./etc/conf.d/$pkgname || return 1
mkdir -p ./etc/modules-load.d/
- cat > ./etc/modules-load.d/open-vm-tools <<-EOF
+ cat > ./etc/modules-load.d/$pkgname <<-EOF
vmblock
vmci
vmhgfs