Bug 86643 - problem with misc/fortune-mod-bofh
Summary: problem with misc/fortune-mod-bofh
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 19:50 UTC by No Name
Modified: 2010-07-27 22:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description No Name 2005-09-27 19:50:16 UTC
	I'm having problems with the misc/fortune-mod-bofh port. For some
	reason the following command will only print either the very first
	fortune or nothing at all:

	`fortune /usr/local/share/games/fortune/bofh`

Fix: 

Did the syntax for fortune mods change? I guess a `sed` or `awk`
	command would be enough to fix the syntax errors.
How-To-Repeat: 	Install misc/fortune-mod-bofh and follow the pkg-descr notice.
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-28 14:14:36 UTC
Dear maintainer,

Can you look this problem?

http://www.freebsd.org/cgi/query-pr.cgi?pr=86643

Thanks

-- 
Marcus Alves Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
  mnag(at)FreeBSD.org
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-28 14:15:25 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix
Comment 3 Jonathan 2005-09-30 14:47:07 UTC
Here's the patch. It seems the bofh.dat that comes with the package is broken.
Thanks, arundel.

diff -urN fortune-mod-bofh.orig/Makefile fortune-mod-bofh/Makefile
--- fortune-mod-bofh.orig/Makefile	Wed Dec  1 21:03:30 2004
+++ fortune-mod-bofh/Makefile	Thu Sep 29 12:07:20 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	fortune-mod-bofh
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	http://www.void.irq.org/
 DISTNAME=	bofh-fortune-mod${PORTVERSION}
@@ -25,7 +26,7 @@
 	@${MKDIR} ${PREFIX}/share/games
 	@${MKDIR} ${PREFIX}/share/games/fortune
 	@${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
-	@${INSTALL_DATA} ${WRKSRC}/bofh.dat ${PREFIX}/share/games/fortune
+	@strfile ${PREFIX}/share/games/fortune/bofh
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Comment 4 No Name 2005-09-30 18:48:51 UTC
On Fri Sep 30 05, Jonathan wrote:
> Here's the patch. It seems the bofh.dat that comes with the package is broken.
> Thanks, arundel.
> 
Jep. That solved the problem. Thanks for the quick response.
Comment 5 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-02 04:54:05 UTC
State Changed
From-To: feedback->open

Feedback received. 


Comment 6 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-02 04:54:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

Feedback received.
Comment 7 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-02 15:22:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!