aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-04-02 12:07:03 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2021-04-02 12:09:15 +0200
commite6bf51db68db37ced0a99a7bb46f2cd8d292073a (patch)
tree82045ca59c7106e2ead0f6f72d69ed0db32231d9
parent8de64560ce3fad365e19a6ba1c04f7902c75cc26 (diff)
downloadaports-e6bf51db68db37ced0a99a7bb46f2cd8d292073a.tar.gz
aports-e6bf51db68db37ced0a99a7bb46f2cd8d292073a.tar.bz2
aports-e6bf51db68db37ced0a99a7bb46f2cd8d292073a.tar.xz
main/asterisk: remove /tmp
remove /tmp which is owned by alpine-baselayout so we don't get wrong permissions on /tmp when asterisk is installed. (cherry picked from commit 55888c043fc0ba97b960b08bf79503e0062fb178)
-rw-r--r--main/asterisk/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 5d9d7a718c..6585907cba 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=18.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Modular Open Source PBX System"
pkgusers="asterisk"
pkggroups="asterisk"
@@ -137,6 +137,9 @@ package() {
chown -R asterisk:asterisk "$pkgdir"/var/*/asterisk
chown -R asterisk:asterisk "$pkgdir"/etc/asterisk
chmod -R u=rwX,g=rX,o= "$pkgdir"/etc/asterisk
+
+ # let alpine-baselayout set permissions of /tmp
+ rm -r "$pkgdir"/tmp
}
dev() {