1 $NetBSD: patch-ai,v 1.8 2006/10/14 19:33:45 schwarz Exp $
3 --- config.h-dist.orig 2005-04-01 22:44:22.000000000 +0200
4 +++ config.h-dist 2006-11-12 02:24:05.000000000 +0100
6 * (c) Copyright 1990, Kim F. Storm. All rights reserved.
9 +#define PREFIX "@PREFIX@"
10 +#define PKG_SYSCONFDIR "@PKG_SYSCONFDIR@"
11 +#define MANDIR "@PREFIX@/@PKGMANDIR@"
14 * The Good Net-Keeping Seal of Approval folks seem to think it necessary to
16 * LIB_DIRECTORY defined below.
19 -#define NNTP_SERVER "/usr/local/lib/nntp_server"
20 +#define NNTP_SERVER PKG_SYSCONFDIR "/server"
23 * Define your local domain name. If you leave this undefined, nn will
25 * conf/s-template.h as a starting point for writing you own.
28 -#include "s-sunos5.h"
32 * Define DEFAULT_PAGER as the initial value of the 'pager' variable.
34 * conf/m-template.h as a starting point for writing you own.
41 /***************************** OWNERSHIP ***************************
43 * Common choices are: (news, news) and (your uid, your gid)
48 +#define OWNER "@BINOWN@"
49 +#define GROUP "@BINGRP@"
52 /**************************** LOCALIZATION ****************************
54 * (= LIB_DIRECTORY/Log if undefined).
57 -#define BIN_DIRECTORY "/usr/local/bin"
58 -#define LIB_DIRECTORY "/usr/local/lib/nn"
59 +#define BIN_DIRECTORY PREFIX "/bin"
60 +#define LIB_DIRECTORY PREFIX "/share/nn"
62 +# define _PATH_VARTMP "/var/tmp"
64 +#define TMP_DIRECTORY _PATH_VARTMP
67 /*************************** MAIL INTERFACE *************************
71 /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */
72 -#define REC_MAIL "/usr/lib/sendmail -t" /* sendmail */
73 +#ifndef _PATH_SENDMAIL
74 +# define _PATH_SENDMAIL "/usr/lib/sendmail"
76 +#define REC_MAIL _PATH_SENDMAIL " -t" /* sendmail */
80 * nn needs to know the name of your host.
82 * DAEMON_MAN - nnmaster
85 -#define USER_MAN_DIR "/usr/local/man/man1"
87 +#define MANDIR PREFIX "/man"
90 +#define USER_MAN_DIR MANDIR "/man1"
91 #define USER_MAN_SECTION "1"
93 -#define SYS_MAN_DIR "/usr/local/man/man1"
94 -#define SYS_MAN_SECTION "1m"
95 +#define SYS_MAN_DIR MANDIR "/man1"
96 +#define SYS_MAN_SECTION "1"
98 -#define DAEMON_MAN_DIR "/usr/local/man/man8"
99 +#define DAEMON_MAN_DIR MANDIR "/man8"
100 #define DAEMON_MAN_SECTION "8"
104 * performance (no data conversion is needed).
107 -/* #define NETWORK_DATABASE */
108 +#define NETWORK_DATABASE
111 /**************************** DATABASE LOCATION **************************