Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 04:40:04 GMT
From:      "Li-Lun \"Leland\" Wang" <llwang@infor.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/116485: games/vultures-eye gets a permission denied after typing the name
Message-ID:  <200805140440.m4E4e4h5099437@freefall.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help
The following reply was made to PR ports/116485; it has been noted by GNATS.

From: "Li-Lun \"Leland\" Wang" <llwang@infor.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/116485: games/vultures-eye gets a permission denied after typing the name
Date: Tue, 13 May 2008 23:03:31 -0500

 Sorry I forgot about this pr.
 The following patch should take care of the directory issues.
 
 diff -urN vultures-eye.orig/pkg-plist vultures-eye/pkg-plist
 --- vultures-eye.orig/pkg-plist 2006-06-08 22:30:08.000000000 -0500
 +++ vultures-eye/pkg-plist 2008-05-13 22:57:45.000000000 -0500
 @@ -134,12 +134,31 @@
  %%DATADIR%%/vultureseye
  %%DATADIR%%/vultureseye.ico
  %%DATADIR%%/vultureseye.png
 -@dirrm %%DATADIR%%/sound
 +@exec mkdir -p %D/%%DATADIR%%/save
 +@exec chown games:games %D/%%DATADIR%%
 +@exec chown games:games %D/%%DATADIR%%/config
 +@exec chown games:games %D/%%DATADIR%%/fonts
 +@exec chown games:games %D/%%DATADIR%%/manual
 +@exec chown games:games %D/%%DATADIR%%/manual/img
 +@exec chown games:games %D/%%DATADIR%%/music
 +@exec chown games:games %D/%%DATADIR%%/graphics
 +@exec chown games:games %D/%%DATADIR%%/save
 +@exec chown games:games %D/%%DATADIR%%/sound
 +@exec chmod 775 %D/%%DATADIR%%
 +@exec chmod 775 %D/%%DATADIR%%/config
 +@exec chmod 775 %D/%%DATADIR%%/fonts
 +@exec chmod 775 %D/%%DATADIR%%/manual
 +@exec chmod 775 %D/%%DATADIR%%/manual/img
 +@exec chmod 775 %D/%%DATADIR%%/music
 +@exec chmod 775 %D/%%DATADIR%%/graphics
 +@exec chmod 775 %D/%%DATADIR%%/save
 +@exec chmod 775 %D/%%DATADIR%%/sound
 +@dirrmtry %%DATADIR%%/sound
  @dirrmtry %%DATADIR%%/save
 -@dirrm %%DATADIR%%/music
 -@dirrm %%DATADIR%%/manual/img
 -@dirrm %%DATADIR%%/manual
 -@dirrm %%DATADIR%%/graphics
 -@dirrm %%DATADIR%%/fonts
 +@dirrmtry %%DATADIR%%/music
 +@dirrmtry %%DATADIR%%/manual/img
 +@dirrmtry %%DATADIR%%/manual
 +@dirrmtry %%DATADIR%%/graphics
 +@dirrmtry %%DATADIR%%/fonts
  @dirrmtry %%DATADIR%%/config
  @dirrmtry %%DATADIR%%



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200805140440.m4E4e4h5099437>