./games/fortune, Fortune cookie generator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 19970829, Package name: fortune-19970829, Maintainer: pkgsrc-users

This version of fortune is a modification of the NetBSD fortune, as
tweaked by Florian La Roche (see below, and many thanks to Florian for
starting the update), and then massively hacked on by Amy Lewis.

I (Amy) hacked on this because it was broken; the BSD source itself is
broken (I looked at it). Specifically, if you are using an old version
of fortune, then it accesses *only* the two files "fortunes" and
"fortunes-o", even though 'fortune -[ao]f' will tell you differently.
That was my original reason to start working with the code.

Bug fixes: fortune now reads the same file list that it reports with -f.
strfile now really sorts and randomizes, instead of just setting the
'sorted' and 'randomized' flags. strfile does not lose the pointer to a
fortune that follows a null fortune.

Enhancements: fortune -f now prints percentages, whether specified on the
command line or not. fortune -m now prints filenames to stderr; the
fortunes printed to stdout can be redirected into a file which is valid
strfile format. fortune -l|s can be modified with -n _number_ to specify
the number of characters in a short fortune (default 160, as before).
The means of distinguishing between offensive and inoffensive fortunes is
changed: offensive fortunes are put in a separate subdirectory. The
contents of the fortunes databases have been extensively reviewed, and
broken into smaller, more manageable [hopefully] files.


Required to run:
[games/fortune-strfile]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1375.505 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:44:37 by Nia Alarie | Files touched by this commit (466)
Log message:
games: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:08:04 by Nia Alarie | Files touched by this commit (466)
Log message:
games: Remove SHA1 hashes for distfiles
   2021-06-28 13:20:55 by Tobias Nygren | Files touched by this commit (2)
Log message:
fortune: fix build on Linux
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2018-01-01 23:30:04 by Roland Illig | Files touched by this commit (537)
Log message:
Sort PLIST files.

Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
   2017-08-07 13:10:32 by Jonathan Perkin | Files touched by this commit (11)
Log message:
Import fortune-19970829 into pkgsrc as games/fortune.

This is the Linux "port" of BSD fortune, but has been patched to work with
BSD fortune files so that those available already in pkgsrc will work.  The
pkgsrc strfile has been made a full dependency so that those with dat files
in the Linux format can easily regenerate them to be compatible.