summaryrefslogtreecommitdiffstats
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo.brueffer2015-07-021-1/+1
| | | | | PR: 199453 Submitted by: John Nielsen
* Add META_MODE support.sjg2015-06-1312-0/+214
|\ | | | | | | | | | | | | | | | | | | | | 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-0812-24/+0
| |
| * Merge sync of headsjg2015-05-2714-438/+37
| |\
| * \ Merge from head@274682sjg2014-11-196-13/+218
| |\ \
| * \ \ Merge head from 7/28sjg2014-08-197-11/+11
| |\ \ \
| * | | | Updated dependenciessjg2014-05-1613-12/+1
| | | | |
| * | | | Updated dependenciessjg2014-05-1012-0/+24
| | | | |
| * | | | Merge from headsjg2014-05-082-2/+2
| |\ \ \ \
| * \ \ \ \ Merge headsjg2014-04-287-13/+25
| |\ \ \ \ \
| * \ \ \ \ \ Merge head@256284sjg2013-10-131-14/+6
| |\ \ \ \ \ \
| * \ \ \ \ \ \ sync from headsjg2013-04-125-17170/+6
| |\ \ \ \ \ \ \
| * | | | | | | | Updated dependenciessjg2013-03-1113-0/+13
| | | | | | | | |
| * | | | | | | | Updated dependenciessjg2013-02-1614-28/+0
| | | | | | | | |
| * | | | | | | | Sync with HEAD.obrien2013-02-084-281/+52
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+1
| | | | | | | | | |
| | | | | | | | | |
| | \ \ \ \ \ \ \ \
| *-. \ \ \ \ \ \ \ \ Sync from headsjg2012-11-046-17/+27
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2214-0/+265
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | Correct grdc(1) 12-hour display between 12:00 and 13:00emaste2015-06-021-5/+5
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PM starts at 12:00, not 13:00. PR: 194291, 200133 Submitted by: Nick Price MFC after: 1 week
* | | | | | | | | | 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 2 of eliminating the "games" distribution: Remove punch cardcperciva2015-02-226-368/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | utilities. I was originally planning on removing the phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities as well, but after I committed r278616 I received an astonishing volume of email informing me that those are still being widely used. Much to my relief, nobody reported continuing to use the punch card utilities in production. The final step will be to merge src/games into src/usr.bin. This change will not be MFCed.
* | | | | | | | | | Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;cperciva2015-02-123-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 factor for changes to types in primes, which is a dependency.sbruno2014-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes build-fail on mips32 introduced at 272207.
* | | | | | | | | Switch primes(6) from using unsigned long to using uint64_t. This fixescperciva2014-09-273-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'limited range of type' warnings about comparisons on 32-bit systems, and allows 32-bit systems to compute the full range of primes.
* | | | | | | | | Correctly enumerate primes between 4295098369 and 3825123056546413050.cperciva2014-09-265-3/+205
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit, primes(6) relied solely on sieving with primes up to 65537, with the effect that composite numbers which are the product of two non-16-bit primes would be incorrectly identified as prime. For example, # primes 1099511627800 1099511627820 would output 1099511627803 1099511627807 1099511627813 when in fact only the first of those values is prime. This commit adds strong pseudoprime tests to validate the candidates which pass the initial sieving stage, using bases of 2, 3, 5, 7, 11, 13, 17, 19, and 23. Thanks to papers from C. Pomerance, J.L. Selfridge, and S.S. Wagstaff, Jr.; G. Jaeschke; and Y. Jiang and Y. Deng, we know that the smallest value which passes these tests is 3825123056546413051. At present we do not know how many strong pseudoprime tests are required to prove primality for values larger than 3825123056546413050, so we force primes(6) to stop at that point. Reviewed by: jmg Relnotes: primes(6) now correctly enumerates primes up to 3825123056546413050 MFC after: 7 days Sponsored by: EuroBSDCon devsummit
* | | | | | | | 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)
* | | | | | | | Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
* | | | | | | | 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
* | | | | | | | use .Mt to mark up email addresses consistently (part1)bapt2014-06-202-2/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-062-2/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | from the latter.
* | | | | | Add placeholder Kyuafiles for various top-level hierarchies.jmmv2014-04-212-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process.
* | | | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-133-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Free buf when its no longer used. This helps eliminate a static analysiseadler2012-10-221-0/+2
| | | | | | | | | | | | | | | | | | warning. PR: ports/172566 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
OpenPOWER on IntegriCloud