aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mnews/distinfo4
-rw-r--r--japanese/mnews/files/Makefile.in319
-rw-r--r--japanese/mnews/files/site_dep.h.in41
-rw-r--r--japanese/mnews/pkg-install1
-rw-r--r--japanese/mnews/pkg-plist3
5 files changed, 209 insertions, 159 deletions
diff --git a/japanese/mnews/distinfo b/japanese/mnews/distinfo
index 58889ea02b3a..002352a3119f 100644
--- a/japanese/mnews/distinfo
+++ b/japanese/mnews/distinfo
@@ -1,3 +1 @@
-MD5 (mnews119.tar.gz) = dbc344bc30be7c671278a055dd3b5234
-MD5 (mnews119_119PL1.tar.gz) = 72df2f5c5c200b40b233804da7b8af4d
-MD5 (mnews119PL1_PL2.tar.gz) = 0c79bd10c79fddb30264a403c429260a
+MD5 (mnews120.tar.gz) = fd5ed554d02a535a053d21a01931cd9d
diff --git a/japanese/mnews/files/Makefile.in b/japanese/mnews/files/Makefile.in
index f4293f87fb8e..73ed4a182185 100644
--- a/japanese/mnews/files/Makefile.in
+++ b/japanese/mnews/files/Makefile.in
@@ -4,205 +4,249 @@
-SHELL = /bin/sh
+SHELL = /bin/sh
+ARCH = _386BSD
+WHEN = date
+WHO = whoami
+WHERE = hostname
+CC = /usr/bin/cc
+LIBS =
+RANLIB = ranlib
+INSTALL =
+CC_FLAG = -O -DDONT_HAVE_FTIME
+BIN_DIR = @PREFIX@/bin
+LIB_DIR = @PREFIX@/lib
+MAN_DIR = @PREFIX@/man/ja_JP.EUC
-ARCH = _386BSD
-WHEN = date
-WHO = whoami
-WHERE = hostname
-CC = /usr/bin/cc
-LIBS = -ltermcap
-RANLIB = ranlib
-INSTALL =
-CC_FLAG = -O -DDONT_HAVE_FTIME
-BIN_DIR = @PREFIX@/bin
-LIB_DIR = @PREFIX@/lib/mnews
-MAN_DIR = @PREFIX@/man
+VERSION = 1.20
+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 =
+SRC_DIR = ../src
+COMPAT_DIR = ../compat
+TCP_DIR = ../tcplib
+NNTP_DIR = ../nntplib
+SMTP_DIR = ../smtplib
+POP3_DIR = ../pop3lib
+KANJI_DIR = ../kanjilib
+TERM_DIR = ../termlib
+MIME_DIR = ../mimelib
+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}
-CONNECT_OPT = -DNNTP -DNSPL
-CONS_OPT = -DNEWSPOST -DMAILSEND -DJNAMES -DMH -DUCBMAIL -DRMAIL -DMIME -DPAGER -DFCC -DTERMCAP
-CONF_OPT = -DCTRL_L -DCOMPLETION -DXOVER -DREF_SORT
-MOD_OPT = -DJNHASH
-CPP_FLAG1 = -DMNEWS -DJIS_INPUT $(CONF_OPT) -D$(ARCH)
-CPP_FLAG2 = $(CONS_OPT) $(CPP_FLAG1)
-C_FLAG1 = $(CPP_FLAG1) $(CC_FLAG)
-C_FLAG2 = $(CPP_FLAG2) $(CC_FLAG)
-RM = rm
-RM_FLAG = -f
-EXE = mnews
+CPP_FLAG1 = ${INC_FLAG} -DMNEWS -DJIS_INPUT ${CONF_OPT} -D${ARCH}
+CPP_FLAG2 = ${CONS_OPT} ${CPP_FLAG1}
+C_FLAG1 = ${CPP_FLAG1} ${CC_FLAG}
+C_FLAG2 = ${CPP_FLAG2} ${CC_FLAG}
+RM = rm
+RM_FLAG = -f
+EXE = mnews
-NEWSPOST_OBJ = newspost.o
+NEWSPOST_OBJ = newspost.o
-MAILSEND_OBJ = mailsend.o
+MAILSEND_OBJ = mailsend.o
-JNAMES_OBJ = jnhash.o
+JNAMES_OBJ = jnames.o
-MH_OBJ = mh.o
+MH_OBJ = mh.o
-UCBMAIL_OBJ = ucbmail.o
+UCBMAIL_OBJ = ucbmail.o
-RMAIL_OBJ = rmail.o
+RMAIL_OBJ = rmail.o
-PAGER_OBJ = pager.o
+PAGER_OBJ = pager.o
-FCC_OBJ = fcc.o
+FCC_OBJ = fcc.o
-MIME_OBJ = mime.o
+MIME_OBJ = mimelib.o
-BASE_OBJ = mnews.o group.o article.o mark.o compat.o nntplib.o kanjilib.o termlib.o
-OPTION_OBJ = $(NEWSPOST_OBJ) $(MAILSEND_OBJ) $(JNAMES_OBJ) $(MH_OBJ) $(UCBMAIL_OBJ) $(RMAIL_OBJ) $(BOARD_OBJ) $(PAGER_OBJ) $(FCC_OBJ) $(MIME_OBJ) $(YOUBIN_OBJ)
+BASE_OBJ = mnews.o group.o article.o mark.o compat.o tcplib.o nntplib.o smtplib.o pop3lib.o kanjilib.o termlib.o
+OPT_OBJ = ${NEWSPOST_OBJ} ${MAILSEND_OBJ} ${JNAMES_OBJ} ${MH_OBJ} ${UCBMAIL_OBJ} ${RMAIL_OBJ} ${BOARD_OBJ} ${PAGER_OBJ} ${FCC_OBJ} ${MIME_OBJ} ${YOUBIN_OBJ}
-OBJ = mnews.o group.o article.o mark.o mh.o ucbmail.o rmail.o board.o newspost.o mailsend.o pager.o fcc.o mime.o compat.o nntplib.o kanjilib.o termlib.o jnames.o jnhash.o
+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
+NNTP_INC = ${NNTP_DIR}/nntplib.h
+NNTP_SRC = ${NNTP_DIR}/nntplib.c
+SMTP_INC = ${SMTP_DIR}/smtplib.h
+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
+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"
+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
-SRC = mnews.c group.c article.c mark.c mh.c ucbmail.c rmail.c board.c newspost.c mailsend.c pager.c fcc.c mime.c compat.c nntplib.c kanjilib.c termlib.c termdos.c inetbios.c jnames.c jnhash.c youbin.c
-INC = mnews.h group.h article.h mark.h mh.h ucbmail.h rmail.h board.h newspost.h mailsend.h pager.h fcc.h mime.h compat.h nntplib.h kanjilib.h termlib.h site_DOS.h site_X68.h inetbios.h
-C_OBJ = config.o
-C_SRC = config.c
-C_INC = config.h
-SITE = site_dep.h
-DOC1 = mnews.doc mnews.1 read1ST.doc readme.doc update.doc FAQ.doc board.doc present.doc
+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"
+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
-DOC2 = prerel.doc
-ETC = board.sh board.csh combine.sh _mnews.smp jnames.smp jnames.fj jnames.jp jnames.tnn
+SRC_DIST = mnews_src.tar
+OBJ_DIST = mnews_${ARCH}_obj.tar
+EXE_DIST = mnews_${ARCH}_exe.tar
-INFO = inst_inf.h
-MAKE1 = config.sh config.jsh Makefile.obj
-MAKE2 = Makefile.src Makefile.MSC Makefile.TCC Makefile.X68
-SRC_DIST = mnews_src.tar
-OBJ_DIST = mnews_$(ARCH)_obj.tar
-EXE_DIST = mnews_$(ARCH)_exe.tar
+all: ${EXE}
-all: $(EXE)
+obj: ${OBJ}
-obj: $(OBJ)
-
-$(EXE): $(BASE_OBJ) $(OPTION_OBJ) $(C_OBJ)
- $(CC) $(CC_FLAG) -o $@ $(BASE_OBJ) $(OPTION_OBJ) $(C_OBJ) $(LIBS)
+${EXE}: ${BASE_OBJ} ${OPT_OBJ} ${C_OBJ}
+ ${CC} ${CC_FLAG} -o $@ ${BASE_OBJ} ${OPT_OBJ} ${C_OBJ} ${LIBS}
strip $@
chmod 755 $@
- chmod 644 $(DOC1) $(DOC2)
-
-.c.o: $(INC)
- $(CC) $(C_FLAG2) -c $*.c
-
-$(C_OBJ): $(C_SRC) $(C_INC) $(SITE) $(INFO)
- $(CC) $(C_FLAG2) $(CONNECT_OPT) -c config.c
-
-$(INFO): $(C_SRC) $(C_INC) $(SITE) $(SRC) $(INC)
- -$(RM) $(RM_FLAG) $(INFO)
- @echo "Making "'"'$(INFO)'"'
- touch $(INFO)
- @echo "/*" >> $(INFO)
- @echo " * Mini News Reader Install Information" >> $(INFO)
- @echo " */" >> $(INFO)
- @echo "" >> $(INFO)
- @echo "#define CONS_OPT "'"'$(CONS_OPT)'"' >> $(INFO)
- @echo "#define CONF_OPT "'"'$(CONF_OPT)'"' >> $(INFO)
- @echo "#define ARCH_OPT "'"'$(ARCH)'"' >> $(INFO)
- @echo "#define INSTALL_HOST "'"'`$(WHERE)`'"' >> $(INFO)
- @echo "#define INSTALL_USER "'"'`$(WHO)`'"' >> $(INFO)
- @echo "#define INSTALL_DATE "'"'`$(WHEN)`'"' >> $(INFO)
-
-$(SITE):
+ chmod 644 ${DOC1} ${DOC2}
+
+.c.o: ${INC}
+ ${CC} ${C_FLAG2} -c $*.c
+
+${C_OBJ}: ${C_SRC} ${C_INC} ${SITE} ${INFO}
+ ${CC} ${C_FLAG2} ${NET_OPT} -c ${C_SRC}
+
+${INFO}: ${C_SRC} ${C_INC} ${SITE} ${SRC} ${INC}
+ -${RM} ${RM_FLAG} ${INFO}
+ @echo "Making "'"'${INFO}'"'
+ touch ${INFO}
+ @echo "/*" >> ${INFO}
+ @echo " * Mini News Reader Install Information" >> ${INFO}
+ @echo " */" >> ${INFO}
+ @echo "" >> ${INFO}
+ @echo "#define NET_OPT "'"'${NET_OPT}'"' >> ${INFO}
+ @echo "#define CONS_OPT "'"'${CONS_OPT}'"' >> ${INFO}
+ @echo "#define CONF_OPT "'"'${CONF_OPT}'"' >> ${INFO}
+ @echo "#define ARCH_OPT "'"'${ARCH}'"' >> ${INFO}
+ @echo "#define INSTALL_HOST "'"'`${WHERE}`'"' >> ${INFO}
+ @echo "#define INSTALL_USER "'"'`${WHO}`'"' >> ${INFO}
+ @echo "#define INSTALL_DATE "'"'`${WHEN}`'"' >> ${INFO}
+
+${SITE}:
@echo "You must run config.sh or config.jsh first."
-nntplib.o: nntplib.c nntplib.h compat.h
- $(CC) $(C_FLAG1) $(CONNECT_OPT) -c $*.c
+compat.o: ${INC} ${COMPAT_SRC}
+ ${CC} ${C_FLAG2} -c ${COMPAT_SRC}
+
+tcplib.o: ${COMPAT_INC} ${TCP_INC} ${TCP_SRC}
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${TCP_SRC}
+
+nntplib.o: ${COMPAT_INC} ${TCP_INC} ${NNTP_INC} ${NNTP_SRC}
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${NNTP_SRC}
-kanjilib.o: kanjilib.c kanjilib.h compat.h
- $(CC) $(C_FLAG1) -DDELETE_X0212 -c $*.c
+smtplib.o: ${COMPAT_INC} ${TCP_INC} ${SMTP_INC} ${SMTP_SRC}
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${SMTP_SRC}
-termlib.o: termlib.c termlib.h compat.h
- $(CC) $(C_FLAG2) -c $*.c
+pop3lib.o: ${COMPAT_INC} ${TCP_INC} ${POP3_INC} ${POP3_SRC}
+ ${CC} ${C_FLAG1} ${NET_OPT} -c ${POP3_SRC}
-jnames.o: jnames.c
- $(CC) $(C_FLAG2) -c $*.c
+kanjilib.o: ${COMPAT_INC} ${KANJI_INC} ${KANJI_SRC}
+ ${CC} ${C_FLAG1} -DDELETE_X0212 -c ${KANJI_SRC}
-jnhash.o: jnhash.c kanjilib.h compat.h
- $(CC) $(C_FLAG2) -c $*.c
+termlib.o: ${COMPAT_INC} ${TERM_INC} ${TERM_SRC}
+ ${CC} ${C_FLAG2} -c ${TERM_SRC}
-youbin.o: youbin.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+mimelib.o: ${INC} ${MIME_SRC}
+ ${CC} ${C_FLAG2} -c ${MIME_SRC}
-mnews.o: mnews.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+jnames.o: ${SRC_DIR}/jnames.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/jnames.c
-group.o: group.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+jnhash.o: ${COMPAT_INC} ${KANJI_INC} ${SRC_DIR}/jnhash.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/jnhash.c
-article.o: article.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+youbin.o: ${INC} ${SRC_DIR}/youbin.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/youbin.c
-mark.o: mark.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+mnews.o: ${INC} ${SRC_DIR}/mnews.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/mnews.c
-mh.o: mh.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+group.o: ${INC} ${SRC_DIR}/group.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/group.c
-ucbmail.o: ucbmail.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+article.o: ${INC} ${SRC_DIR}/article.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/article.c
-rmail.o: rmail.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+mark.o: ${INC} ${SRC_DIR}/mark.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/mark.c
-board.o: board.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+mh.o: ${INC} ${SRC_DIR}/mh.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/mh.c
-newspost.o: newspost.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+ucbmail.o: ${INC} ${SRC_DIR}/ucbmail.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/ucbmail.c
-mailsend.o: mailsend.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+rmail.o: ${INC} ${SRC_DIR}/rmail.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/rmail.c
-pager.o: pager.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+board.o: ${INC} ${SRC_DIR}/board.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/board.c
-fcc.o: fcc.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+newspost.o: ${INC} ${SRC_DIR}/newspost.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/newspost.c
-mime.o: mime.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+mailsend.o: ${INC} ${SRC_DIR}/mailsend.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/mailsend.c
-compat.o: compat.c $(INC)
- $(CC) $(C_FLAG2) -c $*.c
+pager.o: ${INC} ${SRC_DIR}/pager.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/pager.c
+
+fcc.o: ${INC} ${SRC_DIR}/fcc.c
+ ${CC} ${C_FLAG2} -c ${SRC_DIR}/fcc.c
install: all
- cp $(EXE) $(BIN_DIR)
- chmod 755 $(BIN_DIR)/$(EXE)
- @if [ -f default-domain ] ; then cp default-domain $(LIB_DIR) ; chmod 644 $(LIB_DIR)/default-domain ; fi
+ cp ${EXE} ${BIN_DIR}
+ chmod 755 ${BIN_DIR}/${EXE}
+ @if [ -f default-domain ] ; then cp default-domain ${LIB_DIR} ; chmod 644 ${LIB_DIR}/default-domain ; fi
- @if [ -f "/sbin/i860" ] ; then "/sbin/i860" ; if [ $? -eq 0 ]; then echo "Change group & permission." ; chgrp mail $(BIN_DIR)/$(EXE) ; chmod g+s $(BIN_DIR)/$(EXE) ; fi ; fi
+ @if [ -f "/sbin/i860" ] ; then "/sbin/i860" ; if [ $? -eq 0 ]; then echo "Change group & permission." ; chgrp mail ${BIN_DIR}/${EXE} ; chmod g+s ${BIN_DIR}/${EXE} ; fi ; fi
@@ -210,11 +254,11 @@ install: all
- @if [ -d $(MAN_DIR)/japanese/man1 ] ; then cp mnews.1 $(MAN_DIR)/japanese/man1 ; chmod 644 $(MAN_DIR)/japanese/man1/mnews.1 ; fi
+ @if [ -d ${MAN_DIR}/japanese/man1 ] ; then cp ${DOC_DIR}/mnews.1 ${MAN_DIR}/japanese/man1 ; chmod 644 ${MAN_DIR}/japanese/man1/mnews.1 ; fi
- @if [ -d $(MAN_DIR)/man1 ] ; then cp mnews.1 $(MAN_DIR)/man1 ; chmod 644 $(MAN_DIR)/man1/mnews.1 ; fi
+ @if [ -d ${MAN_DIR}/man1 ] ; then cp ${DOC_DIR}/mnews.1 ${MAN_DIR}/man1 ; chmod 644 ${MAN_DIR}/man1/mnews.1 ; fi
@@ -231,24 +275,25 @@ help:
@echo "make bin_dist --- archive executable & document file"
clean:
- -$(RM) $(RM_FLAG) $(EXE) $(OBJ) $(C_OBJ) $(INFO) *~ \#* *\#
+ -${RM} ${RM_FLAG} ${EXE} ${OBJ} ${C_OBJ} ${INFO} *~ \#* *\#
remove:
- -$(RM) $(RM_FLAG) $(EXE) $(OBJ) $(C_OBJ) $(INFO)
+ -${RM} ${RM_FLAG} ${EXE} ${OBJ} ${C_OBJ} ${INFO}
src_dist:
- tar cvfh $(SRC_DIST) $(SRC) $(INC) $(C_SRC) $(C_INC) $(ETC) $(DOC1) $(DOC2) $(MAKE1) $(MAKE2)
+ (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"
+
+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"
+
+bin_dist: ${EXE}
+ (cd ../.. ; tar cvfh ${EXE_DIST} ${ARC_DIR}/doc ${ARC_DIR}/etc ${ARC_DIR}/build/${EXE} ; gzip -f ${EXE_DIST} )
- gzip -f $(SRC_DIST)
-obj_dist: $(OBJ)
- tar cvfh $(OBJ_DIST) $(OBJ) $(C_SRC) $(C_INC) $(ETC) $(DOC1) $(MAKE1)
- gzip -f $(OBJ_DIST)
-bin_dist: $(EXE)
- tar cvfh $(EXE_DIST) $(EXE) $(ETC) $(DOC1)
- gzip -f $(EXE_DIST)
touch:
- touch $(SRC) $(INC) $(C_SRC) $(C_INC) $(ETC) $(DOC1) $(DOC2) $(MAKE1) $(MAKE2)
+ touch ${SRC} ${INC} ${C_SRC} ${C_INC} ${ETC} ${DOC1} ${DOC2} ${MAKE1} ${MAKE2}
diff --git a/japanese/mnews/files/site_dep.h.in b/japanese/mnews/files/site_dep.h.in
index 4496b2ffd136..586404b1ab46 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.19
+ * Version : 1.20
*
* NOTE:
* This file made by config.sh program.
@@ -17,35 +17,38 @@
* executable file, and DOMAIN_FILE does not need.
*/
/*
-#define DOMAIN_NAME "aslm.rim.or.jp"
+#define DOMAIN_NAME "your-domain-name"
*/
#define DOMAIN_FILE "@PREFIX@/lib/mnews/default-domain"
-#define SERVER_FILE "@PREFIX@/lib/mnews/default-server"
-#define MAIL_SERVER_FILE "@PREFIX@/lib/mnews/default-mailsv"
-#define EXT_PAGER "@PREFIX@/bin/less"
-#define PRINT_CODE JIS_CODE
-#define DEFAULT_CODE ASCII_CODE
-#define SAVE_CODE JIS_CODE
+#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 EXT_PAGER "@PREFIX@/bin/jless"
+#define PRINT_CODE EUC_CODE
+#define DEFAULT_CODE EUC_CODE
+#define SAVE_CODE ASCII_CODE
#define EDIT_CODE EUC_CODE
#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/local/bin/inews -h"
+#define POST_COMMAND "/usr/lib/news/inews -h"
#define MH_COMMAND_PATH "@PREFIX@/bin"
-#define JNAMES_DB "@PREFIX@/lib/mnews/jnames"
-#define NEWS_SPOOL "/var/spool/news"
-#define NEWS_LIB "@PREFIX@/news/lib"
+#define JNAMES_DB "@PREFIX@/lib/jnames"
+#define NEWS_SPOOL "/usr/spool/news"
+#define NEWS_LIB "/usr/lib/news"
#define MAIL_SPOOL "/var/mail"
-#define BOARD_SPOOL "/var/spool/board"
+#define BOARD_SPOOL "/var/board"
#define TMP_DIR "/tmp"
-#define NSPL_MODE 0
+#define NNTP_MODE 1
+#define SMTP_MODE 0
+#define POP3_MODE 0
+#define RPOP_MODE 0
#define JAPANESE 1
-#define X_NSUBJ_MODE 1
-#define INEWS_SIG_MODE 1
-#define JST_MODE 0
+#define X_NSUBJ_MODE 0
+#define INEWS_SIG_MODE 0
+#define JST_MODE 1
#define DNAS_MODE 0
-#define NEWS_THREAD_MODE 1
-#define MAIL_THREAD_MODE 1
diff --git a/japanese/mnews/pkg-install b/japanese/mnews/pkg-install
index 8cb7d462e2c8..7e355d5b0f6b 100644
--- a/japanese/mnews/pkg-install
+++ b/japanese/mnews/pkg-install
@@ -1,3 +1,4 @@
#!/bin/sh
+if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
echo "Don't forget to edit /usr/local/lib/mnews/default-domain and make sure"
echo "that it contains correct domain name for this host."
diff --git a/japanese/mnews/pkg-plist b/japanese/mnews/pkg-plist
index 212f22970334..b8687b824590 100644
--- a/japanese/mnews/pkg-plist
+++ b/japanese/mnews/pkg-plist
@@ -4,12 +4,15 @@ lib/mnews/default-domain
man/ja_JP.EUC/man1/mnews.1.gz
share/doc/mnews/FAQ.doc
share/doc/mnews/board.doc
+share/doc/mnews/gnspool.doc
share/doc/mnews/mnews.doc
share/doc/mnews/prerel.doc
share/doc/mnews/present.doc
share/doc/mnews/read1ST.doc
share/doc/mnews/readme.doc
share/doc/mnews/update.doc
+share/doc/mnews/youbin.doc
+share/examples/mnews/_mnews.smp
share/examples/mnews/jnames.fj
share/examples/mnews/jnames.jp
share/examples/mnews/jnames.smp