1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Remove the mnews port and the ports that depend on it. This port has been

forbidden for security reasons for over 6 months, and removal was
announced 2 months ago.
This commit is contained in:
Kris Kennaway 2002-12-09 01:35:14 +00:00
parent 3488b82eb4
commit 976604529d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71454
22 changed files with 0 additions and 1088 deletions

View File

@ -88,7 +88,6 @@
SUBDIR += ghostscript-gnu-jpnfont
SUBDIR += gicq
SUBDIR += gn-gnspool
SUBDIR += gn-mnews
SUBDIR += gnome
SUBDIR += gnomecore
SUBDIR += gnomelibs
@ -207,9 +206,6 @@
SUBDIR += mikachan-ttfonts
SUBDIR += mimekit
SUBDIR += ming
SUBDIR += mnews
SUBDIR += mnews-gnspool
SUBDIR += mnews-im
SUBDIR += monafonts
SUBDIR += mozilla-jlp
SUBDIR += mozilla-jlp-devel

View File

@ -1,36 +0,0 @@
# New ports collection makefile for: gn-mnews
# Date created: 7 Feb 1997
# Whom: Kiroh HARADA <kiroh@jp.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= gn-mnews
PORTVERSION= 1.20
CATEGORIES= japanese news
MASTER_SITES= ftp://ftp.mei.co.jp/free/Network/news/readers/
DISTNAME= mnews${PORTVERSION:S/.//}
MAINTAINER= seiken@ARGV.AC
RUN_DEPENDS= gninews:${PORTSDIR}/japanese/gn-gnspool \
mnews:${PORTSDIR}/japanese/mnews
NO_PACKAGE= "Redistribution of binary built from modified source is prohibited"
BROKEN= "Couldn't fetch now"
WRKSRC= ${WRKDIR}/mnews-${PORTVERSION}/build
do-configure:
@for f in Makefile site_dep.h ; do \
${SED} s+@PREFIX@+${PREFIX}+ ${FILESDIR}/$$f.in > ${WRKSRC}/$$f ; done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin/gnmnews
post-install:
@${ECHO} "You must have gn/gnspool configured to your environment,"
@${ECHO} "before using gn-mnews. Please refer to gn documents and"
@${ECHO} "${PREFIX}/share/doc/mnews/gnspool.doc"
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (mnews120.tar.gz) = fd5ed554d02a535a053d21a01931cd9d

View File

@ -1,299 +0,0 @@
# 1 "temp.c"
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/
VERSION = 1.20
NET_OPT = -DNSPL -DMTAP -DPOP3 -DMSPL
CONS_OPT = -DNEWSPOST -DMAILSEND -DJNAMES -DMH -DUCBMAIL -DRMAIL -DMIME -DPAGER -DFCC
CONF_OPT = -DCTRL_L -DCOMPLETION -DREF_SORT -DLARGE -DDISPLAY_CTRL -DLOCAL_POST
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}
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
MAILSEND_OBJ = mailsend.o
JNAMES_OBJ = jnames.o
MH_OBJ = mh.o
UCBMAIL_OBJ = ucbmail.o
RMAIL_OBJ = rmail.o
PAGER_OBJ = pager.o
FCC_OBJ = fcc.o
MIME_OBJ = mimelib.o
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 = ${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
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
SRC_DIST = mnews_src.tar
OBJ_DIST = mnews_${ARCH}_obj.tar
EXE_DIST = mnews_${ARCH}_exe.tar
all: ${EXE}
obj: ${OBJ}
${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} ${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."
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}
smtplib.o: ${COMPAT_INC} ${TCP_INC} ${SMTP_INC} ${SMTP_SRC}
${CC} ${C_FLAG1} ${NET_OPT} -c ${SMTP_SRC}
pop3lib.o: ${COMPAT_INC} ${TCP_INC} ${POP3_INC} ${POP3_SRC}
${CC} ${C_FLAG1} ${NET_OPT} -c ${POP3_SRC}
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}
jnames.o: ${SRC_DIR}/jnames.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/jnames.c
jnhash.o: ${COMPAT_INC} ${KANJI_INC} ${SRC_DIR}/jnhash.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/jnhash.c
youbin.o: ${INC} ${SRC_DIR}/youbin.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/youbin.c
mnews.o: ${INC} ${SRC_DIR}/mnews.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mnews.c
group.o: ${INC} ${SRC_DIR}/group.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/group.c
article.o: ${INC} ${SRC_DIR}/article.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/article.c
mark.o: ${INC} ${SRC_DIR}/mark.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mark.c
mh.o: ${INC} ${SRC_DIR}/mh.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mh.c
ucbmail.o: ${INC} ${SRC_DIR}/ucbmail.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/ucbmail.c
rmail.o: ${INC} ${SRC_DIR}/rmail.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/rmail.c
board.o: ${INC} ${SRC_DIR}/board.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/board.c
newspost.o: ${INC} ${SRC_DIR}/newspost.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/newspost.c
mailsend.o: ${INC} ${SRC_DIR}/mailsend.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mailsend.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
@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 [ -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 ${DOC_DIR}/mnews.1 ${MAN_DIR}/man1 ; chmod 644 ${MAN_DIR}/man1/mnews.1 ; fi
help:
@echo "--- Mini News Reader Makefile [Source Version] ---"
@echo "make --- make executable file"
@echo "make install --- install executable & manual file"
@echo "make clean --- remove backup & object file"
@echo "make remove --- remove object file"
@echo "make help --- print help message"
@echo "make src_dist --- archive source & document file"
@echo "make obj_dist --- archive object & document file"
@echo "make bin_dist --- archive executable & document file"
clean:
-${RM} ${RM_FLAG} ${EXE} ${OBJ} ${C_OBJ} ${INFO} *~ \#* *\#
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"
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} )
touch:
touch ${SRC} ${INC} ${C_SRC} ${C_INC} ${ETC} ${DOC1} ${DOC2} ${MAKE1} ${MAKE2}

View File

@ -1,54 +0,0 @@
/*
*
* System : Mini News Reader
* Sub system : Site depend define
* File : site_dep.h
* Version : 1.20
*
* NOTE:
* This file made by config.sh program.
* If you want to change this file, please execute
* config.sh program again.
*
*/
/*
* If you define DOMAIN_NAME, DOMAIN_NAME used in
* executable file, and DOMAIN_FILE does not need.
*/
/*
#define DOMAIN_NAME "your-domain-name"
*/
#define DOMAIN_FILE "@PREFIX@/lib/default-domain"
#define NNTP_SERVER_FILE "@PREFIX@/lib/default-server"
#define SMTP_SERVER_FILE "@PREFIX@/lib/default-smtpsv"
#define POP3_SERVER_FILE "@PREFIX@/lib/default-pop3sv"
#define YOUBIN_SERVER_FILE "@PREFIX@/lib/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 "@PREFIX@/bin/gnmail"
#define POST_COMMAND "@PREFIX@/bin/gninews"
#define MH_COMMAND_PATH "@PREFIX@/bin"
#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/board"
#define TMP_DIR "/tmp"
#define NNTP_MODE 0
#define SMTP_MODE 0
#define POP3_MODE 0
#define RPOP_MODE 0
#define JAPANESE 1
#define X_NSUBJ_MODE 0
#define INEWS_SIG_MODE 0
#define JST_MODE 1
#define DNAS_MODE 0

View File

@ -1 +0,0 @@
Simple news and E-mail reader configured to work with gnspool

View File

@ -1,6 +0,0 @@
Mnews, Mini News Reader, is a small size news reader to handle news
and electronic mail messages.
This package contains Mnews specially configured to work with gnspool.
-- Kiroh HARADA

View File

@ -1 +0,0 @@
bin/gnmnews

View File

@ -1,17 +0,0 @@
# New ports collection makefile for: mnews-gnspool
# Date created: 23 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -gnspool
RUN_DEPENDS= gnspool:${PORTSDIR}/japanese/gn-gnspool
MASTERDIR= ${.CURDIR}/../mnews
COMMENT= ${.CURDIR}/pkg-comment
GNSPOOL= 1
.include "${MASTERDIR}/Makefile"

View File

@ -1 +0,0 @@
Simple news and E-mail reader (offline mode with gnspool)

View File

@ -1,18 +0,0 @@
# New ports collection makefile for: mnews-im
# Date created: 03 Jan 2000
# Whom: SADA Kenji <sada@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -im
RUN_DEPENDS= imput:${PORTSDIR}/mail/im
MASTERDIR= ${.CURDIR}/../mnews
COMMENT= ${.CURDIR}/pkg-comment
GNSPOOL= 0
IMPUT= 1
.include "${MASTERDIR}/Makefile"

View File

@ -1 +0,0 @@
Simple news and E-mail reader (offline mode with IM)

View File

@ -1,80 +0,0 @@
# New ports collection makefile for: mnews
# Date created: 23 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mnews
PORTVERSION= 1.22
CATEGORIES= japanese news ipv6
MASTER_SITES= ftp://ftp.leo.chubu.ac.jp/pub/network/mnews/
DISTNAME= mnews${PORTVERSION:S/.//}
MAINTAINER= seiken@ARGV.AC
FORBIDDEN= "Remotely exploitable buffer overflows. http://online.securityfocus.com/archive/1/275012"
WRKSRC= ${WRKDIR}/mnews-${PORTVERSION}/build
MAN1= mnews.1
MANLANG= ja
DOCS= FAQ.doc IPv6.doc IPv6_en.doc board.doc gnspool.doc mnews.doc \
prerel.doc present.doc read1ST.doc readme.doc update.doc \
year2000.doc youbin.doc
SAMPLES= _mnews.smp jnames.fj jnames.jp jnames.smp jnames.tnn
GNSPOOL?= 0
IMPUT?= 0
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
MAKE_ENV+= USE_INET6=yes
.endif
do-configure:
.for f in Makefile site_dep.h
${SED} -e s+@PREFIX@+${PREFIX}+ \
-e s+@GNSPOOL@+${GNSPOOL}+ \
-e s+@IMPUT@+${IMPUT}+ \
${FILESDIR}/${f}.in > ${WRKSRC}/${f}
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin
${MKDIR} ${PREFIX}/etc/mnews
${INSTALL_DATA} ${WRKSRC}/../etc/jnames.fj ${PREFIX}/etc/mnews/jnames.default
.if !exists(${PREFIX}/etc/mnews/jnames)
${INSTALL_DATA} ${WRKSRC}/../etc/jnames.fj ${PREFIX}/etc/mnews/jnames
.endif
${MKDIR} ${PREFIX}/share/examples/mnews
.for f in ${SAMPLES}
${INSTALL_DATA} ${WRKSRC}/../etc/${f} ${PREFIX}/share/examples/mnews
.endfor
${INSTALL_MAN} ${WRKSRC}/../doc/mnews.1 ${PREFIX}/man/ja/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mnews
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/../doc/${f} ${PREFIX}/share/doc/mnews
.endfor
.endif
post-install:
@${ECHO_CMD} my.domain.com > ${PREFIX}/etc/mnews/default-domain.default
@if [ \! -e ${PREFIX}/etc/mnews/default-domain ]; then \
if [ X${BATCH} = X ]; then \
while [ X$$domain = X ]; do \
read -p "Enter the domain name of this host>" domain; \
done; \
${ECHO_CMD} $$domain > ${PREFIX}/etc/mnews/default-domain; \
else \
${ECHO} "Now, you need to make sure ${PREFIX}/etc/mnews/default-domain"; \
${ECHO} "contains correct domain name."; \
${CP} ${PREFIX}/etc/mnews/default-domain.default ${PREFIX}/etc/mnews/default-domain; \
fi \
fi
@${ECHO} "Please refer to the files in:"
@${ECHO} "${PREFIX}/share/doc/mnews & ${PREFIX}/share/examples/mnews."
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (mnews122.tar.gz) = 36fbc847cceb7ec7b7726026e1044c81

View File

@ -1,325 +0,0 @@
# 1 "temp.c"
SHELL = ${SH}
ARCH = _386BSD
WHEN = date
WHO = whoami
WHERE = hostname
CC ?= cc
LIBS =
RANLIB = ranlib
INSTALL =
CC_FLAG = ${CFLAGS} -DDONT_HAVE_FTIME
BIN_DIR = @PREFIX@/bin
LIB_DIR = @PREFIX@/etc
MAN_DIR = @PREFIX@/man/ja
STRIP = strip
VERSION = 1.22
.ifdef (USE_INET6)
NET_OPT = -DINET6 -DNNTP -DNSPL -DSMTP -DMTAP -DPOP3 -DMSPL
.else
NET_OPT = -DNNTP -DNSPL -DSMTP -DMTAP -DPOP3 -DMSPL
.endif
CONS_OPT = -DNEWSPOST -DMAILSEND -DJNAMES -DMH -DUCBMAIL -DRMAIL -DMIME -DPAGER -DFCC
CONF_OPT = -DCTRL_L -DCOMPLETION -DREF_SORT -DLARGE -DDISPLAY_CTRL -DXOVER
.if @GNSPOOL@ | @IMPUT@
CONF_OPT += -DLOCAL_POST
.endif
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}
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
MAILSEND_OBJ = mailsend.o
JNAMES_OBJ = jnhash.o
MH_OBJ = mh.o
UCBMAIL_OBJ = ucbmail.o
RMAIL_OBJ = rmail.o
PAGER_OBJ = pager.o
FCC_OBJ = fcc.o
MIME_OBJ = mimepart.o mimelib.o
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 = ${BASE_OBJ} ${OPT_OBJ}
C_OBJ = config.o
COMPAT_INC = ${COMPAT_DIR}/compat.h
COMPAT_SRC = ${COMPAT_DIR}/compat.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
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_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} ${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 ${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
# 197 "temp.c"
INFO = inst_inf.h
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
EXE_DIST = mnews_${ARCH}_exe.tar
all: ${EXE}
obj: ${OBJ}
${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} ${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."
compat.o: ${COMPAT_INC} ${COMPAT_DIR}/compat.c
${CC} ${C_FLAG2} -c ${COMPAT_DIR}/compat.c
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_DIR}/nntplib.c
${CC} ${C_FLAG1} ${NET_OPT} -c ${NNTP_DIR}/nntplib.c
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_DIR}/pop3lib.c
${CC} ${C_FLAG1} ${NET_OPT} -c ${POP3_DIR}/pop3lib.c
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
jnhash.o: ${COMPAT_INC} ${KANJI_INC} ${SRC_DIR}/jnhash.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/jnhash.c
youbin.o: ${INC} ${SRC_DIR}/youbin.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/youbin.c
mnews.o: ${INC} ${SRC_DIR}/mnews.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mnews.c
group.o: ${INC} ${SRC_DIR}/group.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/group.c
article.o: ${INC} ${SRC_DIR}/article.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/article.c
mark.o: ${INC} ${SRC_DIR}/mark.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mark.c
mh.o: ${INC} ${SRC_DIR}/mh.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mh.c
ucbmail.o: ${INC} ${SRC_DIR}/ucbmail.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/ucbmail.c
rmail.o: ${INC} ${SRC_DIR}/rmail.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/rmail.c
board.o: ${INC} ${SRC_DIR}/board.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/board.c
newspost.o: ${INC} ${SRC_DIR}/newspost.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/newspost.c
mailsend.o: ${INC} ${SRC_DIR}/mailsend.c
${CC} ${C_FLAG2} -c ${SRC_DIR}/mailsend.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
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}
@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 [ -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 ${DOC_DIR}/mnews.1 ${MAN_DIR}/man1 ; chmod 644 ${MAN_DIR}/man1/mnews.1 ; fi
help:
@echo "--- Mini News Reader Makefile [Source Version] ---"
@echo "make --- make executable file"
@echo "make install --- install executable & manual file"
@echo "make clean --- remove backup & object file"
@echo "make remove --- remove object file"
@echo "make help --- print help message"
@echo "make src_dist --- archive source & document file"
@echo "make obj_dist --- archive object & document file"
@echo "make bin_dist --- archive executable & document file"
clean:
-${RM} ${RM_FLAG} ${EXE} ${OBJ} ${C_OBJ} ${INFO} *~ \#* *\#
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}/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} )
# 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} )
touch:
touch ${SRC} ${INC} ${C_SRC} ${C_INC} ${ETC} ${DOC1} ${DOC2} ${MAKE1} ${MAKE2}

View File

@ -1,57 +0,0 @@
--- ../tcplib/tcplib.c.orig Fri Dec 17 02:27:36 1999
+++ ../tcplib/tcplib.c Sun Jan 16 07:37:37 2000
@@ -12,7 +12,7 @@
* Last Edit : 1999-12/17
* Author : MSRS3 Âð´Ö ðý
*
- * IPv6 support: 1999-11/19,22,30 by H.YOSHIFUJI
+ * IPv6 support: 1999-11/19,22,30, 12/04,16,24 by H.YOSHIFUJI
*/
#include "compat.h"
@@ -229,6 +229,7 @@
memset(&hints, 0, sizeof(hints));
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
+ res = res0 = NULL;
gaierr = getaddrinfo(server_name, serv_buff, &hints, &res0);
if (gaierr) {
if ((gaierr == EAI_SERVICE) &&
@@ -829,8 +830,7 @@
*port++ = '\0';
}
#ifdef INET6
- strncpy(hostport, host, sizeof(hostport));
- hostport[sizeof(hostport) - 1] = '\0';
+ strcpy(hostport, host); /* ok: strlen(hostport)+1 >= strlen(host)+1 */
#endif /* INET6 */
return(port);
}
@@ -862,7 +862,7 @@
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_CANONNAME;
-
+ res0 = NULL;
if (getaddrinfo(host, NULL, &hints, &res0) == 0) {
s = res0->ai_canonname;
}
@@ -876,12 +876,16 @@
if (canonname != (char*)NULL) {
t = strncpy(canonname, s, length);
} else {
+#ifdef DONT_HAVE_STRDUP
+ if (t = (s != (char *)NULL) ? ((char *)malloc(strlen(s)+1)) : (char *)NULL) strcpy(t,s);
+#else
t = strdup(s);
+#endif
}
+ }
#ifdef INET6
- freeaddrinfo(res0);
+ if(res0) freeaddrinfo(res0);
#endif /* INET6 */
- }
return(t);
}

View File

@ -1,42 +0,0 @@
--- ../src/mnews.c.orig Wed Dec 15 00:29:56 1999
+++ ../src/mnews.c Sun Jan 16 07:37:37 2000
@@ -2870,8 +2870,17 @@
}
dates = next_param(dates);
*year = atoi(dates); /* 年 */
- if ((*year > 0) && (*year < 1000)) {
- *year += 1900;
+ if ((*year >= 0) && (*year < 1000)){
+#ifdef Y2K_DONT_CONVERT_YEAR_00XX
+ for (i = 0; i < 5; i++)
+ if (dates[i] == '\0' || !isdigit(dates[i])) break;
+ if (i < 4){
+#endif
+ /* [Y2K] 13桁年表示日付変換 */
+ *year += (*year < 50) ? 2000 : 1900; /* draft-ietf-drums-msg-fmt-07 */
+#ifdef Y2K_DONT_CONVERT_YEAR_00XX
+ }
+#endif
}
dates = next_param(dates);
} else { /* Date, Day Month Year Time Zone */
@@ -2885,8 +2894,17 @@
}
dates = next_param(dates);
*year = atoi(dates); /* 年 */
- if ((*year > 0) && (*year < 1000)) {
- *year += 1900;
+ if ((*year >= 0) && (*year < 1000)){
+#ifdef Y2K_DONT_CONVERT_YEAR_00XX
+ for (i = 0; i < 5; i++)
+ if (dates[i] == '\0' || !isdigit(dates[i])) break;
+ if (i < 4){
+#endif
+ /* [Y2K] 13桁年表示日付変換 */
+ *year += (*year < 50) ? 2000 : 1900; /* draft-ietf-drums-msg-fmt-07 */
+#ifdef Y2K_DONT_CONVERT_YEAR_00XX
+ }
+#endif
}
dates = next_param(dates);
*hour = atoi(dates); /* 時 */

View File

@ -1,84 +0,0 @@
/*
*
* System : Mini News Reader
* Sub system : Site depend define
* File : site_dep.h
* Version : 1.22
*
* NOTE:
* This file made by config.sh program.
* If you want to change this file, please execute
* config.sh program again.
*
*/
/*
* If you define DOMAIN_NAME, DOMAIN_NAME used in
* executable file, and DOMAIN_FILE does not need.
*/
/*
#define DOMAIN_NAME "your-domain-name"
*/
#define DEFAULT_INIT_FILE "@PREFIX@/etc/mnews/mnews_setup"
#define DOMAIN_FILE "@PREFIX@/etc/mnews/default-domain"
#define NNTP_SERVER_FILE "@PREFIX@/etc/mnews/default-server"
#define SMTP_SERVER_FILE "@PREFIX@/etc/mnews/default-smtpsv"
#define POP3_SERVER_FILE "@PREFIX@/etc/mnews/default-pop3sv"
#define YOUBIN_SERVER_FILE "@PREFIX@/etc/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
#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 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@/etc/mnews/jnames"
#if @GNSPOOL@
#define SEND_COMMAND "@PREFIX@/bin/gnmail"
#define POST_COMMAND "@PREFIX@/bin/gninews"
#define NEWS_SPOOL "/var/spool/gnspool"
#else /*GNSPOOL*/
#if @IMPUT@
#define SEND_COMMAND "@PREFIX@/bin/imput"
#define POST_COMMAND "@PREFIX@/bin/imput"
#else /*IMPUT*/
#define SEND_COMMAND "/usr/sbin/sendmail -t -om -oi"
#define POST_COMMAND "@PREFIX@/bin/inews -h"
#endif /*IMPUT*/
#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"
#if @GNSPOOL@
#define NNTP_MODE 0
#else /*GNSPOOL*/
#define NNTP_MODE 1
#endif /*GNSPOOL*/
#define SMTP_MODE 0
#define POP3_MODE 0
#define RPOP_MODE 0
#define JAPANESE 1
#define X_NSUBJ_MODE 0
#define INEWS_SIG_MODE 0
#define JST_MODE 0
#define DNAS_MODE 0

View File

@ -1 +0,0 @@
Simple news and E-mail reader

View File

@ -1,27 +0,0 @@
Mnews, Mini News Reader, is a small size news reader to handle news
and electronic mail messages.
Goals of mnews' development are small size, fast operation and easy to
use interface.
As far as the size is concerned, both the program itself and the
memory usage are much smaller than those of emacs+gnus or vin.
We believe the speed of the program is also one of the fastest among
other news readers. (Though, we added various functions and they are
making the program a bit slower.)
Most effort was put on making mnews easy to operate. Most of the
message from the program is in Japanese, the operation is easy to
learn for both former gnus users and former vin users (basically, it's
Gnus compatible), and discarded multi-keystroke operations.
MH, UCB mail and rmail style e-mail files can be handled with mnews.
Optionally, you can build a electronic bulletin board system.
(FreeBSD's package does not include the support for this function by
default, so you need to rebuild mnews using the files in the port
collection if you wish to use the feature.)
Also, MIME encoded headers using ISO-2022-JP can be handled.
- Masafumi

View File

@ -1,4 +0,0 @@
#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
echo "Don't forget to edit /usr/local/etc/mnews/default-domain and make sure"
echo "that it contains correct domain name for this host."

View File

@ -1,28 +0,0 @@
bin/mnews
@unexec if cmp -s %D/etc/mnews/jnames %D/etc/mnews/jnames.default; then rm -f %D/etc/mnews/jnames; fi
etc/mnews/jnames.default
@exec test -f %B/jnames || cp %B/%f %B/jnames
@unexec if cmp -s %D/etc/mnews/default-domain %D/etc/mnews/default-domain.default; then rm -f %D/etc/mnews/default-domain; fi
etc/mnews/default-domain.default
@exec test -f %B/default-domain || cp %B/%f %B/default-domain
share/doc/mnews/FAQ.doc
share/doc/mnews/IPv6.doc
share/doc/mnews/IPv6_en.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/year2000.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
share/examples/mnews/jnames.tnn
@dirrm share/examples/mnews
@dirrm share/doc/mnews
@unexec rmdir %D/etc/mnews 2>/dev/null || true