Index: server/other/leafnode/leafnode-config.xml
===================================================================
--- server/other/leafnode/leafnode-config.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
+++ server/other/leafnode/leafnode-config.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
@@ -0,0 +1,63 @@
+
+Configuring leafnode
+
+Config files
+/etc/leafnode/config,
+/etc/inetd.conf, /etc/xinetd.conf
+
+leafnode may be configured to use inetd or xinetd as follows:
+
+
+inetd configuration
+Add a leafnode entry to the /etc/inetd.conf
+file with the following command:
+
+echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \
+>> /etc/inetd.conf &&
+
+
+xinetd configuration
+Add a leafnode entry to the /etc/xinetd.conf
+file with the following command:
+
+cat >> /etc/xinetd.conf << "EOF"
+ service nntp
+ {
+ flags = NAMEINARGS NOLIBWRAP
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = news
+ server = /usr/sbin/tcpd
+ server_args = /usr/sbin/leafnode
+ instances = 7
+ per_source = 3
+ }
+EOF
+
+
+
+The /etc/news/config file must be
+edited to reflect the name of the upstream NNTP provider. Copy the
+example configuration file to /etc/news/config
+and save the original for reference :
+
+
+cp /etc/news/config.example /etc/news/config
+
+Change the
+server =
+entry to reflect your news provider.
+
+The NNTPSERVER environment variable must be set to 127.0.0.1 to
+prevent news clients from reading news from the upstream feed, add the
+following to /etc/profile or
+$HOME/.bash_profile :
+
+export NNTPSERVER=127.0.0.1
+
+
+
+
+
+
Index: server/other/leafnode/leafnode-desc.xml
===================================================================
--- server/other/leafnode/leafnode-desc.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
+++ server/other/leafnode/leafnode-desc.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
@@ -0,0 +1,37 @@
+
+Contents
+
+The leafnode package contains
+leafnode,
+applyfilter,
+texpire,
+checkgroups,
+fetchnews and
+newsq.
+
+Description
+
+leafnode
+leafnode is the NNTP server daemon.
+
+applyfilter
+applyfilter filters newsgroup articles according to regular
+expressions.
+
+texpire
+texpire expires old articles and unread groups.
+
+checkgroups
+checkgroups inserts newsgroup titles into the newsgroup
+database.
+
+fetchnews
+fetchnews sends posted articles to and retrieves new articles
+from an upstream news server.
+
+newsq
+newsq shows articles waiting to be sent upstream.
+
+
+
+
Index: server/other/leafnode/leafnode-exp.xml
===================================================================
--- server/other/leafnode/leafnode-exp.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
+++ server/other/leafnode/leafnode-exp.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
@@ -0,0 +1,26 @@
+
+Installation command explanations
+
+
+groupadd news
+useradd -g news news :
+
+Create the group and user news, if not present. Errors
+resulting from an already existing user or group news may be
+ignored.
+
+ --prefix=/usr :
+Change the default installation directory of /usr/local.
+
+ --sysconfdir=/etc/news :
+leafnode reads it's configuration data from an file called
+config, this with be created in
+/etc/news to avoid any potential conflict with
+other packages.
+
+
+ make update :
+Create an initial /etc/news/config.example file,
+which must be renamed to /etc/news/config.
+
+
Index: server/other/leafnode/leafnode-inst.xml
===================================================================
--- server/other/leafnode/leafnode-inst.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
+++ server/other/leafnode/leafnode-inst.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
@@ -0,0 +1,15 @@
+
+Installation of leafnode
+
+Install leafnode by running the following commands:
+
+groupadd news
+useradd -g news news
+./configure --prefix=/usr --sysconfdir=/etc/news &&
+make &&
+make install &&
+ldconfig &&
+make update
+
+
+
Index: server/other/leafnode/leafnode-intro.xml
===================================================================
--- server/other/leafnode/leafnode-intro.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
+++ server/other/leafnode/leafnode-intro.xml (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
@@ -0,0 +1,14 @@
+
+Introduction to leafnode-&leafnode-version;
+
+Download location (HTTP):
+Version used: &leafnode-version;
+Package size: &leafnode-size;
+Estimated Disk space required: &leafnode-buildsize;
+
+leafnode is an NNTP server designed for small sites to provide a
+local USENET spool.
+
+leafnode depends on:
+
+
Index: server/other/leafnode/leafnode.ent
===================================================================
--- server/other/leafnode/leafnode.ent (revision f45b195302d36939467202524156f38e0369b4f2)
+++ server/other/leafnode/leafnode.ent (revision 5f5a39311961289ef5594ea28f789c3851b79d37)
@@ -1,1 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+