cvs question

Giorgos Keramidas keramida at
Fri Jun 10 09:49:57 GMT 2005

On 2005-06-09 19:26, Denny White <dennyboy at> 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 *
> >%   ${HOME}/public_html
> >%      ${DESTDIR}${WEBBASE}/${WEBDIR}
> >%      ${DESTDIR}${WEBBASE}/${CGIDIR}
> >% 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
<freebsd-doc at> 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 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
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.

More information about the freebsd-questions mailing list