mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Updated to Stunnel-4.09
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3668 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
82d1159ec1
commit
423b1d94d8
@ -39,7 +39,7 @@
|
||||
<!ENTITY heimdal-version "0.6.3">
|
||||
<!ENTITY mitkrb-version "1.4">
|
||||
<!ENTITY cyrus-sasl-version "2.1.20">
|
||||
<!ENTITY stunnel-version "4.07">
|
||||
<!ENTITY stunnel-version "4.09">
|
||||
|
||||
<!-- Chapter 5 -->
|
||||
<!ENTITY reiser-version "3.6.19">
|
||||
|
@ -22,8 +22,8 @@ who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>April 4th, 2005 [randy]: Updated to
|
||||
OpenLDAP-2.2.24</para></listitem>
|
||||
<listitem><para>April 4th, 2005 [randy]: Updated to OpenLDAP-2.2.24 and
|
||||
Stunnel-4.09</para></listitem>
|
||||
|
||||
<listitem><para>April 4th, 2005 [igor]: Updated to OpenSSL-0.9.7f
|
||||
contributed by Anderson Lizardo.</para></listitem>
|
||||
|
@ -4,12 +4,13 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY stunnel-download-http "http://www.stunnel.org/download/stunnel/src/stunnel-&stunnel-version;.tar.gz">
|
||||
<!ENTITY stunnel-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/stunnel-&stunnel-version;.tar.gz">
|
||||
<!ENTITY stunnel-md5sum "7d53af550a1c2e01e146b936e58b8860">
|
||||
<!ENTITY stunnel-size "486 KB">
|
||||
<!-- <!ENTITY stunnel-download-http "http://www.stunnel.org/download/stunnel/src/stunnel-&stunnel-version;.tar.gz"> -->
|
||||
<!ENTITY stunnel-download-http " ">
|
||||
<!ENTITY stunnel-download-ftp "ftp://stunnel.mirt.net/stunnel/stunnel-&stunnel-version;.tar.gz">
|
||||
<!ENTITY stunnel-md5sum "2077669b04c36e4c0baa68348e8860a7">
|
||||
<!ENTITY stunnel-size "484 KB">
|
||||
<!ENTITY stunnel-buildsize "3.9 MB">
|
||||
<!ENTITY stunnel-time "0.11 SBU">
|
||||
<!ENTITY stunnel-time "0.10 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="stunnel" xreflabel="Stunnel-&stunnel-version;">
|
||||
@ -52,6 +53,14 @@ to the server package source code.</para>
|
||||
&stunnel-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem><para>Required patch: <ulink
|
||||
url="ftp://stunnel.mirt.net/stunnel/stunnel-&stunnel-version;-1_minute_sleep_fix.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>Stunnel</application> dependencies</title>
|
||||
<sect4><title>Required</title>
|
||||
<para><xref linkend="openssl"/></para>
|
||||
@ -80,9 +89,10 @@ install -d -m 700 -o stunnel -g stunnel /var/lib/stunnel/run</command></userinpu
|
||||
<note><para>A signed <acronym>SSL</acronym> Certificate and a Private Key is
|
||||
necessary to run the <command>stunnel</command> daemon. If you own, or have
|
||||
already created a signed <acronym>SSL</acronym> Certificate you wish to use,
|
||||
copy it to <filename>tools/stunnel.pem</filename> in the source directory
|
||||
before starting the build, otherwise you will be prompted to create one. The
|
||||
<filename>.pem</filename> file must be formatted as shown below:</para>
|
||||
copy it to <filename>/etc/stunnel/stunnel.pem</filename> before starting the
|
||||
build, otherwise you will be prompted to create one during the installation
|
||||
process. The <filename>.pem</filename> file must be formatted as shown
|
||||
below:</para>
|
||||
|
||||
<screen>-----BEGIN RSA PRIVATE KEY-----
|
||||
<replaceable>[many encrypted lines of unencrypted key]</replaceable>
|
||||
@ -94,8 +104,9 @@ before starting the build, otherwise you will be prompted to create one. The
|
||||
<para>Install <application>Stunnel</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var/lib/stunnel &&
|
||||
<screen><userinput><command>patch -Np1 -i ../stunnel-&stunnel-version;-1_minute_sleep_fix.patch &&
|
||||
./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var/lib &&
|
||||
make</command></userinput></screen>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
@ -111,15 +122,15 @@ make</command></userinput></screen>
|
||||
configuration directory to <filename class='directory'>/etc</filename> instead
|
||||
of <filename class='directory'>/usr/etc</filename>.</para>
|
||||
|
||||
<para><parameter>--localstatedir=/var/lib/stunnel</parameter>: This parameter
|
||||
<para><parameter>--localstatedir=/var/lib</parameter>: This parameter
|
||||
causes the installation process to create
|
||||
<filename class='directory'>/var/lib/stunnel/stunnel</filename> instead of
|
||||
<filename class='directory'>/var/lib/stunnel</filename> instead of
|
||||
<filename class='directory'>/usr/var/stunnel</filename>.</para>
|
||||
|
||||
<para><command>make</command>: This command builds the package and, if you
|
||||
did not copy an <filename>stunnel.pem</filename> file to the source
|
||||
<filename class='directory'>tools/</filename> directory, prompts you for the
|
||||
necessary information to create one. Ensure you reply to the</para>
|
||||
<para><command>make install</command>: This command installs the package and,
|
||||
if you did not copy an <filename>stunnel.pem</filename> file to the
|
||||
<filename class='directory'>/etc/stunnel</filename> directory, prompts you for
|
||||
the necessary information to create one. Ensure you reply to the</para>
|
||||
|
||||
<screen><computeroutput>Common Name (FQDN of your server) [localhost]:</computeroutput></screen>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user