diff options
Diffstat (limited to 'news/nn/patches/patch-ac')
-rw-r--r-- | news/nn/patches/patch-ac | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/news/nn/patches/patch-ac b/news/nn/patches/patch-ac new file mode 100644 index 00000000000..5b311cfd718 --- /dev/null +++ b/news/nn/patches/patch-ac @@ -0,0 +1,141 @@ +--- config.h.orig Fri Feb 18 03:15:47 1994 ++++ config.h Wed May 20 00:04:10 1998 +@@ -32,7 +32,7 @@ + #define NOV + + /* Optional */ +-#define NOV_DIRECTORY "/usr/spool/news" ++#define NOV_DIRECTORY "/var/spool/news/over.view" + + /*********************** NETWORK DEPENDENT DEFINITIONS ********************** + * +@@ -69,7 +69,7 @@ + * Consult the file NNTP for further information on the use of NNTP. + */ + +-#undef NNTP ++#define NNTP + + /* + * Define NNTP_SERVER to the name of a file containing the name of the +@@ -84,7 +84,7 @@ + * NOTE: If you plan to use the included inews, it MUST be a full pathname + */ + +-#define NNTP_SERVER "/usr/lib/nntp_server" ++#define NNTP_SERVER PREFIX "/etc/nntp_server" + + /* + * Define NNTP_POST if you want nn to reject attempts to post via +@@ -126,7 +126,7 @@ + * conf/s-template.h as a starting point for writing you own. + */ + +-#include "s-sys5-4.h" ++#include "s-netbsd.h" + + /* + * Define DEFAULT_PAGER as the initial value of the 'pager' variable. +@@ -141,8 +141,8 @@ + * nn's :print command pipes text into this command. + */ + +-#define DEFAULT_PRINTER "lp -s" /* System V */ +-/* #define DEFAULT_PRINTER "lpr -p -JNEWS" */ /* bsd */ ++/* #define DEFAULT_PRINTER "lp -s" /* System V */ ++#define DEFAULT_PRINTER "lpr -p -JNEWS" /* bsd */ + + /* + * Define RESIZING to make nn understand dynamic window-resizing. +@@ -203,8 +203,8 @@ + * Common choices are: (news, news) and (your uid, your gid) + */ + +-#define OWNER "news" +-#define GROUP "news" ++#define OWNER BINOWN ++#define GROUP BINGRP + + + /**************************** LOCALIZATION **************************** +@@ -237,9 +237,9 @@ + * (= LIB_DIRECTORY/Log if undefined). + */ + +-#define BIN_DIRECTORY "/usr/local/bin" +-#define LIB_DIRECTORY "/usr/local/lib/nn" +- ++#define BIN_DIRECTORY PREFIX "/bin" ++#define LIB_DIRECTORY PREFIX "/lib/nn" ++#define TMP_DIRECTORY "/var/tmp" + + /**************************** DATABASE LOCATION ************************** + * +@@ -270,7 +270,7 @@ + * (The file system must support long file names!!) + */ + +-#define DB_DIRECTORY "/usr/spool/nn" ++#define DB_DIRECTORY "/var/spool/news/nn" + + + /*************************** NEWS TRANSPORT ************************** +@@ -292,10 +292,10 @@ + * Default: NEWS_LIB_DIR/{rm,del}group + */ + +-#define NEWS_DIRECTORY "/usr/spool/news" +-#define NEWS_LIB_DIRECTORY "/usr/lib/news" ++#define NEWS_DIRECTORY "/var/spool/news" ++#define NEWS_LIB_DIRECTORY PREFIX "/lib/nn" + +-/* #define INEWS_PATH "/usr/lib/news/inews" */ ++#define INEWS_PATH NEWS_LIB_DIRECTORY "/inews" + + + /* +@@ -317,7 +317,7 @@ + */ + + /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */ +-#define REC_MAIL "/usr/lib/sendmail -t" /* sendmail */ ++#define REC_MAIL "/usr/sbin/sendmail -t" /* sendmail */ + + + /* +@@ -379,13 +379,13 @@ + * DAEMON_MAN - nnmaster + */ + +-#define USER_MAN_DIR "/usr/man/man1" ++#define USER_MAN_DIR PREFIX "/man/man1" + #define USER_MAN_SECTION "1" + +-#define SYS_MAN_DIR "/usr/man/man1" +-#define SYS_MAN_SECTION "1m" ++#define SYS_MAN_DIR PREFIX "/man/man1" ++#define SYS_MAN_SECTION "1" + +-#define DAEMON_MAN_DIR "/usr/man/man8" ++#define DAEMON_MAN_DIR PREFIX "/man/man8" + #define DAEMON_MAN_SECTION "8" + + +@@ -445,7 +445,7 @@ + * was accepted, whereas with INN, it only takes seconds. + */ + +-#define INEWS_IS_FAST /* comment out for C-News */ ++/*#define INEWS_IS_FAST /* comment out for C-News */ + + /* + * Synchronous posting: If set this will cause NN to wait until a +@@ -457,7 +457,7 @@ + * via some sort of NNTP. + */ + +-#define SYNCHRONOUS_POSTING /* comment out for C-News */ ++/*#define SYNCHRONOUS_POSTING /* comment out for C-News */ + + /* + * PUT_TIMESTAMP_IN_SCRIPTS |