1999-04-03 01:01:15 +00:00
|
|
|
--- FAQ.orig Fri Jan 29 13:01:52 1999
|
|
|
|
+++ FAQ Sat Jan 30 22:17:12 1999
|
|
|
|
@@ -41,8 +41,8 @@
|
|
|
|
5. How do I configure Leafnode+?
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
See the manual pages for information on how to configure Leafnode+.
|
|
|
|
-Also, see the sample configuration file, "config.example", in the
|
|
|
|
-Leafnode+ distribution.
|
|
|
|
+Also, see the sample configuration file, "config.example", in
|
1999-07-04 19:40:37 +00:00
|
|
|
+@PREFIX@/share/doc/leafnode+.
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
6. How do I upgrade from Leafnode?
|
|
|
|
@@ -50,8 +50,8 @@
|
|
|
|
Upgrading is easy - Leafnode+ can be used as a direct replacement
|
|
|
|
for Leafnode. However, Leafnode+ will write some additional files in
|
|
|
|
the LIBDIR defined when compiling Leafnode+, usually
|
|
|
|
-/usr/lib/leafnode. Therefore, the UID under which Leafnode+ runs,
|
|
|
|
-usually root or news, needs write access to this directory.
|
1999-07-04 19:40:37 +00:00
|
|
|
+@LIBDIR@. Therefore, the UID under which Leafnode+
|
1999-04-03 01:01:15 +00:00
|
|
|
+runs, usually root or news, needs write access to this directory.
|
1998-12-24 07:31:51 +00:00
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
You will need to change all references to the "fetch" program to
|
|
|
|
refer to "fetchnews". The name of this program has changed because
|
|
|
|
@@ -59,8 +59,8 @@
|
|
|
|
"fetchnews" describes the function of the program better.
|
1998-12-24 07:31:51 +00:00
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
To update from Cornelius's Leafnode, copy
|
|
|
|
-/var/spool/news/leaf.node/groupinfo into your LIBDIR (usually
|
|
|
|
-/usr/lib/leafnode/groupinfo) then run "fetchnews".
|
1999-07-04 19:40:37 +00:00
|
|
|
+@SPOOLDIR@/leaf.node/groupinfo into your LIBDIR
|
|
|
|
+(@LIBDIR@/groupinfo) then run "fetchnews".
|
1998-12-24 07:31:51 +00:00
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
|
|
|
|
7. Can I use Leafnode+ with multiple news servers?
|
|
|
|
@@ -90,7 +90,7 @@
|
1998-12-24 07:31:51 +00:00
|
|
|
Most news reader software uses the NEWGROUPS command to learn about
|
1999-04-03 01:01:15 +00:00
|
|
|
the creation of new groups. The Leafnode+ news server does not
|
|
|
|
support this command. To check if new groups are available, see the
|
1998-12-24 07:31:51 +00:00
|
|
|
-"groupinfo" file in your LIBDIR (usually /usr/lib/leafnode).
|
1999-07-04 19:40:37 +00:00
|
|
|
+"groupinfo" file in your LIBDIR (@LIBDIR@).
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2000-01-29 13:32:50 +00:00
|
|
|
--- INSTALL.orig Thu Jan 6 01:43:13 2000
|
|
|
|
+++ INSTALL Sat Jan 29 12:15:28 2000
|
1998-12-24 07:31:51 +00:00
|
|
|
@@ -7,7 +7,8 @@
|
|
|
|
|
|
|
|
3. make installall
|
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
-4. Edit $(LIBDIR)/config so server points to your upstream news server
|
1999-07-04 19:40:37 +00:00
|
|
|
+4. Edit @LIBDIR@/config so the server points to your
|
1998-12-24 07:31:51 +00:00
|
|
|
+ upstream news server
|
|
|
|
(generally, your IP provider's). Make sure $NNTPSERVER or
|
|
|
|
/etc/nntpserver points to your own host so clients will talk to
|
|
|
|
leafnode rather than try to go to the upstream server.
|
1998-12-28 23:19:54 +00:00
|
|
|
@@ -15,25 +16,24 @@
|
1999-04-03 01:01:15 +00:00
|
|
|
5. Set up a cron job (as user "news") to run texpire every night or
|
1998-12-24 07:31:51 +00:00
|
|
|
maybe every week. Here is my crontab line, which runs nightly:
|
|
|
|
|
|
|
|
-0 4 * * * /usr/local/sbin/texpire
|
1999-07-04 19:40:37 +00:00
|
|
|
+0 4 * * * @PREFIX@/sbin/texpire
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
I did "crontab -u news -e" as root to edit the crontab file, and
|
|
|
|
added this line. Substituting "1" for the third "*", thus:
|
|
|
|
|
|
|
|
-0 4 * * 1 /usr/local/sbin/texpire
|
1999-07-04 19:40:37 +00:00
|
|
|
+0 4 * * 1 @PREFIX@/sbin/texpire
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
tells cron to run texpire at 4am Monday morning.
|
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
6. Make sure fetchnews is run at the appropriate time. If you have a
|
1998-12-24 07:31:51 +00:00
|
|
|
full-time link, run it out of cron (as "news" again), if not, run
|
|
|
|
it when your connection to the net is established. If it is run as
|
1998-12-28 23:19:54 +00:00
|
|
|
- root, it will change user to "news". I use PPP, and run fetchnews
|
|
|
|
- from /etc/ppp/ip-up.
|
1998-12-24 07:31:51 +00:00
|
|
|
+ root, it will change user to "news".
|
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
-7. Edit /etc/inetd.conf so $(BINDIR)/leafnode is executed for incoming
|
1998-12-24 07:31:51 +00:00
|
|
|
- NNTP connections. HUP inetd. Here is my inetd.conf line:
|
2000-01-29 13:32:50 +00:00
|
|
|
+7. Edit /etc/inetd.conf so @PREFIX@/sbin/leafnode is executed for
|
1998-12-24 07:31:51 +00:00
|
|
|
+ incoming NNTP connections. HUP inetd. Here is my inetd.conf line:
|
|
|
|
|
|
|
|
-nntp stream tcp nowait news /usr/local/sbin/leafnode
|
1999-07-04 19:40:37 +00:00
|
|
|
+nntp stream tcp nowait news @PREFIX@/sbin/leafnode
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
This starts leafnode for all connections on the nntp port.
|
|
|
|
|
1998-12-28 23:19:54 +00:00
|
|
|
--- leafnode.8.orig Sun Dec 6 19:37:53 1998
|
|
|
|
+++ leafnode.8 Wed Dec 9 17:41:40 1998
|
|
|
|
@@ -74,23 +74,23 @@
|
1998-12-24 07:31:51 +00:00
|
|
|
.I must
|
|
|
|
be writable by user "news".
|
|
|
|
.PP
|
|
|
|
-.I /usr/lib/leafnode/groupinfo
|
1999-07-04 19:40:37 +00:00
|
|
|
+.I @LIBDIR@/groupinfo
|
1998-12-24 07:31:51 +00:00
|
|
|
contains the information about each USENET group. In case of harm, it
|
|
|
|
is rebuilt by
|
1998-12-28 23:19:54 +00:00
|
|
|
.BR fetchnews (8).
|
1998-12-24 07:31:51 +00:00
|
|
|
.PP
|
|
|
|
-.I /usr/lib/leafnode/news-server-name
|
1999-07-04 19:40:37 +00:00
|
|
|
+.I @LIBDIR@/news-server-name
|
1998-12-28 23:19:54 +00:00
|
|
|
contains the information about every USENET group on each news server.
|
1998-12-24 07:31:51 +00:00
|
|
|
In case of harm, it
|
|
|
|
is rebuilt by
|
1998-12-28 23:19:54 +00:00
|
|
|
.BR fetchnews (8).
|
|
|
|
.PP
|
|
|
|
-.I /usr/lib/leafnode/news-server-name.active
|
1999-07-04 19:40:37 +00:00
|
|
|
+.I @LIBDIR@/news-server-name.active
|
1998-12-28 23:19:54 +00:00
|
|
|
is an empty file created when
|
|
|
|
.BR fetchnews (8)
|
|
|
|
get information about every USENET group on each news server.
|
1998-12-24 07:31:51 +00:00
|
|
|
.PP
|
|
|
|
-.I /usr/lib/leafnode/config
|
1999-07-04 19:40:37 +00:00
|
|
|
+.I @LIBDIR@/config
|
1998-12-24 07:31:51 +00:00
|
|
|
contains the configuration parameters for
|
|
|
|
.B leafnode.
|
|
|
|
See CONFIGURATION below.
|
1998-12-28 23:19:54 +00:00
|
|
|
@@ -152,7 +152,7 @@
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
.SH CONFIGURATION
|
|
|
|
All configuration is done using the file
|
|
|
|
-.I /usr/lib/leafnode/config.
|
1999-07-04 19:40:37 +00:00
|
|
|
+.I @LIBDIR@/config.
|
1998-12-24 07:31:51 +00:00
|
|
|
There is no GUI configuration tool yet.
|
|
|
|
.PP
|
|
|
|
The file is in the common UNIX format: One line per argument, white
|