add djb errno patches

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@825 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Larry Lawrence 2003-04-05 18:00:27 +00:00
parent 677a0f7b62
commit 4e2ef6e52a
13 changed files with 58 additions and 36 deletions

View File

@ -1,11 +1,17 @@
<sect2>
<title>Contents</title>
<para>The daemontools package contains <userinput>svscanboot svscan
supervise svc svok svstat fghack pgrphack readproctitle multilog tai64n
tai64nlocal setuidgid envuidgid envdir softlimit</userinput> and
<para>The daemontools package contains
<userinput>svscanboot</userinput>, <userinput>svscan</userinput>,
<userinput>supervise</userinput>, <userinput>svc</userinput>,
<userinput>svok</userinput>, <userinput>svstat</userinput>,
<userinput>fghack</userinput>, <userinput>pgrphack</userinput>,
<userinput>readproctitle</userinput>, <userinput>multilog</userinput>,
<userinput>tai64n</userinput>, <userinput>tai64nlocal</userinput>,
<userinput>setuidgid</userinput>, <userinput>envuidgid</userinput>,
<userinput>envdir</userinput>, <userinput>softlimit</userinput> and
<userinput>setlock</userinput>. More detailed descriptions of these
commands may be found at http://cr.yp.to/daemontools.html.</para>
commands may be found at <ulink url="http://cr.yp.to/daemontools.html"/>.</para>
</sect2>

View File

@ -14,11 +14,11 @@ installation commands for his packages to get them to install in a manner
that is compliant with the Filesystem Hierarchy Standard (FHS). Most of
the following commands are due to this difficulty.</para>
<para><userinput>cd admin/daemontools-0.76: </userinput>First off, the
<para><userinput>cd admin/daemontools-0.76</userinput> : First off, the
package is unpacked in an "admin" directory. You will find the actual
packages two directory levels below this.</para>
<para><userinput>package/compile: </userinput>This command actually
<para><userinput>package/compile</userinput> : This command actually
compiles the source and puts the binaries in a command directory.</para>
<para>Since we are installing the binaries in /usr/sbin rather than creating
@ -34,20 +34,19 @@ a non-standard /command directory, several paths have to be changed:</para>
will check the /etc/service directory instead of the /service directory for
daemons to run.</para>
<para><userinput>cp * /usr/sbin: </userinput>We must manually copy the
<para><userinput>cp * /usr/sbin</userinput> : We must manually copy the
binaries to the /usr/sbin directory.</para>
<para><screen><userinput>cat /etc/inittab boot.inittab &gt; /etc/inittab~</userinput>
<userinput>mv -f /etc/inittab~ /etc/inittab</userinput></screen></para>
<para>These commands append a line to /etc/inittab so that init will launch
<userinput>mv -f /etc/inittab~ /etc/inittab</userinput></screen>
These commands append a line to /etc/inittab so that init will launch
the svscanboot script.</para>
<para><userinput>mkdir /etc/service: </userinput>This command creates
<para><userinput>mkdir /etc/service</userinput> : This command creates
the daemontools control directory, which - even if empty - needs to exist for
daemontools to run properly.</para>
<para><userinput>telinit Q: </userinput>This command tells the init
<para><userinput>telinit Q</userinput> : This command tells the init
process to re-read its configuration file (inittab) and act upon any
changes that have been made. The svscanboot script is started.</para>

View File

@ -3,7 +3,8 @@
<para>Install daemontools by running the following commands:</para>
<para><screen><userinput>cd admin/daemontools-0.76 &amp;&amp;
<para><screen><userinput>patch -Np1 -i ../daemontools-0.76.errno.patch &amp;&amp;
cd admin/daemontools-0.76 &amp;&amp;
package/compile &amp;&amp;
cd package &amp;&amp;
sed 's|command|usr/sbin|' boot.inittab &gt; boot.inittab~ &amp;&amp;

View File

@ -6,7 +6,8 @@ Download location (FTP): <ulink url="&daemontools-download-ftp;"/>
Version used: &daemontools-version;
Package size: &daemontools-size;
Estimated Disk space required: &daemontools-buildsize;</screen>
<screen>Additional downloads:
<ulink url="ftp://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch">daemontools errno patch</ulink></screen>
<para>The daemontools package is a replacement for inetd or xinetd. The main
reason for using it here is because it is recommended for use with qmail
and djbdns.</para>

View File

@ -1,10 +1,16 @@
<sect2>
<title>Contents</title>
<para>The daemontools-man package contains manpages for the daemontools
commands <userinput>envdir envuidgid fghack multilog pgrphack
readproctitle setlock setuidgid softlimit supervise svc svok svscan
svscanboot svstat tai64n</userinput> and
<para>The daemontools-man package contains man pages for the daemontools
commands <userinput>envdir</userinput>,
<userinput>envuidgid</userinput>, <userinput>fghack</userinput>,
<userinput>multilog</userinput>, <userinput>pgrphack</userinput>,
<userinput>readproctitle</userinput>, <userinput>setlock</userinput>,
<userinput>setuidgid</userinput>, <userinput>softlimit</userinput>,
<userinput>supervise</userinput>, <userinput>svc</userinput>,
<userinput>svok</userinput>, <userinput>svscan</userinput>,
<userinput>svscanboot</userinput>, <userinput>svstat</userinput>,
<userinput>tai64n</userinput> and
<userinput>tai64nlocal</userinput>.</para>
</sect2>

View File

@ -1,10 +1,10 @@
<sect2>
<title>Command explanations</title>
<para><userinput>gzip -9 *.8: </userinput>You can compress the manpages
<para><userinput>gzip -9 *.8</userinput> : You can compress the manpages
to save space, but it isn't needed for the manpages to work.</para>
<para><userinput>package/compile: </userinput>This command actually
<para><userinput>package/compile</userinput> : This command actually
compiles the source and puts the binaries in a command directory.</para>
</sect2>

View File

@ -2,8 +2,6 @@
<?dbhtml filename="djb.html" dir="basicnet"?>
<title>DJB's Utilities</title>
<para>Intro &amp; Who wants to use them?</para>
&daemontools;
&daemontools-man;
&ucspi-tcp;

View File

@ -1,12 +1,18 @@
<sect2>
<title>Contents</title>
<para>The ucspi-tcp package contains <userinput>tcpserver, tcprules,
tcprulescheck, argv0, fixcrio, recordio, rblsmtpd, tcpclient, who@,
date@, finger@, http@, tcpcat, mconnect, addcr, delcr</userinput></para>
<para>The ucspi-tcp package contains <userinput>tcpserver</userinput>,
<userinput>tcprules</userinput>, <userinput>tcprulescheck</userinput>,
<userinput>argv0</userinput>, <userinput>fixcrio</userinput>,
<userinput>recordio</userinput>, <userinput>rblsmtpd</userinput>,
<userinput>tcpclient</userinput>, <userinput>who@</userinput>,
<userinput>date@</userinput>, <userinput>finger@</userinput>,
<userinput>http@</userinput>, <userinput>tcpcat</userinput>,
<userinput>mconnect</userinput>, <userinput>addcr</userinput> and
<userinput>delcr</userinput></para>
<para>You can also find detailed descriptions of each of these programs at
http://cr.yp.to/ucspi-tcp/tcpserver.html, but here is a brief summary:</para>
<ulink url="http://cr.yp.to/ucspi-tcp/tcpserver.html"/>, but here is a brief summary:</para>
</sect2>

View File

@ -1,18 +1,18 @@
<sect2>
<title>Command explanations</title>
<para><screen><userinput>sed 's|/usr/local|/usr|' conf-home &gt; conf-home~</userinput>
<userinput>mv conf-home~ conf-home</userinput>
<userinput>sed 's/bin/sbin/' hier.c &gt; hier.c~</userinput>
<userinput>mv hier.c~ hier.c :</userinput></screen>
<para><screen><userinput>sed 's|/usr/local|/usr|' conf-home &gt; conf-home~
mv conf-home~ conf-home
sed 's/bin/sbin/' hier.c &gt; hier.c~
mv hier.c~ hier.c</userinput></screen>
These commands change the installation directory to /usr/sbin from the default
of /usr/local/bin. Since these tools are used in conjuction with daemons,
they don't make much sense in general user directories. However, some of the
example programs and the tcpclient program might be of use to non-root users.
If you wish to make these available, then we would suggest installing as above,
and then executing the following commands:
<screen><userinput>cd /usr/sbin</userinput>
<userinput>mv tcpclient *@ mconnect delcr addcr tcpcat /usr/bin</userinput></screen>This
<screen><userinput>cd /usr/sbin
mv tcpclient *@ mconnect delcr addcr tcpcat /usr/bin</userinput></screen>This
will place the client related programs into /usr/bin for general use.</para>
</sect2>

View File

@ -2,7 +2,8 @@
<title>Installation of ucspi-tcp</title>
<para>Install ucspi-tcp by running the following commands:</para>
<para><screen><userinput>sed 's|/usr/local|/usr|' conf-home &gt; conf-home~ &amp;&amp;</userinput>
<para><screen><userinput>patch -Np1 -i ../ucspi-tcp-0.88.errno.patch &amp;&amp;
sed 's|/usr/local|/usr|' conf-home &gt; conf-home~ &amp;&amp;</userinput>
<userinput>mv conf-home~ conf-home &amp;&amp;</userinput>
<userinput>sed 's/bin/sbin/' hier.c &gt; hier.c~ &amp;&amp;</userinput>
<userinput>mv hier.c~ hier.c &amp;&amp;</userinput>

View File

@ -6,6 +6,8 @@ Download location (FTP): <ulink url="&ucspi-tcp-download-ftp;"/>
Version used: &ucspi-tcp-version;
Package size: &ucspi-tcp-size;
Estimated Disk space required: &ucspi-tcp-buildsize;</screen>
<screen>Additional downloads:
<ulink url="ftp://moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch">ucspi-tcp errno patch</ulink></screen>
<para>The ucspi-tcp package consists of a suite of tools that allow the easy
creation of client-server tcp daemons. Tcpserver is a more secure alternative

View File

@ -5,7 +5,8 @@
Download location (FTP): <ulink url="&samba-download-ftp;"/>
Version used: &samba-version;
Package size: &samba-size;
Estimated Disk space required: &samba-buildsize;</screen>
Estimated Disk space required: &samba-buildsize;
Estimated build time: &samba-time;</screen>
<para>The Samba package provides file and print services to SMB/CIFS
clients.</para></sect2>

View File

@ -5,8 +5,9 @@
<!ENTITY samba-config-exp SYSTEM "samba-config-exp.xml">
<!ENTITY samba-desc SYSTEM "samba-desc.xml">
<!ENTITY samba-config SYSTEM "samba-config.xml">
<!ENTITY samba-buildsize "45 MB">
<!ENTITY samba-buildsize "40 MB">
<!ENTITY samba-version "2.2.8">
<!ENTITY samba-download-http "http://us1.samba.org/samba/ftp/samba-&samba-version;.tar.bz2">
<!ENTITY samba-download-ftp "">
<!ENTITY samba-size "5.0 MB">
<!ENTITY samba-size "4.4 MB">
<!ENTITY samba-time "5.40 SBU">