summaryrefslogtreecommitdiffstats
path: root/games/fortune
Commit message (Collapse)AuthorAgeFilesLines
* Final step of eliminating the "games" distribution: Merge src/gamescperciva2015-10-0239-77770/+0
| | | | | | | | | (or what's left of it, at least) into src/usr.bin. This change will not be MFCed. Discussed at: EuroBSDCon 2014 Committed from: EuroBSDCon 2015
* Correctly case FreeBSD in my entry in the tips fileallanjude2015-09-081-1/+1
| | | | | | Submitted by: feld Approved by: wblock (mentor) Differential Revision: https://reviews.freebsd.org/D3601
* Fix a typo.brueffer2015-07-021-1/+1
| | | | | PR: 199453 Submitted by: John Nielsen
* Add META_MODE support.sjg2015-06-134-0/+65
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-084-8/+0
| |
| * Merge sync of headsjg2015-05-274-30/+35
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-193-6/+7
| |\
| * | Updated dependenciessjg2014-05-163-3/+0
| | |
| * | Updated dependenciessjg2014-05-103-0/+6
| | |
| * | Merge headsjg2014-04-283-9/+5
| |\ \
| * \ \ Merge head@256284sjg2013-10-131-14/+6
| |\ \ \
| * \ \ \ sync from headsjg2013-04-125-17170/+6
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-113-0/+3
| | | | | |
| * | | | | Updated dependenciessjg2013-02-164-8/+0
| | | | | |
| * | | | | Sync with HEAD.obrien2013-02-084-281/+52
| |\ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| *-. \ \ \ \ \ Sync from headsjg2012-11-043-11/+25
| |\ \ \ \ \ \ \
| * | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-224-0/+71
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | fortune/tools/do_uniq.pyeadler2015-04-021-27/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | slight imporvements to do_uniq.py: - use with open() - don't depend on sys.argv directly - fix style
* | | | | | | | Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;cperciva2015-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | | | | fetch has supported https for a while..jmg2015-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I would convert the url to https, but we still don't install a CA set by default... we even don't install the CA that authenticates www.FreeBSD.org..
* | | | | | | | Fix 7-year-old typo: The default directory searched for fortunes iscperciva2015-01-301-1/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | /usr/share/games/fortune, not /usr/games/fortune (which is the path to the fortune binary itself).
* | | | | | | Update the freebsd-tips example to use drill instead of dig since bind is no ↵allanjude2014-07-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | longer in base CR: D460 Approved by: bcr (mentor)
* | | | | | | fortune(8): Search fortune files installed by ports/packages as well asgavin2014-07-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | those supplied by the base system. PR: 191800 Submitted by: Andy Kosela MFC after: 1 week
* | | | | | | Fix equation and limerick to be correct. NetBSD fixed this 14 years agogavin2014-07-051-2/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (src/games/fortune/datfiles/fortunes2 1.7). PR: 188714 Submitted by: ksmakoto dd.iij4u.or.jp Reviewed by: Wolfram Alpha MFC after: 3 days
* | | | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* | | | | | Correct a typo in Malcolm MacDougall's name.marcus2014-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Approved by: gabor
* | | | | | Fix typo in fortune (go -> to)gavin2013-12-101-1/+1
| | | | | |
* | | | | | Remove "Warning: file \"%s\" unreadable". It was introduced with revisionmarcel2013-12-071-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 44599 and turned less than useful ever since fortunes-o.dat got removed. Running "fortunes -a" is enough to always see it for fortunes-o.dat. Since we compile with debugging enabled, the removal is easily compensated for by running "fortune -D -D".
* | | | | | Fix r203922 for "fortune -o": we free tpath when was_malloc is truemarcel2013-12-071-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | but don't define tpath everytime we set was_malloc to true. We end up calling free() multiple times for the same pointer, resulting in: <jemalloc>: jemalloc_arena.c:355: Failed assertion: ... When we set path to offensive, we need to set tpath as well.
* | | | | Refresh the tips for the new pkg system.glebius2013-10-031-14/+6
| |_|_|/ |/| | | | | | | | | | | | | | | Reviewed by: bapt Approved by: re (hrs)
* | | | Remove a reference to instant-server which has been removed from theeadler2013-03-211-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ports tree in r313427. PR: 177012 Submitted by: Kevin Zheng <kevinz5000@gmail.com> Approved by: bcr (mentor)
* | | | Remove fortunes-o from the base system. Debating what does or does notjhb2013-03-124-17160/+6
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | belong in this file is not a useful exercise or conducive to producing a high quality advanced operating system. While here, simplify the make rules to autocompute BLDS and FILES from a single DB variable. Approved by: core MFC after: 1 week
* | | Remove political propagandades2013-02-051-227/+0
| | |
* | | Use Bernard Baruch's full name.eadler2012-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The words "old than" seem to be quoted as "older than" by some sources, so use the more likely and grammatically correct text. PR: docs/173868 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> Approved by: cperciva MFC after: 1 week
* | | fix a couple of spelling errors...jmg2012-11-151-2/+2
| | |
* | | In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it isdim2012-11-141-1/+1
| | | | | | | | | | | | | | | | | | *not* a boolean). MFC after: 3 days
* | | Make OK_TO_WRITE_TO_DISK an envrionment variable insteadeadler2012-11-042-46/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of a compile time option. While here, don't differ based on the existence of LOCK_EX which doesn't seem to have ever made a difference on FreeBSD. Approved by: cperciva (from discussion) MFC after: 3 days
* | | Prefer the use of stdbool to custom defines.eadler2012-11-041-3/+3
| |/ |/| | | | | | | Approved by: cperciva (from discussion) MFC after: 3 days
* | Remove extra word:eadler2012-10-231-1/+1
| | | | | | | | | | | | Submitted by: many Approved by: cperciva (implicit) MFC after: 3 days
* | Sysinstall has been removed from base.eadler2012-10-221-1/+1
| | | | | | | | Approved by: cperciva
* | Make do_uniq work with python3eadler2012-10-221-6/+6
| | | | | | | | | | Approved by: cperciva MFC after: 3 days
* | Correct the tip about finding all the directories on the systemeadler2012-10-021-4/+9
| | | | | | | | | | | | | | | | Add a tip about clearing the screen. Make things more consistent by removing quotes around 'make search' Approved by: cperciva MFC after: 3 days
* | Add a couple of nice quotes from Edward Everett Haledougb2012-07-291-0/+9
|/
* Partial revert of previous commit as some of the changes were noteadler2012-05-101-4/+5
| | | | | | | | | newbie-friendly. Requested by: jhb, gcooper Approved by: cperciva (implicit) MFC after: 3 days X-MFC-With: r235209
* Add a few new tips and update some old ones to more modern commandseadler2012-05-091-17/+12
| | | | MFC after: 1 week
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-3/+3
| | | | | | | | | | The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
* 1. Correct capitalization of the nobility particle fordougb2011-12-281-9/+9
| | | | | | | | | | | Francois de La Rochefoucauld introduced in r228909 [1],[2] 2. Change c-cedilla introduced in the same commit to ASCII c since non-UTF-8 terminals will choke on the non-ASCII text. [2],[3] Pointed out by: bf [1] Reviewed by: French-speakers on #bsdcode [2] Requested by: uqs [3]
* Prefer ASCII apostrophes over Unicode ones like the rest of the file.uqs2011-12-281-1/+1
|
* 1. Remove a bunch of duplicates. Usually this means removing them fromdougb2011-12-273-683/+39
| | | | | | | | | | | | | fortunes, but occasionally remove them from the other 2 files when they are not offensive, or not murphy'ish enough. Where the version in fortunes had better attribution and/or formatting, copy it over. 2. Fix a few typos 3. Use the full name of François De La Rochefoucauld, fix one of his quotes, and remove the duplicate of it.
* Add static keywords to variables and functions where possible in games/.ed2011-11-052-100/+98
| | | | | This allows us to detect unused functions and variables and allows the compiler to do a better job at optimisation.
OpenPOWER on IntegriCloud