Add TIN_USE_INN_SPOOL which enables support for reading directly in an inn

spool. This makes reading news much faster if you have a local inn.
This commit is contained in:
veego 2000-10-15 07:20:42 +00:00
parent ab40caab2e
commit 4b85fd0d6c
2 changed files with 23 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: mk.conf.example,v 1.156 2000/09/26 11:09:26 agc Exp $
# $NetBSD: mk.conf.example,v 1.157 2000/10/15 07:20:43 veego Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@ -648,6 +648,11 @@ PAPERSIZE= A4
# Possible: YES, or NO.
# Default: NO
#TIN_USE_INN_SPOOL
# Used to enable reading directly in an inn spool.
# Possible: YES, or NO.
# Default: NO
#TCSH_STATIC=
# Produce static version of tcsh binary - advised if used as login shell
# Possible: defined, not defined

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2000/08/10 10:03:23 wiz Exp $
# $NetBSD: Makefile,v 1.6 2000/10/15 07:20:42 veego Exp $
# $FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp
DISTNAME= tin-1.4.4
@ -17,21 +17,35 @@ HOMEPAGE= http://www.tin.org/
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if defined(TIN_USE_INN_SPOOL) && ${TIN_USE_INN_SPOOL} == YES
INN_DATA_DIR?= /var/news
.endif
# Curses support too buggy to activate
# --enable-curses \
# --with-ncurses \
#
CONFIGURE_ARGS= --with-nntp-default-server=news \
CONFIGURE_ARGS+= --with-nntp-default-server=news \
--with-mime-default-charset=ISO-8859-1 \
--enable-forgery \
--enable-break-long-lines \
--with-ispell=${PREFIX}/bin/ispell \
--with-metamail=${PREFIX}/bin/metamail \
--enable-nntp-only \
--disable-mime-strict-charset \
--with-defaults-dir=${PREFIX}/etc \
--enable-mh-mail-handling \
--with-coffee
.if defined(TIN_USE_INN_SPOOL) && ${TIN_USE_INN_SPOOL} == YES
CONFIGURE_ARGS+= --with-inews-dir=${PREFIX}/inn/bin \
--with-libdir=${INN_DATA_DIR}/db \
--with-spooldir=${INN_DATA_DIR}/spool/articles \
--with-nov-dir=${INN_DATA_DIR}/spool/overview
.else
CONFIGURE_ARGS+= --enable-nntp-only
.endif
MAKEFILE= makefile
ALL_TARGET= build