Bug 59443 - `hack' in freebsd-games port broken
Summary: `hack' in freebsd-games port broken
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 03:00 UTC by Mark Laws
Modified: 2003-11-20 19:15 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 Mark Laws 2003-11-19 03:00:37 UTC
	hack reports "Cannot get status of hack." and exits.

Fix: 

The source file hack.unix.c has the expected location of the hack
binary hard-coded as /usr/games/hide/hack . This should be changed to the
real destination before compiling.

	Additionally, the hack binary should be installed setgid games.
The port currently installs it with ownership root:wheel and without a setgid
bit, causing hack to quit with "Cannot chdir to /var/games/hackdir." once the
forementioned bug is fixed.

Happy hacking (har har),
Mark Laws
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2003-11-20 19:15:06 UTC
State Changed
From-To: open->closed

Committed, thanks!