Bug 191868

Summary: /usr/games in configuration files under /etc, even if WITHOUT_GAMES is set in src.conf
Product: Base System Reporter: Enji Cooper <ngie>
Component: confAssignee: Colin Percival <cperciva>
Status: Closed FIXED    
Severity: Affects Some People Flags: ngie: mfc-stable10-
ngie: mfc-stable9-
ngie: mfc-stable8-
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Enji Cooper freebsd_committer freebsd_triage 2014-07-14 18:50:18 UTC
There are a number of files that should have "games" support removed from them if WITHOUT_GAMES is set via src.conf. This might warrant investigation to make sure that it does the right thing with mergemaster -p with BSD.var.dist might need to be put through a ports -exp run.

/usr/src/etc/ftpusers:games
/usr/src/etc/group:games:*:13:
/usr/src/etc/login.conf:        :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\
/usr/src/etc/mail/aliases:games:        root
/usr/src/etc/master.passwd:games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin
/usr/src/etc/mtree/BSD.debug.dist:            games
/usr/src/etc/mtree/BSD.tests.dist:        games
/usr/src/etc/mtree/BSD.usr.dist:    games
/usr/src/etc/mtree/BSD.usr.dist:        games
/usr/src/etc/mtree/BSD.var.dist:    games           gname=games mode=0775
/usr/src/etc/root/dot.cshrc:set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
/usr/src/etc/root/dot.login:# if ( -x /usr/games/fortune ) /usr/games/fortune -s
/usr/src/etc/root/dot.profile:PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:~/bin
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2015-11-09 10:51:15 UTC
This is no longer the case on head. That's good enough for me :).

Closing!

------------------------------------------------------------------------
r278616 | cperciva | 2015-02-11 21:35:00 -0800 (Wed, 11 Feb 2015) | 25 lines

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive.  Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities.  I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by:    jmg
Discussed at:   EuroBSDCon
Approved by:    gjb (release-affecting changes)