1
0
forked from pool/openldap2

Accepting request 253641 from network:ldap

1

OBS-URL: https://build.opensuse.org/request/show/253641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openldap2?expand=0&rev=107
This commit is contained in:
Stephan Kulow 2014-10-05 18:30:38 +00:00 committed by Git OBS Bridge
commit 1d7a908d2f
4 changed files with 20 additions and 6 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Sep 22 13:41:56 UTC 2014 - tchvatal@suse.com
- Add baselibs.conf to sources list
-------------------------------------------------------------------
Wed Sep 10 10:26:02 UTC 2014 - varkoly@suse.com
- Do not bypass output of useradd and groupadd
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 3 01:49:12 CEST 2014 - ro@suse.de Wed Sep 3 01:49:12 CEST 2014 - ro@suse.de

View File

@ -69,6 +69,7 @@ Source4: sasl-slapd.conf
Source5: README.update Source5: README.update
Source6: README.dynamic-overlays Source6: README.dynamic-overlays
Source7: schema2ldif Source7: schema2ldif
Source8: baselibs.conf
Source100: openldap-2.3.37.tgz Source100: openldap-2.3.37.tgz
Patch1: 0001-build-adjustments.dif Patch1: 0001-build-adjustments.dif
Patch2: 0002-slapd.conf.dif Patch2: 0002-slapd.conf.dif
@ -541,9 +542,8 @@ cat openldap2.filelist openldap2-back-perl.filelist \
%if "%{name}" == "openldap2" %if "%{name}" == "openldap2"
%pre %pre
/usr/sbin/groupadd -g 70 -o -r ldap 2> /dev/null || : /usr/sbin/groupadd -g 70 -o -r ldap || :
/usr/sbin/useradd -r -o -g ldap -u 76 -s /bin/bash -c "User for OpenLDAP" -d \ /usr/sbin/useradd -r -o -g ldap -u 76 -s /bin/bash -c "User for OpenLDAP" -d /var/lib/ldap ldap || :
/var/lib/ldap ldap 2> /dev/null || :
# try to figure out if a db update is needed # try to figure out if a db update is needed
if [ ${1:-0} -gt 1 ] && [ -f /usr/lib/openldap/slapd ] && if [ ${1:-0} -gt 1 ] && [ -f /usr/lib/openldap/slapd ] &&
/usr/bin/strings /usr/lib/openldap/slapd | \ /usr/bin/strings /usr/lib/openldap/slapd | \

View File

@ -3,6 +3,11 @@ Mon Sep 22 13:41:56 UTC 2014 - tchvatal@suse.com
- Add baselibs.conf to sources list - Add baselibs.conf to sources list
-------------------------------------------------------------------
Wed Sep 10 10:26:02 UTC 2014 - varkoly@suse.com
- Do not bypass output of useradd and groupadd
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 3 01:49:12 CEST 2014 - ro@suse.de Wed Sep 3 01:49:12 CEST 2014 - ro@suse.de

View File

@ -542,9 +542,8 @@ cat openldap2.filelist openldap2-back-perl.filelist \
%if "%{name}" == "openldap2" %if "%{name}" == "openldap2"
%pre %pre
/usr/sbin/groupadd -g 70 -o -r ldap 2> /dev/null || : /usr/sbin/groupadd -g 70 -o -r ldap || :
/usr/sbin/useradd -r -o -g ldap -u 76 -s /bin/bash -c "User for OpenLDAP" -d \ /usr/sbin/useradd -r -o -g ldap -u 76 -s /bin/bash -c "User for OpenLDAP" -d /var/lib/ldap ldap || :
/var/lib/ldap ldap 2> /dev/null || :
# try to figure out if a db update is needed # try to figure out if a db update is needed
if [ ${1:-0} -gt 1 ] && [ -f /usr/lib/openldap/slapd ] && if [ ${1:-0} -gt 1 ] && [ -f /usr/lib/openldap/slapd ] &&
/usr/bin/strings /usr/lib/openldap/slapd | \ /usr/bin/strings /usr/lib/openldap/slapd | \