[Bug 215961] fortune -o does not work anymore

2017-03-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

Johannes Jost Meixner  changed:

   What|Removed |Added

 CC||x...@freebsd.org
 Status|Closed  |Open
 Resolution|Works As Intended   |---

--- Comment #4 from Johannes Jost Meixner  ---
Whether offensive fortune files have been removed from the base system is
immaterial to the bug at hand. Even if you manually install offensive fortune
files into /usr/{,local/}share/games/fortune/*-o, `fortune -o` won't find them:

xmj@mx16:/usr/src# file /usr/share/games/fortune/murphy-o{,.dat}
/usr/share/games/fortune/murphy-o: ASCII text
/usr/share/games/fortune/murphy-o.dat: data
xmj@mx16:~/repos/hardenedbsd-playground# fortune -D -o
trying "/usr/share/games/fortune/fortunes-o"
adding file "/usr/share/games/fortune/fortunes-o"
trying "/usr/local/share/games/fortune/fortunes-o"
adding file "/usr/local/share/games/fortune/fortunes-o"
No fortunes found in /usr/share/games/fortune:/usr/local/share/games/fortune.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215961] fortune -o does not work anymore

2017-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

--- Comment #3 from Shane  ---
(In reply to Jilles Tjoelker from comment #2)
While related, it's not the same issue - removing a potentially offensive
datafile ("fortunes-o") from the base system is not the same as `fortune -o`
selecting from files ending with "-o".

/head/games/fortune/datfiles/Makefile comments that the "limerick murphy-o
gerrold.limerick" are potentially offensive, so even removing "fortunes-o"
didn't remove all offensive fortunes.

man fortune states - 

> -o Choose only from potentially offensive aphorisms.
> ...
> ...(those files ending ``-o'' contain the offensive fortunes)

So the issue isn't whether offensive fortunes exist, they could have been added
by the user, or installed from ports. The issue is that the `-o` option should
use files ending with "-o" when finding a fortune to display, currently the
`-o` option only searches for one filename, which doesn't exist now, when it
should find all files ending with "-o". Of course the `-o` option could be
removed with all fortune files being treated as equals.

If the current behaviour is "as expected", then the man page should be updated
to reflect that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215961] fortune -o does not work anymore

2017-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

Jilles Tjoelker  changed:

   What|Removed |Added

 Resolution|--- |Works As Intended
 Status|New |Closed
 CC||jil...@freebsd.org

--- Comment #2 from Jilles Tjoelker  ---
The -o fortunes were removed from the base system in
https://svnweb.freebsd.org/base?view=revision&revision=248200

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215961] fortune -o does not work anymore

2017-01-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

Mark Linimon  changed:

   What|Removed |Added

   Keywords||regression

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215961] fortune -o does not work anymore

2017-01-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

Shane  changed:

   What|Removed |Added

 CC||free...@shaneware.biz

--- Comment #1 from Shane  ---
fortune included in the liveCD of the 9.3 and 10.3 install disks behaves the
same.

> fortunes -Do
> 
>   trying "/usr/share/games/fortune/fortunes-o"
> adding file "/usr/share/games/fortune/fortunes-o"
>   trying "/usr/local/share/games/fortune/fortunes-o"
> adding file "/usr/local/share/games/fortune/fortunes-o"
> No fortunes found in /usr/share/games/fortune:/usr/local/share/games/fortune.

That would indicate only searching for one specific filename for offensive
fortunes, rather than all fortune files ending in -o

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215961] fortune -o does not work anymore

2017-01-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

Andras Farkas  changed:

   What|Removed |Added

Version|11.0-STABLE |11.0-RELEASE

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215961] fortune -o does not work anymore

2017-01-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

Bug ID: 215961
   Summary: fortune -o does not work anymore
   Product: Base System
   Version: 11.0-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: deepbluemist...@gmail.com

``No fortunes found in
/usr/share/games/fortune:/usr/local/share/games/fortune.''
I know fortune -o worked in a previous version of FreeBSD, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"