diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-08-14 18:18:44 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-08-14 18:18:44 +0300 |
commit | 8852ef767a6e5ef545f85dae7663c87e3f3d520a (patch) | |
tree | d53f8336334437679202cc4260c12f748da7e436 | |
parent | 498842a2be67ecea2f6ce432c9c4e9262ee6ce20 (diff) | |
download | aports-8852ef767a6e5ef545f85dae7663c87e3f3d520a.tar.bz2 aports-8852ef767a6e5ef545f85dae7663c87e3f3d520a.tar.xz |
main/asterisk: create asterisk group
fixes #9196
-rw-r--r-- | main/asterisk/APKBUILD | 2 | ||||
-rw-r--r-- | main/asterisk/asterisk.pre-install | 3 | ||||
-rw-r--r-- | main/asterisk/asterisk.pre-upgrade | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD index a091a75bdb..2f31728e6e 100644 --- a/main/asterisk/APKBUILD +++ b/main/asterisk/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=asterisk pkgver=15.5.0 -pkgrel=0 +pkgrel=1 pkgdesc="Asterisk: A Module Open Source PBX System" pkgusers="asterisk" pkggroups="asterisk" diff --git a/main/asterisk/asterisk.pre-install b/main/asterisk/asterisk.pre-install index 5396c69468..cc6c2b017f 100644 --- a/main/asterisk/asterisk.pre-install +++ b/main/asterisk/asterisk.pre-install @@ -1,6 +1,7 @@ #!/bin/sh -adduser -S -D -h /var/lib/asterisk -s /sbin/nologin -g asterisk asterisk 2>/dev/null +addgroup -S asterisk 2>/dev/null +adduser -S -D -h /var/lib/asterisk -s /sbin/nologin -G asterisk -g asterisk asterisk 2>/dev/null addgroup -S dialout 2>/dev/null addgroup asterisk dialout 2>/dev/null diff --git a/main/asterisk/asterisk.pre-upgrade b/main/asterisk/asterisk.pre-upgrade index 0b09a3fa1b..cc6c2b017f 100644 --- a/main/asterisk/asterisk.pre-upgrade +++ b/main/asterisk/asterisk.pre-upgrade @@ -1,6 +1,7 @@ #!/bin/sh -adduser -S -D -h /var/lib/asterisk -s /bin/false -g asterisk asterisk 2>/dev/null +addgroup -S asterisk 2>/dev/null +adduser -S -D -h /var/lib/asterisk -s /sbin/nologin -G asterisk -g asterisk asterisk 2>/dev/null addgroup -S dialout 2>/dev/null addgroup asterisk dialout 2>/dev/null |