changeset 290:f35a7d45efd5 noffle

[svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs, update Markus's email again. * docs/noffle.conf.5,src/configfile.c: Only recognise authenticate-client config if authentication of one or other sort is built in. * TODO: Update.
author bears
date Sat, 11 Jan 2003 09:30:05 +0000
parents 0eaad46e56e2
children bf200dccbce5
files ChangeLog TODO docs/noffle.1 docs/noffle.conf.5 src/configfile.c
diffstat 5 files changed, 33 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jan 10 23:27:31 2003 +0000
+++ b/ChangeLog	Sat Jan 11 09:30:05 2003 +0000
@@ -1,3 +1,11 @@
+Sat Jan 11 2003 Jim Hague <jim.hague@acm.org>
+
+* docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
+  update Markus's email again.
+* docs/noffle.conf.5,src/configfile.c: Only recognise authenticate-client
+  config if authentication of one or other sort is built in.
+* TODO: Update.
+	
 Fri Jan 10 2003 Jim Hague <jim.hague@acm.org>
 
 * docs/noffle.1: Correct Noffle home page location and add Mirko as author.
--- a/TODO	Fri Jan 10 23:27:31 2003 +0000
+++ b/TODO	Sat Jan 11 09:30:05 2003 +0000
@@ -5,11 +5,6 @@
 Urgent
 ------
 
- * Tidy data structure initialisation when posting (post.c).
-
- * Post: better checks on posted article (check for duplicate headers,
-   address in From: headers).
-
  * Post: Only generate Reply-To: from From: if a configuration option set.
 
  * Deal properly with headers split over several lines where the overall
@@ -18,6 +13,11 @@
 Later
 -----
 
+ * Internationalisation.
+
+ * Get pseudo article contents from files in /etc/noffle, to allow
+   local customisation.
+
  * Provide list of suggested configurations for popular upstream servers.
 
  * Review latest NNTP draft (http://www.ieft.org/ids.by.wg/nntpext.html).
--- a/docs/noffle.1	Fri Jan 10 23:27:31 2003 +0000
+++ b/docs/noffle.1	Sat Jan 11 09:30:05 2003 +0000
@@ -1,5 +1,5 @@
 .TH noffle 1
-.\" $Id: noffle.1 417 2003-01-10 22:41:21Z bears $
+.\" $Id: noffle.1 422 2003-01-11 09:30:05Z bears $
 .SH NAME
 noffle \- Usenet package optimized for dialup connections.
 
@@ -382,6 +382,8 @@
 .br
 .B RFC 977,
 .B RFC 1036,
+.B RFC 2822,
+.B RFC 2980
 .br
 .B IETF drafts on common NNTP extensions:
 .br
@@ -403,4 +405,4 @@
 .br
 Mirko Liss <mirko.liss@web.de>
 
-1998-2000.
+1998-2003.
--- a/docs/noffle.conf.5	Fri Jan 10 23:27:31 2003 +0000
+++ b/docs/noffle.conf.5	Sat Jan 11 09:30:05 2003 +0000
@@ -1,5 +1,5 @@
 .TH noffle.conf 5
-.\" $Id: noffle.conf.5 420 2003-01-10 23:25:45Z bears $
+.\" $Id: noffle.conf.5 422 2003-01-11 09:30:05Z bears $
 
 .SH NAME
 noffle.conf \- Configuration file for NOFFLE news server
@@ -133,8 +133,8 @@
 .TP
 .B mail-to <address>
 Receiver of failed postings. If empty then failed postings are returned
-to the sender (taking the address from the article's Sender, X-Sender or
-From field, in this order).
+to the sender (taking the address from the article's Reply-To, Sender,
+X-Sender or From field, in this order).
 .br
 Default: <empty string>
 
@@ -208,6 +208,8 @@
 .B authenticate-client yes|no
 Insist that clients authenticate themselves using the NNTP
 AUTHINFO USER/AUTHINFO PASS transaction before any news is served.
+This option is recognised only when NOFFLE has been built with
+authentication enabled.
 The form of the authentication is determined at compile time; either
 PAM is used (with a service name "noffle"), or the userlist
 file is scanned. This file, by default \fI/etc/noffle.users\fP,
@@ -535,14 +537,16 @@
 
 .SH AUTHORS
 
-Markus Enzenberger <markus.enzenberger@t-online.de>
+Markus Enzenberger <me@markus-enzenberger.de>
 .br
 Volker Wysk <volker.wysk@student.uni-tuebingen.de>
 .br
 Jim Hague <jim.hague@acm.org>
 .br
 Uwe Hermann <uh1763@bingo-ev.de>
+.br
+Mirko Liss <mirko.liss@web.de>
 
-1998-2000.
+1998-2003.
 
 
--- a/src/configfile.c	Fri Jan 10 23:27:31 2003 +0000
+++ b/src/configfile.c	Sat Jan 11 09:30:05 2003 +0000
@@ -6,7 +6,7 @@
     SPOOLDIR
     VERSION
 
-  $Id: configfile.c 419 2003-01-10 23:11:43Z bears $
+  $Id: configfile.c 422 2003-01-11 09:30:05Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -955,8 +955,14 @@
             getStr( config.hostnameMsgId, line );
         else if ( strcmp( "post-locally", name ) == 0 )
             getBool( &config.postLocal, p );
+#if USE_AUTH
+	/*
+	 * Don't recognise this unless we have some sort of auth
+	 * built in. A small sanity check on the config.
+	 */
         else if ( strcmp( "authenticate-client", name ) == 0 )
             getBool( &config.clientAuth, p );
+#endif	
         else if ( strcmp( "default-auto-subscribe-mode", name ) == 0 )
         {
             getStr( s, p );