Author: renodr
Date: Sat Apr 9 13:17:10 2016
New Revision: 17236
Log:
Archived CVS
Added:
branches/systemd/archive/cvs.xml
- copied unchanged from r17234, branches/systemd/general/prog/cvs.xml
branches/systemd/archive/cvsserver.xml
- copied unchanged from r17234,
branches/systemd/general/prog/cvsserver.xml
Deleted:
branches/systemd/general/prog/cvs.xml
branches/systemd/general/prog/cvsserver.xml
Modified:
branches/systemd/general/prog/prog.xml
branches/systemd/introduction/welcome/changelog.xml
branches/systemd/packages.ent
Copied: branches/systemd/archive/cvs.xml (from r17234,
branches/systemd/general/prog/cvs.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/archive/cvs.xml Sat Apr 9 13:17:10 2016
(r17236, copy of r17234, branches/systemd/general/prog/cvs.xml)
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+ <!ENTITY % general-entities SYSTEM "../../general.ent">
+ %general-entities;
+
+ <!ENTITY cvs-download-http
"http://ftp.gnu.org/non-gnu/cvs/source/stable/&cvs-version;/cvs-&cvs-version;.tar.bz2">
+ <!ENTITY cvs-download-ftp
"ftp://ftp.gnu.org/non-gnu/cvs/source/stable/&cvs-version;/cvs-&cvs-version;.tar.bz2">
+ <!ENTITY cvs-md5sum "0213ea514e231559d6ff8f80a34117f0">
+ <!ENTITY cvs-size "2.9 MB">
+ <!ENTITY cvs-buildsize "32.3 MB">
+ <!ENTITY cvs-time "0.3 SBU (additional ~20 SBU to run the test
suite)">
+]>
+
+<sect1 id="cvs" xreflabel="CVS-&cvs-version;">
+ <?dbhtml filename="cvs.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>CVS-&cvs-version;</title>
+
+ <indexterm zone="cvs">
+ <primary sortas="a-CVS">CVS</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title>Introduction to CVS</title>
+
+ <para><application>CVS</application> is the Concurrent Versions System.
+ This is a version control system useful for projects using a central
+ repository to hold files and then track all changes made to those files.
+ These instructions install the client used to manipulate the repository,
+ creation of a repository is covered at <xref linkend="cvsserver"/>.</para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect3">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>Download (HTTP): <ulink url="&cvs-download-http;"/></para>
+ </listitem>
+ <listitem>
+ <para>Download (FTP): <ulink url="&cvs-download-ftp;"/></para>
+ </listitem>
+ <listitem>
+ <para>Download MD5 sum: &cvs-md5sum;</para>
+ </listitem>
+ <listitem>
+ <para>Download size: &cvs-size;</para>
+ </listitem>
+ <listitem>
+ <para>Estimated disk space required: &cvs-buildsize;</para>
+ </listitem>
+ <listitem>
+ <para>Estimated build time: &cvs-time;</para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing='compact'>
+ <listitem>
+ <para>Recommended patch: <ulink
+ url="&patch-root;/cvs-&cvs-version;-zlib-1.patch"/></para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">CVS Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Optional</bridgehead>
+ <para role="optional"><!-- <xref linkend="gdbm"/>, -->
+ <xref linkend="tcsh"/>,
+ <xref linkend="openssh"/>,
+ <ulink url="ftp://ftp.pdc.kth.se/pub/krb/src/">krb4</ulink>,
+ <xref linkend="mitkrb"/>
+ (for the GSSAPI libraries),
+ <xref linkend="gs"/><!-- or <xref linkend="espgs"/> -->, and
+ an <xref linkend="server-mail"/> (that provides a
+ <command>sendmail</command> command)</para>
+
+ <para><application>CVS</application> will invoke a default text editor to
+ create a commit message if the <parameter>-m "Commit message"</parameter>
+ parameter was not used when changes are committed to a repository.
+ <application>CVS</application> looks for the following text editors, in the
+ order shown below, during configuration to determine the default. This
+ default can always be overridden by the <envar>CVSEDITOR</envar> or
+ <envar>EDITOR</envar> environment variables and can be specified directly
+ by passing the <option>--with-editor=<replaceable><desired text
+ editor></replaceable></option> parameter to the
+ <command>configure</command> script.</para>
+
+ <itemizedlist spacing='compact'>
+ <listitem>
+ <para><xref linkend="vim"/></para>
+ </listitem>
+ <listitem>
+ <para><xref linkend="emacs"/></para>
+ </listitem>
+ <listitem>
+ <para><xref linkend="nano"/></para>
+ </listitem>
+ <listitem>
+ <para><xref linkend="re-alpine"/> (for Pico)</para>
+ </listitem>
+ </itemizedlist>
+
+
+ <para condition="html" role="usernotes">User Notes:
+ <ulink url="&blfs-wiki;/cvs"/></para>
+
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of CVS</title>
+
+ <para>By default <application>CVS</application> is statically linked
+ against the <application>Zlib</application> library included in its source
+ tree. This makes it exposed to possible security vulnerabilities in that
+ library. If you want to modify <application>CVS</application> to use the
+ system shared <application>Zlib</application> library, apply the following
+ patch:</para>
+
+<screen><userinput>patch -Np1 -i
../cvs-&cvs-version;-zlib-1.patch</userinput></screen>
+
+ <para>Now fix some conflicts with newer libraries and programs:</para>
+
+<screen><userinput>sed -i -e 's/getline /get_line /' lib/getline.{c,h}
&&
+sed -i -e 's/^@sp$/& 1/' doc/cvs.texinfo &&
+touch doc/*.pdf</userinput></screen>
+
+ <para>Install <application>CVS</application> by running
+ the following commands:</para>
+
+<screen><userinput>./configure --prefix=/usr
--docdir=/usr/share/doc/cvs-&cvs-version; &&
+make</userinput></screen>
+
+ <para>If you wish to create HTML or text docs from the
+ documentation source files, issue the following command:</para>
+
+<screen><userinput>make -C doc html txt</userinput></screen>
+
+ <para>To test the results, issue: <command>make check</command>. This will
+ take quite a while. If you don't have <command>rsh</command> configured for
+ access to the host you are building on (or you didn't pass the
+ <option>--with-rsh=</option> parameter to the <command>configure</command>
+ script, some tests may fail. If you passed the
+ <option>--with-rsh=ssh</option> parameter to enable <command>ssh</command>
+ as the default remote shell program, you'll need to issue the following
+ command so that the tests will complete without any failures:</para>
+
+<screen><userinput>sed -e 's/rsh};/ssh};/' \
+ -e 's/g=rw,o=r$/g=r,o=r/' \
+ -i src/sanity.sh</userinput></screen>
+
+ <para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
+
+<screen role='root'><userinput>make install &&
+make -C doc install-pdf &&
+install -v -m644 FAQ README
/usr/share/doc/cvs-&cvs-version;</userinput></screen>
+
+ <para>If you created any additional documentation, install it by issuing
+ the following commands as the
+ <systemitem class="username">root</systemitem> user:</para>
+
+<screen role='root'><userinput>install -v -m644 doc/*.txt
/usr/share/doc/cvs-&cvs-version; &&
+install -v -m755 -d /usr/share/doc/cvs-&cvs-version;/html/cvs{,client}
&&
+install -v -m644 doc/cvs.html/* \
+ /usr/share/doc/cvs-&cvs-version;/html/cvs
&&
+install -v -m644 doc/cvsclient.html/* \
+
/usr/share/doc/cvs-&cvs-version;/html/cvsclient</userinput></screen>
+
+ </sect2>
+
+ <sect2 role="configuration">
+ <title>Configuring CVS</title>
+
+ <sect3 id="cvs-config">
+ <title>Config Files</title>
+
+ <para><filename>~/.cvsrc</filename>, <filename>~/.cvswrappers</filename>,
+ and <filename>~/.cvspass</filename>.</para>
+
+ <indexterm zone="cvs cvs-config">
+ <primary sortas="e-AA.cvsrc">~/.cvsrc</primary>
+ </indexterm>
+
+ <indexterm zone="cvs cvs-config">
+ <primary sortas="e-AA.cvswrappers">~/.cvswrappers</primary>
+ </indexterm>
+
+ <indexterm zone="cvs cvs-config">
+ <primary sortas="e-AA.cvspass">~/.cvspass</primary>
+ </indexterm>
+
+ </sect3>
+
+ <sect3>
+ <title>Configuration Information</title>
+
+ <para><filename>~/.cvsrc</filename> is the main
+ <application>CVS</application> configuration file.
+ This file is used by users to specify defaults for different
+ <command>cvs</command> commands. For example, to make all
+ <command>cvs diff</command> commands run with <option>-u</option>, a user
+ would add <option>diff -u</option> to their <filename>.cvsrc</filename>
+ file.</para>
+
+ <para><filename>~/.cvswrappers</filename> specifies wrappers to be used
in
+ addition to those specified in the
<filename>CVSROOT/cvswrappers</filename>
+ file in the repository.</para>
+
+ <para><filename>~/.cvspass</filename> contains passwords used to complete
+ logins to servers.</para>
+
+ </sect3>
+
+ </sect2>
+
+ <sect2 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>cvs, cvsbug, and rcs2log</seg>
+ <seg>None</seg>
+ <seg>/usr/share/cvs and /usr/share/doc/cvs-&cvs-version;</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="cvs-prog">
+ <term><command>cvs</command></term>
+ <listitem>
+ <para>is the main program file for the concurrent versions
system.</para>
+ <indexterm zone="cvs cvs-prog">
+ <primary sortas="b-cvs">cvs</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="cvsbug">
+ <term><command>cvsbug</command></term>
+ <listitem>
+ <para>is used to send problem reports about
<application>CVS</application>
+ to a central support site.</para>
+ <indexterm zone="cvs cvsbug">
+ <primary sortas="b-cvsbug">cvsbug</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="rcs2log">
+ <term><command>rcs2log</command></term>
+ <listitem>
+ <para>is a symlink to the contributed RCS to Change Log
+ generator.</para>
+ <indexterm zone="cvs rcs2log">
+ <primary sortas="b-rcs2log">rcs2log</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </sect2>
+
+</sect1>
Copied: branches/systemd/archive/cvsserver.xml (from r17234,
branches/systemd/general/prog/cvsserver.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/archive/cvsserver.xml Sat Apr 9 13:17:10 2016
(r17236, copy of r17234, branches/systemd/general/prog/cvsserver.xml)
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+ <!ENTITY % general-entities SYSTEM "../../general.ent">
+ %general-entities;
+
+]>
+
+<sect1 id="cvsserver" xreflabel="Running a CVS Server">
+ <?dbhtml filename="cvsserver.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>Running a CVS Server</title>
+
+ <sect2 role="package">
+ <title>Running a CVS Server</title>
+
+ <para>This section will describe how to set up, administer and secure
+ a CVS server.</para>
+
+ <bridgehead renderas="sect3">CVS Server Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Required</bridgehead>
+ <para><xref linkend="cvs"/> and
+ <xref linkend="openssh"/></para>
+
+ </sect2>
+
+ <sect2 role="configuration">
+ <title>Setting up a CVS Server.</title>
+
+ <para>A CVS server will be set up using OpenSSH as the remote access
+ method. Other access methods, including :pserver: and :server: will
+ not be used for write access to the CVS repository. The :pserver:
+ method sends clear text passwords over the network and the :server:
+ method is not supported in all CVS ports. Instructions for anonymous,
+ read only CVS access using :pserver: can be found at the end of this
+ section.</para>
+
+ <para>Configuration of the CVS server consists of four
+ steps:</para>
+
+ <sect3>
+ <title>1. Create a Repository.</title>
+
+ <para>Create a new CVS repository with the following
+ commands:</para>
+
+<screen role="root"><userinput>mkdir /srv/cvsroot &&
+chmod 1777 /srv/cvsroot &&
+export CVSROOT=/srv/cvsroot &&
+cvs init</userinput></screen>
+
+ </sect3>
+
+ <sect3>
+ <title>2. Import Source Code Into the Repository.</title>
+
+ <para>Import a source module into the repository with the following
+ commands, issued from a user account on the same machine as the
+ CVS repository:</para>
+
+<screen><userinput>cd <replaceable><sourcedir></replaceable> &&
+cvs import -m "<replaceable><repository test></replaceable>"
<replaceable><cvstest></replaceable>
<replaceable><vendortag></replaceable>
<replaceable><releasetag></replaceable></userinput></screen>
+
+ </sect3>
+
+ <sect3>
+ <title>3. Verify Local Repository Access.</title>
+
+ <para>Test access to the CVS repository from the same user
+ account with the following command:</para>
+
+<screen><userinput>cvs co cvstest</userinput></screen>
+
+ </sect3>
+
+ <sect3>
+ <title>4. Verify Remote Repository Access.</title>
+
+ <para>Test access to the CVS repository from a remote machine using
+ a user account that has <command>ssh</command> access to the CVS
+ server with the following commands:</para>
+
+ <note>
+ <para>Replace <replaceable><servername></replaceable> with the
+ IP address or host name of the CVS repository machine. You will
+ be prompted for the user's shell account password before CVS
+ checkout can continue.</para>
+ </note>
+
+<screen><userinput>export CVS_RSH=/usr/bin/ssh &&
+cvs -d:ext:<replaceable><servername></replaceable>:/srv/cvsroot co
cvstest</userinput></screen>
+
+ </sect3>
+
+ </sect2>
+
+ <sect2 id='cvsserver-config' role="configuration">
+ <title>Configuring CVS for Anonymous Read Only Access.</title>
+
+ <para>CVS can be set up to allow anonymous read only access using the
+ :pserver: method by logging on as <systemitem
class="username">root</systemitem>
+ and executing the following commands:</para>
+
+<screen role="root"><userinput>(grep anonymous /etc/passwd || useradd
anonymous -s /bin/false -u 98) &&
+echo anonymous: > /srv/cvsroot/CVSROOT/passwd &&
+echo anonymous > /srv/cvsroot/CVSROOT/readers</userinput></screen>
+
+<!-- <para>If you use <command>inetd</command>, the following command
+ will add the <application>CVS</application> entry to
+ <filename>/etc/inetd.conf</filename>:</para>
+
+<screen role="root"><userinput>echo "2401 stream tcp nowait root
/usr/bin/cvs cvs -f \
+ - -allow-root=/srv/cvsroot pserver" >>
/etc/inetd.conf</userinput></screen>
+
+ <indexterm zone="cvsserver cvsserver-config">
+ <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
+ </indexterm>
+
+ <para>Issue a <command>killall -HUP inetd</command> to reread the changed
+ <filename>inetd.conf</filename> file.</para>
+-->
+<!--
+ <para>If you use <command>xinetd</command>, the following command will
create
+ the CVS file as <filename>/etc/xinetd.d/cvspserver</filename>:</para>
+
+<screen role="root"><userinput>cat >> /etc/xinetd.d/cvspserver <<
"EOF"
+<literal># Begin /etc/xinetd.d/cvspserver
+
+ service cvspserver
+ {
+ port = 2401
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ passenv = PATH
+ server = /usr/bin/cvs
+ server_args = -f - -allow-root=/srv/cvsroot pserver
+ }
+
+# End /etc/xinetd.d/cvspserver</literal>
+EOF</userinput></screen>
+
+ <indexterm zone="cvsserver cvsserver-config">
+ <primary
sortas="e-etc-xinetd.d-cvspserver">/etc/xinetd.d/cvspserver</primary>
+ </indexterm>
+
+ <para>Issue a <command>/etc/rc.d/init.d/xinetd reload</command> to reread
+ the changed <filename>xinetd.conf</filename> file.</para>
+-->
+ <para>Testing anonymous access to the new repository requires an account
+ on another machine that can reach the CVS server via network. No account
+ on the CVS repository is needed. To test anonymous access to the CVS
+ repository, log in to another machine as an unprivileged user and execute
+ the following command:</para>
+
+<screen><userinput>cvs
-d:pserver:anonymous@<replaceable><servername></replaceable>:/srv/cvsroot
co cvstest</userinput></screen>
+
+ <note>
+ <para>Replace <replaceable><servername></replaceable> with the
+ IP address or hostname of the CVS server.</para>
+ </note>
+
+ </sect2>
+
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para><command>mkdir /srv/cvsroot</command>: Create the CVS
+ repository directory.</para>
+
+ <para><command>chmod 1777 /srv/cvsroot</command>: Set sticky bit
+ permissions for <envar>CVSROOT</envar>.</para>
+
+ <para><command>export CVSROOT=/srv/cvsroot</command>: Specify new
+ <envar>CVSROOT</envar> for all <command>cvs</command> commands.</para>
+
+ <para><command>cvs init</command>: Initialize the new CVS
+ repository.</para>
+
+ <para><command>cvs import -m "repository test" cvstest vendortag
+ releasetag</command>: All source code modules must be imported into the
+ CVS repository before use, with the <command>cvs import</command> command.
+ The <option>-m</option> flags specifies an initial descriptive entry for
+ the new module. The <option>cvstest</option> parameter is the name used
+ for the module in all subsequent <command>cvs</command> commands. The
+ <option>vendortag</option> and <option>releasetag</option> parameters are
+ used to further identify each CVS module and are mandatory whether used
+ or not.</para>
+
+ <para><command>(grep anonymous /etc/passwd || useradd anonymous -s
+ /bin/false -u 98)</command>: Check for an existing <systemitem
+ class="username">anonymous</systemitem> user and create one if not
+ found.</para>
+
+ <para><command>echo anonymous: > /srv/cvsroot/CVSROOT/passwd</command>:
+ Add the <systemitem class="username">anonymous</systemitem> user to the
+ CVS passwd file, which is unused for anything else in this
+ configuration.</para>
+
+ <para><command>echo anonymous > /srv/cvsroot/CVSROOT/readers</command>:
+ Add the <systemitem class="username">anonymous</systemitem> user to the
+ CVS readers file, a list of users who have read only access to the
+ repository.</para>
+
+ </sect2>
+
+ <sect2 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>None</seg>
+ <seg>None</seg>
+ <seg>/srv/cvsroot</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect2>
+
+</sect1>
Modified: branches/systemd/general/prog/prog.xml
==============================================================================
--- branches/systemd/general/prog/prog.xml Sat Apr 9 13:10:49 2016
(r17235)
+++ branches/systemd/general/prog/prog.xml Sat Apr 9 13:17:10 2016
(r17236)
@@ -25,8 +25,8 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clisp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cvs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cvsserver.xml"/>
+<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cvs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="cvsserver.xml"/>-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="doxygen.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="elfutils.xml"/>
Modified: branches/systemd/introduction/welcome/changelog.xml
==============================================================================
--- branches/systemd/introduction/welcome/changelog.xml Sat Apr 9 13:10:49
2016 (r17235)
+++ branches/systemd/introduction/welcome/changelog.xml Sat Apr 9 13:17:10
2016 (r17236)
@@ -47,6 +47,9 @@
<para>April 9th, 2016</para>
<itemizedlist>
<listitem>
+ <para>[renodr] - Archived CVS.</para>
+ </listitem>
+ <listitem>
<para>[renodr] - Archived gstreamer-0.x series.</para>
</listitem>
</itemizedlist>
Modified: branches/systemd/packages.ent
==============================================================================
--- branches/systemd/packages.ent Sat Apr 9 13:10:49 2016 (r17235)
+++ branches/systemd/packages.ent Sat Apr 9 13:17:10 2016 (r17236)
@@ -275,7 +275,7 @@
<!ENTITY cmake-major-version "3.5">
<!ENTITY cmake-minor-version "0">
<!ENTITY cmake-version
"&cmake-major-version;.&cmake-minor-version;">
-<!ENTITY cvs-version "1.11.23">
+<!--<!ENTITY cvs-version "1.11.23"> -->
<!ENTITY dejagnu-version "1.5.3">
<!ENTITY doxygen-version "1.8.11">
<!ENTITY elfutils-version "0.165">
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page