From owner-freebsd-current Thu Apr 22 1:13:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from hydrogen.fircrest.net (metriclient-3.uoregon.edu [128.223.172.3]) by hub.freebsd.org (Postfix) with ESMTP id 578E014BD3 for ; Thu, 22 Apr 1999 01:13:29 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.fircrest.net (8.9.1/8.8.7) id BAA04253; Thu, 22 Apr 1999 01:10:56 -0700 (PDT) Message-ID: <19990422011055.15112@hydrogen.nike.efn.org> Date: Thu, 22 Apr 1999 01:10:55 -0700 From: John-Mark Gurney To: current@freebsd.org Subject: buildworld as normal user... Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=wUX3Y2Cv9Ux+11Zm X-Mailer: Mutt 0.69 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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