From nobody@FreeBSD.org  Wed Mar 20 19:11:42 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3CB0837B404
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Mar 2002 19:11:31 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g2L3BVg76221;
	Wed, 20 Mar 2002 19:11:31 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203210311.g2L3BVg76221@freefall.freebsd.org>
Date: Wed, 20 Mar 2002 19:11:31 -0800 (PST)
From: Nick Jennings <nick@namodn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/src/games/fortune/README instructions for including offensive fortunes don't work.
X-Send-Pr-Version: www-1.0

>Number:         36153
>Category:       misc
>Synopsis:       /usr/src/games/fortune/README instructions for including offensive fortunes don't work.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 19:20:01 PST 2002
>Closed-Date:    Tue Sep 24 11:52:36 PDT 2002
>Last-Modified:  Tue Sep 24 11:52:36 PDT 2002
>Originator:     Nick Jennings
>Release:        4.5-RELEASE
>Organization:
>Environment:
FreeBSD punishment.xrl.nkj 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Mar 18 21:21:47 PST 2002     nick@punishment.xrl.nkj:/usr/src/sys/compile/NKJ  i386
>Description:
This could be related to bug 'misc/36152', though I am not sure.

The README file (/usr/src/games/fortune/README) says, to enable offensive fortunes "whack" the Makefile located in datfiles/ subdirectory.(by "whack" i assume delete).

However, when I do this, and run a 'make all' there are errors.
# rm datfiles/Makefile
# make all
===> fortune
Warning: Object directory not changed from original /usr/src/games/fortune/fortune
===> strfile
Warning: Object directory not changed from original /usr/src/games/fortune/strfile
===> datfiles
make: don't know how to make all. Stop
*** Error code 2

Stop in /usr/src/games/fortune.
#

This error does not occur when the datfiles/Makefile exists.





>How-To-Repeat:
remove the datfiles/Makefile and try to compile.
>Fix:

>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: Nick Jennings <nick@namodn.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/36153: /usr/src/games/fortune/README instructions for including offensive fortunes don't work.
Date: Wed, 20 Mar 2002 20:58:47 -0800

 --Dxnq1zWXvFF0Q93v
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Wed, Mar 20, 2002 at 07:11:31PM -0800, Nick Jennings wrote:
 
 > The README file (/usr/src/games/fortune/README) says, to enable
 > offensive fortunes "whack" the Makefile located in datfiles/
 > subdirectory.(by "whack" i assume delete).
 
 No, it seems to mean "edit".
 
 > However, when I do this, and run a 'make all' there are errors.
 
 Well, yeah :)
 
 Kris
 
 --Dxnq1zWXvFF0Q93v
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE8mWiHWry0BWjoQKURAlQJAJ9q7hoevOTveKXs8ARVKhSdra/xxgCgwH4f
 9b0YzapnxhF3VOCK71aJ+78=
 =8SqH
 -----END PGP SIGNATURE-----
 
 --Dxnq1zWXvFF0Q93v--

From: Nick Jennings <nick@namodn.com>
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/36153: /usr/src/games/fortune/README instructions for including offensive fortunes don't work.
Date: Wed, 20 Mar 2002 21:37:21 -0800

 On Wed, Mar 20, 2002 at 08:58:47PM -0800, Kris Kennaway wrote:
 > On Wed, Mar 20, 2002 at 07:11:31PM -0800, Nick Jennings wrote:
 > 
 > > The README file (/usr/src/games/fortune/README) says, to enable
 > > offensive fortunes "whack" the Makefile located in datfiles/
 > > subdirectory.(by "whack" i assume delete).
 > 
 > No, it seems to mean "edit".
 > 
 
  Hmm, maybe the README should be a little more descriptive?
 
  Also, perhaps this related to bug 'misc/36152' and once the
  datfiles/Makefile is fixed for that bug it will become cleaer what
  part of it needs editing to enable offensive fortunes?
 
  Either way, comments in the datfiles/Makefile or README, pointing 
  out what to change would be helpful :)
 
 
 
 -- 
   Nick Jennings
 

From: Johan Karlsson <johan@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, nick@namodn.com
Cc:  
Subject: Re: misc/36153: /usr/src/games/fortune/README instructions for including offensive fortunes don't work.
Date: Wed, 24 Jul 2002 04:51:31 +0200

 Hi
 
 The offensive fortunes are installed by default on FreeBSD systems.
 To see them invoke fortune with the -o option.
 
 The README is incorrect in this aspect and should be changed.
 
 /Johan K
 -- 
 Johan Karlsson		mailto:johan@FreeBSD.org
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Tue Sep 24 11:48:28 PDT 2002 
State-Changed-Why:  
No, whacking does not mean removing (we'd call that "nuking"). The 
README you refer to is outdated and the offensive fortunes are installed 
by default; the whacking refers to the following snippet from 
datfiles/Makefile: 

... 
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE 
# THREE LINES AND UNCOMMENT THE FOURTH LINE. 

# THE THREE LINES: 
FILES+= fortunes2-o limerick murphy-o 
BLDS+=  fortunes2-o.dat limerick.dat murphy-o.dat 
TYPE=   real 

# THE FOURTH LINE: 
#TYPE=  fake 


http://www.freebsd.org/cgi/query-pr.cgi?pr=36153 
>Unformatted:
