Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Feb 2001 14:53:27 +0300 (MSK)
From:      ilya@martynov.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24896: Problem installing xaos-3.0 port
Message-ID:  <20010206115327.06D971B8@juil.domain>

next in thread | raw e-mail | index | archive | help

>Number:         24896
>Category:       ports
>Synopsis:       Problem installing xaos-3.0 port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 04:00:05 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ilya Martynov
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
AGAVA Software
>Environment:

N/A

>Description:

On installation if xaos-3.0 port was compiled with SVGAlib driver support
(which happens by defualt if configure script finds required libs) it tries
to make installed file xaos suid and chgrp it to group 'root' which doesn't
exists on standart FreeBSD system.

>How-To-Repeat:

cd /usr/ports/graphics/xaos
make all install

On installation it dies with message 'chgrp: root: illegal group name'

>Fix:

Either put add this patch to /usr/ports/graphics/xaos/files:

--- configure~	Thu Mar  5 00:49:12 1998
+++ configure	Tue Feb  6 14:40:30 2001
@@ -5522,7 +5522,7 @@
 #define SVGA_DRIVER 1
 EOF
 
-  STICKY='chmod +s $(bindir)/xaos; chown root $(bindir)/xaos; chgrp root $(bindir)/xaos'
+  STICKY='chmod +s $(bindir)/xaos; chown root $(bindir)/xaos; chgrp wheel $(bindir)/xaos'
   DRIVERDIRS="$DRIVERDIRS ui/ui-drv/svga"
   DRIVERLIBS="$DRIVERLIBS lib/libuisvga.a"
   if test "x$ac_cv_func_pthread_sighandler" = xyes; then 


Or disable compiling of Xaos with SVGAlib driver support. In this case it
will not try to make xaos binary suid and will not try to chgrp it to root.

Or even better add my patch but disable by default compiling of Xaos with
SVGAlib driver support - many users will not like to install suid binary
becouse they have XFree86 and they don't need SVGAlib support.

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010206115327.06D971B8>