freebsd-dev/usr.bin/fortune
Stefan Eßer 1f474190fc Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE
Literal references to /usr/local exist in a large number of files in
the FreeBSD base system. Many are in contributed software, in configuration
files, or in the documentation, but 19 uses have been identified in C
source files or headers outside the contrib and sys/contrib directories.

This commit makes it possible to set _PATH_LOCALBASE in paths.h to use
a different prefix for locally installed software.

In order to avoid changes to openssh source files, LOCALBASE is passed to
the build via Makefiles under src/secure. While _PATH_LOCALBASE could have
been used here, there is precedent in the construction of the path used to
a xauth program which depends on the LOCALBASE value passed on the compiler
command line to select a non-default directory.

This could be changed in a later commit to make the openssh build
consistently use _PATH_LOCALBASE. It is considered out-of-scope for this
commit.

Reviewed by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D26942
2020-10-27 11:29:11 +00:00
..
datfiles fortune(6): Grammar fix for a hint on searching ports 2020-09-04 13:05:00 +00:00
fortune Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
strfile fortune, strfile: Improve validation of command-line arguments. 2020-08-10 17:01:59 +00:00
tools Use print as a function for Python 3 [PEP 3105] 2015-11-19 00:01:52 +00:00
unstr DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile Don't rely on dependency in Makefile.inc1 for strfile; make datfiles depend on strfile 2017-03-07 04:33:17 +00:00
Makefile.inc usr.bin/fortune: convert to OBJTOP/SRCTOP idioms 2017-03-08 05:31:54 +00:00
Notes
README fortune: remove warning about potentially offensive fortunes 2020-05-28 20:39:27 +00:00

#	@(#)README	8.1 (Berkeley) 5/31/93
# $FreeBSD$

	Some years ago, my neighbor Avery said to me: "There has not been an
adequate jokebook published since "Joe_Miller", which came out in 1739 and
which, incidentally, was the most miserable no-good ... jokebook in the
history of the printed word."
	In a subsequent conversation, Avery said: "A funny story is a funny
story, no matter who is in it - whether it's about Catholics or Protestants,
Jews or Gentiles, blacks or whites, browns or yellows.  If a story is genuinely
funny it makes no difference how dirty it is.  Shout it from the rooftops.
Let the chips fall all over the prairie and let the bonehead wowsers yelp.
... on them."
	It is a nice thing to have a neighbor of Avery's grain.  He has
believed in the aforestated principles all his life.  A great many other
people nowadays are casting aside the pietistic attitude that has led them
to plug up their ears against the facts of life.  We of The Brotherhood
believe as Avery believes; we have never been intimidated by the pharisaical
meddlers who have been smelling up the American landscape since the time of
the bundling board.  Neither has any one of our members ever been called a
racist.  Still, we have been in unremitting revolt against the ignorant
propensity which ordains, in effect, that "The Green Pastures" should never
have been written; the idiot attitude which compelled Arthur Kober to abandon
his delightful Bella Gross, and Octavius Roy Cohen to quit writing about the
splendiferous Florian Slappey; the moronic frame of mind which, if carried
to its logical end, would have forbidden Ring Lardner from writing in the
language of the masses.
		-- H. Allen Smith, "Rude Jokes"

	... let us keep in mind the basic governing philosophy of The
Brotherhood, as handsomely summarized in these words: we believe in
healthy, hearty laughter -- at the expense of the whole human race, if
needs be.
	Needs be.
		-- H. Allen Smith, "Rude Jokes"