1 $NetBSD: patch-ai,v 1.6 2004/05/03 12:56:10 kim Exp $
3 --- config.h-dist.orig Thu Feb 6 18:06:02 2003
4 +++ config.h-dist Fri Apr 8 22:20:37 2005
6 * (c) Copyright 1990, Kim F. Storm. All rights reserved.
9 +#define PREFIX "@PREFIX@"
10 +#define PKG_SYSCONFDIR "@PKG_SYSCONFDIR@"
16 * ascii files. (Thank you Geoff!)
19 -/* #define NETWORK_DATABASE */
20 +#define NETWORK_DATABASE
23 /********************************** NNTP *********************************
25 * LIB_DIRECTORY defined below.
28 -#define NNTP_SERVER "/usr/local/lib/nntp_server"
29 +#define NNTP_SERVER PKG_SYSCONFDIR "/server"
32 * Define NNTP_PATH_HOSTNAME to force a specific hostname into the
34 * conf/s-template.h as a starting point for writing you own.
37 -#include "s-sunos5.h"
41 /********************** MACHINE DEPENDENT DEFINITIONS **********************
43 * conf/m-template.h as a starting point for writing you own.
50 /**************************** LOCALIZATION ****************************
52 * (= LIB_DIRECTORY/Log if undefined).
55 -#define BIN_DIRECTORY "/usr/local/bin"
56 -#define LIB_DIRECTORY "/usr/local/lib/nn"
57 +#define BIN_DIRECTORY PREFIX "/bin"
58 +#define LIB_DIRECTORY PREFIX "/share/nn"
60 +# define _PATH_VARTMP "/var/tmp"
62 +#define TMP_DIRECTORY _PATH_VARTMP
65 /*************************** NEWS TRANSPORT **************************
69 /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */
70 -#define REC_MAIL "/usr/lib/sendmail -t" /* sendmail */
71 +#ifndef _PATH_SENDMAIL
72 +# define _PATH_SENDMAIL "/usr/lib/sendmail"
74 +#define REC_MAIL _PATH_SENDMAIL " -t" /* sendmail */
79 * DAEMON_MAN - nnmaster
82 -#define USER_MAN_DIR "/usr/local/man/man1"
83 +#define USER_MAN_DIR PREFIX "/man/man1"
84 #define USER_MAN_SECTION "1"
86 -#define SYS_MAN_DIR "/usr/local/man/man1"
87 -#define SYS_MAN_SECTION "1m"
88 +#define SYS_MAN_DIR PREFIX "/man/man1"
89 +#define SYS_MAN_SECTION "1"
91 -#define DAEMON_MAN_DIR "/usr/local/man/man8"
92 +#define DAEMON_MAN_DIR PREFIX "/man/man8"
93 #define DAEMON_MAN_SECTION "8"
97 * Common choices are: (news, news) and (your uid, your gid)
100 -#define OWNER "news"
101 -#define GROUP "news"
102 +#define OWNER "@BINOWN@"
103 +#define GROUP "@BINGRP@"
106 * Default folder directory