source: general/genlib/apr.xml@ 949b48a

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 949b48a was 949b48a, checked in by Tim Tassonis <stuff@…>, 15 months ago

Update to apr-1.7.1.
Update to apr-util-1.6.1.

  • Property mode set to 100644
File size: 5.3 KB
RevLine 
[6e10fa6]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY apr-download-http
[8dfc5c3]8 "https://archive.apache.org/dist/apr/apr-&apr-version;.tar.bz2">
[6e10fa6]9 <!ENTITY apr-download-ftp
[adf6dd9a]10 "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-&apr-version;.tar.bz2">
[949b48a]11 <!ENTITY apr-md5sum "712c7a425e342e7af79c8501c6da27f6">
12 <!ENTITY apr-size "870 KB">
13 <!ENTITY apr-buildsize "12 MB (additional 4 MB for the tests)">
[0e272f87]14 <!ENTITY apr-time "0.2 SBU (add 1.7 SBU for tests)">
[6e10fa6]15]>
16
17<sect1 id="apr" xreflabel="Apr-&apr-version;">
18 <?dbhtml filename="apr.html"?>
19
20
21 <title>Apr-&apr-version;</title>
22
23 <indexterm zone="apr">
24 <primary sortas="a-apr">Apr</primary>
25 </indexterm>
26
27 <sect2 role="package">
[d551456]28 <title>Introduction to Apr</title>
[6e10fa6]29
[d551456]30 <para>
31 The Apache Portable Runtime (APR) is a supporting library for the
32 Apache web server. It provides a set of application programming interfaces
33 (APIs) that map to the underlying Operating System (OS). Where the OS
34 doesn't support a particular function, APR will provide an emulation. Thus
35 programmers can use the APR to make a program portable across different
36 platforms.
37 </para>
[6e10fa6]38
[8b225938]39 &lfs112_checked;
[6e10fa6]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[d551456]44 <para>
45 Download (HTTP): <ulink url="&apr-download-http;"/>
46 </para>
[6e10fa6]47 </listitem>
48 <listitem>
[d551456]49 <para>
50 Download (FTP): <ulink url="&apr-download-ftp;"/>
51 </para>
[6e10fa6]52 </listitem>
[949b48a]53 <listitem>
54 <para>
55 Caution: The packe currently extracts into a directory
56 <command>apr-1.7.1-rc2</command> .
57 </para>
58 </listitem>
[6e10fa6]59 <listitem>
[d551456]60 <para>
61 Download MD5 sum: &apr-md5sum;
62 </para>
[6e10fa6]63 </listitem>
64 <listitem>
[d551456]65 <para>
66 Download size: &apr-size;
67 </para>
[6e10fa6]68 </listitem>
69 <listitem>
[d551456]70 <para>
71 Estimated disk space required: &apr-buildsize;
72 </para>
[6e10fa6]73 </listitem>
74 <listitem>
[d551456]75 <para>
76 Estimated build time: &apr-time;
77 </para>
[6e10fa6]78 </listitem>
79 </itemizedlist>
80
[d551456]81 <para condition="html" role="usernotes">
82 User Notes: <ulink url="&blfs-wiki;/apr"/>
83 </para>
[6e10fa6]84 </sect2>
85
86 <sect2 role="installation">
[d551456]87 <title>Installation of Apr</title>
[6e10fa6]88
[a541e080]89 <para>
90 First, fix a security issue:
91 </para>
[9d154616]92<!--
[a541e080]93<screen><userinput>sed '/{306/a \
94\
95 if (xt-&gt;tm_mon &lt; 0 || xt-&gt;tm_mon &gt;= 12) \
96 return APR_EBADDATE;' -i time/unix/time.c</userinput></screen>
[9d154616]97-->
98<screen><userinput>sed -e "/shift/i \
[4021e181]99\ if (xt-&gt;tm_mon &lt; 0 || xt-&gt;tm_mon &gt;= 12) return APR_EBADDATE;" \
[9d154616]100 -i time/unix/time.c</userinput></screen>
[a541e080]101
[d551456]102 <para>
103 Install <application>Apr</application> by running the following commands:
104 </para>
[6e10fa6]105
[92245989]106<screen><userinput>./configure --prefix=/usr \
[adf6dd9a]107 --disable-static \
108 --with-installbuilddir=/usr/share/apr-1/build &amp;&amp;
[6e10fa6]109make</userinput></screen>
110
[d551456]111 <para>
[0d38b000]112 To test the results, issue: <command>make test</command>. <!-- teststr is
113 known to hang on some systems. - WORKS AS OF 1.6.5 (renodr) -->
[d551456]114 </para>
[6e10fa6]115
[d551456]116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
[6e10fa6]119
120<screen role="root"><userinput>make install</userinput></screen>
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
[adf6dd9a]126 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
127 href="../../xincludes/static-libraries.xml"/>
[6e10fa6]128
129 </sect2>
130
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Program</segtitle>
136 <segtitle>Installed Library</segtitle>
137 <segtitle>Installed Directories</segtitle>
138
139 <seglistitem>
[adf6dd9a]140 <seg>
141 apr-1-config
142 </seg>
143 <seg>
144 libapr-1.so
145 </seg>
146 <seg>
[f3429309]147 /usr/include/apr-1 and
[adf6dd9a]148 /usr/share/apr-1
149 </seg>
[6e10fa6]150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="apr-1-config">
159 <term><command>apr-1-config</command></term>
160 <listitem>
161 <para>
162 is a shell script used to retrieve information about the apr
163 library in the system. It is typically used to compile and link
[4c24eb0a]164 against the library
[d551456]165 </para>
[6e10fa6]166 <indexterm zone="apr apr-1-config">
167 <primary sortas="b-apr-1-config">apr-1-config</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="libapr-1">
173 <term><filename class="libraryfile">libapr-1.so</filename></term>
174 <listitem>
[d551456]175 <para>
[4c24eb0a]176 is the Apache Portable Runtime library
[d551456]177 </para>
[6e10fa6]178 <indexterm zone="apr libapr-1">
179 <primary sortas="c-libapr-1">libapr-1.so</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183 </variablelist>
[adf6dd9a]184
[6e10fa6]185 </sect2>
[4c24eb0a]186
[6e10fa6]187</sect1>
Note: See TracBrowser for help on using the repository browser.