From 423b1d94d84f27ef25edadcec5fcb18406de18db Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Mon, 4 Apr 2005 19:09:01 +0000 Subject: [PATCH] Updated to Stunnel-4.09 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3668 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 2 +- introduction/welcome/changelog.xml | 4 +-- postlfs/security/stunnel.xml | 43 +++++++++++++++++++----------- 3 files changed, 30 insertions(+), 19 deletions(-) diff --git a/general.ent b/general.ent index 75577a68f8..15c3523f81 100644 --- a/general.ent +++ b/general.ent @@ -39,7 +39,7 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 3fabcf17c0..a427fd3dbf 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -22,8 +22,8 @@ who wrote what. -April 4th, 2005 [randy]: Updated to -OpenLDAP-2.2.24 +April 4th, 2005 [randy]: Updated to OpenLDAP-2.2.24 and +Stunnel-4.09 April 4th, 2005 [igor]: Updated to OpenSSL-0.9.7f contributed by Anderson Lizardo. diff --git a/postlfs/security/stunnel.xml b/postlfs/security/stunnel.xml index 9109515745..2fec527dd8 100644 --- a/postlfs/security/stunnel.xml +++ b/postlfs/security/stunnel.xml @@ -4,12 +4,13 @@ %general-entities; - - - - + + + + + - + ]> @@ -52,6 +53,14 @@ to the server package source code. &stunnel-time; +Additional downloads + +Required patch: + + + + <application>Stunnel</application> dependencies Required @@ -80,9 +89,10 @@ install -d -m 700 -o stunnel -g stunnel /var/lib/stunnel/runA signed SSL Certificate and a Private Key is necessary to run the stunnel daemon. If you own, or have already created a signed SSL Certificate you wish to use, -copy it to tools/stunnel.pem in the source directory -before starting the build, otherwise you will be prompted to create one. The -.pem file must be formatted as shown below: +copy it to /etc/stunnel/stunnel.pem before starting the +build, otherwise you will be prompted to create one during the installation +process. The .pem file must be formatted as shown +below: -----BEGIN RSA PRIVATE KEY----- [many encrypted lines of unencrypted key] @@ -94,8 +104,9 @@ before starting the build, otherwise you will be prompted to create one. The Install Stunnel by running the following commands: -./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var/lib/stunnel && +patch -Np1 -i ../stunnel-&stunnel-version;-1_minute_sleep_fix.patch && +./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var/lib && make Now, as the root user: @@ -111,15 +122,15 @@ make configuration directory to /etc instead of /usr/etc. ---localstatedir=/var/lib/stunnel: This parameter +--localstatedir=/var/lib: This parameter causes the installation process to create -/var/lib/stunnel/stunnel instead of +/var/lib/stunnel instead of /usr/var/stunnel. -make: This command builds the package and, if you -did not copy an stunnel.pem file to the source -tools/ directory, prompts you for the -necessary information to create one. Ensure you reply to the +make install: This command installs the package and, +if you did not copy an stunnel.pem file to the +/etc/stunnel directory, prompts you for +the necessary information to create one. Ensure you reply to the Common Name (FQDN of your server) [localhost]: