freebsd-ports/news/nn/files/patch-ae
Ying-Chieh Liao 0e7a3d037e upgrade to 6.6.2
PR:		32698
Submitted by:	maintainer
2001-12-13 07:58:26 +00:00

104 lines
2.7 KiB
Plaintext

--- config.h.unparsed.orig Fri Dec 7 06:33:23 2001
+++ config.h.unparsed Fri Dec 7 06:37:30 2001
@@ -46,10 +46,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 **********************
@@ -100,7 +100,9 @@
* LIB_DIRECTORY defined below.
*/
-#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 DOMAIN_FILE NNTP_DOMAIN
/*
* Define NNTP_PATH_HOSTNAME to force a specific hostname into the
@@ -126,7 +128,7 @@
* DOMAIN as defined above). If you don't want this, comment it out.
*/
-#define HIDDENNET
+/* #define HIDDENNET */
/***************** OPERATING SYSTEM DEPENDENT DEFINITIONS *******************
@@ -137,7 +139,7 @@
* conf/s-template.h as a starting point for writing you own.
*/
-#include "s-sunos5.h"
+#include "s-freebsd.h"
/********************** MACHINE DEPENDENT DEFINITIONS **********************
@@ -148,7 +150,7 @@
* conf/m-template.h as a starting point for writing you own.
*/
-#include "m-sparc.h"
+#include "m-i80386.h"
/**************************** LOCALIZATION ****************************
@@ -181,9 +183,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"
/*************************** NEWS TRANSPORT **************************
*
@@ -201,8 +203,8 @@
* Default: NEWS_LIB_DIR/{rm,del}group
*/
-/* #define NEWS_DIRECTORY "/usr/spool/news" */
-/* #define NEWS_LIB_DIRECTORY "/usr/lib/news" */
+#define NEWS_DIRECTORY "/var/news"
+#define NEWS_LIB_DIRECTORY "SUB_PREFIX/news/lib"
/**************************** DATABASE LOCATION **************************
@@ -257,7 +259,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 */
/*
@@ -317,13 +319,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"