Author: dj
Date: Wed Jan 27 10:43:42 2016
New Revision: 16858
Log:
Remove -systemd nameing for xml files and move entities to packages.ent for
Chapter 13
Added:
branches/systemd/general/prog/beaker.xml (props changed)
- copied unchanged from r16857,
branches/systemd/general/prog/beaker-systemd.xml
branches/systemd/general/prog/cmake.xml
- copied unchanged from r16857,
branches/systemd/general/prog/cmake-systemd.xml
branches/systemd/general/prog/jinja2.xml (props changed)
- copied unchanged from r16857,
branches/systemd/general/prog/jinja2-systemd.xml
branches/systemd/general/prog/mako.xml (props changed)
- copied unchanged from r16857,
branches/systemd/general/prog/mako-systemd.xml
branches/systemd/general/prog/markupsafe.xml
- copied, changed from r16857,
branches/systemd/general/prog/MarkupSafe-systemd.xml
branches/systemd/general/prog/php.xml
- copied unchanged from r16857,
branches/systemd/general/prog/php-systemd.xml
branches/systemd/general/prog/pyatspi2.xml
- copied unchanged from r16857,
branches/systemd/general/prog/pyatspi2-systemd.xml
branches/systemd/general/prog/python-modules.xml
- copied, changed from r16857,
branches/systemd/general/prog/python-modules-systemd.xml
branches/systemd/general/prog/pyyaml.xml (props changed)
- copied unchanged from r16857,
branches/systemd/general/prog/pyyaml-systemd.xml
branches/systemd/general/prog/setuptools.xml
- copied unchanged from r16857,
branches/systemd/general/prog/setuptools-systemd.xml
branches/systemd/general/prog/svnserver.xml
- copied unchanged from r16857,
branches/systemd/general/prog/svnserver-systemd.xml
Replaced:
branches/systemd/general/prog/subversion.xml (contents, props changed)
- copied, changed from r16857,
branches/systemd/general/prog/subversion-systemd.xml
Deleted:
branches/systemd/general/prog/Jinja2-systemd.xml
branches/systemd/general/prog/MarkupSafe-systemd.xml
branches/systemd/general/prog/PyYAML-systemd.xml
branches/systemd/general/prog/beaker-systemd.xml
branches/systemd/general/prog/cmake-systemd.xml
branches/systemd/general/prog/jinja2-systemd.xml
branches/systemd/general/prog/mako-systemd.xml
branches/systemd/general/prog/markupsafe-systemd.xml
branches/systemd/general/prog/php-systemd.xml
branches/systemd/general/prog/pyatspi2-systemd.xml
branches/systemd/general/prog/python-modules-systemd.xml
branches/systemd/general/prog/pyyaml-systemd.xml
branches/systemd/general/prog/setuptools-systemd.xml
branches/systemd/general/prog/subversion-systemd.xml
branches/systemd/general/prog/svnserver-systemd.xml
Modified:
branches/systemd/general/prog/clisp.xml (props changed)
branches/systemd/general/prog/npapi-sdk.xml (props changed)
branches/systemd/general/prog/ojdk-conf.xml (props changed)
branches/systemd/general/prog/prog.xml
branches/systemd/packages.ent
branches/systemd/systemd.ent
Copied: branches/systemd/general/prog/beaker.xml (from r16857,
branches/systemd/general/prog/beaker-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/beaker.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/beaker-systemd.xml)
@@ -0,0 +1,138 @@
+<?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 Beaker-download-http
+
"https://pypi.python.org/packages/source/B/Beaker/Beaker-&Beaker-version;.tar.gz">
+ <!ENTITY Beaker-download-ftp " ">
+ <!ENTITY Beaker-md5sum "386be3f7fe427358881eee4622b428b3">
+ <!ENTITY Beaker-size "36 KB">
+ <!ENTITY Beaker-buildsize "1.8 MB">
+ <!ENTITY Beaker-time "less than 0.1 SBU">
+]>
+
+ <!-- Begin Beaker -->
+ <sect2 id="Beaker" xreflabel="Beaker-&Beaker-version;">
+
+ <title>Beaker-&Beaker-version;</title>
+
+ <indexterm zone="Beaker">
+ <primary sortas="a-Beaker">Beaker</primary>
+ </indexterm>
+
+ <sect3 role="package">
+ <title>Introduction to Beaker Module</title>
+
+ <para>
+ <application>Beaker</application> is a
<application>Python</application>
+ module that implements caching and sessions WSGI middleware for use
with
+ web applications and stand-alone Python scripts and applications.
+ </para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect4">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&Beaker-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&Beaker-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &Beaker-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &Beaker-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &Beaker-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &Beaker-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect4">Beaker Dependencies</bridgehead>
+
+ <bridgehead renderas="sect5">Required</bridgehead>
+ <para role="required">
+ <xref linkend="setuptools"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/Beaker"/>
+ </para>
+ </sect3>
+
+ <sect3 role="installation">
+ <title>Installation of Beaker</title>
+
+ <note>
+ <para>
+ Both <application>Python 2</application> and
+ <application>Python 3</application> modules can
+ be built and installed without any conflicts.
+ </para>
+ </note>
+
+ <para>
+ To install the <application>Python 2</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python setup.py install
--optimize=1</userinput></screen>
+
+ <para>
+ To install the <application>Python 3</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python3 setup.py install
--optimize=1</userinput></screen>
+
+ </sect3>
+
+ <sect3 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>
+ /usr/lib/python&python2-majorver;/site-packages/beaker,
+
/usr/lib/python&python2-majorver;/site-packages/Beaker-&Beaker-version;-py&python2-majorver;.egg-info
and/or
+ /usr/lib/python&python3-majorver;/site-packages/beaker,
+
/usr/lib/python&python3-majorver;/site-packages/Beaker-&Beaker-version;-py&python3-majorver;.egg-info
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect3>
+
+ </sect2>
+ <!--End Beaker -->
Copied: branches/systemd/general/prog/cmake.xml (from r16857,
branches/systemd/general/prog/cmake-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/cmake.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/cmake-systemd.xml)
@@ -0,0 +1,256 @@
+<?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 cmake-download-http
"http://www.cmake.org/files/v&cmake-major-version;/cmake-&cmake-version;.tar.gz">
+ <!ENTITY cmake-download-ftp " ">
+ <!ENTITY cmake-md5sum "cd3034e0a44256a0917e25477217fc8">
+ <!ENTITY cmake-size "6.4 MB">
+ <!ENTITY cmake-buildsize "632 MB (with tests)">
+ <!ENTITY cmake-time "13.2 SBU (with tests)">
+]>
+
+<sect1 id="cmake" xreflabel="CMake-&cmake-version;">
+ <?dbhtml filename="cmake.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>CMake-&cmake-version;</title>
+
+ <indexterm zone="cmake">
+ <primary sortas="a-CMake">CMake</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title>Introduction to CMake</title>
+
+ <para>
+ The <application>CMake</application> package contains a modern
+ toolset used for generating Makefiles. It is a successor of the
+ auto-generated <command>configure</command> script and aims to
+ be platform- and compiler-independent. A significant user of
+ <application>CMake</application> is <application>KDE</application>
+ since version 4.
+ </para>
+
+ &lfs78_checked;
+
+ <bridgehead renderas="sect3">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&cmake-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&cmake-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &cmake-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &cmake-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &cmake-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &cmake-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">CMake Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Recommended</bridgehead>
+ <para role="recommended">
+ <xref linkend="curl"/> and
+ <xref linkend="libarchive"/>
+ </para>
+
+ <bridgehead renderas="sect4">Optional</bridgehead>
+ <para role="optional">
+ <xref linkend="qt4"/> or <xref linkend="qt5"/> (for the Qt-based GUI),
+ <xref linkend="subversion"/> (for testing), and
+ <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
+ (for building documents)
+ </para>
+
+ <para condition="html" role="usernotes">User Notes:
+ <ulink url="&blfs-wiki;/cmake"/>
+ </para>
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of CMake</title>
+
+ <para>
+ Install <application>CMake</application> by running the following
+ commands:
+ </para>
+
+<screen><userinput>./bootstrap --prefix=/usr \
+ --system-libs \
+ --mandir=/share/man \
+ --no-system-jsoncpp \
+ --docdir=/share/doc/cmake-&cmake-version; &&
+make</userinput></screen>
+
+ <para>
+ To test the results, issue: <command>bin/ctest</command>.
+ </para>
+
+ <para>
+ Now, as the <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+ </sect2>
+
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <parameter>--system-libs</parameter>: This switch forces the build system
+ to link against the <application>Zlib</application>,
+ <application>Bzip2</application>, <application>cURL</application>,
+ <application>Expat</application> and
<application>libarchive</application>
+ packages already installed on the system.
+ </para>
+
+ <para>
+ <parameter>--no-system-jsoncpp</parameter>: This switch removes the
+ <application>JSON-C++</application> library from the list of system
+ libraries. A bundled version of that library is used instead.
+ </para>
+
+ <para>
+ <option>--qt-gui</option>: This switch enables building of the
+ <application>Qt</application>-based GUI for
+ <application>CMake</application>.
+ </para>
+
+ <para>
+ <option>--qt-qmake=/usr/bin/qmake-qt5</option>: Use this switch if
+ you have both <application>Qt4</application> and
+ <application>Qt5</application> installed but wish to build the
+ <application>Qt5</application> based GUI (it defaults to
+ <application>Qt4</application> one).
+ </para>
+
+ </sect2>
+
+ <sect2 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>
+ ccmake,
+ cmake,
+ cmake-gui (optional),
+ cpack,
+ and ctest
+ </seg>
+ <seg>
+ None
+ </seg>
+ <seg>
+ /usr/share/cmake-&cmake-major-version; and
+ /usr/share/doc/cmake-&cmake-version;
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="ccmake">
+ <term><command>ccmake</command></term>
+ <listitem>
+ <para>
+ is a curses based interactive frontend to
+ <command>cmake</command>.
+ </para>
+ <indexterm zone="cmake ccmake">
+ <primary sortas="b-ccmake">ccmake</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="cmake-prog">
+ <term><command>cmake</command></term>
+ <listitem>
+ <para>
+ is the makefile generator.
+ </para>
+ <indexterm zone="cmake cmake-prog">
+ <primary sortas="b-cmake">cmake</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="cmake-gui">
+ <term><command>cmake-gui</command></term>
+ <listitem>
+ <para>
+ (optional) is the <application>Qt</application>-based frontent to
+ <command>cmake</command>.
+ </para>
+ <indexterm zone="cmake cmake-gui">
+ <primary sortas="b-cmake-gui">cmake-gui</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="cpack">
+ <term><command>cpack</command></term>
+ <listitem>
+ <para>
+ is the <application>CMake</application> packaging program.
+ </para>
+ <indexterm zone="cmake cpack">
+ <primary sortas="b-cpack">cpack</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="ctest">
+ <term><command>ctest</command></term>
+ <listitem>
+ <para>
+ is a testing utility for cmake-generated build trees.
+ </para>
+ <indexterm zone="cmake ctest">
+ <primary sortas="b-ctest">ctest</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
+</sect1>
Copied: branches/systemd/general/prog/jinja2.xml (from r16857,
branches/systemd/general/prog/jinja2-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/jinja2.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/jinja2-systemd.xml)
@@ -0,0 +1,137 @@
+<?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 Jinja2-download-http
+
"https://pypi.python.org/packages/source/J/Jinja2/Jinja2-&Jinja2-version;.tar.gz">
+ <!ENTITY Jinja2-download-ftp " ">
+ <!ENTITY Jinja2-md5sum "b9dffd2f3b43d673802fe857c8445b1a">
+ <!ENTITY Jinja2-size "372 KB">
+ <!ENTITY Jinja2-buildsize "7.8 MB">
+ <!ENTITY Jinja2-time "less than 0.1 SBU">
+]>
+
+ <!-- Begin Jinja2 -->
+ <sect2 id="Jinja2" xreflabel="Jinja2-&Jinja2-version;">
+
+ <title>Jinja2-&Jinja2-version;</title>
+
+ <indexterm zone="Jinja2">
+ <primary sortas="a-Jinja2">Jinja2</primary>
+ </indexterm>
+
+ <sect3 role="package">
+ <title>Introduction to Jinja2 Module</title>
+
+ <para>
+ <application>Jinja2</application> is a
<application>Python</application>
+ module that implements a simple pythonic template language.
+ </para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect4">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&Jinja2-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&Jinja2-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &Jinja2-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &Jinja2-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &Jinja2-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &Jinja2-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect4">Jinja2 Dependencies</bridgehead>
+
+ <bridgehead renderas="sect5">Required</bridgehead>
+ <para role="required">
+ <xref linkend="MarkupSafe"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/Jinja2"/>
+ </para>
+ </sect3>
+
+ <sect3 role="installation">
+ <title>Installation of Jinja2</title>
+
+ <note>
+ <para>
+ Both <application>Python 2</application> and
+ <application>Python 3</application> modules can
+ be built and installed without any conflicts.
+ </para>
+ </note>
+
+ <para>
+ To install the <application>Python 2</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python setup.py install
--optimize=1</userinput></screen>
+
+ <para>
+ To install the <application>Python 3</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python3 setup.py install
--optimize=1</userinput></screen>
+
+ </sect3>
+
+ <sect3 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>
+ /usr/lib/python&python2-majorver;/site-packages/Jinja2,
+
/usr/lib/python&python2-majorver;/site-packages/Jinja2-&Jinja2-version;-py&python2-majorver;.egg-info
and/or
+ /usr/lib/python&python3-majorver;/site-packages/Jinja2,
+
/usr/lib/python&python3-majorver;/site-packages/Jinja2-&Jinja2-version;-py&python3-majorver;.egg-info
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect3>
+
+ </sect2>
+ <!--End Jinja2 -->
Copied: branches/systemd/general/prog/mako.xml (from r16857,
branches/systemd/general/prog/mako-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/mako.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/mako-systemd.xml)
@@ -0,0 +1,153 @@
+<?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 Mako-download-http
+
"https://pypi.python.org/packages/source/M/Mako/Mako-&Mako-version;.tar.gz">
+ <!ENTITY Mako-download-ftp " ">
+ <!ENTITY Mako-md5sum "9f0aafd177b039ef67b90ea350497a54">
+ <!ENTITY Mako-size "47 KB">
+ <!ENTITY Mako-buildsize "464 KB">
+ <!ENTITY Mako-time "less than 0.1 SBU">
+]>
+
+ <!-- Begin Mako -->
+ <sect2 id="Mako" xreflabel="Mako-&Mako-version;">
+
+ <title>Mako-&Mako-version;</title>
+
+ <indexterm zone="Mako">
+ <primary sortas="a-Mako">Mako</primary>
+ </indexterm>
+
+ <sect3 role="package">
+ <title>Introduction to Mako Module</title>
+
+ <para>
+ <application>Mako</application> is a <application>Python</application>
+ module that implements hyperfast and lightweight templating for the
+ <application>Python</application> platform.
+ </para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect4">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&Mako-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&Mako-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &Mako-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &Mako-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &Mako-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &Mako-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect4">Mako Dependencies</bridgehead>
+
+ <bridgehead renderas="sect5">Required</bridgehead>
+ <para role="required">
+ <xref linkend="Beaker"/> and
+ <xref linkend="MarkupSafe"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/Mako"/>
+ </para>
+ </sect3>
+
+ <sect3 role="installation">
+ <title>Installation of Mako</title>
+
+ <note>
+ <para>
+ Both <application>Python 2</application> and
+ <application>Python 3</application> modules can
+ be built and installed without any conflicts.
+ </para>
+ </note>
+
+ <para>
+ To install the <application>Python 2</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python setup.py install
--optimize=1</userinput></screen>
+
+ <para>
+ To install the <application>Python 3</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>sed -i "s:mako-render:&3:g" setup.py
&&
+python3 setup.py install --optimize=1</userinput></screen>
+
+ </sect3>
+
+ <sect3 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <command>sed -i "s:mako-render:&3:g" setup.py</command>: This sed
+ prevents <command>setup.py</command> from overwriting an already
+ installed script by the <application>Python 2</application> module.
+ Remove it if you are building this module only for
+ <application>Python 3</application>.
+ </para>
+
+ </sect3>
+
+ <sect3 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>
+ mako-render and/or mako-render3
+ </seg>
+ <seg>
+ None
+ </seg>
+ <seg>
+ /usr/lib/python&python2-majorver;/site-packages/mako,
+
/usr/lib/python&python2-majorver;/site-packages/Mako-&Mako-version;-py&python2-majorver;.egg-info
and/or
+ /usr/lib/python&python3-majorver;/site-packages/mako,
+
/usr/lib/python&python3-majorver;/site-packages/Mako-&Mako-version;-py&python3-majorver;.egg-info
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect3>
+
+ </sect2>
+ <!--End Mako -->
Copied and modified: branches/systemd/general/prog/markupsafe.xml (from r16857,
branches/systemd/general/prog/MarkupSafe-systemd.xml)
==============================================================================
--- branches/systemd/general/prog/MarkupSafe-systemd.xml Wed Jan 27
10:00:53 2016 (r16857, copy source)
+++ branches/systemd/general/prog/markupsafe.xml Wed Jan 27 10:43:42
2016 (r16858)
@@ -30,7 +30,7 @@
module that implements a XML/HTML/XHTML Markup safe string.
</para>
- &lfs76_checked;
+ &lfs77_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
@@ -125,10 +125,18 @@
<title>Contents</title>
<segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
+ None
+ </seg>
+ <seg>
+ None
+ </seg>
+ <seg>
/usr/lib/python&python2-majorver;/site-packages/markupsafe,
/usr/lib/python&python2-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;-py&python2-majorver;.egg-info
and/or
/usr/lib/python&python3-majorver;/site-packages/markupsafe,
Copied: branches/systemd/general/prog/php.xml (from r16857,
branches/systemd/general/prog/php-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/php.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/php-systemd.xml)
@@ -0,0 +1,564 @@
+<?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 php-download-http
"http://www.php.net/distributions/php-&php-version;.tar.xz">
+ <!ENTITY php-download-ftp
"ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz">
+ <!ENTITY php-md5sum "f2cc602602eb2b121779f2c4b8bacaba">
+ <!ENTITY php-size "12 MB">
+ <!ENTITY php-buildsize "394 MB (with tests)">
+ <!ENTITY php-time "5.6 SBU (with tests)">
+]>
+
+<sect1 id="php" xreflabel="PHP-&php-version;">
+ <?dbhtml filename="php.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>PHP-&php-version;</title>
+
+ <indexterm zone="php">
+ <primary sortas="a-PHP">PHP</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title>Introduction to PHP</title>
+
+ <para>
+ <application>PHP</application> is the PHP Hypertext Preprocessor.
+ Primarily used in dynamic web sites, it allows for programming code to be
+ directly embedded into the HTML markup. It is also useful as a
+ general purpose scripting language.
+ </para>
+
+ &lfs78_checked;
+
+ <bridgehead renderas="sect3">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&php-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&php-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &php-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &php-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &php-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &php-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Pre-built documentation (optional): <ulink
+ url="http://www.php.net/download-docs.php"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">PHP Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Recommended</bridgehead>
+ <para role="recommended">
+ <xref linkend="apache"/> and
+ <xref linkend="libxml2"/>
+ </para>
+
+ <bridgehead renderas="sect4">Optional System Utilities and
Libraries</bridgehead>
+ <para role="optional">
+ <xref linkend="aspell"/>,
+ <xref linkend="enchant"/>,
+ <xref linkend="libxslt"/>,
+ <xref linkend="pcre"/>,
+ <xref linkend="pth"/>,
+ an <xref linkend="server-mail"/> (that provides a
+ <command>sendmail</command> command)
+ <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
+ <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
+ <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
+ <ulink url="http://re2c.org/">re2c</ulink>,
+ <ulink
url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>,
and
+ </para>
+
+ <bridgehead renderas="sect4">Optional Graphics Utilities and
Libraries</bridgehead>
+ <para role="optional">
+ <xref linkend="freetype2"/>,
+ <xref linkend="libexif"/>,
+ <xref linkend="libjpeg"/>,
+ <xref linkend="libpng"/>,
+ <xref linkend="libtiff"/>,
+ <xref linkend="x-window-system"/>,
+ <ulink url="http://www.fastio.com/">ClibPDF</ulink>,
+ <ulink url="http://www.adobe.com/devnet/acrobat/fdftoolkit.html">FDF
Toolkit</ulink>,
+ <ulink url="https://bitbucket.org/libgd/gd-libgd/downloads">GD</ulink>,
and
+ <ulink
url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>
+ </para>
+
+ <bridgehead renderas="sect4">Optional Web Utilities</bridgehead>
+ <para role="optional">
+ <xref linkend="curl"/>,
+ <xref linkend="html-tidy"/>,
+ <ulink url="http://sourceforge.net/projects/caudium/">Caudium</ulink>,
+ <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>,
+ <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>,
+ <ulink url="http://www.roxen.com/products/webserver/">Roxen
WebServer</ulink>, and
+ <ulink url="https://wddxnet.codeplex.com/">WDDX</ulink>
+ </para>
+
+ <bridgehead renderas="sect4">Optional Data Management Utilities and
Libraries</bridgehead>
+ <para role="optional">
+ <xref linkend="db"/>,
+ <xref linkend="mariadb"/> or <ulink
url="http://www.mysql.com/">MySQL</ulink>,
+ <xref linkend="openldap"/>,
+ <xref linkend="postgresql"/>,
+ <xref linkend="sqlite"/>,
+ <xref linkend="unixodbc"/>,
+ <ulink url="http://www.softwareag.com/">Abadas</ulink>,
+ <ulink url="http://www.birdstep.com/">Birdstep</ulink>,
+ <ulink url="http://cr.yp.to/cdb.html">cdb</ulink>,
+ <ulink url="http://www.dbmaker.com/">DBMaker</ulink>,
+ <ulink url="http://www.empress.com/">Empress</ulink>,
+ <ulink url="http://www.frontbase.com/">FrontBase</ulink>,
+ <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink>,
+ <ulink url="http://www.monetra.com/">Monetra</ulink>, and
+ <ulink url="http://sourceforge.net/projects/qdbm">QDBM</ulink>
+ </para>
+
+ <para>
+ <application>PHP</application> also provides support for many
+ commercial database tools such as <application>Oracle</application>,
+ <application>SAP</application> and
+ <application>ODBC Router</application>.
+ </para>
+
+ <bridgehead renderas="sect4">Optional Security/Encryption Utilities and
Libraries</bridgehead>
+ <para role="optional">
+ <xref linkend="cyrus-sasl"/>,
+ <xref linkend="mitkrb"/>,
+ <xref linkend="openssl"/>,
+ <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>, and
+ <ulink url="http://mhash.sourceforge.net/">mhash</ulink>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/php"/>
+ </para>
+
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of PHP</title>
+
+ <para>
+ You can use <application>PHP</application> for server-side
+ scripting, command-line scripting or client-side GUI applications. This
+ book provides instructions for setting up <application>PHP</application>
+ for server-side scripting as it is the most common form.
+ </para>
+
+ <note>
+ <para>
+ <application>PHP</application> has many more
+ <command>configure</command> options that will enable support for
+ various things. You can use <command>./configure --help</command> to
+ see a full list of the available options. Also, use of the
+ <ulink url="http://www.php.net/">PHP web site</ulink>
+ is highly recommended, as their online docs are very good. An example
+ of a <command>configure</command> command that utilizes many of the
+ most common dependencies can be found at <ulink
+ url="&sources-anduin-http;/files/php_configure.txt"/>.
+ </para>
+
+ <para>
+ If, for whatever reason, you don't have <xref linkend="libxml2"/>
+ installed, you need to add <option>--disable-libxml</option> to the
+ <command>configure</command> command in the instructions below. Note
+ that this will prevent the <command>pear</command> command from being
+ built.
+ </para>
+ </note>
+
+ <para>
+ Install <application>PHP</application> by running the following commands:
+ </para>
+
+<screen><userinput>sed -i "s|lsystemd-daemon|lsystemd|g" configure &&
+
+./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --datadir=/usr/share/php \
+ --mandir=/usr/share/man \
+ --enable-fpm \
+ --with-fpm-user=apache \
+ --with-fpm-group=apache \
+ --with-fpm-systemd \
+ --with-config-file-path=/etc \
+ --with-zlib \
+ --enable-bcmath \
+ --with-bz2 \
+ --enable-calendar \
+ --enable-dba=shared \
+ --with-gdbm \
+ --with-gmp \
+ --enable-ftp \
+ --with-gettext \
+ --enable-mbstring \
+ --with-readline &&
+make</userinput></screen>
+
+ <para>
+ To test the results, issue: <command>make test</command>. A few
+ tests may fail, in which case you are asked whether you want to send
+ the report to the PHP developpers. If you want to automate the test,
+ you may prefix the command with <command>yes "n" | </command>.
+ </para>
+
+ <para>
+ Now, as the <systemitem class="username">root</systemitem> user:
+ </para>
+
+<!-- dev note: make INSTALL_ROOT=<DESTDIR> install -->
+
+<screen role="root"><userinput>make install
&&
+install -v -m644 php.ini-production /etc/php.ini &&
+mv -v /etc/php-fpm.conf{.default,} &&
+
+install -v -dm755 /usr/share/doc/php-&php-version; &&
+install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING*
php.gif \
+ /usr/share/doc/php-&php-version; &&
+ln -sfv /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt \
+ /usr/share/doc/php-&php-version; &&
+ln -sfv /usr/lib/php/doc/Structures_Graph/docs \
+ /usr/share/doc/php-&php-version;</userinput></screen>
+
+ <para>
+ The pre-built HTML documentation is packaged in two forms: a tarball
+ containing many individual files, useful for quick loading into your
+ browser, and one large individual file, which is useful for using the
+ search utility of your browser. If you downloaded either, or both, of the
+ documentation files, issue the following commands as the
+ <systemitem class='username'>root</systemitem> user to install them (note
+ these instructions assume English docs, modify the tarball names below if
+ necessary).
+ </para>
+
+ <para>
+ For the <quote>Single HTML</quote> file:
+ </para>
+
+<screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \
+ /usr/share/doc/php-&php-version; &&
+gunzip -v
/usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></screen>
+
+ <para>
+ For the <quote>Many HTML files</quote> tarball:
+ </para>
+
+<screen role="root"><userinput>tar -xvf ../php_manual_en.tar.gz \
+ -C /usr/share/doc/php-&php-version; --no-same-owner</userinput></screen>
+
+ </sect2>
+
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <command>sed -i "s|lsystemd-daemon|lsystemd|g" configure</command>:
+ This command fixes the detection of the systemd library.
+ </para>
+
+ <para>
+ <parameter>--with-datadir=/usr/share/php</parameter>: This works
+ around a bug in the build machinery, which installs some data to a
+ wrong location.
+ </para>
+
+ <para>
+ <parameter>--enable-fpm</parameter>: This parameter allows
+ building the fastCGI Process Manager.
+ </para>
+
+ <para>
+ <parameter>--with-fpm-systemd</parameter>: This parameter allows
+ the FastCGI Process Manager to integrate with systemd.
+ </para>
+
+ <para>
+ <parameter>--with-config-file-path=/etc</parameter>: This parameter
+ makes <application>PHP</application> look for the
+ <filename>php.ini</filename> configuration file in
+ <filename class="directory">/etc</filename>.
+ </para>
+
+ <para>
+ <parameter>--with-zlib</parameter>: This parameter adds
+ support for <application>Zlib</application> compression.
+ </para>
+
+ <para>
+ <parameter>--enable-bcmath</parameter>: Enables
+ <command>bc</command> style precision math functions.
+ </para>
+
+ <para>
+ <parameter>--with-bz2</parameter>: Adds support for
+ <application>Bzip2</application> compression functions.
+ </para>
+
+ <para>
+ <parameter>--enable-calendar</parameter>: This parameter
+ provides support for calendar conversion.
+ </para>
+
+ <para>
+ <parameter>--enable-dba=shared</parameter>: This parameter enables
+ support for database (dbm-style) abstraction layer functions.
+ </para>
+
+ <para>
+ <parameter>--enable-ftp</parameter>: This parameter
+ enables FTP functions.
+ </para>
+
+ <para>
+ <parameter>--with-gettext</parameter>: Enables functions
+ that use <application>Gettext</application> text translation.
+ </para>
+
+ <para>
+ <parameter>--enable-mbstring</parameter>: This parameter
+ enables multibyte string support.
+ </para>
+
+ <para>
+ <parameter>--with-readline</parameter>: This parameter
+ enables command line <application>Readline</application> support.
+ </para>
+
+ <para>
+ <option>--with-mysql</option>: This option
+ includes <application>MariaDB/MySQL</application> support.
+ </para>
+
+ <para>
+ <option>--disable-libxml</option>: This option
+ allows building PHP without <application>libxml2</application>
+ installed.
+ </para>
+
+ <para>
+ <option>--with-apxs2</option>: Instead of building the fastCGI process
+ manager, it is possible to build an <application>apache</application>
+ module. This has some performance penalty for heavy loaded servers,
+ but may be easier to set up. This switch is incompatible with the
+ <parameter>--enable-fpm</parameter> and
+ <parameter>--with-fpm-...</parameter> switches.
+ </para>
+
+ </sect2>
+
+ <sect2 role="configuration">
+ <title>Configuring PHP</title>
+
+ <sect3 id="php-config">
+ <title>Config Files</title>
+
+ <para>
+ <filename>/etc/php.ini</filename>,
+ <filename>/etc/pear.conf</filename>, and
+ <filename>/etc/php-fpm.conf</filename>
+ </para>
+
+ <indexterm zone="php php-config">
+ <primary sortas="e-etc-php.ini">/etc/php.ini</primary>
+ </indexterm>
+
+ <indexterm zone="php php-config">
+ <primary sortas="e-etc-pear.conf">/etc/pear.conf</primary>
+ </indexterm>
+
+ <indexterm zone="php php-config">
+ <primary sortas="e-etc-php-fpm.conf">/etc/php-fpm.conf</primary>
+ </indexterm>
+
+ </sect3>
+
+ <sect3>
+ <title>Configuration Information</title>
+
+ <para>
+ The file used as the default <filename>/etc/php.ini</filename>
+ configuration file is recommended by the <application>PHP</application>
+ development team. This file modifies the default behavior of
+ <application>PHP</application>. If no
<filename>/etc/php.ini</filename>
+ is used, all configuration settings fall to the defaults. You should
+ review the comments in this file and ensure the changes are acceptable
+ in your particular environment.
+ </para>
+
+ <para>
+ You may have noticed the following from the output of the
+ <command>make install</command> command:
+ </para>
+
+<screen><computeroutput>You may want to add: /usr/lib/php to your php.ini
include_path</computeroutput></screen>
+
+ <para>
+ If desired, add the entry using the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>sed -i 's@php/includes"@&\ninclude_path =
".:/usr/lib/php"@' \
+ /etc/php.ini</userinput></screen>
+
+ <para>
+ To enable fastCGI support in the <application>Apache</application>
+ web server, two LoadModule directives must be added to the
+ <filename>httpd.conf</filename> file. They are commented out, so just
+ issue the following command as
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>sed -e '/proxy_module/s/^#//' \
+ -e '/proxy_fcgi_module/s/^#//' \
+ -i /etc/httpd/httpd.conf</userinput></screen>
+
+ <para>
+ Those modules accept various <command>ProxyPass</command>
+ directives. One possibility is (as the
+ <systemitem class="username">root</systemitem> user):
+ </para>
+
+<screen role="root"><userinput>echo 'ProxyPassMatch ^/(.*\.php)$
fcgi://127.0.0.1:9000/srv/www/$1' >> \
+ /etc/httpd/httpd.conf</userinput></screen>
+
+ <para>
+ Additionally, it may be useful to add an entry for
+ <filename>index.php</filename> to the DirectoryIndex directive of the
+ <filename>httpd.conf</filename> file. Lastly, adding a line to setup
the
+ <filename class='extension'>.phps</filename> extension to show
+ highlighted <application>PHP</application> source may be
+ desirable:
+ </para>
+
+<screen><literal>AddType application/x-httpd-php-source
.phps</literal></screen>
+
+ <para>
+ You'll need to restart the <application>Apache</application> web server
+ after making any modifications to the <filename>httpd.conf</filename>
+ file.
+ </para>
+
+ </sect3>
+
+ <sect3 id="php-init">
+ <title>Systemd Units</title>
+
+ <para>
+ To start the <command>php-fpm</command> daemon at boot,
+ install the systemd unit from the <xref linkend="bootscripts"/>
+ package by running the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+ <indexterm zone="php php-init">
+ <primary sortas="f-php-fpm">php-fpm</primary>
+ </indexterm>
+
+<screen role="root"><userinput>make install-php-fpm</userinput></screen>
+ </sect3>
+
+ </sect2>
+
+ <sect2 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>pear, peardev, pecl, phar (symlink), phar.phar,
+ php, php-cgi, php-config, php-fpm, and phpize</seg>
+ <seg>None</seg>
+ <seg>/usr/include/php, /usr/lib/php, /usr/share/php and
+ /usr/share/doc/php-&php-version;</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="php-prog">
+ <term><command>php</command></term>
+ <listitem>
+ <para>
+ is a command line interface that enables you to parse and
+ execute PHP code.
+ </para>
+ <indexterm zone="php php-prog">
+ <primary sortas="b-php">php</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="pear">
+ <term><command>pear</command></term>
+ <listitem>
+ <para>
+ is the PHP Extension and Application Repository (PEAR) package
+ manager.
+ </para>
+ <indexterm zone="php pear">
+ <primary sortas="b-pear">pear</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="php-fpm">
+ <term><command>php-fpm</command></term>
+ <listitem>
+ <para>
+ is the fastCGI process manager for PHP.
+ </para>
+ <indexterm zone="php php-fpm">
+ <primary sortas="b-php-fpm">php-fpm</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
+</sect1>
Modified: branches/systemd/general/prog/prog.xml
==============================================================================
--- branches/systemd/general/prog/prog.xml Wed Jan 27 10:00:53 2016
(r16857)
+++ branches/systemd/general/prog/prog.xml Wed Jan 27 10:43:42 2016
(r16858)
@@ -24,7 +24,7 @@
<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-systemd.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="dejagnu.xml"/>
@@ -45,15 +45,15 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nasm.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="npapi-sdk.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="perl-modules.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="php-systemd.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="php.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python3.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="python-modules-systemd.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="python-modules.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ruby.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="scons.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="slang.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="subversion-systemd.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="svnserver-systemd.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="subversion.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="svnserver.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="swig.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tk.xml"/>
Copied: branches/systemd/general/prog/pyatspi2.xml (from r16857,
branches/systemd/general/prog/pyatspi2-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/pyatspi2.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/pyatspi2-systemd.xml)
@@ -0,0 +1,172 @@
+<?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 pyatspi2-download-http
+
"&gnome-download-http;/pyatspi/2.16/pyatspi-&pyatspi2-version;.tar.xz">
+ <!ENTITY pyatspi2-download-ftp
+
"&gnome-download-ftp;/pyatspi/2.16/pyatspi-&pyatspi2-version;.tar.xz">
+ <!ENTITY pyatspi2-md5sum "76a3dc0ec2d3cb0ae1a77ab6c43a3099">
+ <!ENTITY pyatspi2-size "296 KB">
+ <!ENTITY pyatspi2-buildsize "4.4 MB">
+ <!ENTITY pyatspi2-time "less than 0.1 SBU">
+]>
+
+ <!-- Begin PyAtSpi2 -->
+ <sect2 id="pyatspi2" xreflabel="PyAtSpi2-&pyatspi2-version;">
+
+ <title>PyAtSpi2-&pyatspi2-version;</title>
+
+ <indexterm zone="pyatspi2">
+ <primary sortas="a-PyAtSpi2">PyAtSpi2</primary>
+ </indexterm>
+
+ <sect3 role="package">
+ <title>Introduction to PyAtSpi2</title>
+
+ <para>
+ The <application>PyAtSpi2</application> package contains
+ <application>Python</application> bindings for the core
+ components of the <application>GNOME</application>
+ Accessibility.
+ </para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect4">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &pyatspi2-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &pyatspi2-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &pyatspi2-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &pyatspi2-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect4">PyAtSpi2 Dependencies</bridgehead>
+
+ <bridgehead renderas="sect5">Required</bridgehead>
+ <para role="required">
+ <xref linkend="pygobject3"/>
+ </para>
+
+ <bridgehead renderas="sect5">Recommended</bridgehead>
+ <para role="recommended">
+ <xref linkend="at-spi2-core"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
+ </para>
+
+ </sect3>
+
+ <sect3 role="installation">
+ <title>Installation of PyAtSpi2</title>
+
+ <note>
+ <para>
+ Both <application>Python 2</application> and
+ <application>Python 3</application> modules can
+ be built and installed without any conflicts.
+ </para>
+ </note>
+
+ <para>
+ To build <application>PyAtSpi2</application> as the
+ <application>Python 2</application> module, run the
+ following commands:
+ </para>
+
+<screen><userinput>mkdir python2 &&
+pushd python2 &&
+../configure --prefix=/usr --with-python=/usr/bin/python &&
+make &&
+popd</userinput></screen>
+
+ <para>
+ To build <application>PyAtSpi2</application> as the
+ <application>Python 3</application> module, run the
+ following commands:
+ </para>
+
+<screen><userinput>mkdir python3 &&
+pushd python3 &&
+../configure --prefix=/usr --with-python=/usr/bin/python3 &&
+make &&
+popd</userinput></screen>
+
+ <para>
+ This package does not come with a testsuite.
+ </para>
+
+ <para>
+ To install the <application>Python 2</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make -C python2 install</userinput></screen>
+
+ <para>
+ To install the <application>Python 3</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make -C python3 install</userinput></screen>
+
+ </sect3>
+
+ <sect3 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>
+ /usr/lib/python&python2-majorver;/site-packages/pyatspi and/or
+ /usr/lib/python&python3-majorver;/site-packages/pyatspi
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect3>
+
+ </sect2>
+ <!-- End PyAtSpi2 -->
Copied and modified: branches/systemd/general/prog/python-modules.xml (from
r16857, branches/systemd/general/prog/python-modules-systemd.xml)
==============================================================================
--- branches/systemd/general/prog/python-modules-systemd.xml Wed Jan 27
10:00:53 2016 (r16857, copy source)
+++ branches/systemd/general/prog/python-modules.xml Wed Jan 27 10:43:42
2016 (r16858)
@@ -108,7 +108,7 @@
href="dbus-python.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="pyatspi2-systemd.xml"/>
+ href="pyatspi2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="py2cairo.xml"/>
@@ -129,21 +129,21 @@
href="pyxdg.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="setuptools-systemd.xml"/>
+ href="setuptools.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="beaker-systemd.xml"/>
+ href="beaker.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="markupsafe-systemd.xml"/>
+ href="markupsafe.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="jinja2-systemd.xml"/>
+ href="jinja2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="mako-systemd.xml"/>
+ href="mako.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="pyyaml-systemd.xml"/>
+ href="pyyaml.xml"/>
</sect1>
Copied: branches/systemd/general/prog/pyyaml.xml (from r16857,
branches/systemd/general/prog/pyyaml-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/pyyaml.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/pyyaml-systemd.xml)
@@ -0,0 +1,150 @@
+<?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 PyYAML-download-http
"http://pyyaml.org/download/pyyaml/PyYAML-&PyYAML-version;.tar.gz">
+ <!ENTITY PyYAML-download-ftp " ">
+ <!ENTITY PyYAML-md5sum "f50e08ef0fe55178479d3a618efe21db">
+ <!ENTITY PyYAML-size "244 KB">
+ <!ENTITY PyYAML-buildsize "13 MB">
+ <!ENTITY PyYAML-time "0.1 SBU">
+]>
+
+ <!-- Begin PyYAML -->
+ <sect2 id="PyYAML" xreflabel="PyYAML-&PyYAML-version;">
+
+ <title>PyYAML-&PyYAML-version;</title>
+
+ <indexterm zone="PyYAML">
+ <primary sortas="a-PyYAML">PyYAML</primary>
+ </indexterm>
+
+ <sect3 role="package">
+ <title>Introduction to PyYAML Module</title>
+
+ <para>
+ <application>PyYAML</application> is a
<application>Python</application>
+ module that implements the next generation YAML parser and emitter.
+ </para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect4">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&PyYAML-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&PyYAML-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &PyYAML-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &PyYAML-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &PyYAML-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &PyYAML-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect4">PyYAML Dependencies</bridgehead>
+
+ <bridgehead renderas="sect5">Required</bridgehead>
+ <para role="required">
+ <xref linkend="python2"/> and/or
+ <xref linkend="python3"/> and
+ <xref linkend="yaml"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/PyYAML"/>
+ </para>
+ </sect3>
+
+ <sect3 role="installation">
+ <title>Installation of PyYAML</title>
+
+ <note>
+ <para>
+ Both <application>Python 2</application> and
+ <application>Python 3</application> modules can
+ be built and installed without any conflicts.
+ </para>
+ </note>
+
+ <para>
+ To build the <application>Python 2</application> module,
+ run the following command:
+ </para>
+
+<screen><userinput>python setup.py build</userinput></screen>
+
+ <para>
+ To install the <application>Python 2</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python setup.py install
--optimize=1</userinput></screen>
+
+ <para>
+ To build the <application>Python 3</application> module,
+ run the following command:
+ </para>
+
+<screen><userinput>python3 setup.py build</userinput></screen>
+
+ <para>
+ To install the <application>Python 3</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python3 setup.py install
--optimize=1</userinput></screen>
+
+ </sect3>
+
+ <sect3 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>
+ None
+ </seg>
+ <seg>
+ _yaml.so
+ </seg>
+ <seg>
+ /usr/lib/python&python2-majorver;/site-packages/yaml and/or
+ /usr/lib/python&python3-majorver;/site-packages/yaml,
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect3>
+
+ </sect2>
+ <!--End PyYAML -->
Copied: branches/systemd/general/prog/setuptools.xml (from r16857,
branches/systemd/general/prog/setuptools-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/setuptools.xml Wed Jan 27 10:43:42
2016 (r16858, copy of r16857,
branches/systemd/general/prog/setuptools-systemd.xml)
@@ -0,0 +1,141 @@
+<?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 setuptools-download-http
+
"https://pypi.python.org/packages/source/s/setuptools/setuptools-&setuptools-version;.tar.gz">
+ <!ENTITY setuptools-download-ftp " ">
+ <!ENTITY setuptools-md5sum "7edec6cc30aca5518fa9bad42ff0179b">
+ <!ENTITY setuptools-size "616 KB">
+ <!ENTITY setuptools-buildsize "8.6 MB">
+ <!ENTITY setuptools-time "less than 0.1 SBU">
+]>
+
+ <!-- Begin Setuptools -->
+ <sect2 id="setuptools" xreflabel="Setuptools-&setuptools-version;">
+
+ <title>Setuptools-&setuptools-version;</title>
+
+ <indexterm zone="setuptools">
+ <primary sortas="a-Setuptools">Setuptools</primary>
+ </indexterm>
+
+ <sect3 role="package">
+ <title>Introduction to Setuptools Module</title>
+
+ <para>
+ <application>Setuptools</application> is a
<application>Python</application>
+ module that makes it easier to download, build, install, upgrade, and
+ uninstall <application>Python</application> packages.
+ </para>
+
+ &lfs77_checked;
+
+ <bridgehead renderas="sect4">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&setuptools-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&setuptools-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &setuptools-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &setuptools-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &setuptools-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &setuptools-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect4">Setuptools Dependencies</bridgehead>
+
+ <bridgehead renderas="sect5">Required</bridgehead>
+ <para role="required">
+ <xref linkend="python2"/> and/or
+ <xref linkend="python3"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/setuptools"/>
+ </para>
+ </sect3>
+
+ <sect3 role="installation">
+ <title>Installation of Setuptools</title>
+
+ <note>
+ <para>
+ Both <application>Python 2</application> and
+ <application>Python 3</application> modules can
+ be built and installed without any conflicts.
+ </para>
+ </note>
+
+ <para>
+ To install the <application>Python 2</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python setup.py install
--optimize=1</userinput></screen>
+
+ <para>
+ To install the <application>Python 3</application> module,
+ run the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>python3 setup.py install
--optimize=1</userinput></screen>
+
+ </sect3>
+
+ <sect3 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>
+ easy_install, easy_install-&python2-majorver;, and
easy_install-&python3-majorver;
+ </seg>
+ <seg>
+ None
+ </seg>
+ <seg>
+ /usr/lib/python&python2-majorver;/site-packages/_markerlib,
+ /usr/lib/python&python2-majorver;/site-packages/setuptools,
+
/usr/lib/python&python2-majorver;/site-packages/setuptools-&setuptools-version;-py&python2-majorver;.egg-info
and/or
+ /usr/lib/python&python3-majorver;/site-packages/_markerlib,
+ /usr/lib/python&python3-majorver;/site-packages/setuptools,
+
/usr/lib/python&python3-majorver;/site-packages/setuptools-&setuptools-version;-py&python3-majorver;.egg-info
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect3>
+
+ </sect2>
+ <!--End Setuptools -->
Copied and modified: branches/systemd/general/prog/subversion.xml (from r16857,
branches/systemd/general/prog/subversion-systemd.xml)
==============================================================================
Binary file (source and/or target). No diff available.
Copied: branches/systemd/general/prog/svnserver.xml (from r16857,
branches/systemd/general/prog/svnserver-systemd.xml)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/systemd/general/prog/svnserver.xml Wed Jan 27 10:43:42 2016
(r16858, copy of r16857, branches/systemd/general/prog/svnserver-systemd.xml)
@@ -0,0 +1,281 @@
+<?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="svnserver" xreflabel="Running a Subversion Server">
+ <?dbhtml filename="svnserver.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>Running a Subversion Server</title>
+
+ <sect2 role="package">
+ <title>Running a Subversion Server</title>
+
+ <para>This section will describe how to set up, administer and secure
+ a <application>Subversion</application> server.</para>
+
+ <!-- <note>
+ <para>The default build instructions for
+ <application>Subversion</application> disabled the
+ <application>Berkeley DB</application> repository back-end due to the
+ errors encountered in the test suite while building the
+ <xref linkend="subversion"/> package. This should not present a
+ functionality issue as the FSFS repository back-end is now the default,
+ and recommended by the <application>Subversion</application> development
+ team.</para>
+
+ <para>If you have existing repositories based on a
+ <application>Berkeley DB</application> back-end and you followed the
+ BLFS instructions for building <application>Subversion</application>,
+ you'll need to dump the databases, create new repositories using the
+ FSFS back-end, then then reload the data into the new repositories.
+ Instructions for performing these operations can be found at <ulink
+
url="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5"/>.
+ </para>
+ </note> -->
+
+ <bridgehead renderas="sect3">Subversion Server Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Required</bridgehead>
+ <para><xref linkend="subversion"/> and
+ <xref linkend="openssh"/></para>
+
+ </sect2>
+
+ <sect2 role="configuration">
+ <title>Setting up a Subversion Server.</title>
+
+ <para>The following instructions will install a
+ <application>Subversion</application> server, which will be set up
+ to use <application>OpenSSH</application> as the secure remote access
+ method, with <command>svnserve</command> available for anonymous
+ access.</para>
+
+ <para>Configuration of the <application>Subversion</application> server
+ consists of the following steps:</para>
+
+ <sect3>
+ <title>1. Setup Users, Groups, and Permissions</title>
+
+ <para>You'll need to be user
+ <systemitem class='username'>root</systemitem> for the initial portion of
+ configuration. Create the <systemitem class="username">svn</systemitem>
+ user and group with the following commands:</para>
+
+<screen role="root"><userinput>groupadd -g 56 svn &&
+useradd -c "SVN Owner" -d /home/svn -m -g svn -s /bin/false -u 56
svn</userinput></screen>
+
+ <para>If you plan to have multiple repositories, you should have a
+ group dedicated to each repository for ease of administration. Create
+ the <systemitem class="groupname">svntest</systemitem> group for the test
+ repository and add the <systemitem class="username">svn</systemitem>
+ user to that group with the following commands:</para>
+
+<screen role="root"><userinput>groupadd -g 57 svntest &&
+usermod -G svntest -a svn</userinput></screen>
+
+ </sect3>
+
+ <sect3>
+ <title>2. Create a Subversion repository.</title>
+
+ <para>With subversion-1.1.0 and greater, a new type of repository
+ data-store is available, FSFS. There is a tradeoff for speed with
+ the new backend, however, the repository can now be placed on a
+ network mount, and any corruption does not require an admin to
+ recover the repository. For more information and comparison between
+ FSFS and BDB, see <ulink
+
url="http://svnbook.red-bean.com/svnbook-1.1/ch05.html#svn-ch-5-sect-1.2.A"/>.
+ </para>
+
+ <para>Create a new <application>Subversion</application> repository with
+ the following commands:</para>
+
+<screen role="root"><userinput>install -v -m 0755 -d /srv/svn &&
+install -v -m 0755 -o svn -g svn -d /srv/svn/repositories &&
+svnadmin create --fs-type fsfs
/srv/svn/repositories/svntest</userinput></screen>
+
+ <para>Now that the repository is created, it should be populated with
+ with something useful. You'll need to have a predefined directory
+ layout set up exactly as you want your repository to look. For
+ example, here is a sample BLFS layout setup with a root of
+ <filename>svntest/</filename>. You'll need to setup a directory
+ tree similar to the following:</para>
+
+<screen><literal>svntest/ # The name of the repository
+ trunk/ # Contains the existing source tree
+ BOOK/
+ bootscripts/
+ edguide/
+ patches/
+ scripts/
+ branches/ # Needed for additional branches
+ tags/ # Needed for tagging release points</literal></screen>
+
+ <para>Once you've created your directory layout as shown above, you
+ are ready to do the initial import:</para>
+
+<screen role="root"><userinput>svn import -m "Initial import." \
+ <replaceable></path/to/source/tree></replaceable> \
+ file:///srv/svn/repositories/svntest</userinput></screen>
+
+ <para>Now change owner and group information on the
+ repository, and add an unprivileged user to the
+ <systemitem class="groupname">svn</systemitem> and
+ <systemitem class="groupname">svntest</systemitem> groups:</para>
+
+<screen role="root"><userinput>chown -R svn:svntest
/srv/svn/repositories/svntest &&
+chmod -R g+w /srv/svn/repositories/svntest &&
+chmod g+s /srv/svn/repositories/svntest/db &&
+usermod -G svn,svntest -a
<replaceable><username></replaceable></userinput></screen>
+
+ <para><systemitem class="groupname">svntest</systemitem> is the group
+ assigned to the svntest repository. As mentioned earlier, this eases
+ administration of multiple repositories when using
+ <application>OpenSSH</application> for authentication. Going forward,
+ you'll need to add your unprivileged user, and any additional users that
+ you wish to have write access to the repository, to the
+ <systemitem class="groupname">svn</systemitem> and
+ <systemitem class="groupname">svntest</systemitem> groups.</para>
+
+ <para>In addition, you'll notice that the new repository's
+ <filename>db</filename> directory is set-groupID. If the reasoning is
+ not immediately obvious, when using any external authentication method
+ (such as <command>ssh</command>), the sticky bit is set so that all
+ new files will be owned by the user, but group of
+ <systemitem class="groupname">svntest</systemitem>. Anyone in the
+ <systemitem class="groupname">svntest</systemitem> group can create
+ files, but still give the entire group write access to those
+ files. This avoids locking out other users from the repository.</para>
+
+ <para>Now, return to an unprivileged user account, and take a
+ look at the new repository using <command>svnlook</command>:</para>
+
+<screen><userinput>svnlook tree
/srv/svn/repositories/svntest/</userinput></screen>
+
+ <note>
+ <para>You may need to log out and back in again to refresh your group
+ memberships. '<command>su
<replaceable><username></replaceable></command>'
+ should work as well.</para>
+ </note>
+
+ </sect3>
+
+ <sect3>
+ <title>3. Configure the Server</title>
+
+ <para>As mentioned previously, these instructions will configure the
+ server to use only <command>ssh</command> for write access to the
+ repository and to provide anonymous access using
+ <command>svnserve</command>. There are several other ways to provide
+ access to the repository. These additional configurations are best
+ explained at <ulink url="http://svnbook.red-bean.com/"/>.</para>
+
+ <para>Access configuration needs to be done for each repository.
+ Create the <filename>svnserve.conf</filename> file for the svntest
+ repository using the following commands:</para>
+
+<screen role="root"><userinput>cp
/srv/svn/repositories/svntest/conf/svnserve.conf \
+ /srv/svn/repositories/svntest/conf/svnserve.conf.default &&
+
+cat > /srv/svn/repositories/svntest/conf/svnserve.conf << "EOF"
+<literal>[general]
+anon-access = read
+auth-access = write</literal>
+EOF</userinput></screen>
+
+ <para>There is not a lot to the configuration file at all. You'll
+ notice that only the general section is required. Take a look at the
+ <filename>svnserve.conf.default</filename> file for information on using
+ <command>svnserve</command>'s built-in authentication method.</para>
+
+ </sect3>
+
+ <sect3 id="svnserver-init">
+ <title>4. Starting the Server</title>
+<!--
+ <para>There are a couple of ways to start <command>svnserve</command>.
+ The most common way is to start it as an <command>inetd</command> or
+ <command>xinetd</command> process. Alternately, you can use a
+ bootscript to start the service at startup.</para>
+
+ <note>
+ <para>If you do not wish to provide anonymous access to your svn
+ repositories or use <command>svnserve</command>'s built-in
+ authentication, you do not need to run
+ <command>svnserve</command>.</para>
+ </note>
+
+ <para>If you use <command>inetd</command>, add a line to
+ <filename>/etc/inetd.conf</filename> using the following
+ commands:</para>
+
+ <indexterm zone="svnserver svnserver-init">
+ <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
+ </indexterm>
+
+<screen role="root"><userinput>cat >> /etc/inetd.conf << "EOF"
+<literal>svn stream tcp nowait svn /usr/bin/svnserve svnserve -i</literal>
+EOF</userinput></screen>
+
+ <para>If you use <command>xinetd</command>, the following command will
+ create the <application>Subversion</application> server file as
+ <filename>/etc/xinetd.d/svn</filename>:</para>
+
+ <indexterm zone="svnserver svnserver-init ">
+ <primary sortas="e-etc-xinetd.d-svn">/etc/xinetd.d/svn</primary>
+ </indexterm>
+
+<screen role="root"><userinput>cat >> /etc/xinetd.d/svn << "EOF"
+<literal># Begin /etc/xinetd.d/svn
+
+service svn
+{
+ port = 3690
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = svn
+ server = /usr/bin/svnserve
+ server_args = -i -r /srv/svn/repositories
+}
+
+# End /etc/xinetd.d/svn</literal>
+EOF</userinput></screen> -->
+
+ <para>
+ To start the <command>svnserve</command> daemon at boot,
+ install the systemd unit from the <xref linkend="bootscripts"/>
+ package by running the following command as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+ <indexterm zone="svnserver svnserver-init">
+ <primary sortas="f-svnserve">svnserve</primary>
+ </indexterm>
+
+<screen role="root"><userinput>make install-svnserve</userinput></screen>
+
+ <para>Additionally, the instructions above require that svn server
+ uses <command>umask 002</command> so that all new files will
+ be writable by owner and group. This can be achieved by creating
+ a systemd unit override file by running the following command:</para>
+
+<screen role="root"><userinput>mkdir -p /etc/systemd/system/svnserve.service.d
+echo "UMask=0002" >
/etc/systemd/system/svnserve.service.d/99-user.conf</userinput></screen>
+
+ <para>Options which are passed to <command>svnserve</command> daemon
+ can be changed in <filename>/etc/default/svnserve</filename>.</para>
+
+ </sect3>
+
+ </sect2>
+
+</sect1>
Modified: branches/systemd/packages.ent
==============================================================================
--- branches/systemd/packages.ent Wed Jan 27 10:00:53 2016 (r16857)
+++ branches/systemd/packages.ent Wed Jan 27 10:43:42 2016 (r16858)
@@ -288,6 +288,7 @@
<!ENTITY nasm-version "2.11.08">
<!ENTITY npapi-sdk-version "0.27.2">
<!ENTITY php-version "5.6.12">
+<!ENTITY pyatspi2-version "2.16.0">
<!ENTITY python2-version "2.7.10">
<!ENTITY python3-version "3.5.0">
<!ENTITY ruby-version "2.2.3">
@@ -351,13 +352,19 @@
<!ENTITY XML-Writer-version "0.625">
<!-- Python module versions used in the Python Modules instructions -->
+<!ENTITY Beaker-version "1.7.0">
<!ENTITY dbus-python-version "1.2.0">
+<!ENTITY Jinja2-version "2.7.3">
+<!ENTITY Mako-version "1.0.1">
+<!ENTITY MarkupSafe-version "0.23">
<!ENTITY py2cairo-version "1.10.0">
<!ENTITY pycairo-version "1.10.0">
<!ENTITY pygobject2-version "2.28.6">
<!ENTITY pygobject3-version "3.16.2">
<!ENTITY pygtk-version "2.24.0">
<!ENTITY pyxdg-version "0.25">
+<!ENTITY PyYAML-version "3.11">
+<!ENTITY setuptools-version "17.1.1">
<!-- Part IV -->
<!-- Chapter 14 -->
Modified: branches/systemd/systemd.ent
==============================================================================
--- branches/systemd/systemd.ent Wed Jan 27 10:00:53 2016 (r16857)
+++ branches/systemd/systemd.ent Wed Jan 27 10:43:42 2016 (r16858)
@@ -19,7 +19,7 @@
<!ENTITY libva-vdpau-driver-version "0.7.4">
<!--<!ENTITY libxkbcommon-version "0.5.0">-->
<!--<!ENTITY ModemManager-version "1.4.10">-->
-<!ENTITY pyatspi2-version "2.16.0">
+<!-- <!ENTITY pyatspi2-version "2.16.0">-->
<!--<!ENTITY qtchooser-version "39">-->
<!ENTITY sound-theme-freedesktop-version "0.8">
<!ENTITY uhttpmock-version "0.5.0">
@@ -27,13 +27,13 @@
<!--<!ENTITY wayland-version "1.9.0">-->
<!--<!ENTITY weston-version "1.8.0">-->
<!--<!ENTITY yaml-version "0.1.6">-->
-
+<!--
<!ENTITY Beaker-version "1.7.0">
<!ENTITY Jinja2-version "2.7.3">
<!ENTITY Mako-version "1.0.1">
<!ENTITY MarkupSafe-version "0.23">
<!ENTITY setuptools-version "17.1.1">
<!ENTITY PyYAML-version "3.11">
-
+-->
<!ENTITY % kde5-package-entities SYSTEM "kde5/kde5.ent">
%kde5-package-entities;
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page