Subject: pkg/18177: x11/gdm patch bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <julien.letessier@sun.com>
List: netbsd-bugs
Date: 09/05/2002 05:22:53
>Number:         18177
>Category:       pkg
>Synopsis:       x11/gdm patch bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 05 05:23:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julien T. Letessier
>Release:        Zoularis/Solaris8
>Organization:
Sun Labs Europe
>Environment:
SunOS mikdemia 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-Enterprise
>Description:
POSIX chown uses a colon to separate user and group, not a period. The period is accepted by GNU chown (from the fileutils) as a separator, as well as the colon.
>How-To-Repeat:
Build gdm on Solaris.
>Fix:
One patch file to change. 'chown' and 'chmod' should probably also be changed to '${CHOWN}' and '${CHMOD}'.

Index: patches/patch-bc
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gdm/patches/patch-bc,v
retrieving revision 1.2
diff -u -r1.2 patch-bc
--- patches/patch-bc    2001/03/28 22:30:43     1.2
+++ patches/patch-bc    2002/09/05 12:19:04
@@ -7,7 +7,7 @@
        if test '!' -d $(authdir); then \
                $(mkinstalldirs) $(authdir); \
 -              chown gdm.gdm $(authdir); \
-+              chown ${GDMOWN}.${GDMGRP} $(authdir); \
++              chown ${GDMOWN}:${GDMGRP} $(authdir); \
                chmod 750 $(authdir); \
        fi


>Release-Note:
>Audit-Trail:
>Unformatted: