Changeset 29f033a for basicnet/djb


Ignore:
Timestamp:
09/25/2003 11:39:56 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
6998c44a
Parents:
af68f984
Message:

chapter 21

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1196 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
basicnet/djb
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • basicnet/djb/daemontools/daemontools-desc.xml

    raf68f984 r29f033a  
    33
    44<para>The daemontools package contains
    5 <userinput>svscanboot</userinput>, <userinput>svscan</userinput>,
    6 <userinput>supervise</userinput>, <userinput>svc</userinput>,
    7 <userinput>svok</userinput>, <userinput>svstat</userinput>,
    8 <userinput>fghack</userinput>, <userinput>pgrphack</userinput>,
    9 <userinput>readproctitle</userinput>, <userinput>multilog</userinput>,
    10 <userinput>tai64n</userinput>, <userinput>tai64nlocal</userinput>,
    11 <userinput>setuidgid</userinput>, <userinput>envuidgid</userinput>,
    12 <userinput>envdir</userinput>, <userinput>softlimit</userinput> and
    13 <userinput>setlock</userinput>. More detailed descriptions of these
     5<command>svscanboot</command>, <command>svscan</command>,
     6<command>supervise</command>, <command>svc</command>,
     7<command>svok</command>, <command>svstat</command>,
     8<command>fghack</command>, <command>pgrphack</command>,
     9<command>readproctitle</command>, <command>multilog</command>,
     10<command>tai64n</command>, <command>tai64nlocal</command>,
     11<command>setuidgid</command>, <command>envuidgid</command>,
     12<command>envdir</command>, <command>softlimit</command> and
     13<command>setlock</command>. More detailed descriptions of these
    1414commands may be found at <ulink url="http://cr.yp.to/daemontools.html"/>.</para>
    1515
     
    1919
    2020<sect3><title>svscanboot</title>
    21 <para>svscanboot is simply a script that calls svscan and pipes its output
    22 to readproctitle.</para></sect3>
     21<para><command>svscanboot</command> is simply a script that calls svscan and
     22pipes its output to readproctitle.</para></sect3>
    2323
    2424<sect3><title>svscan</title>
    25 <para>svscan checks the service directory for daemons to run and starts
    26 a supervise process for each run script that it finds.</para></sect3>
     25<para><command>svscan</command> checks the service directory for daemons to run
     26and starts a <command>supervise</command> process for each run script that it
     27finds.</para></sect3>
    2728
    2829<sect3><title>supervise</title>
    29 <para>supervise runs the run script passed to it by svscan and monitors
    30 the process the script starts so that if it dies, supervise restarts it.
    31 </para></sect3>
     30<para><command>supervise</command> runs the run script passed to it by
     31<command>svscan</command> and monitors the process the script starts so that
     32if it dies, <command>supervise</command> restarts it.</para></sect3>
    3233
    3334<sect3><title>svc</title>
    34 <para>svc sends signals to processes being run under supervise.
     35<para><command>svc</command> sends signals to processes being run under
     36<command>supervise</command>.
    3537</para></sect3>
    3638
    3739<sect3><title>svok</title>
    38 <para>svok checks to see that supervise is running in the directory
     40<para><command>svok</command> checks to see that
     41<command>supervise</command> is running in the directory
    3942passed to it.</para></sect3>
    4043
    4144<sect3><title>svstat</title>
    42 <para>svstat prints the status of processes monitored by supervise.
     45<para><command>svstat</command> prints the status of processes monitored by
     46<command>supervise</command>.</para></sect3>
     47
     48<sect3><title>fghack</title>
     49<para><command>fghack</command> prevents processes from putting themselves into
     50the background.</para></sect3>
     51
     52<sect3><title>pgrphack</title>
     53<para><command>pgrphack</command> runs a process in a separate process group.
    4354</para></sect3>
    4455
    45 <sect3><title>fghack</title>
    46 <para>fghack prevents processes from putting themselves into the
    47 background.</para></sect3>
     56<sect3><title>readproctitle</title>
     57<para><command>readproctitle</command> displays log entries in the output of ps.
     58</para></sect3>
    4859
    49 <sect3><title>pgrphack</title>
    50 <para>pgrphack runs a process in a separate process group.</para>
     60<sect3><title>multilog</title>
     61<para><command>multilog</command> is a logging program. It takes output from a
     62daemon and appends it to any number of logs.</para></sect3>
     63
     64<sect3><title>tai64n</title>
     65<para><command>tai64n</command> is a timestamp generating program.</para>
    5166</sect3>
    5267
    53 <sect3><title>readproctitle</title>
    54 <para>readproctitle displays log entries in the output of ps.</para>
    55 </sect3>
    56 
    57 <sect3><title>multilog</title>
    58 <para>multilog is a logging program. It takes output from a daemon and
    59 appends it to any number of logs.</para></sect3>
    60 
    61 <sect3><title>tai64n</title>
    62 <para>tai64n is a timestamp generating program.</para></sect3>
    63 
    6468<sect3><title>tai64nlocal</title>
    65 <para>tai64nlocal converts output of tai64n into a human readable
    66 format.</para></sect3>
     69<para><command>tai64nlocal</command> converts output of tai64n into a human
     70readable format.</para></sect3>
    6771
    6872<sect3><title>setuidgid</title>
    69 <para>setuidgid runs a specified program under a given account's uid
    70 and gid.</para></sect3>
     73<para><command>setuidgid</command> runs a specified program under a given
     74account's uid and gid.</para></sect3>
    7175
    7276<sect3><title>envuidgid</title>
    73 <para>envuidgid performs the same function as setuidgid, but sets
    74 environment variables $UID and $GID equal to the uid and gid of the
    75 account specified.</para></sect3>
     77<para><command>envuidgid</command> performs the same function as setuidgid,
     78but sets environment variables <envar>UID</envar> and <envar>GID</envar> equal
     79to the uid and gid of the account specified.</para></sect3>
    7680
    7781<sect3><title>envdir</title>
    78 <para>envdir runs a given program with environment variables specified
    79 by files in a directory.</para></sect3>
     82<para><command>envdir</command> runs a given program with environment variables
     83specified by files in a directory.</para></sect3>
    8084
    8185<sect3><title>softlimit</title>
    82 <para>softlimit allows resource limits to be set for a given program.
    83 </para></sect3>
     86<para><command>softlimit</command> allows resource limits to be set for a given
     87program.</para></sect3>
    8488
    8589<sect3><title>setlock</title>
    86 <para>setlock locks a file and runs a program.</para></sect3>
     90<para><command>setlock</command> locks a file and runs a program.</para></sect3>
    8791
    8892</sect2>
  • basicnet/djb/daemontools/daemontools-exp.xml

    raf68f984 r29f033a  
    44<para>The first thing to understand in installing any package written
    55by Daniel J. Bernstein, and
    6 this includes qmail, djbdns and ucspi-tcp in addition to daemontools, is
    7 that he is willing to completely disregard standards if his idea of the
    8 correct thing to do differs from an particular standard. Professor
    9 Bernstein is a standards body unto himself when it comes to his own
    10 software. </para>
     6this includes <application>qmail</application>, <application>djbdns
     7</application> and <application>ucspi-tcp</application> in addition to
     8<application>daemontools</application>, is that he is willing to completely
     9disregard standards if his idea of the correct thing to do differs from an
     10particular standard. Professor Bernstein is a standards body unto himself when
     11it comes to his own software. </para>
    1112
    1213<para>It is therefore necessary to make quite a few changes to the
    1314installation commands for his packages to get them to install in a manner
    14 that is compliant with the Filesystem Hierarchy Standard (FHS). Most of
    15 the following commands are due to this difficulty.</para>
     15that is compliant with the Filesystem Hierarchy Standard
     16(<acronym>FHS</acronym>). Most of the following commands are due to this
     17difficulty.</para>
    1618
    17 <para><userinput>cd admin/daemontools-0.76</userinput> : First off, the
    18 package is unpacked in an <filename>admin</filename> directory. You will find the actual
     19<para><command>cd admin/daemontools-0.76</command> : First off, the package is
     20unpacked in an <filename>admin</filename> directory. You will find the actual
    1921packages two directory levels below this.</para>
    2022
    21 <para><userinput>package/compile</userinput> : This command actually
     23<para><command>package/compile</command> : This command actually
    2224compiles the source and prepares the binaries.</para>
    2325
    24 <para>Since we are installing the binaries in
    25 <filename>/usr/sbin</filename> rather than creating
    26 a non-standard <filename>/command</filename> directory, several paths have to be changed:</para>
    27 <para><screen><userinput>sed 's|command|usr/sbin|' boot.inittab &gt; boot.inittab~</userinput>
    28 <userinput>mv boot.inittab~ boot.inittab</userinput></screen></para>
     26<para>Since we are installing the binaries in <filename>/usr/sbin</filename>
     27rather than creating a non-standard <filename>/command</filename> directory,
     28several paths have to be changed:</para>
     29<screen><command>sed 's|command|usr/sbin|' boot.inittab &gt; boot.inittab~
     30mv boot.inittab~ boot.inittab</command></screen>
    2931<para>In <filename>boot.inittab</filename>,
    3032<filename>/command/svscanboot</filename> is changed to
    3133<filename>/usr/sbin/svscanboot</filename>.</para>
    3234
    33 <para><screen><userinput>sed -e 's|/command:/usr/local/bin:/usr/local/sbin:||' \</userinput>
    34 <userinput>    -e 's|command|usr/sbin|' \</userinput>
    35 <userinput>    -e 's|/service|/etc/service|g' svscanboot &gt; svscanboot~ &amp;&amp;</userinput></screen></para>
    36 <para>Here various paths are adjusted in the svscanboot script. In our setup svscan
    37 will check the <filename>/etc/service</filename> directory instead of
    38 the <filename>/service</filename> directory for
    39 daemons to run.</para>
     35<screen><command>sed -e 's|/command:/usr/local/bin:/usr/local/sbin:||' \
     36    -e 's|command|usr/sbin|' \
     37    -e 's|/service|/etc/service|g' svscanboot &gt; svscanboot~ &amp;&amp;</command></screen>
     38<para>Here various paths are adjusted in the svscanboot script. In our setup
     39svscan will check the <filename>/etc/service</filename> directory instead of
     40the <filename>/service</filename> directory for daemons to run.</para>
    4041
    41 <para><userinput>cp * /usr/sbin</userinput> : We must manually copy the
     42<para><command>cp * /usr/sbin</command> : We must manually copy the
    4243binaries to the <filename>/usr/sbin</filename> directory.</para>
    4344
    44 <para><screen><userinput>cat /etc/inittab boot.inittab &gt; /etc/inittab~</userinput>
    45 <userinput>mv -f /etc/inittab~ /etc/inittab</userinput></screen>
    46 These commands append a line to <filename>/etc/inittab</filename> so that init will launch
    47 the svscanboot script.</para>
     45<para><screen><command>cat /etc/inittab boot.inittab &gt; /etc/inittab~
     46mv -f /etc/inittab~ /etc/inittab</command></screen>
     47These commands append a line to <filename>/etc/inittab</filename> so that
     48<command>init</command> will launch the <command>svscanboot</command> script.
     49</para>
    4850
    49 <para><userinput>mkdir /etc/service</userinput> : This command creates
     51<para><command>mkdir /etc/service</command> : This command creates
    5052the daemontools control directory, which - even if empty - needs to exist for
    51 daemontools to run properly.</para>
     53<application>daemontools</application> to run properly.</para>
    5254
    53 <para><userinput>telinit Q</userinput> : This command tells the init
    54 process to re-read its configuration file (inittab) and act upon any
    55 changes that have been made. The svscanboot script is started.</para>
     55<para><command>telinit Q</command> : This command tells the <command>init
     56</command> process to re-read its configuration file
     57(<filename>inittab</filename>) and act upon any changes that have been made.
     58The <command>svscanboot</command> script is started.</para>
    5659
    5760
  • basicnet/djb/daemontools/daemontools-inst.xml

    raf68f984 r29f033a  
    11<sect2>
    2 <title>Installation of daemontools</title>
     2<title>Installation of <application>daemontools</application></title>
    33
    4 <para>Install daemontools by running the following commands:</para>
     4<para>Install <application>daemontools</application> by running the following
     5commands:</para>
    56
    6 <para><screen><userinput>cd admin/daemontools-0.76 &amp;&amp;
     7<screen><userinput><command>cd admin/daemontools-0.76 &amp;&amp;
    78patch -Np1 -i ../../daemontools-0.76.errno.patch &amp;&amp;
    89package/compile &amp;&amp;
     
    2122mv -f /etc/inittab~ /etc/inittab &amp;&amp;
    2223mkdir /etc/service &amp;&amp;
    23 telinit Q</userinput></screen></para>
     24telinit Q</command></userinput></screen>
    2425
    2526</sect2>
  • basicnet/djb/daemontools/daemontools-intro.xml

    raf68f984 r29f033a  
    11<sect2>
    2 <title>Introduction to Daemontools</title>
     2<title>Introduction to <application>daemontools</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&daemontools-download-http;"/>
    5 Download location (FTP):        <ulink url="&daemontools-download-ftp;"/>
    6 Version used:                   &daemontools-version;
    7 Package size:                   &daemontools-size;
    8 Estimated Disk space required:  &daemontools-buildsize;</screen>
    9 <screen>Additional downloads:
    10 <ulink url="ftp://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch">daemontools errno patch</ulink></screen>
    11 <para>The daemontools package is a replacement for inetd or xinetd. The main
    12 reason for using it here is because it is recommended for use with qmail
    13 and djbdns.</para>
     4<para>The <application>daemontools</application> package is a replacement for
     5<application>inetd</application> or <application>xinetd</application>. The main
     6reason for using it here is because it is recommended for use with
     7<application>qmail</application> and <application>djbdns</application>.</para>
     8
     9<sect3><title>Package information</title>
     10<itemizedlist spacing='compact'>
     11<listitem><para>Download (HTTP): <ulink
     12url="&daemontools-download-http;"/></para></listitem>
     13<listitem><para>Download (FTP): <ulink
     14url="&daemontools-download-ftp;"/></para></listitem>
     15<listitem><para>Download size: &daemontools-size;</para></listitem>
     16<listitem><para>Estimated Disk space required:
     17&daemontools-buildsize;</para></listitem>
     18<listitem><para>Estimated build time:
     19&daemontools-time;</para></listitem></itemizedlist>
     20</sect3>
     21
     22<sect3><title>Additional downloads</title>
     23<itemizedlist spacing='compact'>
     24<listitem><para>Required patch:
     25<ulink
     26url="ftp://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch">daemontools
     27errno patch</ulink></para></listitem></itemizedlist>
     28</sect3>
     29
    1430
    1531</sect2>
  • basicnet/djb/daemontools/daemontools-man-desc.xml

    raf68f984 r29f033a  
    22<title>Contents</title>
    33
    4 <para>The daemontools-man package contains man pages for the daemontools
    5 commands <userinput>envdir</userinput>,
    6 <userinput>envuidgid</userinput>, <userinput>fghack</userinput>,
    7 <userinput>multilog</userinput>, <userinput>pgrphack</userinput>,
    8 <userinput>readproctitle</userinput>, <userinput>setlock</userinput>,
    9 <userinput>setuidgid</userinput>, <userinput>softlimit</userinput>,
    10 <userinput>supervise</userinput>, <userinput>svc</userinput>,
    11 <userinput>svok</userinput>, <userinput>svscan</userinput>,
    12 <userinput>svscanboot</userinput>, <userinput>svstat</userinput>,
    13 <userinput>tai64n</userinput> and
    14 <userinput>tai64nlocal</userinput>.</para>
     4<para>The <application>daemontools-man</application> package contains man pages
     5for the <application>daemontools</application> commands
     6<command>envdir</command>,
     7<command>envuidgid</command>, <command>fghack</command>,
     8<command>multilog</command>, <command>pgrphack</command>,
     9<command>readproctitle</command>, <command>setlock</command>,
     10<command>setuidgid</command>, <command>softlimit</command>,
     11<command>supervise</command>, <command>svc</command>,
     12<command>svok</command>, <command>svscan</command>,
     13<command>svscanboot</command>, <command>svstat</command>,
     14<command>tai64n</command> and
     15<command>tai64nlocal</command>.</para>
    1516
    1617</sect2>
  • basicnet/djb/daemontools/daemontools-man-exp.xml

    raf68f984 r29f033a  
    22<title>Command explanations</title>
    33
    4 <para><userinput>gzip -9 *.8</userinput> : You can compress the man pages
     4<para><command>gzip -9 *.8</command> : You can compress the man pages
    55to save space, but it isn't needed for the man pages to work.</para>
    66
  • basicnet/djb/daemontools/daemontools-man-inst.xml

    raf68f984 r29f033a  
    11<sect2>
    2 <title>Installation of daemontools</title>
     2<title>Installation of <application>daemontools-man</application></title>
    33
    4 <para>Install daemontools by running the following commands:</para>
     4<para>Install <application>daemontools-man</application> by running the
     5following commands:</para>
    56
    6 <para><screen><userinput>cd daemontools-man &amp;&amp;
     7<screen><userinput><command>cd daemontools-man &amp;&amp;
    78gzip -9 *.8 &amp;&amp;
    89package/compile &amp;&amp;
    9 cp *.8.gz /usr/share/man/man8/</userinput></screen></para>
     10cp *.8.gz /usr/share/man/man8/</command></userinput></screen>
    1011</sect2>
    1112
  • basicnet/djb/daemontools/daemontools-man-intro.xml

    raf68f984 r29f033a  
    11<sect2>
    2 <title>Introduction to Daemontools-man</title>
     2<title>Introduction to <application>daemontools-man</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&daemontools-man-download-http;"/>
    5 Download location (FTP):        <ulink url="&daemontools-man-download-ftp;"/>
    6 Version used:                   &daemontools-man-version;
    7 Package size:                   &daemontools-man-size;
    8 Estimated Disk space required:  &daemontools-man-buildsize;</screen>
    94
    10 <para>The Daemontools package does not come with man pages, so install
    11 this package if you want online help with the daemontools programs.</para>
     5<para>The <application>daemontools</application> package does not come with
     6man pages, so install this package if you want online help with the
     7<application>daemontools</application> programs.</para>
     8
     9<sect3><title>Package information</title>
     10<itemizedlist spacing='compact'>
     11<listitem><para>Download (HTTP): <ulink
     12url="&daemontools-man-download-http;"/></para></listitem>
     13<listitem><para>Download (FTP): <ulink
     14url="&daemontools-man-download-ftp;"/></para></listitem>
     15<listitem><para>Download size: &daemontools-man-size;</para></listitem>
     16<listitem><para>Estimated Disk space required:
     17&daemontools-man-buildsize;</para></listitem>
     18<listitem><para>Estimated build time:
     19&daemontools-man-time;</para></listitem></itemizedlist>
     20</sect3>
     21
    1222
    1323</sect2>
  • basicnet/djb/daemontools/daemontools.ent

    raf68f984 r29f033a  
    99<!ENTITY daemontools-download-ftp "">
    1010<!ENTITY daemontools-size "162 KB">
     11<!ENTITY daemontools-time "">
    1112
    1213<!ENTITY daemontools-man SYSTEM "../daemontools-man.xml">
     
    2021<!ENTITY daemontools-man-download-ftp "">
    2122<!ENTITY daemontools-man-size "8 KB">
     23<!ENTITY daemontools-man-time "">
  • basicnet/djb/djb.xml

    raf68f984 r29f033a  
    11<chapter id="basicnet-djb">
    22<?dbhtml filename="djb.html" dir="basicnet"?>
    3 <title>DJB's Utilities</title>
     3<title>D.J. Bernstein's Utilities</title>
     4
     5<para>This chapter includes applicatons needed for the qmail server.
     6Their installation instructions are different than most packages in the
     7book because we want to support the <acronym>FHS</acronym> throughout
     8the book.</para>
    49
    510&daemontools;
  • basicnet/djb/ucspi-tcp/ucspi-tcp-desc.xml

    raf68f984 r29f033a  
    22<title>Contents</title>
    33
    4 <para>The ucspi-tcp package contains <userinput>tcpserver</userinput>,
    5 <userinput>tcprules</userinput>, <userinput>tcprulescheck</userinput>,
    6 <userinput>argv0</userinput>, <userinput>fixcrio</userinput>,
    7 <userinput>recordio</userinput>, <userinput>rblsmtpd</userinput>,
    8 <userinput>tcpclient</userinput>, <userinput>who@</userinput>,
    9 <userinput>date@</userinput>, <userinput>finger@</userinput>,
    10 <userinput>http@</userinput>, <userinput>tcpcat</userinput>,
    11 <userinput>mconnect</userinput>, <userinput>addcr</userinput> and
    12 <userinput>delcr</userinput></para>
     4<para>The ucspi-tcp package contains <command>tcpserver</command>,
     5<command>tcprules</command>, <command>tcprulescheck</command>,
     6<command>argv0</command>, <command>fixcrio</command>,
     7<command>recordio</command>, <command>rblsmtpd</command>,
     8<command>tcpclient</command>, <command>who@</command>,
     9<command>date@</command>, <command>finger@</command>,
     10<command>http@</command>, <command>tcpcat</command>,
     11<command>mconnect</command>, <command>addcr</command> and
     12<command>delcr</command></para>
    1313
    1414<para>You can also find detailed descriptions of each of these programs at
     
    2020
    2121<sect3><title>tcpserver</title>
    22 <para>tcpserver listens for incoming tcp connections on a given port, and runs
    23 a program of your choosing in response to a connection.</para></sect3>
     22<para><command>tcpserver</command> listens for incoming <acronym>TCP</acronym>
     23connections on a given port, and runs a program of your choosing in response to
     24a connection.</para></sect3>
    2425
    2526<sect3><title>tcprules</title>
    26 <para>tcprules compiles rules that govern access control for tcpserver into a
    27 fast access database format.</para></sect3>
     27<para><command>tcprules</command> compiles rules that govern access
     28control for <command>tcpserver</command> into a fast access database format.
     29</para></sect3>
    2830
    2931<sect3><title>tcprulescheck</title>
    30 <para>tcprulescheck makes it possible to see how tcpserver will react to
    31 connections from a given address without actually having to connect via that
    32 address. This is useful for checking to see if the access control rules you
    33 are using are doing what you expected.</para></sect3>
     32<para><command>tcprulescheck</command> makes it possible to see how
     33<command>tcpserver</command> will react to connections from a given address
     34without actually having to connect via that address. This is useful for
     35checking to see if the access control rules you are using are doing what you
     36expected.</para></sect3>
    3437
    3538<sect3><title>argv0</title>
    36 <para>argv0 runs a given program with a specified 0th argument.</para></sect3>
     39<para><command>argv0</command> runs a given program with a specified 0th
     40argument.</para></sect3>
    3741
    3842<sect3><title>fixcrio</title>
    39 <para>fixcrio inserts carriage returns at the end of lines when they are
    40 missing.</para></sect3>
     43<para><command>fixcrio</command> inserts carriage returns at the end of lines
     44when they are missing.</para></sect3>
    4145
    4246<sect3><title>recordio</title>
    43 <para>recordio records all input and output of a program given as an
    44 argument.</para></sect3>
     47<para><command>recordio</command> records all input and output of a program
     48given as an argument.</para></sect3>
    4549
    4650<sect3><title>rblsmtpd</title>
    47 <para>rblsmtpd is a spam blocking program that works in conjunction with your
    48 smtp daemon and tcpserver.</para></sect3>
     51<para><command>rblsmtpd</command> is a spam blocking program that works in
     52conjunction with your <acronym>SMTP</acronym> daemon and <command>tcpserver
     53</command>.</para></sect3>
    4954
    5055<sect3><title>tcpclient</title>
    51 <para>tcpclient creates a connection to a tcp port for a given
    52 program.</para></sect3>
     56<para><command>tcpclient</command> creates a connection to a <acronym>TCP
     57</acronym> port for a given program.</para></sect3>
    5358
    5459<sect3><title>who@</title>
    55 <para>who@ is a demonstration program using tcpclient that has the
    56 functionality of the rwho program. It requires a server running sysstat
    57 on port 11.</para></sect3>
     60<para><command>who@</command> is a demonstration program using <command>
     61tcpclient</command> that has the functionality of the <command>rwho</command>
     62program. It requires a server running <command>sysstat</command> on port 11.
     63</para></sect3>
    5864
    5965<sect3><title>date@</title>
    60 <para>date@ is a demonstration program using tcpclient that will return the
    61 system time of a remote host which is running a daytime service on
    62 port 13.</para></sect3>
     66<para><command>date@</command> is a demonstration program using <command>
     67tcpclient</command> that will return the system time of a remote host which
     68is running a <command>daytime</command> service on port 13.</para></sect3>
    6369
    6470<sect3><title>finger@</title>
    65 <para>finger@ is a demonstration program using tcpclient that mimics the
    66 functionality of the finger program. It requires a server running fingerd
     71<para><command>finger@</command> is a demonstration program using <command>
     72tcpclient</command> that mimics the functionality of the <command>finger
     73</command> program. It requires a server running <command>fingerd</command>
    6774on port 79.</para></sect3>
    6875
    6976<sect3><title>http@</title>
    70 <para>http@ downloads web pages from web servers.</para></sect3>
     77<para><command>http@</command> downloads web pages from web servers.</para>
     78</sect3>
    7179
    7280<sect3><title>tcpcat</title>
    73 <para>tcpcat connects to a tcp port and prints all that is returned from the
    74 port.</para></sect3>
     81<para><command>tcpcat</command> connects to a <acronym>TCP</acronym> port and
     82prints all that is returned from the port.</para></sect3>
    7583
    7684<sect3><title>mconnect</title>
    77 <para>mconnect connects to a tcp port, delivers any input specified to the
    78 port, and prints any output from the port.</para></sect3>
     85<para><command>mconnect</command> connects to a <acronym>TCP</acronym> port,
     86delivers any input specified to the port, and prints any output from the port.
     87</para></sect3>
    7988
    8089<sect3><title>addcr</title>
    81 <para>addcr adds carriage returns to files. This and delcr are useful for
    82 converting between Windows to UNIX file formats.</para></sect3>
     90<para><command>addcr</command> adds carriage returns to files. This and
     91<command>delcr</command> are useful for converting between Windows to UNIX file
     92formats.</para></sect3>
    8393
    8494<sect3><title>delcr</title>
    85 <para>delcr removes carriage returns from files.</para></sect3>
     95<para><command>delcr</command> removes carriage returns from files.</para>
     96</sect3>
    8697
    8798</sect2>
  • basicnet/djb/ucspi-tcp/ucspi-tcp-exp.xml

    raf68f984 r29f033a  
    88These commands change the installation directory to
    99<filename>/usr/sbin</filename> from the default
    10 of <filename>/usr/local/bin</filename>. Since these tools are used in conjunction with daemons,
     10of <filename>/usr/local/bin</filename>. Since these tools are used in
     11conjunction with daemons,
    1112they don't make much sense in general user directories. However, some of the
    1213example programs and the tcpclient program might be of use to non-root users.
    1314If you wish to make these available, then we would suggest installing as above,
    1415and then executing the following commands:
    15 <screen><userinput>cd /usr/sbin
    16 mv tcpclient *@ mconnect delcr addcr tcpcat /usr/bin</userinput></screen>This
    17 will place the client related programs into <filename>/usr/bin</filename> for general use.</para>
     16<screen><userinput>cd /usr/sbin mv tcpclient *@ mconnect delcr addcr tcpcat /usr/bin</userinput></screen>
     17This will place the client related programs into <filename>/usr/bin</filename>
     18for general use.</para>
    1819
    1920</sect2>
  • basicnet/djb/ucspi-tcp/ucspi-tcp-inst.xml

    raf68f984 r29f033a  
    11<sect2>
    2 <title>Installation of ucspi-tcp</title>
     2<title>Installation of <application>ucspi-tcp</application></title>
    33
    4 <para>Install ucspi-tcp by running the following commands:</para>
    5 <para><screen><userinput>patch -Np1 -i ../ucspi-tcp-0.88.errno.patch &amp;&amp;
    6 sed 's|/usr/local|/usr|' conf-home &gt; conf-home~ &amp;&amp;</userinput>
    7 <userinput>mv conf-home~ conf-home &amp;&amp;</userinput>
    8 <userinput>sed 's/bin/sbin/' hier.c &gt; hier.c~ &amp;&amp;</userinput>
    9 <userinput>mv hier.c~ hier.c &amp;&amp;</userinput>
    10 <userinput>make &amp;&amp;</userinput>
    11 <userinput>make setup check</userinput></screen></para>
     4<para>Install <application>ucspi-tcp</application> by running the following
     5commands:</para>
     6
     7<screen><userinput><command>patch -Np1 -i ../ucspi-tcp-0.88.errno.patch &amp;&amp;
     8sed 's|/usr/local|/usr|' conf-home &gt; conf-home~ &amp;&amp;
     9mv conf-home~ conf-home &amp;&amp;
     10sed 's/bin/sbin/' hier.c &gt; hier.c~ &amp;&amp;
     11mv hier.c~ hier.c &amp;&amp;
     12make &amp;&amp;
     13make setup check</command></userinput></screen>
    1214
    1315</sect2>
  • basicnet/djb/ucspi-tcp/ucspi-tcp-intro.xml

    raf68f984 r29f033a  
    11<sect2>
    2 <title>Introduction to ucspi-tcp</title>
     2<title>Introduction to <application>ucspi-tcp</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&ucspi-tcp-download-http;"/>
    5 Download location (FTP):        <ulink url="&ucspi-tcp-download-ftp;"/>
    6 Version used:                   &ucspi-tcp-version;
    7 Package size:                   &ucspi-tcp-size;
    8 Estimated Disk space required:  &ucspi-tcp-buildsize;</screen>
    9 <screen>Additional downloads:
    10 <ulink url="ftp://moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch">ucspi-tcp errno patch</ulink></screen>
     4<para>The <application>ucspi-tcp</application> package consists of a suite of
     5tools that allow the easy creation of client-server tcp daemons. <command>
     6tcpserver</command> is a more secure alternative to <command>inetd</command>.
     7It has built in functionality for rule based access control, and
     8will gracefully defer connections when the configurable maximum load is reached,
     9unlike <command>inetd</command>. <command>tcpserver</command> is also
     10recommended for use with <application>qmail</application>, and was written by
     11the same author.</para>
    1112
    12 <para>The ucspi-tcp package consists of a suite of tools that allow the easy
    13 creation of client-server tcp daemons. Tcpserver is a more secure alternative
    14 to inetd. It has built in functionality for rule based access control, and
    15 will gracefully defer connections when the configurable maximum load is reached,
    16 unlike inetd. Tcpserver is also recommended for use with Qmail, and was
    17 written by the same author.</para>
     13<sect3><title>Package information</title>
     14<itemizedlist spacing='compact'>
     15<listitem><para>Download (HTTP): <ulink
     16url="&ucspi-tcp-download-http;"/></para></listitem>
     17<listitem><para>Download (FTP): <ulink
     18url="&ucspi-tcp-download-ftp;"/></para></listitem>
     19<listitem><para>Download size: &ucspi-tcp-size;</para></listitem>
     20<listitem><para>Estimated Disk space required:
     21&ucspi-tcp-buildsize;</para></listitem>
     22<listitem><para>Estimated build time:
     23&ucspi-tcp-time;</para></listitem></itemizedlist>
     24</sect3>
     25
     26<sect3><title>Additional downloads</title>
     27<itemizedlist spacing='compact'>
     28<listitem><para>Required patch: <ulink
     29url="ftp://moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch">ucspi-tcp
     30errno patch</ulink>
     31</para></listitem></itemizedlist>
     32</sect3>
    1833
    1934</sect2>
  • basicnet/djb/ucspi-tcp/ucspi-tcp.ent

    raf68f984 r29f033a  
    99<!ENTITY ucspi-tcp-download-ftp "">
    1010<!ENTITY ucspi-tcp-size "56 KB">
     11<!ENTITY ucspi-tcp-time "">
Note: See TracChangeset for help on using the changeset viewer.