diff options
Diffstat (limited to 'main/openldap')
-rw-r--r-- | main/openldap/APKBUILD | 2 | ||||
-rw-r--r-- | main/openldap/openldap.pre-install | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index b0cdbbbab5..cc8bb9e99c 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openldap pkgver=2.4.19 -pkgrel=4 +pkgrel=5 pkgdesc="LDAP Server" url="http://www.openldap.org/" license="custom" diff --git a/main/openldap/openldap.pre-install b/main/openldap/openldap.pre-install index 7ca82b1c26..7de7c0ce33 100644 --- a/main/openldap/openldap.pre-install +++ b/main/openldap/openldap.pre-install @@ -1,5 +1,7 @@ #!/bin/sh -adduser -h /usr/lib/openldap -s /bin/false -S -D ldap 2>/dev/null -addgroup ldap +addgroup -S ldap 2>/dev/null +adduser -h /usr/lib/openldap -s /bin/false -S -D -H -g "OpenLdap User" \ + -G ldap ldap 2>/dev/null + exit 0 |