Date: Sun, 29 Nov 2009 12:37:04 -0800 (PST) From: Greg Lewis <glewis@misty.eyesbeyond.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: uqs@spoerlein.net Subject: ports/141002: [PATCH] games/bsdgames: Convert pre-install to pre-su-install Message-ID: <200911292037.nATKb4ij031846@misty.eyesbeyond.com> Resent-Message-ID: <200911292040.nATKe2Yx056899@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141002 >Category: ports >Synopsis: [PATCH] games/bsdgames: Convert pre-install to pre-su-install >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 29 20:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Greg Lewis >Release: FreeBSD 7.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD misty.eyesbeyond.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Sat Oct 3 22:52:58 PDT >Description: The pre-install target creates directories under /var/games (by default). Doing so requires root privileges, so the pre-install target should be pre-su-install instead to ensure these privileges are available. Port maintainer (uqs@spoerlein.net) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- bsdgames-2.4_1,1.patch begins here --- Index: Makefile =================================================================== RCS file: /var/fcvs/ports/games/bsdgames/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 26 Nov 2009 14:45:24 -0000 1.24 +++ Makefile 29 Nov 2009 20:25:38 -0000 @@ -96,7 +96,7 @@ # Only useful for DESTDIR VARDIR?= /var -pre-install: +pre-su-install: ${MKDIR} ${VARDIR} mtree -deU -f ${FILESDIR}/var.mtree -p ${VARDIR} mtree -deU -f ${FILESDIR}/share.mtree -p ${PREFIX}/share --- bsdgames-2.4_1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911292037.nATKb4ij031846>