diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-06-06 02:05:10 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-20 17:17:17 +0200 |
commit | 06a7b4b88781c4a1595caeea550d02845bddb0fb (patch) | |
tree | 54b1b46bac01a1dee67410ef36e1b223ea88ec63 /main/ngircd | |
parent | ae7ab302c4ec39ab218a12c94764bd9052758d75 (diff) | |
download | aports-06a7b4b88781c4a1595caeea550d02845bddb0fb.tar.bz2 aports-06a7b4b88781c4a1595caeea550d02845bddb0fb.tar.xz |
main/[various]: Add group and use it as primary in .pre-* scripts.
Fixes the problem I unintentionally brought in commit ccc056dbf9d3:
system user creation doesn't add same named group and uses nogroup as
primary group unless explicitly specified via -G.
Brings status quo regarding primary groups of users created in packages:
- main/apache2
- main/aports-build
- main/atheme-iris
- main/clamav
- main/clamsmtp
- main/coova-chilli
- main/dhcp
- main/djbdns
- main/ez-ipupdate
- main/fetchmail
- main/freeswitch
- main/gitolite
- main/gnats
- main/gross
- main/icecast
- main/memcached
- main/ngircd
- main/openntpd
- main/snort
- main/squid
- main/transmission
- main/znc
(cherry picked from commit a7d67c695ca2750e7088ca33cc365281c353af18)
Diffstat (limited to 'main/ngircd')
-rw-r--r-- | main/ngircd/ngircd.pre-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/ngircd/ngircd.pre-install b/main/ngircd/ngircd.pre-install index c073447b37..49dd9d529d 100644 --- a/main/ngircd/ngircd.pre-install +++ b/main/ngircd/ngircd.pre-install @@ -1,5 +1,6 @@ #!/bin/sh -adduser -S -D -H -h /etc/ngircd -s /sbin/nologin -g ngircd ngircd 2>/dev/null +addgroup ngircd 2>/dev/null +adduser -S -D -H -h /etc/ngircd -s /sbin/nologin -G ngircd -g ngircd ngircd 2>/dev/null exit 0 |