NetBSD Problem Report #26236

Received: (qmail 10626 invoked by uid 605); 10 Jul 2004 20:09:10 -0000
Message-Id: <20040710200903.1BF3211178@narn.netbsd.org>
Date: Sat, 10 Jul 2004 20:09:03 +0000 (UTC)
From: geos@epost.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@gnats.NetBSD.org
Subject: many pkgsrc packages assume presence of group and/or user "games"
X-Send-Pr-Version: www-1.0

>Number:         26236
>Category:       pkg
>Synopsis:       many pkgsrc packages assume presence of group and/or user "games"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jschauma
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 10 20:10:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Sun Mar 27 17:19:38 +0000 2011
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
Many packages in the games section have hard-coded user and/group "games". Such user/group might not exist nor be desirable on some non-NetBSD systems.
The following packages (at least) seem to be affected:

angband-tty
angband-x11
crossfire-cli
crossfire-srv
genecys-data
gnome-breakout
iso-pernangband
jetpack
maelstrom-x11
mirrormagic-sdl
nighthawk
omega
rollemup
svb
ularn
xboing
xpat2
xscrabble
>How-To-Repeat:

>Fix:
Make the user/group configurable by introducing respective variables (which might default to "games"), as has already been done for some packages in the mail section.
>Release-Note:
>Audit-Trail:
[20110327 shattered] edited Environment: field

Responsible-Changed-From-To: pkg-manager->jschauma 
Responsible-Changed-By: cube 
Responsible-Changed-When: Mon Jul 12 20:47:21 UTC 2004 
Responsible-Changed-Why:  
jschauma stepped up for the task. 

From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26236 CVS commit: pkgsrc/games/xpat2
Date: Sun,  1 Aug 2004 17:55:05 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Sun Aug  1 17:55:05 UTC 2004

 Modified Files:
 	pkgsrc/games/xpat2: Makefile

 Log Message:
 Use GAMEOWN, GAMEGRP and GAMEMODE instead of hard coding these values.
 First commit to start address PR pkg/26236.


 To generate a diff of this commit:
 cvs rdiff -r1.10 -r1.11 pkgsrc/games/xpat2/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26236 CVS commit: pkgsrc/games/omega
Date: Mon,  2 Aug 2004 03:11:04 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Mon Aug  2 03:11:04 UTC 2004

 Modified Files:
 	pkgsrc/games/omega: Makefile

 Log Message:
 Don't use user id and group id ``games'', but instead rely on GAMEOWN,
 GAMEGRP etc. to DTRT.
 (partly addresses PR pkg/26236)


 To generate a diff of this commit:
 cvs rdiff -r1.22 -r1.23 pkgsrc/games/omega/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26236 CVS commit: pkgsrc/mk
Date: Wed,  4 Aug 2004 02:56:02 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Wed Aug  4 02:56:02 UTC 2004

 Modified Files:
 	pkgsrc/mk: bsd.pkg.defaults.mk bsd.pkg.mk

 Log Message:
 Introduce GAMEDATAMODE and INSTALL_GAME_DATA, which will take care
 of files installed for SETGIDGAME packages.
 This will help address PR pkg/25313 and PR pkg/26236.


 To generate a diff of this commit:
 cvs rdiff -r1.270 -r1.271 pkgsrc/mk/bsd.pkg.defaults.mk
 cvs rdiff -r1.1481 -r1.1482 pkgsrc/mk/bsd.pkg.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26236 CVS commit: pkgsrc/games/xboing
Date: Wed,  4 Aug 2004 03:06:55 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Wed Aug  4 03:06:55 UTC 2004

 Modified Files:
 	pkgsrc/games/xboing: Makefile distinfo
 	pkgsrc/games/xboing/patches: patch-aa

 Log Message:
 Use INSTALL_GAME_DATA as well as GAMEOWN, GAMEGRP and GAMEMODE instead
 of hardcoding the values.  Partially addresses PR pkg/26236.


 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.15 pkgsrc/games/xboing/Makefile
 cvs rdiff -r1.6 -r1.7 pkgsrc/games/xboing/distinfo
 cvs rdiff -r1.6 -r1.7 pkgsrc/games/xboing/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26236 CVS commit: pkgsrc/games/svb
Date: Wed,  4 Aug 2004 03:08:01 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Wed Aug  4 03:08:01 UTC 2004

 Modified Files:
 	pkgsrc/games/svb: Makefile

 Log Message:
 Use INSTALL_GAME_DATA as well as GAMEOWN, GAMEGRP and GAMEMODE instead
 of hardcoding the values.  Partially addresses PR pkg/26236.


 To generate a diff of this commit:
 cvs rdiff -r1.8 -r1.9 pkgsrc/games/svb/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.