aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mnews
diff options
context:
space:
mode:
authoritojun <itojun@FreeBSD.org>1998-03-21 01:40:13 +0800
committeritojun <itojun@FreeBSD.org>1998-03-21 01:40:13 +0800
commit7ee72755d3f7b68769bfad26e04115b713c7c66b (patch)
tree610e0a8d93ac85c0f0b0b0742a20f9d39623b51e /japanese/mnews
parentecb0055aaee9bfb160d9d3cf7dcf5f0b4d94fc84 (diff)
downloadfreebsd-ports-gnome-7ee72755d3f7b68769bfad26e04115b713c7c66b.tar.gz
freebsd-ports-gnome-7ee72755d3f7b68769bfad26e04115b713c7c66b.tar.zst
freebsd-ports-gnome-7ee72755d3f7b68769bfad26e04115b713c7c66b.zip
original distribution version-up( -> 1.21)
PR: 6033
Diffstat (limited to 'japanese/mnews')
-rw-r--r--japanese/mnews/Makefile39
-rw-r--r--japanese/mnews/distinfo2
-rw-r--r--japanese/mnews/files/Makefile.in114
-rw-r--r--japanese/mnews/files/site_dep.h.in35
4 files changed, 123 insertions, 67 deletions
diff --git a/japanese/mnews/Makefile b/japanese/mnews/Makefile
index 2fe07a09388c..3cb839160d0d 100644
--- a/japanese/mnews/Makefile
+++ b/japanese/mnews/Makefile
@@ -3,17 +3,16 @@
# Date created: 23 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.8 1997/02/15 17:21:26 max Exp $
+# $Id: Makefile,v 1.9 1997/09/14 21:35:02 max Exp $
#
-DISTNAME= mnews120
-PKGNAME= ja-mnews-1.20
+DISTNAME= mnews121
CATEGORIES= japanese news
MASTER_SITES= ftp://ftp.mei.co.jp/free/Network/news/readers/
MAINTAINER= kiroh@kh.rim.or.jp
-WRKSRC= ${WRKDIR}/mnews-1.20/build
+WRKSRC= ${WRKDIR}/mnews-1.21/build
MAN1= mnews.1
MANLANG= ja_JP.EUC
@@ -21,9 +20,19 @@ DOCS= FAQ.doc board.doc gnspool.doc mnews.doc prerel.doc \
present.doc read1ST.doc readme.doc update.doc youbin.doc
SAMPLES= _mnews.smp jnames.fj jnames.jp jnames.smp jnames.tnn
+.ifdef WITH_GNSPOOL
+GNSPOOL= 1
+PKGNAME= ja-mnews-gnspool-1.21
+.else
+GNSPOOL= 0
+.endif
+PKGNAME?= ja-mnews-1.21
+
do-configure:
@for f in Makefile site_dep.h ; do \
- ${SED} s+@PREFIX@+${PREFIX}+ ${FILESDIR}/$$f.in > ${WRKSRC}/$$f ; done
+ ${SED} -e s+@PREFIX@+${PREFIX}+ -e s+@GNSPOOL@+${GNSPOOL}+ \
+ ${FILESDIR}/$$f.in > ${WRKSRC}/$$f ; \
+ done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin
@@ -43,16 +52,18 @@ do-install:
post-install:
.if !defined(BATCH)
- @(while [ X$$domain = X ]; do \
- read -p "Enter the domain name of this host>" domain ; \
- done; \
- echo $$domain > ${PREFIX}/lib/mnews/default-domain)
+ @( \
+ while [ X$$domain = X ]; do \
+ read -p "Enter the domain name of this host>" domain; \
+ done; \
+ ${ECHO} $$domain > ${PREFIX}/lib/mnews/default-domain \
+ )
.else
- @echo "Now, you need to make sure ${PREFIX}/lib/mnews/default-domain"
- @echo "contains correct domain name."
- @echo my.domain.com > ${PREFIX}/lib/mnews/default-domain
+ @${ECHO} "Now, you need to make sure ${PREFIX}/lib/mnews/default-domain"
+ @${ECHO} "contains correct domain name."
+ @${ECHO} my.domain.com > ${PREFIX}/lib/mnews/default-domain
.endif
- @echo "Please refer to the files in:"
- @echo "${PREFIX}/share/doc/mnews & ${PREFIX}/share/examples/mnews."
+ @${ECHO} "Please refer to the files in:"
+ @${ECHO} "${PREFIX}/share/doc/mnews & ${PREFIX}/share/examples/mnews."
.include <bsd.port.mk>
diff --git a/japanese/mnews/distinfo b/japanese/mnews/distinfo
index 002352a3119f..b8062a9120b4 100644
--- a/japanese/mnews/distinfo
+++ b/japanese/mnews/distinfo
@@ -1 +1 @@
-MD5 (mnews120.tar.gz) = fd5ed554d02a535a053d21a01931cd9d
+MD5 (mnews121.tar.gz) = 84650e577848bf41f2c2bd12165814e4
diff --git a/japanese/mnews/files/Makefile.in b/japanese/mnews/files/Makefile.in
index 73ed4a182185..48e3cceeaaeb 100644
--- a/japanese/mnews/files/Makefile.in
+++ b/japanese/mnews/files/Makefile.in
@@ -4,6 +4,12 @@
+
+
+
+
+
+
SHELL = /bin/sh
ARCH = _386BSD
WHEN = date
@@ -17,12 +23,18 @@ CC_FLAG = -O -DDONT_HAVE_FTIME
BIN_DIR = @PREFIX@/bin
LIB_DIR = @PREFIX@/lib
MAN_DIR = @PREFIX@/man/ja_JP.EUC
+STRIP = strip
+# STRIP = echo
+WITH_GNSPOOL = @GNSPOOL@
-VERSION = 1.20
+VERSION = 1.21
NET_OPT = -DNNTP -DNSPL -DSMTP -DMTAP -DPOP3 -DMSPL
CONS_OPT = -DNEWSPOST -DMAILSEND -DJNAMES -DMH -DUCBMAIL -DRMAIL -DMIME -DPAGER -DFCC
CONF_OPT = -DCTRL_L -DCOMPLETION -DREF_SORT -DLARGE -DDISPLAY_CTRL -DXOVER
-MOD_OPT =
+.if ${WITH_GNSPOOL}
+CONF_OPT += -DLOCAL_POST
+.endif
+MOD_OPT =
SRC_DIR = ../src
COMPAT_DIR = ../compat
TCP_DIR = ../tcplib
@@ -36,7 +48,7 @@ DOC_DIR = ../doc
ETC_DIR = ../etc
BUILD_DIR = ../build
ARC_DIR = mnews-${VERSION}
-INC_FLAG = -I. -I${COMPAT_DIR} -I${TCP_DIR} -I${NNTP_DIR} -I${SMTP_DIR} -I${POP3_DIR} -I${KANJI_DIR} -I${MIME_DIR} -I${TERM_DIR} -I${SRC_DIR}
+INC_FLAG = -I. -I${COMPAT_DIR} -I${TCP_DIR} -I${NNTP_DIR} -I${SMTP_DIR} -I${POP3_DIR} -I${KANJI_DIR} -I${MIME_DIR} -I${TERM_DIR} -I${SRC_DIR}
CPP_FLAG1 = ${INC_FLAG} -DMNEWS -DJIS_INPUT ${CONF_OPT} -D${ARCH}
@@ -55,9 +67,9 @@ MAILSEND_OBJ = mailsend.o
+JNAMES_OBJ = jnhash.o
-JNAMES_OBJ = jnames.o
@@ -79,7 +91,7 @@ PAGER_OBJ = pager.o
FCC_OBJ = fcc.o
-MIME_OBJ = mimelib.o
+MIME_OBJ = mimepart.o mimelib.o
@@ -94,8 +106,11 @@ OBJ = ${BASE_OBJ} ${OPT_OBJ}
C_OBJ = config.o
COMPAT_INC = ${COMPAT_DIR}/compat.h
COMPAT_SRC = ${COMPAT_DIR}/compat.c
-TCP_INC = ${TCP_DIR}/tcplib.h ${TCP_DIR}/field.h
-TCP_SRC = ${TCP_DIR}/tcplib.c
+TCP_INC = ${TCP_DIR}/field.h ${TCP_DIR}/tcplib.h ${TCP_DIR}/inetbios.h
+
+
+TCP_SRC = ${TCP_DIR}/tcplib.c ${TCP_DIR}/inetbios.c
+
NNTP_INC = ${NNTP_DIR}/nntplib.h
NNTP_SRC = ${NNTP_DIR}/nntplib.c
SMTP_INC = ${SMTP_DIR}/smtplib.h
@@ -103,33 +118,29 @@ SMTP_SRC = ${SMTP_DIR}/smtplib.c
POP3_INC = ${POP3_DIR}/pop3lib.h
POP3_SRC = ${POP3_DIR}/pop3lib.c
KANJI_INC = ${KANJI_DIR}/kanjilib.h
+
KANJI_SRC = ${KANJI_DIR}/kanjilib.c
+
TERM_INC = ${TERM_DIR}/termlib.h
-TERM_SRC = ${TERM_DIR}/termlib.c
-TERM_SRC2 = ${TERM_DIR}/termdos.c
+TERM_SRC = ${TERM_DIR}/termlib.c ${TERM_DIR}/termdos.c
+
MIME_INC = ${MIME_DIR}/mimelib.h
MIME_SRC = ${MIME_DIR}/mimelib.c
-SRC = ${COMPAT_SRC} ${TCP_SRC} ${NNTP_SRC} ${SMTP_SRC} ${POP3_SRC} ${KANJI_SRC} ${TERM_SRC} ${TERM_SRC2} ${MIME_SRC} ${SRC_DIR}/mnews.c ${SRC_DIR}/group.c ${SRC_DIR}/article.c ${SRC_DIR}/mark.c ${SRC_DIR}/mh.c ${SRC_DIR}/ucbmail.c ${SRC_DIR}/rmail.c ${SRC_DIR}/board.c ${SRC_DIR}/newspost.c ${SRC_DIR}/mailsend.c ${SRC_DIR}/pager.c ${SRC_DIR}/fcc.c ${SRC_DIR}/inetbios.c ${SRC_DIR}/jnames.c ${SRC_DIR}/jnhash.c ${SRC_DIR}/youbin.c
-# 136 "temp.c"
-INC = ${COMPAT_INC} ${TCP_INC} ${NNTP_INC} ${SMTP_INC} ${POP3_INC} ${KANJI_INC} ${TERM_INC} ${MIME_INC} ${SRC_DIR}/mnews.h ${SRC_DIR}/group.h ${SRC_DIR}/article.h ${SRC_DIR}/mark.h ${SRC_DIR}/mh.h ${SRC_DIR}/ucbmail.h ${SRC_DIR}/rmail.h ${SRC_DIR}/board.h ${SRC_DIR}/newspost.h ${SRC_DIR}/mailsend.h ${SRC_DIR}/pager.h ${SRC_DIR}/fcc.h ${SRC_DIR}/inetbios.h ${BUILD_DIR}/site_DOS.h ${BUILD_DIR}/site_X68.h
-# 159 "temp.c"
+SRC = ${COMPAT_SRC} ${TCP_SRC} ${NNTP_SRC} ${SMTP_SRC} ${POP3_SRC} ${KANJI_SRC} ${TERM_SRC} ${MIME_SRC} ${SRC_DIR}/mnews.c ${SRC_DIR}/group.c ${SRC_DIR}/article.c ${SRC_DIR}/mark.c ${SRC_DIR}/mh.c ${SRC_DIR}/ucbmail.c ${SRC_DIR}/rmail.c ${SRC_DIR}/board.c ${SRC_DIR}/newspost.c ${SRC_DIR}/mailsend.c ${SRC_DIR}/pager.c ${SRC_DIR}/fcc.c ${SRC_DIR}/mimepart.c ${SRC_DIR}/jnames.c ${SRC_DIR}/jnhash.c ${SRC_DIR}/youbin.c
+# 148 "temp.c"
+INC = ${COMPAT_INC} ${TCP_INC} ${NNTP_INC} ${SMTP_INC} ${POP3_INC} ${KANJI_INC} ${TERM_INC} ${MIME_INC} ${SRC_DIR}/mnews.h ${SRC_DIR}/group.h ${SRC_DIR}/article.h ${SRC_DIR}/mark.h ${SRC_DIR}/mh.h ${SRC_DIR}/ucbmail.h ${SRC_DIR}/rmail.h ${SRC_DIR}/board.h ${SRC_DIR}/newspost.h ${SRC_DIR}/mailsend.h ${SRC_DIR}/pager.h ${SRC_DIR}/fcc.h ${SRC_DIR}/mimepart.h ${BUILD_DIR}/site_DOS.h ${BUILD_DIR}/site_X68.h
+# 171 "temp.c"
C_SRC = ${SRC_DIR}/config.c
C_INC = ${SRC_DIR}/config.h
SITE = ${BUILD_DIR}/site_dep.h
-DOC1 = ${DOC_DIR}/mnews.doc ${DOC_DIR}/mnews.1 ${DOC_DIR}/read1ST.doc ${DOC_DIR}/readme.doc ${DOC_DIR}/update.doc ${DOC_DIR}/FAQ.doc ${DOC_DIR}/board.doc ${DOC_DIR}/present.doc
-
-
-
-
-
-
-
+DOC1 = ${DOC_DIR}/mnews.doc ${DOC_DIR}/mnews.1 ${DOC_DIR}/read1ST.doc ${DOC_DIR}/readme.doc ${DOC_DIR}/update.doc ${DOC_DIR}/FAQ.doc ${DOC_DIR}/board.doc ${DOC_DIR}/present.doc ${DOC_DIR}/gnspool.doc ${DOC_DIR}/youbin.doc
+# 184 "temp.c"
DOC2 = ${DOC_DIR}/prerel.doc
-ETC = ${ETC_DIR}/board.sh ${ETC_DIR}/board.csh ${ETC_DIR}/combine.sh ${ETC_DIR}/_mnews.smp ${ETC_DIR}/nemacs-3.3.2.patch ${ETC_DIR}/mule-2.3@19.28.patch ${ETC_DIR}/kterm-color.termcap ${ETC_DIR}/kterm-color.terminfo ${ETC_DIR}/jnames.smp ${ETC_DIR}/jnames.fj ${ETC_DIR}/jnames.jp ${ETC_DIR}/jnames.tnn
-# 183 "temp.c"
+ETC = ${ETC_DIR}/board.sh ${ETC_DIR}/board.csh ${ETC_DIR}/combine.sh ${ETC_DIR}/_mnews.smp ${ETC_DIR}/"nemacs-3.3.2.patch" ${ETC_DIR}/"mule-2.3@19.28.patch" ${ETC_DIR}/kterm-color.termcap ${ETC_DIR}/kterm-color.terminfo ${ETC_DIR}/jnames.smp ${ETC_DIR}/jnames.fj ${ETC_DIR}/jnames.jp ${ETC_DIR}/jnames.tnn
+# 197 "temp.c"
INFO = inst_inf.h
-MAKE1 = config.sh config.jsh Makefile.obj
-MAKE2 = Makefile.src Makefile.MSC Makefile.GCC Makefile.X68 Makefile.TCC Makefile.B16 Makefile.B32
+MAKE1 = convert.bat config.sh config.jsh Makefile.obj
+MAKE2 = Makefile.src Makefile.MSC Makefile.GCC Makefile.X68 Makefile.TCC Makefile.B16 Makefile.B32 Makefile.OS2
SRC_DIST = mnews_src.tar
OBJ_DIST = mnews_${ARCH}_obj.tar
@@ -141,7 +152,7 @@ obj: ${OBJ}
${EXE}: ${BASE_OBJ} ${OPT_OBJ} ${C_OBJ}
${CC} ${CC_FLAG} -o $@ ${BASE_OBJ} ${OPT_OBJ} ${C_OBJ} ${LIBS}
- strip $@
+ ${STRIP} $@
chmod 755 $@
chmod 644 ${DOC1} ${DOC2}
@@ -170,29 +181,39 @@ ${INFO}: ${C_SRC} ${C_INC} ${SITE} ${SRC} ${INC}
${SITE}:
@echo "You must run config.sh or config.jsh first."
-compat.o: ${INC} ${COMPAT_SRC}
- ${CC} ${C_FLAG2} -c ${COMPAT_SRC}
+compat.o: ${COMPAT_INC} ${COMPAT_DIR}/compat.c
+ ${CC} ${C_FLAG2} -c ${COMPAT_DIR}/compat.c
-tcplib.o: ${COMPAT_INC} ${TCP_INC} ${TCP_SRC}
- ${CC} ${C_FLAG1} ${NET_OPT} -c ${TCP_SRC}
+tcplib.o: ${COMPAT_INC} ${TCP_INC} ${TCP_DIR}/tcplib.c
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${TCP_DIR}/tcplib.c
-nntplib.o: ${COMPAT_INC} ${TCP_INC} ${NNTP_INC} ${NNTP_SRC}
- ${CC} ${C_FLAG1} ${NET_OPT} -c ${NNTP_SRC}
+nntplib.o: ${COMPAT_INC} ${TCP_INC} ${NNTP_INC} ${NNTP_DIR}/nntplib.c
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${NNTP_DIR}/nntplib.c
-smtplib.o: ${COMPAT_INC} ${TCP_INC} ${SMTP_INC} ${SMTP_SRC}
- ${CC} ${C_FLAG1} ${NET_OPT} -c ${SMTP_SRC}
+smtplib.o: ${COMPAT_INC} ${TCP_INC} ${SMTP_INC} ${SMTP_DIR}/smtplib.c
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${SMTP_DIR}/smtplib.c
-pop3lib.o: ${COMPAT_INC} ${TCP_INC} ${POP3_INC} ${POP3_SRC}
- ${CC} ${C_FLAG1} ${NET_OPT} -c ${POP3_SRC}
+pop3lib.o: ${COMPAT_INC} ${TCP_INC} ${POP3_INC} ${POP3_DIR}/pop3lib.c
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${POP3_DIR}/pop3lib.c
+
+
-kanjilib.o: ${COMPAT_INC} ${KANJI_INC} ${KANJI_SRC}
- ${CC} ${C_FLAG1} -DDELETE_X0212 -c ${KANJI_SRC}
-termlib.o: ${COMPAT_INC} ${TERM_INC} ${TERM_SRC}
- ${CC} ${C_FLAG2} -c ${TERM_SRC}
-mimelib.o: ${INC} ${MIME_SRC}
- ${CC} ${C_FLAG2} -c ${MIME_SRC}
+
+kanjilib.o: ${COMPAT_INC} ${KANJI_INC} ${KANJI_DIR}/kanjilib.c
+ ${CC} ${C_FLAG1} -DDELETE_X0212 -c ${KANJI_DIR}/kanjilib.c
+
+
+
+
+
+
+termlib.o: ${COMPAT_INC} ${TERM_INC} ${TERM_DIR}/termlib.c
+ ${CC} ${C_FLAG2} -c ${TERM_DIR}/termlib.c
+
+mimelib.o: ${COMPAT_INC} ${MIME_INC} ${MIME_DIR}/mimelib.c
+ ${CC} ${C_FLAG2} -c ${MIME_DIR}/mimelib.c
jnames.o: ${SRC_DIR}/jnames.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/jnames.c
@@ -239,6 +260,9 @@ pager.o: ${INC} ${SRC_DIR}/pager.c
fcc.o: ${INC} ${SRC_DIR}/fcc.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/fcc.c
+mimepart.o: ${INC} ${SRC_DIR}/mimepart.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/mimepart.c
+
install: all
cp ${EXE} ${BIN_DIR}
chmod 755 ${BIN_DIR}/${EXE}
@@ -281,12 +305,12 @@ remove:
-${RM} ${RM_FLAG} ${EXE} ${OBJ} ${C_OBJ} ${INFO}
src_dist:
- (cd ../.. ; tar cvfh ${SRC_DIST} ${ARC_DIR}/build/Makefile.* ${ARC_DIR}/build/site_DOS.h ${ARC_DIR}/build/site_X68.h ${ARC_DIR}/build/config.sh ${ARC_DIR}/build/config.jsh ${ARC_DIR}/compat ${ARC_DIR}/doc ${ARC_DIR}/etc ${ARC_DIR}/kanjilib ${ARC_DIR}/mimelib ${ARC_DIR}/termlib ${ARC_DIR}/nntplib ${ARC_DIR}/smtplib ${ARC_DIR}/pop3lib ${ARC_DIR}/tcplib ${ARC_DIR}/src ; gzip -f ${SRC_DIST} )
-# 348 "temp.c"
+ (cd ../.. ; tar cvfh ${SRC_DIST} ${ARC_DIR}/build/Makefile.* ${ARC_DIR}/build/site_DOS.h ${ARC_DIR}/build/site_X68.h ${ARC_DIR}/build/config.sh ${ARC_DIR}/build/config.jsh ${ARC_DIR}/build/convert.bat ${ARC_DIR}/compat ${ARC_DIR}/doc ${ARC_DIR}/etc ${ARC_DIR}/kanjilib ${ARC_DIR}/mimelib ${ARC_DIR}/termlib ${ARC_DIR}/nntplib ${ARC_DIR}/smtplib ${ARC_DIR}/pop3lib ${ARC_DIR}/tcplib ${ARC_DIR}/src ; gzip -f ${SRC_DIST} )
+# 376 "temp.c"
obj_dist: ${OBJ}
(cd ../.. ; tar cvfh ${OBJ_DIST} ${ARC_DIR}/build/Makefile.obj ${ARC_DIR}/build/site_DOS.h ${ARC_DIR}/build/site_X68.h ${ARC_DIR}/build/config.sh ${ARC_DIR}/build/config.jsh ${ARC_DIR}/build/mnews.o ${ARC_DIR}/build/group.o ${ARC_DIR}/build/article.o ${ARC_DIR}/build/mark.o ${ARC_DIR}/build/compat.o ${ARC_DIR}/build/tcplib.o ${ARC_DIR}/build/nntplib.o ${ARC_DIR}/build/smtplib.o ${ARC_DIR}/build/pop3lib.o ${ARC_DIR}/build/kanjilib.o ${ARC_DIR}/build/termlib.o ${ARC_DIR}/build/newspost.o ${ARC_DIR}/build/mailsend.o ${ARC_DIR}/build/jnames.o ${ARC_DIR}/build/jnhash.o ${ARC_DIR}/build/mh.o ${ARC_DIR}/build/ucbmail.o ${ARC_DIR}/build/rmail.o ${ARC_DIR}/build/board.o ${ARC_DIR}/build/pager.o ${ARC_DIR}/build/fcc.o ${ARC_DIR}/build/mimelib.o ${ARC_DIR}/compat/compat.h ${ARC_DIR}/doc ${ARC_DIR}/etc ${ARC_DIR}/termlib/termlib.h ${ARC_DIR}/src/config.[ch] ; gzip -f ${OBJ_DIST} )
-# 383 "temp.c"
+# 411 "temp.c"
bin_dist: ${EXE}
(cd ../.. ; tar cvfh ${EXE_DIST} ${ARC_DIR}/doc ${ARC_DIR}/etc ${ARC_DIR}/build/${EXE} ; gzip -f ${EXE_DIST} )
diff --git a/japanese/mnews/files/site_dep.h.in b/japanese/mnews/files/site_dep.h.in
index 586404b1ab46..2a1ea768608b 100644
--- a/japanese/mnews/files/site_dep.h.in
+++ b/japanese/mnews/files/site_dep.h.in
@@ -3,7 +3,7 @@
* System : Mini News Reader
* Sub system : Site depend define
* File : site_dep.h
- * Version : 1.20
+ * Version : 1.21
*
* NOTE:
* This file made by config.sh program.
@@ -19,11 +19,14 @@
/*
#define DOMAIN_NAME "your-domain-name"
*/
-#define DOMAIN_FILE "@PREFIX@/lib/mnews/default-domain"
+#define DEFAULT_INIT_FILE "@PREFIX@/lib/mnews/mnews_setup"
+#define DOMAIN_FILE "@PREFIX@/lib/mnews/default-domain"
#define NNTP_SERVER_FILE "@PREFIX@/lib/mnews/default-server"
#define SMTP_SERVER_FILE "@PREFIX@/lib/mnews/default-smtpsv"
#define POP3_SERVER_FILE "@PREFIX@/lib/mnews/default-pop3sv"
#define YOUBIN_SERVER_FILE "@PREFIX@/lib/mnews/default-mailsv"
+#define ORGAN_FILE "@PREFIX@/news/lib/organization"
+
#define EXT_PAGER "@PREFIX@/bin/jless"
#define PRINT_CODE EUC_CODE
#define DEFAULT_CODE EUC_CODE
@@ -32,17 +35,35 @@
#define INPUT_CODE ASCII_CODE
#define FCC_CODE ASCII_CODE
#define PIPE_CODE ASCII_CODE
-#define EDITOR_COMMAND "@PREFIX@/bin/mule -nw"
-#define SEND_COMMAND "/usr/sbin/sendmail -t -om -oi"
-#define POST_COMMAND "/usr/lib/news/inews -h"
+#define LPR_CODE ASCII_CODE
+#define EDITOR_COMMAND "@PREFIX@/bin/mule -nw"
+#define LPR_COMMAND "lpr"
#define MH_COMMAND_PATH "@PREFIX@/bin"
#define JNAMES_DB "@PREFIX@/lib/jnames"
-#define NEWS_SPOOL "/usr/spool/news"
-#define NEWS_LIB "/usr/lib/news"
+#if @GNSPOOL@
+#define SEND_COMMAND "@PREFIX@/bin/gnmail"
+#define POST_COMMAND "@PREFIX@/bin/gninews"
+#define NEWS_SPOOL "/var/spool/gnspool"
+#else /*GNSPOOL*/
+#define SEND_COMMAND "/usr/sbin/sendmail -t -om -oi"
+#define POST_COMMAND "@PREFIX@/bin/inews -h"
+#define NEWS_SPOOL "/var/spool/news"
+#endif /*GNSPOOL*/
+#define NEWS_LIB "@PREFIX@/news/lib"
#define MAIL_SPOOL "/var/mail"
#define BOARD_SPOOL "/var/board"
#define TMP_DIR "/tmp"
+/*
+ * MIME multimedia extension
+ */
+
+#define MPEG_COMMAND ""
+#define JPEG_COMMAND ""
+#define GIF_COMMAND ""
+#define AUDIO_COMMAND ""
+#define PS_COMMAND "DEFAULT_PS_COMMAND"
+
#define NNTP_MODE 1
#define SMTP_MODE 0
#define POP3_MODE 0