Ignore:
Timestamp:
11/16/2010 11:33:39 PM (13 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
afe66bc3
Parents:
5c8897e
Message:

Updated to Apache HTTPD-2.2.17

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8695 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/major/apache.xml

    r5c8897e r8961d128  
    88  <!ENTITY apache-download-http "http://archive.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2">
    99  <!ENTITY apache-download-ftp  "ftp://apache.mirrors.pair.com/httpd/httpd-&apache-version;.tar.bz2">
    10   <!ENTITY apache-md5sum        "016cec97337eccead2aad6a7c27f2e14">
     10  <!ENTITY apache-md5sum        "16eadc59ea6b38af33874d300973202e">
    1111  <!ENTITY apache-size          "4.9 MB">
    12   <!ENTITY apache-buildsize     "100 MB">
    13   <!ENTITY apache-time          "2.0 SBU">
     12  <!ENTITY apache-buildsize     "102 MB (building all available DSO modules)">
     13  <!ENTITY apache-time          "2.1 SBU (building all available DSO modules)">
    1414]>
    1515
     
    6363        url="&patch-root;/httpd-&apache-version;-config-1.patch"/></para>
    6464      </listitem>
     65      <listitem>
     66        <para>Required patch: <ulink
     67        url="&patch-root;/httpd-&apache-version;-bdb51-1.patch"/></para>
     68      </listitem>
    6569    </itemizedlist>
    6670
     
    6973    <bridgehead renderas="sect4">Optional</bridgehead>
    7074    <para role="optional"><xref linkend="openldap"/>,
     75    <xref linkend="openssl"/> (also used in the bundled APR-util),
    7176    <xref linkend="pcre"/>,
    7277    <xref linkend="rsync"/>,
     
    7984    APR-util)</bridgehead>
    8085    <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
    81     <xref linkend="openssl"/>,
    8286    <xref linkend="expat"/>,
    8387    <!-- <xref linkend="gdbm"/>, -->
    8488    <xref linkend="db"/>,
    8589    <xref linkend="unixodbc"/>,
    86     <xref linkend="postgresql"/>, and
    87     <xref linkend="sqlite"/></para>
     90    <xref linkend="mysql"/>,
     91    <xref linkend="postgresql"/>,
     92    <xref linkend="sqlite"/>,
     93    <ulink url="http://www.oracle.com/us/products/database/index.html">Oracle 11g</ulink>, and
     94    <ulink url="http://www.freetds.org/">FreeTDS</ulink></para>
    8895
    8996    <para>Though you can install APR and APR-util as separate components,
     
    127134      <command>./configure --help</command> and include whatever parameters
    128135      are necessary to the <command>configure</command> command below to build
    129       the modules required for your installation. There are as many as 62
     136      the modules required for your installation. There are as many as 65
    130137      additional parameters you can add to the <command>configure</command>
    131138      command to build additional modules. Some of the extra parameters which
     
    142149
    143150      <para>While it is not built by default when using the following commands,
    144       the ISAPI DSO module can be created by adding the <option>--enable-isapi</option>
    145       option. Even the module will compile, install and load fine, the module is
     151      the ISAPI DSO module can be created by adding the
     152      <option>--enable-isapi</option> option. Even though the module will
     153      compile, install and load fine, the module is
    146154      <emphasis>only</emphasis> supported and functional in Win32
    147155      environments.</para>
    148156    </note>
    149157
     158    <note>
     159      <para>You may see warnings and other information similar to the output
     160      shown below while running the <command>autoconf</command> program in the
     161      following instructions:</para>
     162<screen><computeroutput>configure.in:152: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
     163../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
     164../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
     165../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
     166build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
     167build/apu-conf.m4:215: APU_FIND_LDAP is expanded from...
     168configure.in:152: the top level
     169configure.in:162: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
     170../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
     171../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
     172../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
     173build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
     174build/apu-iconv.m4:115: APU_CHECK_ICONV_INBUF is expanded from...
     175build/apu-iconv.m4:34: APU_FIND_ICONV is expanded from...
     176configure.in:162: the top level</computeroutput></screen>
     177    </note>
     178
    150179    <para>Build and install <application>Apache</application> by running the
    151180    following commands:</para>
    152181
    153 <screen><userinput>./configure --enable-layout=FHS \
     182<screen><userinput>patch -Np1 -i ../httpd-&apache-version;-bdb51-1.patch &amp;&amp;
     183pushd srclib/apr-util &amp;&amp;
     184autoconf &amp;&amp;
     185popd &amp;&amp;
     186
     187./configure --enable-layout=FHS \
    154188            --enable-mods-shared=all \
    155189            --enable-so &amp;&amp;
     
    173207    <title>Command Explanations</title>
    174208
    175     <!-- This is not required any longer. Finds and uses system installed
    176          version of Expat without any issues
    177     <para><option>-with-expat=/usr</option>: Uses the system installed
    178     <application>expat</application>. <emphasis role="strong">If you have
    179     installed  <application>expat</application> and do not use this switch, the
    180     <application>Apache</application> installation may overwrite some files
    181     from the <application>expat</application> installation.</emphasis></para>
    182     -->
     209    <para><command>autoconf</command>: This command generates a new
     210    <command>configure</command> script required after installing the
     211    <filename>bdb</filename> patch.</para>
    183212
    184213    <para><parameter>--enable-mods-shared=all</parameter>: The modules
     
    191220    module and enable SSL support. This parameter is mentioned as one of many
    192221    parameters which can be passed to the <command>configure</command> command
    193     to create additional DSO modules. Note that it really only affects the
    194     APR-Util sub-package, which the HTTPD installation then uses.</para>
     222    to create additional DSO modules.<!-- Note that it really only affects the
     223    APR-Util sub-package, which the HTTPD installation then uses.--></para>
    195224
    196225    <para><option>--with-pcre</option>: Add this parameter to use the system
     
    209238    the bundled version of <application>APR-util</application> (required for
    210239    <application>Berkeley DB</application> back-end support in
    211     <application>Subversion</application>).</para>
     240    <application>Subversion</application>). If you are using
     241    <application>Berkeley DB</application>-5.1, change the first parameter to
     242    <option>--with-dbm=db51</option>.</para>
     243
     244    <para><option>--with-mysql</option>: Add this parameter to use the system
     245    installed version of <application>MySQL</application>.</para>
    212246
    213247    <para><command>chown root:root ...</command>: This command changes the
     
    259293      <application>Apache</application> HTTP server configuration file.</para>
    260294
    261 <!--
    262       <para>There's a problem with the ISAPI DSO module caused from compiling
    263       with <application>GCC</application>-&gcc-version;. If you included the
    264       parameter to build the module, comment out the module's load command
    265       in the configuration file with the following command:</para>
    266 
    267 <screen role="root"><userinput>sed -i "s/^LoadModule isapi_module/# &amp;/" \
    268     /etc/apache/httpd.conf</userinput></screen>
    269 -->
    270295    </sect3>
    271296
     
    297322
    298323      <seglistitem>
    299         <seg>ab, apachectl, apr-config, apu-config, apxs, checkgid, dbmmanage,
    300         htdbm, htdigest, htpasswd, httpd, instdso.sh, logresolve, and
    301         rotatelogs</seg>
    302         <seg>libapr-1.{so,a}, libaprutil-1.{so,a}, and /usr/lib/apache/*.so</seg>
    303         <seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache, and
    304         /var/log/apache</seg>
     324        <seg>ab, apachectl, apr-1-config, apu-1-config, apxs, checkgid,
     325        dbmmanage, htcacheclean, htdbm, htdigest, htpasswd, httpd, httxt2dbm,
     326        logresolve, rotatelogs, and suexec</seg>
     327        <seg>libapr-1.{so,a}, libaprutil-1.{so,a}, apr_{dbd,ldap} database
     328        modules, and numerous DSO modules</seg>
     329        <seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache,
     330        /usr/lib/apr-util-1, and /var/log/apache</seg>
    305331      </seglistitem>
    306332    </segmentedlist>
     
    335361      </varlistentry>
    336362
     363      <varlistentry id="apr-1-config">
     364        <term><command>apr-1-config</command></term>
     365        <listitem>
     366          <para>is a simple script that provides information about the
     367          installed APR program.</para>
     368          <indexterm zone="apache apr-1-config">
     369            <primary sortas="b-apr-1-config">apr-1-config</primary>
     370          </indexterm>
     371        </listitem>
     372      </varlistentry>
     373
     374      <varlistentry id="apu-1-config">
     375        <term><command>apu-1-config</command></term>
     376        <listitem>
     377          <para>is a simple script that provides information about the
     378          installed APR-Util program.</para>
     379          <indexterm zone="apache apu-1-config">
     380            <primary sortas="b-apu-1-config">apu-1-config</primary>
     381          </indexterm>
     382        </listitem>
     383      </varlistentry>
     384
    337385      <varlistentry id="apxs">
    338386        <term><command>apxs</command></term>
     
    346394      </varlistentry>
    347395
     396      <varlistentry id="checkgid">
     397        <term><command>checkgid</command></term>
     398        <listitem>
     399          <para>is a program that checks whether it can setgid to the group
     400          specified. This is to see if it is a valid group for Apache2 to use
     401          at runtime. If the user (should be run as superuser) is in that
     402          group, or can setgid to it, it will return 0.</para>
     403          <indexterm zone="apache checkgid">
     404            <primary sortas="b-checkgid">checkgid</primary>
     405          </indexterm>
     406        </listitem>
     407      </varlistentry>
     408
    348409      <varlistentry id="dbmmanage">
    349410        <term><command>dbmmanage</command></term>
     
    353414          <indexterm zone="apache dbmmanage">
    354415            <primary sortas="b-dbmmanage">dbmmanage</primary>
     416          </indexterm>
     417        </listitem>
     418      </varlistentry>
     419
     420      <varlistentry id="htcacheclean">
     421        <term><command>htcacheclean</command></term>
     422        <listitem>
     423          <para>is used to clean up the disk cache.</para>
     424          <indexterm zone="apache htcacheclean">
     425            <primary sortas="b-htcacheclean">htcacheclean</primary>
     426          </indexterm>
     427        </listitem>
     428      </varlistentry>
     429
     430      <varlistentry id="htdbm">
     431        <term><command>htdbm</command></term>
     432        <listitem>
     433          <para>is used to manipulate the DBM password databases.</para>
     434          <indexterm zone="apache htdbm">
     435            <primary sortas="b-htdbm">htdbm</primary>
    355436          </indexterm>
    356437        </listitem>
     
    391472      </varlistentry>
    392473
    393       <varlistentry id="instdso.sh">
    394         <term><command>instdso.sh</command></term>
    395         <listitem>
    396           <para>is a script which installs <application>Apache</application>
    397           DSO modules.</para>
    398           <indexterm zone="apache instdso.sh">
    399             <primary sortas="b-instdso.sh">instdso.sh</primary>
     474      <varlistentry id="httxt2dbm">
     475        <term><command>httxt2dbm</command></term>
     476        <listitem>
     477          <para>is used to generate DBM files from text input, for use in
     478          RewriteMap.</para>
     479          <indexterm zone="apache httxt2dbm">
     480            <primary sortas="b-httxt2dbm">httxt2dbm</primary>
    400481          </indexterm>
    401482        </listitem>
     
    424505      </varlistentry>
    425506
     507      <varlistentry id="suexec">
     508        <term><command>suexec</command></term>
     509        <listitem>
     510          <para>is used by the <application>Apache HTTP</application> Server
     511          to switch to another user before executing CGI programs.</para>
     512          <indexterm zone="apache suexec">
     513            <primary sortas="b-suexec">suexec</primary>
     514          </indexterm>
     515        </listitem>
     516      </varlistentry>
     517
    426518    </variablelist>
    427519
Note: See TracChangeset for help on using the changeset viewer.