ports/65460: x11/gdm2: correct GDM theme installation

Ceri Davies ceri at FreeBSD.org
Mon Apr 12 13:40:17 UTC 2004


>Number:         65460
>Category:       ports
>Synopsis:       x11/gdm2: correct GDM theme installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 12 06:40:16 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ceri Davies
>Release:        FreeBSD 4.10-BETA i386
>Organization:
Submonkey
>Environment:
System: FreeBSD shrike.private.submonkey.net 4.10-BETA FreeBSD 4.10-BETA #32: Thu Apr 8 15:18:43 BST 2004 root at shrike.private.submonkey.net:/usr/obj/usr/src/sys/SHRIKE i386


	
>Description:
	Installing themes with gdmsetup has problems due to a bad call
	to chown(8).
>How-To-Repeat:
	Install a new GDM theme with gdmsetup.
	On RELENG_4 you get:

	chown: separation of user and group with a period is deprecated
	chown: root: illegal group name

	On HEAD you get:

	chown: root.root: Invalid argument
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/gdm2/Makefile,v
retrieving revision 1.81
diff -u -r1.81 Makefile
--- Makefile	11 Apr 2004 03:17:14 -0000	1.81
+++ Makefile	12 Apr 2004 13:26:49 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	gdm2
 PORTVERSION=	2.6.0.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11 gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=		sources/${PORTNAME:S/2$//}/2.6
Index: files/patch-gui_gdmsetup.c
===================================================================
RCS file: files/patch-gui_gdmsetup.c
diff -N files/patch-gui_gdmsetup.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-gui_gdmsetup.c	12 Apr 2004 13:26:28 -0000
@@ -0,0 +1,11 @@
+--- gui/gdmsetup.c.orig	Mon Apr 12 14:24:57 2004
++++ gui/gdmsetup.c	Mon Apr 12 14:25:00 2004
+@@ -1962,7 +1962,7 @@
+ 			success = TRUE;
+ 
+ 			/* HACK! */
+-			cmd = g_strdup_printf ("%s -R root.root %s", chown, quoted);
++			cmd = g_strdup_printf ("%s -R root:wheel %s", chown, quoted);
+ 			system (cmd);
+ 			g_free (cmd);
+ 

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



More information about the freebsd-ports-bugs mailing list