Re: games

看板FB_questions作者時間11年前 (2014/05/14 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/11 (看更多)
On 13/05/2014 13:24, Fbsd8 wrote: > RW wrote: >> On Tue, 13 May 2014 00:24:23 +0200 >> Rolf Nielsen wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> On 2014-05-12 22:05, Fbsd8 wrote: >>>> I remember back in 6.x a lot of talk about killing every thing >>>> about games. Todays version of the handbook has no mention of >>>> games, but the bsdinstall installer has option to install games and >>>> there is a ports collection category called games. bsdconfig has no >>>> games installer. >>>> >>>> So what is the general status of games? Is the handbook correct and >>>> bsdinstall and the ports collection just never got cleaned up or >>>> does the handbook need a chapter on games? >>> I'm not sure about the games that come (or used to come) as (an >>> optional) part of the system, because I have WITHOUT_GAMES=yes in my >>> /etc/src.conf. However, the fact that that setting causes no errors or >>> warnings and that it's still documented in the src.conf(5) man page, >>> suggests that they're still there, at least when building from source. >> >> /usr/games/random is used by the ports system for RANDOMIZE_MASTER_SITES >> >> There aren't really any actual games as such left. It's fortune, which >> provides admin tips on login, and a handful of small utilities - which >> have presumably been left because they may be in use in shell scripts, >> things like prime, factor, rot13, random etc. >> >> I find random(6) to be particularly useful, especially in the form: >> "random -f -", which randomizes the order of lines in a pipeline. >> > > "/usr/games/random is used by the ports system for RANDOMIZE_MASTER_SITES" > > This is not totally true. random may be used by the ports system, but > not what is in /usr/games. random is in the kernel. > > I have been removing /usr/games directory since release 4.0 and never > have had any problems. random(1) is in /usr/games, random(4) is in the kernel. random(1) is what's used by /usr/ports/Mk/bsd.port.mk. You've not had any problems from cutting out /usr/games because the makefile is conditionalised on random(1)'s existence: ..if defined(RANDOMIZE_MASTER_SITES) ..if exists(/usr/games/random) RANDOM_CMD?= /usr/games/random RANDOM_ARGS?= "-w -f -" _RANDOMIZE_SITES= " |${RANDOM_CMD} ${RANDOM_ARGS}" ..endif ..endif No /usr/games/random, no randomised master sites. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JSbtWzM (FB_questions)
文章代碼(AID): #1JSbtWzM (FB_questions)