r109 - in trunk/text: . chapter01 chapter03 chapter07 chapter08 chapter09

robert at linuxfromscratch.org robert at linuxfromscratch.org
Tue Jan 18 04:51:12 PST 2005


Author: robert
Date: 2005-01-18 05:51:10 -0700 (Tue, 18 Jan 2005)
New Revision: 109

Added:
   trunk/text/chapter08/
   trunk/text/chapter08/01-intro.txt
   trunk/text/chapter08/05-openssl.txt
   trunk/text/chapter09/
   trunk/text/chapter09/01-intro.txt
   trunk/text/chapter09/02-openntpd.txt
Modified:
   trunk/text/chapter01/changelog.txt
   trunk/text/chapter03/patches.txt
   trunk/text/chapter07/02-bootscripts.txt
Log:
Added openssl and openntpd

Modified: trunk/text/chapter01/changelog.txt
===================================================================
--- trunk/text/chapter01/changelog.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter01/changelog.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -105,5 +105,6 @@
 
 January 18th, 2005 [Robert]
 Downgrade back to iproute2-2.6.9-ss040831, the newer version does not compile
-on uClibc.
+on uClibc. Added chapter08 and chapter09. Added OpenSSL to chapter 8. Added
+OpenNTPD to chapter 9.
 

Modified: trunk/text/chapter03/patches.txt
===================================================================
--- trunk/text/chapter03/patches.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter03/patches.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -2,7 +2,7 @@
 http://www.linuxfromscratch.org/patches/downloads/hlfs/bash-3.0-fixes-3.patch
 http://www.linuxfromscratch.org/patches/downloads/hlfs/binutils-2.15.94.0.2-pt_pax-1.patch
 http://www.linuxfromscratch.org/patches/downloads/hlfs/binutils-2.15.94.0.2-uClibc_conf-1.patch
-http://www.linuxfromscratch.org/patches/downloads/hlfs/blfs-bootscripts-frandom-2.patch
+http://www.linuxfromscratch.org/patches/downloads/hlfs/blfs-bootscripts-hlfs-1.patch
 http://www.linuxfromscratch.org/patches/downloads/hlfs/coreutils-5.2.1-static_uname-1.patch
 http://www.linuxfromscratch.org/patches/downloads/hlfs/coreutils-5.2.1-suppress_uptime_kill_su-1.patch
 http://www.linuxfromscratch.org/patches/downloads/hlfs/coreutils-5.2.1-uname-2.patch

Modified: trunk/text/chapter07/02-bootscripts.txt
===================================================================
--- trunk/text/chapter07/02-bootscripts.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter07/02-bootscripts.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -14,7 +14,7 @@
 # Then unpack blfs-bootscripts. The patch adds frandom to random's start
 # command. Then install the random seed script.
 
-patch -Np1 -i ../blfs-bootscripts-frandom-2.patch &&
+patch -Np1 -i ../blfs-bootscripts-hlfs-1.patch &&
 make install-random
 
 # This is also a good time to create a random-seed file so it is

Added: trunk/text/chapter08/01-intro.txt
===================================================================
--- trunk/text/chapter08/01-intro.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter08/01-intro.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -0,0 +1,5 @@
+- Chapter 8 - Introduction
+
+This chapter includes packages not part of the base system, but packages
+almost everyone will use.
+

Added: trunk/text/chapter08/05-openssl.txt
===================================================================
--- trunk/text/chapter08/05-openssl.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter08/05-openssl.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -0,0 +1,27 @@
+- Chapter 8 - Installing OpenSSL 0.9.7e
+
+# Homepage:
+# http://www.openssl.org/
+
+# Download:
+# http://www.openssl.org/source/openssl-0.9.7e.tar.gz
+# ftp://ftp.openssl.org/source/openssl-0.9.7e.tar.gz
+
+# zlib-dynamic is added to make upgrading in the future easier.
+
+sed 's/^passwd/openssl-passwd/' doc/apps/passwd.pod \
+	> doc/apps/openssl-passwd.pod &&
+rm doc/apps/passwd.pod &&
+mv doc/crypto/{,openssl_}threads.pod &&
+./config --openssldir=/etc/ssl --prefix=/usr shared zlib-dynamic &&
+sed -i 's%SHLIBDIRS= fips crypto ssl%SHLIBDIRS= crypto ssl%g' Makefile &&
+make MANDIR=/usr/share/man &&
+make MANDIR=/usr/share/man install &&
+cp -r certs /etc/ssl
+
+# Do yourself a favor and remove the static libs. This will prevent other
+# packages from statically linking to the OpenSSL libraries. Then when
+# OpenSSL is upgraded in the future nothing else will need to be reinstalled.
+
+rm -f /usr/lib/{libcrypto.a,libssl.a}
+

Added: trunk/text/chapter09/01-intro.txt
===================================================================
--- trunk/text/chapter09/01-intro.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter09/01-intro.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -0,0 +1,4 @@
+- Chapter 9 - Introduction
+
+This chapter includes network service packages.
+

Added: trunk/text/chapter09/02-openntpd.txt
===================================================================
--- trunk/text/chapter09/02-openntpd.txt	2005-01-18 09:08:37 UTC (rev 108)
+++ trunk/text/chapter09/02-openntpd.txt	2005-01-18 12:51:10 UTC (rev 109)
@@ -0,0 +1,27 @@
+- Chapter 9 - Installing OpenNTPD 3.6.1p1
+
+# Homepage:
+# http://www.openntpd.org/
+
+# Download:
+# http://openbsd.md5.com.ar/pub/OpenBSD/OpenNTPD/openntpd-3.6.1p1.tar.gz
+# ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenNTPD/openntpd-3.6.1p1.tar.gz
+
+# This version of the Network Time Protocol Daemon uses privilege separation,
+# like OpenSSH's daemon. We will need to add a dedicated group and user.
+
+groupadd _ntp &&
+useradd -g _ntp -s /sbin/nologin -d /var/empty -c 'OpenNTP daemon' _ntp
+
+# Then configure and install OpenNTPD.
+
+./configure --prefix=/usr/ --sysconfdir=/etc &&
+make &&
+make install
+
+# In the HLFS patched blfs-bootscripts do:
+
+make install-openntpd
+
+# You may notice OpenNTPD is not compatable with the original NTPD.
+




More information about the hlfs-dev mailing list