diff options
author | cperciva <cperciva@FreeBSD.org> | 2015-02-12 05:35:00 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2015-02-12 05:35:00 +0000 |
commit | adc74e8335e897f6af1c55f35bab17b1812210a8 (patch) | |
tree | d4f92a5d2765c93869a3c13c371836babbf3e901 /share | |
parent | f34d9c4728ee0c482b4ebe78db3e58a668e07185 (diff) | |
download | FreeBSD-src-adc74e8335e897f6af1c55f35bab17b1812210a8.zip FreeBSD-src-adc74e8335e897f6af1c55f35bab17b1812210a8.tar.gz |
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)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/led.4 | 2 | ||||
-rw-r--r-- | share/man/man6/intro.6 | 11 | ||||
-rw-r--r-- | share/man/man7/hier.7 | 2 | ||||
-rw-r--r-- | share/mk/bsd.prog.mk | 2 | ||||
-rw-r--r-- | share/skel/dot.cshrc | 2 | ||||
-rw-r--r-- | share/skel/dot.login | 2 | ||||
-rw-r--r-- | share/skel/dot.profile | 4 |
7 files changed, 14 insertions, 11 deletions
diff --git a/share/man/man4/led.4 b/share/man/man4/led.4 index 0fe4af0..1ae8f91 100644 --- a/share/man/man4/led.4 +++ b/share/man/man4/led.4 @@ -170,7 +170,7 @@ flashes .Pp .Dl *_*__**_ .Bd -literal -/usr/games/morse -l "Soekris rocks" > /dev/led/error +/usr/bin/morse -l "Soekris rocks" > /dev/led/error .Ed .Sh SEE ALSO .Xr morse 6 diff --git a/share/man/man6/intro.6 b/share/man/man6/intro.6 index 2abfeda..797472f 100644 --- a/share/man/man6/intro.6 +++ b/share/man/man6/intro.6 @@ -37,7 +37,7 @@ This section contains information about games. The games are located in -.Pa /usr/games +.Pa /usr/bin if installed. You can get a short overview about all the games with the command: @@ -45,13 +45,18 @@ command: $ apropos '\\(6\\)' .Ed .Sh FILES -.Bl -tag -width /usr/games -compact -.It Pa /usr/games +.Bl -tag -width /usr/bin -compact +.It Pa /usr/bin location of games .El .Sh SEE ALSO .Xr intro 1 .Sh HISTORY +In earlier versions of +.Fx , +games were located in +.Pa /usr/games . +.Pp The .Nm section manual page appeared in diff --git a/share/man/man7/hier.7 b/share/man/man7/hier.7 index 197533f..5c3a5a1 100644 --- a/share/man/man7/hier.7 +++ b/share/man/man7/hier.7 @@ -187,8 +187,6 @@ common utilities, programming tools, and applications .It Pa compat/ files needed to support binary compatibility with other operating systems, such as Linux -.It Pa games/ -useful and semi-frivolous programs .It Pa include/ standard C include files .Pp diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 340950a..e4c0c4c 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -62,7 +62,7 @@ PROG_FULL=${PROG}.full ${BINDIR} == "/bin" ||\ ${BINDIR} == "/libexec" ||\ ${BINDIR} == "/sbin" ||\ - ${BINDIR:C%/usr/(bin|bsdinstall|games|libexec|lpr|sendmail|sm.bin|sbin)(/.*)?%/usr/bin%} == "/usr/bin"\ + ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin)(/.*)?%/usr/bin%} == "/usr/bin"\ ) DEBUGFILEDIR= ${DEBUGDIR}${BINDIR} .else diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc index d6c6798..2f92be2 100644 --- a/share/skel/dot.cshrc +++ b/share/skel/dot.cshrc @@ -14,7 +14,7 @@ alias ll ls -lAF # These are normally set through /etc/login.conf. You may override them here # if wanted. -# set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) +# set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin) # setenv BLOCKSIZE K # A righteous umask # umask 22 diff --git a/share/skel/dot.login b/share/skel/dot.login index b8688f9..170d25c 100644 --- a/share/skel/dot.login +++ b/share/skel/dot.login @@ -5,4 +5,4 @@ # see also csh(1), environ(7). # -if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips +if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips diff --git a/share/skel/dot.profile b/share/skel/dot.profile index 300402a..ad66198 100644 --- a/share/skel/dot.profile +++ b/share/skel/dot.profile @@ -7,7 +7,7 @@ # These are normally set through /etc/login.conf. You may override them here # if wanted. -# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH +# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH # BLOCKSIZE=K; export BLOCKSIZE # Setting TERM is normally done through /etc/ttys. Do only override @@ -21,4 +21,4 @@ PAGER=more; export PAGER # set ENV to a file invoked each time sh is started for interactive use. ENV=$HOME/.shrc; export ENV -if [ -x /usr/games/fortune ] ; then /usr/games/fortune freebsd-tips ; fi +if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi |