aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:43:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:43:19 +0000
commit44fe40c5553db9c69ebf3da2c2021ea46005bcc2 (patch)
tree0acdb537537f7cba640faef3a6b7809fbbe56020 /main
parent372eead0277bf603974cedaceba41353a96f71cd (diff)
downloadaports-44fe40c5553db9c69ebf3da2c2021ea46005bcc2.tar.bz2
aports-44fe40c5553db9c69ebf3da2c2021ea46005bcc2.tar.xz
main/asterisk: use /sbin/nologin as shell
Diffstat (limited to 'main')
-rw-r--r--main/asterisk/APKBUILD2
-rw-r--r--main/asterisk/asterisk.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index b19c686f9f..f5c420c8a8 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=11.5.1
-pkgrel=1
+pkgrel=2
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 6c2984ae4e..80b7e678a2 100644
--- a/main/asterisk/asterisk.pre-install
+++ b/main/asterisk/asterisk.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
-adduser -S -h /var/lib/asterisk -s /bin/false -D asterisk 2>/dev/null
+adduser -S -h /var/lib/asterisk -s /sbin/nologin -D asterisk 2>/dev/null
addgroup -S dialout 2>/dev/null
addgroup asterisk dialout 2>/dev/null
exit 0