diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-01-28 16:03:00 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-01-28 16:03:14 +0000 |
commit | 618047dfcae121feeaf42f43a913ccd52b9b12a4 (patch) | |
tree | 4038993b208c3d982995cd86366e230411fc48f1 /main/postfix | |
parent | 00d6891c1888d43246f05d963fa79045e370afbd (diff) | |
download | aports-618047dfcae121feeaf42f43a913ccd52b9b12a4.tar.bz2 aports-618047dfcae121feeaf42f43a913ccd52b9b12a4.tar.xz |
main/postfix: fix postfix user creation
Diffstat (limited to 'main/postfix')
-rw-r--r-- | main/postfix/APKBUILD | 4 | ||||
-rw-r--r-- | main/postfix/postfix.pre-install | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD index 1c0b86f514..61ae147400 100644 --- a/main/postfix/APKBUILD +++ b/main/postfix/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=postfix pkgver=3.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)" url="http://www.postfix.org/" arch="all" @@ -14,6 +14,8 @@ install="$pkgname.pre-install" subpackages="$pkgname-doc $pkgname-ldap $pkgname-mysql $pkgname-pcre $pkgname-pgsql $pkgname-sqlite" options="suid" +pkgusers="postfix" +pkggroups="postfix postdrop" source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgver.tar.gz $pkgname.initd no-glibc.patch diff --git a/main/postfix/postfix.pre-install b/main/postfix/postfix.pre-install index f004ff658d..c3fc668dc9 100644 --- a/main/postfix/postfix.pre-install +++ b/main/postfix/postfix.pre-install @@ -2,7 +2,8 @@ addgroup -S postfix 2>/dev/null addgroup -S postdrop 2>/dev/null -adduser -S -h /var/spool/postfix -G postfix,mail postfix 2>/dev/null +adduser -S -h /var/spool/postfix -G postfix postfix 2>/dev/null +addgroup postfix mail 2>/dev/null adduser -S -H -s /sbin/nologin -h /var/mail/domains -G postdrop vmail 2>/dev/null |