[blfs-book] r9551 - in trunk/BOOK: . general/genlib introduction/welcome server/major

andy at linuxfromscratch.org andy at linuxfromscratch.org
Wed Feb 29 05:32:28 PST 2012


Author: andy
Date: 2012-02-29 06:32:24 -0700 (Wed, 29 Feb 2012)
New Revision: 9551

Added:
   trunk/BOOK/general/genlib/apr.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/genlib.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/major/apache.xml
Log:
apr-1.4.6

Copied: trunk/BOOK/general/genlib/apr.xml (from rev 9550, trunk/BOOK/template/template.xml)
===================================================================
--- trunk/BOOK/general/genlib/apr.xml	                        (rev 0)
+++ trunk/BOOK/general/genlib/apr.xml	2012-02-29 13:32:24 UTC (rev 9551)
@@ -0,0 +1,147 @@
+<?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 apr-download-http
+  "http://archive.apache.org/dist/apr/apr-&apr-version;.tar.bz2">
+  <!ENTITY apr-download-ftp
+  "ftp://apache.mirrors.pair.com/dist/apr/apr-&apr-version;.tar.bz2">
+  <!ENTITY apr-md5sum        "ffee70a111fd07372982b0550bbb14b7">
+  <!ENTITY apr-size          "768 KB">
+  <!ENTITY apr-buildsize     "11 MB">
+  <!ENTITY apr-time          "0.2 SBU">
+]>
+
+<sect1 id="apr" xreflabel="Apr-&apr-version;">
+  <?dbhtml filename="apr.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Apr-&apr-version;</title>
+
+  <indexterm zone="apr">
+    <primary sortas="a-apr">Apr</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to apr</title>
+
+    <para>The Apache Portable Runtime (APR) is a supporting library for the
+    Apache web server. It provides a set of application programming interfaces
+    (APIs) that map to the underlying operating system (OS). Where the OS
+    doesn't support a particular function, APR will provide an emulation. Thus
+    programmers can use the APR to make a program portable across different
+    platforms.</para>
+
+    &lfs70_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&apr-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&apr-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &apr-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &apr-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &apr-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &apr-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/apr"/></para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of apr</title>
+
+    <para>Install <application>Apr</application> by running the following
+    commands:</para>
+
+<screen><userinput>./configure --prefix=/usr --disable-static \
+  --with-installbuilddir=/usr/libexec/apache/build &&
+make</userinput></screen>
+
+    <para>To test the results, issue: <command>make test</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>
+      <option>--disable-static</option>: This stops it compiling a static
+      version of <filename class="libraryfile">libapr-1</filename>.
+     </para>
+
+    <para>
+      <option>--with-installbuilddir=/usr/libexec/apache/build</option>:
+      This option puts its private executables into
+      <filename class="directory">/usr/libexec/apache/build</filename> instead
+      of the default <filename class="directory">/usr/build-1</filename>.
+     </para>
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>apr-1-config</seg>
+        <seg>libapr-1.so</seg>
+        <seg>/usr/include/apr and /usr/libexec/apache/build</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="apr-1-config">
+        <term><command>apr-1-config</command></term>
+        <listitem>
+          <para>
+            is a shell script used to retrieve information about the apr
+            library in the system. It is typically used to compile and link
+            against the library.</para>
+          <indexterm zone="apr apr-1-config">
+            <primary sortas="b-apr-1-config">apr-1-config</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libapr-1">
+        <term><filename class="libraryfile">libapr-1.so</filename></term>
+        <listitem>
+          <para>is the Apache Portable Runtime library.</para>
+          <indexterm zone="apr libapr-1">
+            <primary sortas="c-libapr-1">libapr-1.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </sect2>
+</sect1>

Modified: trunk/BOOK/general/genlib/genlib.xml
===================================================================
--- trunk/BOOK/general/genlib/genlib.xml	2012-02-28 23:30:19 UTC (rev 9550)
+++ trunk/BOOK/general/genlib/genlib.xml	2012-02-29 13:32:24 UTC (rev 9551)
@@ -107,6 +107,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libunistring.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exempi.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr.xml"/>
   <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxml.xml"/> -->
   <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ispell.xml"/> -->
   <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fam.xml"/> -->

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2012-02-28 23:30:19 UTC (rev 9550)
+++ trunk/BOOK/general.ent	2012-02-29 13:32:24 UTC (rev 9551)
@@ -232,6 +232,7 @@
 <!ENTITY libunistring-version         "0.9.3">
 <!ENTITY json-glib-version            "0.14.2">
 <!ENTITY exempi-version               "2.1.1">
+<!ENTITY apr-version                  "1.4.6">
 
 <!-- Obsolete
 <!ENTITY fam-version                  "2.7.0">
@@ -535,7 +536,7 @@
 
 <!-- Part V -->
 <!-- Chapter 19 -->
-<!ENTITY apache-version               "2.2.21">
+<!ENTITY apache-version               "2.4.1">
 <!-- bind (chapter 15) -->
 <!-- openssh (chapter 4) -->
 <!ENTITY proftpd-version              "1.3.0">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2012-02-28 23:30:19 UTC (rev 9550)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2012-02-29 13:32:24 UTC (rev 9551)
@@ -59,6 +59,9 @@
         <listitem>
           <para>[ken] - added vinagre-3.2.2 from Wayne.</para>
         </listitem>
+        <listitem>
+          <para>[abenton] - added Apr 1.4.6.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/server/major/apache.xml
===================================================================
--- trunk/BOOK/server/major/apache.xml	2012-02-28 23:30:19 UTC (rev 9550)
+++ trunk/BOOK/server/major/apache.xml	2012-02-29 13:32:24 UTC (rev 9551)
@@ -339,6 +339,7 @@
         </listitem>
       </varlistentry>
 
+<!--
       <varlistentry id="apr-1-config">
         <term><command>apr-1-config</command></term>
         <listitem>
@@ -349,6 +350,7 @@
           </indexterm>
         </listitem>
       </varlistentry>
+-->
 
       <varlistentry id="apu-1-config">
         <term><command>apu-1-config</command></term>




More information about the blfs-book mailing list