Date: Thu, 22 Apr 1999 01:10:55 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: current@freebsd.org Subject: buildworld as normal user... Message-ID: <19990422011055.15112@hydrogen.nike.efn.org>
next in thread | raw e-mail | index | archive | help
--wUX3Y2Cv9Ux+11Zm Content-Type: text/plain; charset=us-ascii well, I just completed buildworld as a normal user, and would like to recieve comments on various fixes... a) create GAMEGRP in bsd.own.mk and change games in games/Makefile.inc to use ${GAMEGRP} b) add conditional of NOFSCHG in addition to PRECIOUSLIB in bsd.lib.mk so libdes and friends try to be installed with schg flag set these are the only two that I came across... I have attached patches that I created to fix them... also attached is my dobuildworld script that I use to start the whole process... comments? I am thinking of changing NOFSCHG to NOSCHG, but I was just doing the patch real quickly... -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson --wUX3Y2Cv9Ux+11Zm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nrmlusr.patch" Index: src/share/mk/bsd.lib.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.lib.mk,v retrieving revision 1.86 diff -u -r1.86 bsd.lib.mk --- bsd.lib.mk 1999/03/23 03:06:25 1.86 +++ bsd.lib.mk 1999/04/22 05:47:01 @@ -262,7 +262,7 @@ beforeinstall: .endif -.if defined(PRECIOUSLIB) +.if defined(PRECIOUSLIB) && !defined(NOFSCHG) SHLINSTALLFLAGS+= -fschg .endif Index: src/share/mk/bsd.own.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.own.mk,v retrieving revision 1.22 diff -u -r1.22 bsd.own.mk --- bsd.own.mk 1999/04/20 14:24:52 1.22 +++ bsd.own.mk 1999/04/22 05:08:42 @@ -136,6 +136,7 @@ # Binaries BINOWN?= root BINGRP?= wheel +GAMEGRP?= games BINMODE?= 555 NOBINMODE?= 444 Index: src/games/Makefile.inc =================================================================== RCS file: /home/ncvs/src/games/Makefile.inc,v retrieving revision 1.9 diff -u -r1.9 Makefile.inc --- Makefile.inc 1998/10/18 09:48:26 1.9 +++ Makefile.inc 1999/04/22 05:08:02 @@ -1,6 +1,6 @@ # @(#)Makefile.inc 8.1 (Berkeley) 5/31/93 -BINGRP= games +BINGRP= ${GAMEGRP} BINDIR?= /usr/games .if defined(HIDEGAME) --wUX3Y2Cv9Ux+11Zm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dobuildworld #!/bin/sh -e - z=`pwd` z=`basename $z` if [ "x${z}" = "xsrc" ]; then cd .. z=`pwd` z=`basename $z` cd src if [ -f /tmp/buildworldoutput.$z ]; then mv /tmp/buildworldoutput.$z /tmp/buildworldoutput.${z}.last fi date | tee /tmp/buildworldoutput.$z chown jmg /tmp/buildworldoutput.$z time -l make BINGRP=admin BINOWN=jmg TMACOWN=jmg TMACGRP=admin SHAREOWN=jmg SHAREGRP=admin GAMEGRP=admin NOINFO= NOPROFILE= NOTCL= NOTERMCAP= NOFSCHG= $* buildworld 2>&1 | tee -a /tmp/buildworldoutput.$z echo 'NOTE: You must build share/termcap by hand!!' | tee -a /tmp/buildworldoutput.$z date | tee -a /tmp/buildworldoutput.$z else echo 'You must be in the src dir to do a buildworld' fi --wUX3Y2Cv9Ux+11Zm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990422011055.15112>