mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Updated to Stunnel-4.34
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8773 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
a90804e3d7
commit
30ca77d2ef
@ -106,7 +106,7 @@ $Date$
|
|||||||
<!ENTITY heimdal-version "1.4">
|
<!ENTITY heimdal-version "1.4">
|
||||||
<!ENTITY mitkrb-version "1.6">
|
<!ENTITY mitkrb-version "1.6">
|
||||||
<!ENTITY cyrus-sasl-version "2.1.23">
|
<!ENTITY cyrus-sasl-version "2.1.23">
|
||||||
<!ENTITY stunnel-version "4.21">
|
<!ENTITY stunnel-version "4.34">
|
||||||
<!ENTITY sudo-version "1.7.4p4">
|
<!ENTITY sudo-version "1.7.4p4">
|
||||||
<!ENTITY nss-version "3.12.8">
|
<!ENTITY nss-version "3.12.8">
|
||||||
<!ENTITY policykit-version "0.9">
|
<!ENTITY policykit-version "0.9">
|
||||||
|
@ -44,6 +44,9 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>January 4th, 2011</para>
|
<para>January 4th, 2011</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[randy] - Updated to Stunnel-4.34.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[randy] - Removed the obsolete G-Wrap package.</para>
|
<para>[randy] - Removed the obsolete G-Wrap package.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
<!ENTITY stunnel-download-http "http://www.stunnel.org/download/stunnel/src/stunnel-&stunnel-version;.tar.gz">
|
<!ENTITY stunnel-download-http "http://www.stunnel.org/download/stunnel/src/stunnel-&stunnel-version;.tar.gz">
|
||||||
<!ENTITY stunnel-download-ftp "ftp://stunnel.mirt.net/stunnel/stunnel-&stunnel-version;.tar.gz">
|
<!ENTITY stunnel-download-ftp "ftp://stunnel.mirt.net/stunnel/stunnel-&stunnel-version;.tar.gz">
|
||||||
<!ENTITY stunnel-md5sum "1eaec5228979beca4d548f453304e311">
|
<!ENTITY stunnel-md5sum "bbd274e8364ea3ceca0ee5190e13edd1">
|
||||||
<!ENTITY stunnel-size "528 KB">
|
<!ENTITY stunnel-size "526 KB">
|
||||||
<!ENTITY stunnel-buildsize "5 MB">
|
<!ENTITY stunnel-buildsize "5 MB">
|
||||||
<!ENTITY stunnel-time "0.1 SBU">
|
<!ENTITY stunnel-time "0.1 SBU">
|
||||||
]>
|
]>
|
||||||
@ -60,13 +60,13 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
<!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Required patch: <ulink
|
<para>Required patch: <ulink
|
||||||
url="&patch-root;/stunnel-&stunnel-version;-setuid-1.patch"/></para>
|
url="&patch-root;/stunnel-&stunnel-version;-setuid-1.patch"/></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist> -->
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Stunnel Dependencies</bridgehead>
|
<bridgehead renderas="sect3">Stunnel Dependencies</bridgehead>
|
||||||
|
|
||||||
@ -104,25 +104,24 @@ useradd -c "Stunnel Daemon" -d /var/lib/stunnel \
|
|||||||
<filename class='extension'>.pem</filename> file must be formatted as
|
<filename class='extension'>.pem</filename> file must be formatted as
|
||||||
shown below:</para>
|
shown below:</para>
|
||||||
|
|
||||||
<screen><literal>-----BEGIN RSA PRIVATE KEY-----
|
<screen><literal>-----BEGIN PRIVATE KEY-----
|
||||||
<replaceable><many encrypted lines of unencrypted key></replaceable>
|
<replaceable><many encrypted lines of private key></replaceable>
|
||||||
-----END RSA PRIVATE KEY-----
|
-----END PRIVATE KEY-----
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
<replaceable><many encrypted lines of certificate></replaceable>
|
<replaceable><many encrypted lines of certificate></replaceable>
|
||||||
-----END CERTIFICATE-----</literal></screen>
|
-----END CERTIFICATE-----
|
||||||
|
-----BEGIN DH PARAMETERS-----
|
||||||
|
<replaceable><encrypted lines of dh parms></replaceable>
|
||||||
|
-----END DH PARAMETERS-----</literal></screen>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>Install <application>Stunnel</application> by running the following
|
<para>Install <application>Stunnel</application> by running the following
|
||||||
commands:</para>
|
commands:</para>
|
||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../stunnel-&stunnel-version;-setuid-1.patch &&
|
<screen><userinput>sed -i 's|nogroup|stunnel|g' configure &&
|
||||||
|
|
||||||
sed -i 's|nogroup|stunnel|g' configure &&
|
|
||||||
sed -i 's|$(prefix)/var/lib|$(localstatedir)|' tools/Makefile.in &&
|
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var/lib \
|
--localstatedir=/var \
|
||||||
--disable-libwrap &&
|
--disable-libwrap &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
@ -143,16 +142,11 @@ make</userinput></screen>
|
|||||||
<systemitem class="groupname">nogroup</systemitem> to
|
<systemitem class="groupname">nogroup</systemitem> to
|
||||||
<systemitem class="groupname">stunnel</systemitem>.</para>
|
<systemitem class="groupname">stunnel</systemitem>.</para>
|
||||||
|
|
||||||
<para><command>sed -i '...' tools/Makefile.in</command>: This command
|
|
||||||
ensures that the chroot jail will be located in
|
|
||||||
<filename class='directory'>/var/lib/stunnel</filename> instead of
|
|
||||||
<filename class='directory'>/usr/var/lib/stunnel</filename>.</para>
|
|
||||||
|
|
||||||
<para><parameter>--sysconfdir=/etc</parameter>: This parameter forces
|
<para><parameter>--sysconfdir=/etc</parameter>: This parameter forces
|
||||||
the configuration directory to <filename class='directory'>/etc</filename>
|
the configuration directory to <filename class='directory'>/etc</filename>
|
||||||
instead of <filename class='directory'>/usr/etc</filename>.</para>
|
instead of <filename class='directory'>/usr/etc</filename>.</para>
|
||||||
|
|
||||||
<para><parameter>--localstatedir=/var/lib</parameter>: This parameter
|
<para><parameter>--localstatedir=/var</parameter>: This parameter
|
||||||
sets the installation to use
|
sets the installation to use
|
||||||
<filename class='directory'>/var/lib/stunnel</filename> instead of
|
<filename class='directory'>/var/lib/stunnel</filename> instead of
|
||||||
creating and using
|
creating and using
|
||||||
@ -211,7 +205,8 @@ pid = /run/stunnel.pid
|
|||||||
chroot = /var/lib/stunnel
|
chroot = /var/lib/stunnel
|
||||||
client = no
|
client = no
|
||||||
setuid = stunnel
|
setuid = stunnel
|
||||||
setgid = stunnel</literal>
|
setgid = stunnel
|
||||||
|
cert = /etc/stunnel/stunnel.pem</literal>
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
chmod -v 644 /etc/stunnel/stunnel.conf</userinput></screen>
|
chmod -v 644 /etc/stunnel/stunnel.conf</userinput></screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user