1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/news/nn/files/patch-ae
Steve Price 53f454c3aa Update to version 6.5.5.
PR:		16437
Submitted by:	maintainer
2000-01-29 21:57:14 +00:00

123 lines
3.2 KiB
Plaintext

--- config.h.unparsed.orig Wed Jan 26 23:16:25 2000
+++ config.h.unparsed Thu Jan 27 01:23:30 2000
@@ -51,10 +51,10 @@
#define DO_NOV_DIGEST
/* Optional */
-/* #define NOV_DIRECTORY "/usr/spool/news" */
+#define NOV_DIRECTORY "/var/news/over.view"
/* Optional */
-/* #define NOV_FILENAME ".overview" */
+#define NOV_FILENAME ".overview"
/*********************** NETWORK DEPENDENT DEFINITIONS **********************
@@ -107,7 +107,8 @@
* NOTE: If you plan to use the included inews, it MUST be a full pathname
*/
-#define NNTP_SERVER "/usr/local/lib/nntp_server"
+#define NNTP_SERVER "SUB_PREFIX/etc/nntp_server"
+#define NNTP_DOMAIN "SUB_PREFIX/etc/nntp_domain"
/*
* Define NNTP_POST if you want nn to reject attempts to post via
@@ -149,7 +150,7 @@
* conf/s-template.h as a starting point for writing you own.
*/
-#include "s-hpux9-0.h"
+#include "s-freebsd.h"
/*
* Define DEFAULT_PAGER as the initial value of the 'pager' variable.
@@ -210,7 +211,7 @@
* conf/m-template.h as a starting point for writing you own.
*/
-#include "m-hp9000.h"
+#include "m-i80386.h"
/***************************** OWNERSHIP ***************************
@@ -261,9 +262,9 @@
* (= LIB_DIRECTORY/Log if undefined).
*/
-#define BIN_DIRECTORY "/usr/local/bin"
-#define LIB_DIRECTORY "/usr/local/lib/nn"
-
+#define BIN_DIRECTORY "SUB_PREFIX/bin"
+#define LIB_DIRECTORY "SUB_PREFIX/lib/nn"
+#define TMP_DIRECTORY "/var/tmp"
/**************************** DATABASE LOCATION **************************
*
@@ -294,7 +295,7 @@
* (The file system must support long file names!!)
*/
-/* #define DB_DIRECTORY "/usr/spool/nn" */
+#define DB_DIRECTORY "/var/spool/nn"
/*************************** NEWS TRANSPORT **************************
@@ -316,9 +317,9 @@
* Default: NEWS_LIB_DIR/{rm,del}group
*/
-/* #define NEWS_DIRECTORY "/usr/spool/news" */
-/* #define NEWS_LIB_DIRECTORY "/usr/lib/news" */
-/* #define INEWS_PATH "/usr/lib/news/inews" */
+#define NEWS_DIRECTORY "/var/news"
+#define NEWS_LIB_DIRECTORY "SUB_PREFIX/news/lib"
+#define INEWS_PATH "SUB_PREFIX/bin/nn-inews"
/*
@@ -341,7 +342,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 */
/*
@@ -403,13 +404,13 @@
* DAEMON_MAN - nnmaster
*/
-#define USER_MAN_DIR "/usr/local/man/man1"
+#define USER_MAN_DIR "SUB_MANPREFIX/man/man1"
#define USER_MAN_SECTION "1"
-#define SYS_MAN_DIR "/usr/local/man/man1"
+#define SYS_MAN_DIR "SUB_MANPREFIX/man/man1"
#define SYS_MAN_SECTION "1m"
-#define DAEMON_MAN_DIR "/usr/local/man/man8"
+#define DAEMON_MAN_DIR "SUB_MANPREFIX/man/man8"
#define DAEMON_MAN_SECTION "8"
@@ -469,7 +470,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
@@ -481,7 +482,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