Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 12:32:26 +1000 (EST)
From:      Sue Blake <sue@scat.welearn.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7673: nethack-3.2.2 package permissions and Guidebook
Message-ID:  <199808190232.MAA13173@scat.welearn.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         7673
>Category:       ports
>Synopsis:       nethack-3.2.2 package doesn't set permissions fully, and lacks Guidebook.txt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 18 21:20:00 PDT 1998
>Last-Modified:
>Originator:     Sue Blake
>Organization:
Disorganised newbies
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	

>Description:

nethack-3.2.2 package installs without the right permissions.
After pkg_add, the game will not run and the fix is not obvious.
Also Guidebook.txt is not installed.

(The port is fine in both respects, only the package fails)

>How-To-Repeat:

pkg_add nethack-3.2.2.tgz
nethack

>Fix:
	
Apply this patch to PLIST in the port, and rebuild the package.
It sets the missing permissions and adds the Guidebook.txt while we're at it.
(Somebody should check this first, I'm a newbie!)

--- PLIST.old	Wed Aug 19 11:57:35 1998
+++ PLIST	Wed Aug 19 11:57:48 1998
@@ -1,7 +1,9 @@
 bin/nethack
 lib/nethackdir/nethack
+@exec mkdir %D/share/doc/nethack
 @exec mkdir %D/lib/nethackdir/save
 @exec chmod -R 775 %D/lib/nethackdir
+@exec chmod 2755 %D/lib/nethackdir/nethack
 @exec chown games.games %D/lib/nethackdir/save
 @unexec rm -rf %D/lib/nethackdir/save
 man/man6/dgn_comp.6.gz
@@ -9,6 +11,7 @@
 man/man6/lev_comp.6.gz
 man/man6/nethack.6.gz
 man/man6/recover.6.gz
+share/doc/nethack/Guidebook.txt
 lib/nethackdir/A-filla.lev
 lib/nethackdir/A-fillb.lev
 lib/nethackdir/A-goal.lev
@@ -120,4 +123,5 @@
 lib/nethackdir/logfile
 lib/nethackdir/record
 lib/nethackdir/perm
-@dirrm lib/nethackdir
\ No newline at end of file
+@dirrm lib/nethackdir
+@dirrm share/doc/nethack
\ No newline at end of file

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808190232.MAA13173>