aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-09 15:39:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-09 15:40:03 +0000
commitce2afd0457d06be735c71ac8c51fe65afc293144 (patch)
tree880bfc280af49055e44628a62cc44cf40a7802bd
parent2b1f2c790f0250674c1a7de488040e6c1adc48ce (diff)
downloadaports-ce2afd0457d06be735c71ac8c51fe65afc293144.tar.bz2
aports-ce2afd0457d06be735c71ac8c51fe65afc293144.tar.xz
main/kamailio: force creation of kamailio group
-rw-r--r--main/kamailio/APKBUILD2
-rw-r--r--main/kamailio/kamailio.pre-install3
2 files changed, 3 insertions, 2 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 4e2def8e43..43fd50a9fd 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=1.5.3
-pkgrel=6
+pkgrel=7
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
diff --git a/main/kamailio/kamailio.pre-install b/main/kamailio/kamailio.pre-install
index 86d84acc8a..f0ed06b7fa 100644
--- a/main/kamailio/kamailio.pre-install
+++ b/main/kamailio/kamailio.pre-install
@@ -1,4 +1,5 @@
#!/bin/sh
-adduser -h /var/run/kamailio -s /bin/false -S -D -H kamailio 2>/dev/null
+addgroup kamailio 2>/dev/null
+adduser -G kamailio -h /var/run/kamailio -s /bin/false -S -D -H kamailio 2>/dev/null
exit 0