old-www/HOWTO/Secure-CVS-Pserver/gettools.html

356 lines
4.9 KiB
HTML

<HTML
><HEAD
><TITLE
>Getting the tools</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Secure CVS Pserver Mini-HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Introduction"
HREF="intro.html"><LINK
REL="NEXT"
TITLE="Setting up the tools"
HREF="setuptools.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Secure CVS Pserver Mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="intro.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="setuptools.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="gettools"
></A
>2. Getting the tools</H1
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN36"
></A
>2.1. What you need</H2
><P
>&#13; You'll need the following things in order to set up a secure Pserver:
</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
>CVS</DT
><DD
><P
>&#13; Of course, you will need to have CVS in order to be running it.
You can get it <A
HREF="http://www.cvshome.org"
TARGET="_top"
>here</A
>.
</P
></DD
><DT
>cvsd</DT
><DD
><P
>&#13; <B
CLASS="command"
>cvsd</B
> is a program that will run the CVS Pserver
in a chroot jail. You can get it <A
HREF="http://tiefighter.et.tudelft.nl/~arthur/cvsd/"
TARGET="_top"
>here</A
>.
</P
></DD
><DT
>SSHd</DT
><DD
><P
>&#13; If you want your developers to have secure access to the repository,
you'll have to be running an SSH server. However, setting up that
access is beyond the scope of this Mini-HOWTO. More information can be found at
<A
HREF="http://www.tldp.org/HOWTO/CVS-RCS-HOWTO.html"
TARGET="_top"
>the CVS-RCS howto</A
>.
</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="compiletools"
></A
>2.2. Compiling the tools</H2
><P
>&#13; If you are compiling from the sources, follow these instructions.
If you downloaded binaries, skip ahead to <A
HREF="gettools.html#compilecvsd"
>Section 2.2.2</A
>.
</P
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="compilecvs"
></A
>2.2.1. Compiling CVS</H3
><P
>&#13; After you have downloaded the CVS sources, unpack them into a
directory and <B
CLASS="command"
>cd</B
> into it. The default prefix is
<TT
CLASS="filename"
>/usr/local</TT
>; we've changed it
to <TT
CLASS="filename"
>/usr</TT
> for this example.
You might want to change <TT
CLASS="varname"
>mandir</TT
> to wherever
your man pages reside (the default is
<TT
CLASS="filename"
>PREFIX/man</TT
>).
</P
><DIV
CLASS="informalexample"
><A
NAME="AEN68"
></A
><P
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;<TT
CLASS="prompt"
>$</TT
> ./configure --prefix=/usr
<TT
CLASS="prompt"
>$</TT
> make
<TT
CLASS="prompt"
>#</TT
> make install
</PRE
></FONT
></TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="compilecvsd"
></A
>2.2.2. Compiling cvsd</H3
><P
>&#13; There are a few configure switches you should be aware of here.
The default prefix is <TT
CLASS="filename"
>/usr/local</TT
>,
which in this document we are changing to <TT
CLASS="filename"
>/usr</TT
>.
You should also change <TT
CLASS="varname"
>sysconfdir</TT
> to
<TT
CLASS="filename"
>/etc</TT
>, where the system
config files usually reside. You might want to change
<TT
CLASS="varname"
>mandir</TT
> to wherever your manual pages reside as
well.
</P
><DIV
CLASS="informalexample"
><A
NAME="AEN81"
></A
><P
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;<TT
CLASS="prompt"
>$</TT
> ./configure --prefix=/usr --sysconfdir=/etc
<TT
CLASS="prompt"
>$</TT
> make
<TT
CLASS="prompt"
>#</TT
> make install
</PRE
></FONT
></TD
></TR
></TABLE
><P
></P
></DIV
><P
>&#13; Now lets go on to setting up these wonderful tools.
</P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="intro.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="setuptools.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Introduction</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Setting up the tools</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>