From owner-freebsd-questions@FreeBSD.ORG Fri Jun 10 09:49:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D763716A41C for ; Fri, 10 Jun 2005 09:49:56 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 349DA43D1F for ; Fri, 10 Jun 2005 09:49:55 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j5A9nogb022959; Fri, 10 Jun 2005 12:49:51 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j5A9nneb080895; Fri, 10 Jun 2005 12:49:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j5A9nmES080894; Fri, 10 Jun 2005 12:49:48 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 10 Jun 2005 12:49:48 +0300 From: Giorgos Keramidas To: Denny White Message-ID: <20050610094948.GB80770@orion.daedalusnetworks.priv> References: <20050607171901.A3942@dualman.cableone.net> <42A62287.3020705@ibsd.us> <20050607225028.H47050@dualman.cableone.net> <42A6DF8B.2090806@ibsd.us> <20050608212736.S95418@dualman.cableone.net> <20050609215257.GA59360@chaos.fxp.org> <20050609171716.J76049@dualman.cableone.net> <20050609233136.GA77987@orion.daedalusnetworks.priv> <20050609191952.V76049@dualman.cableone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050609191952.V76049@dualman.cableone.net> Cc: Bob Bomar , freebsd-questions@freebsd.org Subject: Re: cvs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 09:49:57 -0000 On 2005-06-09 19:26, Denny White wrote: > On Fri, 10 Jun 2005, Giorgos Keramidas wrote: > >Is there any particular reason why you are trying to build the web > >site? > > > >More importantly, why do you have to build the web site as root? > > > >The files are installed in ${DESTDIR}, which defaults to the > >${HOME}/public_html/ directory of the user running the build. > > > >% orion:/d/www/share/mk$ grep DESTDIR * > >% web.site.mk:DESTDIR?= ${HOME}/public_html > >% web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} > >% web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} > >% web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} > >% web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. > >% orion:/d/www/share/mk$ > > Okay, I appreciate that. I'm not a gambler, but I would've given > odds it wasn't cvs's fault. :-) Right. Sorry for not replying earlier, but I didn't quite understand what exactly you were trying to do and what the problem was. The /doc and /www areas of the FreeBSD CVS repository are a responsibility of the FreeBSD documentation guys. In the future, it may be a good idea to ask questions about these specific parts of the CVS tree by posting to the mailing list :-) > I knew I wasn't understanding how to do it. I want it here local for me & > the others here. To have a complete /www mirror you need other stuff too and you may have to tweak a bit the build process to avoid redirecting everyone to the central www.FreeBSD.org every time they hit, for instance, a manpage link. > I didn't think about not having to be root to install it. That helps a > lot, since there's a lot more room on /home. Also, I read somewhere that > I could create a group, ncvs, add a user to it, & then I guess I could do > like you said. I.E., logon as that user, have a directory below > /usr/local/ncvs, & do the make install in that directory, as there is > even more room on /usr. Adding an 'ncvs' user/group is only required if you like checking out of the repository without the -R flag of cvs(1). Note, however, that it's not something mandatory. Redirecting the installed files somewhere where you have a lot of free disk space is ok and it doesn't require the 'ncvs' user or group. Just set DESTDIR (and possibly other environment variables that affect web.site.mk) to point to the right place: % cd /tmp % cvs -q co -P -l www # Note -l here... % cvs -q up -Pd www/en www/share www/tools % cd www/en % make DESTDIR=/usr/web/freebsd all install > Correct me on that last assumption if I'm wrong. > If not, no need for reply. > I've bugged everyone enough already with this. :) Nah, no problem. This is what the list is for, anyway.