From owner-freebsd-ports Tue Aug 18 21:20:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15482 for freebsd-ports-outgoing; Tue, 18 Aug 1998 21:20:07 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15462 for ; Tue, 18 Aug 1998 21:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA25425; Tue, 18 Aug 1998 21:20:00 -0700 (PDT) Received: from phoenix.welearn.com.au (suebla.lnk.telstra.net [139.130.44.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA13926 for ; Tue, 18 Aug 1998 21:11:35 -0700 (PDT) (envelope-from sue@scat.welearn.com.au) Received: from scat.welearn.com.au (scat.welearn.com.au [203.35.200.141]) by phoenix.welearn.com.au (8.8.5/8.8.5) with ESMTP id NAA15244 for ; Wed, 19 Aug 1998 13:38:14 +1000 (EST) Received: (from sue@localhost) by scat.welearn.com.au (8.8.8/8.8.8) id MAA13173; Wed, 19 Aug 1998 12:32:26 +1000 (EST) (envelope-from sue) Message-Id: <199808190232.MAA13173@scat.welearn.com.au> Date: Wed, 19 Aug 1998 12:32:26 +1000 (EST) From: Sue Blake Reply-To: sue@welearn.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7673: nethack-3.2.2 package permissions and Guidebook Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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