Changeset 9f729d3 for server


Ignore:
Timestamp:
06/25/2004 04:06:01 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
dfe49be
Parents:
c90376c1
Message:

updated to Leafnode-1.10.0

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/leafnode.xml

    rc90376c1 r9f729d3  
    66
    77<!ENTITY leafnode-download-http "http://prdownloads.sourceforge.net/leafnode/leafnode-&leafnode-version;.rel.tar.bz2">
    8 <!ENTITY leafnode-download-ftp " ">
    9 <!ENTITY leafnode-size "614 KB">
    10 <!ENTITY leafnode-buildsize "14 MB">
     8<!ENTITY leafnode-download-ftp "ftp://ftp.gwdg.de/pub/linux/mirrors/sunsite/system/news/transport/leafnode-&leafnode-version;.rel.tar.bz2">
     9<!ENTITY leafnode-size "383 KB">
     10<!ENTITY leafnode-buildsize "8.8 MB">
    1111<!ENTITY leafnode-time "0.11 SBU">
    1212
     
    3636<para><xref linkend="pcre"/> and <xref linkend="tcpwrappers"/>
    3737</para></sect4>
     38<sect4><title>Recommended</title>
     39<para><xref linkend="xinetd"/></para></sect4>
    3840</sect3>
    3941
     
    5153commands:</para>
    5254
    53 <screen><userinput><command>./configure --prefix=/usr --localstatedir=/var \
    54     --sysconfdir=/etc/news --with-lockfile=/var/lock/fetchnews.lck &amp;&amp;
     55<screen><userinput><command>./configure --prefix=/usr \
     56    --localstatedir=/var --sysconfdir=/etc/leafnode \
     57    --with-lockfile=/var/lock/leafnode/fetchnews.lck &amp;&amp;
    5558make &amp;&amp;
    56 make install &amp;&amp;
    57 ldconfig &amp;&amp;
    58 make update</command></userinput></screen>
     59make install</command></userinput></screen>
     60<!-- ldconfig &amp;&amp; -->
     61<!-- make update</command></userinput></screen> -->
    5962
    6063</sect2>
     
    6669spool directory of <filename class="directory">/usr/var</filename>.</para>
    6770
    68 <para><parameter>--sysconfdir=/etc/news</parameter>: leafnode reads its
    69 configuration data from a file called <filename>config</filename> which
    70 will be created in <filename class="directory">/etc/news</filename> to
     71<para><parameter>--sysconfdir=/etc/leafnode</parameter>:
     72<application>Leafnode</application> reads its configuration data from a file
     73called <filename>config</filename> which will be created in
     74<filename class="directory">/etc/leafnode</filename> to
    7175avoid any potential conflict with other packages.</para>
    7276
    73 <para><command>make update</command>: Create an initial
    74 <filename>/etc/news/config.example</filename> file, which must be
    75 renamed to <filename>/etc/news/config</filename>.</para>
     77<para><command>make update</command>: Run this command if you are upgrading
     78from a very old version of <application>Leafnode</application>.</para>
    7679
    7780</sect2>
     
    8184
    8285<sect3><title>Config files</title>
    83 <para><filename>/etc/news/config</filename>,
    84 <filename>/etc/inetd.conf</filename> or
    85 <filename>/etc/xinetd.conf</filename></para>
     86<para><filename>/etc/leafnode/config</filename>,
     87<filename>/etc/xinetd.conf</filename> or
     88<filename>/etc/inetd.conf</filename></para></sect3>
     89
     90<sect3><title>Configuration commands</title>
     91
     92<para>The <filename>/etc/leafnode/config</filename> file must be
     93edited to reflect the name of the upstream <acronym>NNTP</acronym>
     94provider. Copy the example configuration file to
     95<filename>/etc/leafnode/config</filename> and save the original for
     96reference:</para>
     97
     98<screen><userinput><command>cp /etc/leafnode/config.example /etc/leafnode/config</command></userinput></screen>
     99
     100<para>Change the
     101<screen><userinput>server = </userinput></screen>
     102entry to reflect your news provider.</para>
     103
     104<para>The <filename>/etc/nntpserver</filename> file must contain 127.0.0.1 to
     105prevent news clients from reading news from the upstream feed. Create this
     106file using the following command:</para>
     107
     108<screen><userinput><command>cat &gt; /etc/nntpserver &lt;&lt; "EOF"</command>
     109127.0.0.1
     110<command>EOF</command></userinput></screen>
     111
     112<para>The <command>/etc/rc.d/init.d/cleanfs</command> script, part of the
     113<acronym>LFS</acronym> bootscript package, will remove the
     114<filename class="directory">/var/lock/leafnode</filename> directory during
     115the system boot sequence. Install the following line in the
     116<filename>/etc/sysconfig/createfiles</filename> file to re-create the
     117directory:</para>
     118
     119<screen><userinput>/var/lock/leafnode   dir   2775   news   news</userinput></screen>
    86120
    87121<para><application>Leafnode</application> may be configured to use
    88 <command>inetd</command> by adding an entry
    89 to the <filename>/etc/inetd.conf</filename> file with the following
     122<command>inetd</command> by adding an entry to the
     123<filename>/etc/inetd.conf</filename> file with the following
    90124command:</para>
    91125
     
    97131
    98132<para>Alternatively, <application>Leafnode</application> may be configured to
    99 use <command>xinetd</command> by adding an entry to the <filename>
    100 /etc/xinetd.conf</filename> file with the following command:</para>
    101 
    102 <screen><userinput><command>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF" </command>
     133use <command>xinetd</command> by adding an entry to the
     134<filename>/etc/xinetd.conf</filename> file with the following command:</para>
     135
     136<screen><userinput><command>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</command>
    103137        service nntp
    104138        {
     
    118152changed <filename>xinetd.conf</filename> file.</para>
    119153
    120 <para>The <filename>/etc/news/config</filename> file must be
    121 edited to reflect the name of the upstream <acronym>NNTP</acronym>
    122 provider. Copy the
    123 example configuration file to <filename>/etc/news/config</filename>
    124 and save the original for reference: </para>
    125 
    126 <screen><userinput><command>cp /etc/news/config.example /etc/news/config
    127 </command></userinput></screen>
    128 
    129 <para>Change the
    130 <screen><userinput>server = </userinput></screen>
    131 entry to reflect your news provider.</para>
    132 
    133 <para>The <envar>NNTPSERVER</envar> environment variable must be set to
    134 127.0.0.1 to prevent news clients from reading news from the upstream feed,
    135 so add the following to <filename>/etc/profile</filename> or
    136 <filename>$HOME/.bash_profile</filename>:</para>
    137 
    138 <screen><userinput><command>export NNTPSERVER=127.0.0.1</command></userinput></screen>
     154<para>Add entries to the root or news user's crontab to run the
     155<command>fetchnews</command> and <command>texpire</command> commands at the
     156desired time intervals.</para>
    139157
    140158</sect3>
     
    152170<command>checkgroups</command>,
    153171<command>fetchnews</command> and
    154 <command>newsq.</command></para></sect2>
     172<command>newsq.</command></para>
     173</sect2>
    155174
    156175<sect2><title>Description</title>
     
    161180
    162181<sect3><title>leafnode</title>
    163 <para><command>leafnode</command> is the <acronym>NNTP</acronym> server daemon.</para></sect3>
     182<para><command>leafnode</command> is the <acronym>NNTP</acronym>
     183server daemon.</para></sect3>
    164184
    165185<sect3><title>applyfilter</title>
    166 <para><command>applyfilter</command> filters newsgroup articles according to regular
    167 expressions.</para></sect3>
     186<para><command>applyfilter</command> filters newsgroup articles according
     187to regular expressions.</para></sect3>
    168188
    169189<sect3><title>texpire</title>
    170 <para><command>texpire</command> expires old articles and unread groups.</para></sect3>
     190<para><command>texpire</command> expires old articles and unread
     191groups.</para></sect3>
    171192
    172193<sect3><title>checkgroups</title>
    173 <para><command>checkgroups</command> inserts newsgroup titles into the newsgroup
    174 database.</para></sect3>
     194<para><command>checkgroups</command> inserts newsgroup titles into the
     195newsgroup database.</para></sect3>
    175196
    176197<sect3><title>fetchnews</title>
    177 <para><command>fetchnews</command> sends posted articles to and retrieves new articles
    178 from an upstream news server.</para></sect3>
     198<para><command>fetchnews</command> sends posted articles to and retrieves
     199new articles from an upstream news server.</para></sect3>
    179200
    180201<sect3><title>newsq</title>
    181 <para><command>newsq</command> shows articles waiting to be sent upstream.</para></sect3>
     202<para><command>newsq</command> shows articles waiting to be sent
     203upstream.</para></sect3>
    182204
    183205</sect2>
    184206
    185207</sect1>
    186 
Note: See TracChangeset for help on using the changeset viewer.