commit subversion for openSUSE:11.4
Hello community, here is the log from the commit of package subversion for openSUSE:11.4 checked in at Tue May 10 17:23:48 CEST 2011. -------- --- old-versions/11.4/UPDATES/all/subversion/subversion.changes 2011-03-04 15:22:46.000000000 +0100 +++ 11.4/subversion/subversion.changes 2011-05-10 16:23:57.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 21 15:57:51 CEST 2011 - pth@suse.de + +- Use getent to check for existance of user and group (bnc#688968). + +------------------------------------------------------------------- calling whatdependson for 11.4-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ subversion.spec ++++++ --- /var/tmp/diff_new_pack.IXt0Lq/_old 2011-05-10 17:23:24.000000000 +0200 +++ /var/tmp/diff_new_pack.IXt0Lq/_new 2011-05-10 17:23:24.000000000 +0200 @@ -42,7 +42,7 @@ Name: subversion Version: 1.6.16 -Release: 1.<RELEASE2> +Release: 1.<RELEASE5> # in-tree SWIG version to use for the build: %define swig_version 1.3.36 %define sqlite_version 3.6.13 ++++++ subversion.rcsvnserve ++++++ --- /var/tmp/diff_new_pack.IXt0Lq/_old 2011-05-10 17:23:24.000000000 +0200 +++ /var/tmp/diff_new_pack.IXt0Lq/_new 2011-05-10 17:23:24.000000000 +0200 @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (c) 1995-2002 SuSE Linux AG, Nuernberg, Germany. +# Copyright (c) 1995-20011 SuSE Linux AG, Nuernberg, Germany. # All rights reserved. # # /etc/init.d/svnserve @@ -96,17 +96,25 @@ echo -n "Starting svnserve " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. - if test -z "$SVNSERVE_USERID" || ! (/usr/bin/id $SVNSERVE_USERID &>/dev/null) \ + UID_ENT="$(/usr/bin/getent passwd $SVNSERVE_USERID)" + GID_ENT="$(/usr/bin/getent group $SVNSERVE_GROUPID)" - test -z "$SVNSERVE_GROUPID" || ! (/usr/bin/id $SVNSERVE_GROUPID &>/dev/null); - then - echo "User $SVNSERVE_USERID does not exist." - echo "Please check $SVNSERVE_CONFIG before starting this service." - rc_failed - else - startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS - fi - # Remember status and be verbose + if test -z "$SVNSERVE_USERID" -o -z "$UID_ENT" + then + echo + echo "User $SVNSERVE_USERID does not exist." + echo "Please check $SVNSERVE_CONFIG before starting this service." + rc_failed + elif test -z "$SVNSERVE_GROUPID" -o -z "$GID_ENT" + then + echo + echo "Group $SVNSERVE_GROUPID does not exist." + echo "Please check $SVNSERVE_CONFIG before starting this service." + rc_failed + else + startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS + fi + # Remember status and be verbose rc_status -v ;; stop) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de