From owner-svn-ports-head@FreeBSD.ORG Sun Apr 13 17:11:22 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4DEAA40C; Sun, 13 Apr 2014 17:11:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3AE8E119D; Sun, 13 Apr 2014 17:11:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3DHBMo9045142; Sun, 13 Apr 2014 17:11:22 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3DHBLXQ045139; Sun, 13 Apr 2014 17:11:21 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404131711.s3DHBLXQ045139@svn.freebsd.org> From: Pawel Pekala Date: Sun, 13 Apr 2014 17:11:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351231 - in head/games/falconseye: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 17:11:22 -0000 Author: pawel Date: Sun Apr 13 17:11:21 2014 New Revision: 351231 URL: http://svnweb.freebsd.org/changeset/ports/351231 QAT: https://qat.redports.org/buildarchive/r351231/ Log: Add staging support Modified: head/games/falconseye/Makefile head/games/falconseye/files/patch-sys_unix_Makefile_top head/games/falconseye/pkg-plist Modified: head/games/falconseye/Makefile ============================================================================== --- head/games/falconseye/Makefile Sun Apr 13 16:51:17 2014 (r351230) +++ head/games/falconseye/Makefile Sun Apr 13 17:11:21 2014 (r351231) @@ -25,7 +25,6 @@ CFLAGS+= -I${LOCALBASE}/include -L${LOCA NO_WRKSUBDIR= yes MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -i '' -e "s|||" \ ${WRKSRC}/include/jtp_gen.h ${WRKSRC}/win/jtp/jtp_dirx.c \ @@ -41,10 +40,10 @@ post-build: @cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute frecover.6 post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/util/recover ${PREFIX}/bin/frecover - @cd ${WRKSRC}/doc && \ - ${INSTALL_MAN} recover.6 ${PREFIX}/man/man6/frecover.6 - @cd ${WRKSRC}/doc && \ - ${INSTALL_MAN} nethack.6 ${PREFIX}/man/man6/falconseye.6 + ${INSTALL_PROGRAM} ${WRKSRC}/util/recover ${STAGEDIR}${PREFIX}/bin/frecover + cd ${WRKSRC}/doc && ${INSTALL_MAN} recover.6 \ + ${STAGEDIR}${PREFIX}/man/man6/frecover.6 + cd ${WRKSRC}/doc && ${INSTALL_MAN} nethack.6 \ + ${STAGEDIR}${PREFIX}/man/man6/falconseye.6 .include Modified: head/games/falconseye/files/patch-sys_unix_Makefile_top ============================================================================== --- head/games/falconseye/files/patch-sys_unix_Makefile_top Sun Apr 13 16:51:17 2014 (r351230) +++ head/games/falconseye/files/patch-sys_unix_Makefile_top Sun Apr 13 17:11:21 2014 (r351231) @@ -1,6 +1,6 @@ ---- sys/unix/Makefile.top.orig Sun Jun 24 18:57:24 2001 -+++ sys/unix/Makefile.top Fri Aug 24 03:27:56 2001 -@@ -15,18 +15,17 @@ +--- sys/unix/Makefile.top.orig 2001-06-24 18:57:24.000000000 +0200 ++++ sys/unix/Makefile.top 2014-04-13 18:56:38.000000000 +0200 +@@ -15,11 +15,10 @@ # make NetHack #PREFIX = /usr @@ -15,16 +15,6 @@ # Permissions - some places use setgid instead of setuid, for instance # See also the option "SECURE" in include/config.h --GAMEPERM = 04755 --FILEPERM = 0644 -+GAMEPERM = 02755 -+FILEPERM = 0664 - EXEPERM = 0755 --DIRPERM = 0755 -+DIRPERM = 0775 - - # GAMEDIR also appears in config.h as "HACKDIR". - # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR @@ -36,12 +35,13 @@ # therefore there should not be anything in GAMEDIR that you want to keep # (if there is, you'll have to do the installation by hand or modify the @@ -42,17 +32,15 @@ # VARDATND = x11tiles pet_mark.xbm # VARDATND = x11tiles pet_mark.xbm rip.xpm # for Atari/Gem -@@ -67,8 +67,8 @@ - # will only work if setuid (or setgid) behavior is not desired or required. - # CHOWN = chown - # CHGRP = chgrp --CHOWN = true --CHGRP = true -+CHOWN = chown -+CHGRP = chgrp - - # ---------------------------------------------- - # Extra configuration for NetHack - Falcon's Eye +@@ -78,7 +78,7 @@ + # in order to e.g. access the Xlib server. In particular, we need to + # setgid instead of setuid. Therefore we must also allow group writing + # for the files and directories. +-GAMEPERM = 02755 ++GAMEPERM = 02555 + FILEPERM = 0664 + EXEPERM = 0755 + DIRPERM = 0775 @@ -119,12 +119,15 @@ $(GAME): ( cd src ; $(MAKE) ) Modified: head/games/falconseye/pkg-plist ============================================================================== --- head/games/falconseye/pkg-plist Sun Apr 13 16:51:17 2014 (r351230) +++ head/games/falconseye/pkg-plist Sun Apr 13 17:11:21 2014 (r351231) @@ -256,11 +256,9 @@ share/falconseyedir/wizard1.lev share/falconseyedir/wizard2.lev share/falconseyedir/wizard3.lev share/falconseyedir/wizhelp -man/man6/falconseye.6 -man/man6/frecover.6 -@mode 2555 +man/man6/falconseye.6.gz +man/man6/frecover.6.gz share/falconseyedir/falconseye -@exec chmod 775 %B @exec install -g games -m 0664 /dev/null %B/logfile @exec install -g games -m 0664 /dev/null %B/perm @exec install -g games -m 0664 /dev/null %B/record