diff options
Diffstat (limited to 'japanese/gn-gnspool')
-rw-r--r-- | japanese/gn-gnspool/Makefile | 42 | ||||
-rw-r--r-- | japanese/gn-gnspool/distinfo | 1 | ||||
-rw-r--r-- | japanese/gn-gnspool/files/Changes.FreeBSD.port | 17 | ||||
-rw-r--r-- | japanese/gn-gnspool/files/_gnrc | 11 | ||||
-rw-r--r-- | japanese/gn-gnspool/files/patch-aa | 30 | ||||
-rw-r--r-- | japanese/gn-gnspool/files/site.def.in | 31 | ||||
-rw-r--r-- | japanese/gn-gnspool/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/gn-gnspool/pkg-descr | 18 | ||||
-rw-r--r-- | japanese/gn-gnspool/pkg-message | 6 | ||||
-rw-r--r-- | japanese/gn-gnspool/pkg-plist | 73 |
10 files changed, 230 insertions, 0 deletions
diff --git a/japanese/gn-gnspool/Makefile b/japanese/gn-gnspool/Makefile new file mode 100644 index 000000000000..f189994a6515 --- /dev/null +++ b/japanese/gn-gnspool/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: gn(Gon's Newsreader with gnspool) +# Version required: 1.35 +# Date created: 14 Feb. 1997 +# Whom: Kiroh HARADA <kiroh@kh.rim.or.jp> +# +# $Id$ +# + +DISTNAME= gn-1.35 +PKGNAME= jp-gn-gnspool-1.35 +CATEGORIES= japanese news +MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/misc/gn/ + +MAINTAINER= kiroh@kh.rim.or.jp + +WRKSRC= ${WRKDIR}/gn-1.35/src + +pre-configure: + @${CP} ${WRKDIR}/${DISTNAME}/mkfiles/unix/freebsd ${WRKSRC}/Makefile + @${SED} s+@PREFIX@+${PREFIX}+ ${FILESDIR}/site.def.in > ${WRKSRC}/site.def + @(cd ${WRKSRC}; ${MAKE} configur) + +do-configure: + @(cd ${WRKSRC}; yes | ./configur) + +post-install: +.for f in gn gnspool gninews gnmail + @strip ${PREFIX}/bin/$f +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/gn-gnspool + @${CP} -R ${WRKDIR}/${DISTNAME}/docs.jp/* ${PREFIX}/share/doc/gn-gnspool + @${CP} ${FILESDIR}/Changes.FreeBSD.port ${PREFIX}/share/doc/gn-gnspool +.endif +.if !defined(NOMANCOMPRESS) + @gzip -9nf ${PREFIX}/man/ja_JP.EUC/cat1/gn.1 ${PREFIX}/man/ja_JP.EUC/cat1/gnspool.1 +.endif + @${MKDIR} ${PREFIX}/share/examples/gn-gnspool + @${CP} ${FILESDIR}/_gnrc ${PREFIX}/share/examples/gn-gnspool + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/japanese/gn-gnspool/distinfo b/japanese/gn-gnspool/distinfo new file mode 100644 index 000000000000..1c1e041d874a --- /dev/null +++ b/japanese/gn-gnspool/distinfo @@ -0,0 +1 @@ +MD5 (gn-1.35.tar.gz) = 61a08795253220d40b7e90b14f281d21 diff --git a/japanese/gn-gnspool/files/Changes.FreeBSD.port b/japanese/gn-gnspool/files/Changes.FreeBSD.port new file mode 100644 index 000000000000..881390700850 --- /dev/null +++ b/japanese/gn-gnspool/files/Changes.FreeBSD.port @@ -0,0 +1,17 @@ +This file describes changes of gn-1.35 FreeBSD port from the original source +distribution. + +1. src/smtp.c is patched to prevent multiple "HELO" problem with + sendmail 8.8.5 or higher. This patch is copyrighted by + yamasita@omronsoft.co.jp + +2. mkfiles/unix/freebsd is patched to: + Include gninews and gnmail, + Chnage MANDIR to man/ja_JP/cat1 + +3. NEWSSPOOL is changed to /var/spool/gnspool. See site.def for detail. + +4. Sample .gnrc is attached. + +Kiroh HARADA <kiroh@kh.rim.or.jp> + diff --git a/japanese/gn-gnspool/files/_gnrc b/japanese/gn-gnspool/files/_gnrc new file mode 100644 index 000000000000..7992bc93108d --- /dev/null +++ b/japanese/gn-gnspool/files/_gnrc @@ -0,0 +1,11 @@ +DOMAINNAME your-domainname +NNTPSERVER your-nntp-server +SMTPSERVER your-smtp-server +ORGANIZATION your-organization +PAGER your-pager +EDITOR your-editor +NEWSSPOOL ~/gnspool +NEWSLIB ~/gnspool/lib +#WITH_GNSPOOL ON +#UNSUBSCRIBE alt, comp + diff --git a/japanese/gn-gnspool/files/patch-aa b/japanese/gn-gnspool/files/patch-aa new file mode 100644 index 000000000000..2c1e506bd10c --- /dev/null +++ b/japanese/gn-gnspool/files/patch-aa @@ -0,0 +1,30 @@ +*** smtp.c.orig Mon May 27 21:04:14 1996 +--- smtp.c Thu Feb 6 05:10:18 1997 +*************** +*** 318,329 **** + if ( smtp_get_resp(220) ) + return(ERROR); + } +! } +! sprintf(resp,"helo %s",gn.hostname); +! if ( smtp_put_server(resp) != CONT ) +! return(ERROR); +! if ( smtp_get_resp(250) ) +! return(ERROR); + + sprintf( resp, "mail from: <%s>", gn.usrname); + if ( smtp_put_server( resp ) != CONT ) +--- 318,330 ---- + if ( smtp_get_resp(220) ) + return(ERROR); + } +! +! sprintf(resp,"helo %s",gn.hostname); +! if ( smtp_put_server(resp) != CONT ) +! return(ERROR); +! if ( smtp_get_resp(250) ) +! return(ERROR); +! } + + sprintf( resp, "mail from: <%s>", gn.usrname); + if ( smtp_put_server( resp ) != CONT ) diff --git a/japanese/gn-gnspool/files/site.def.in b/japanese/gn-gnspool/files/site.def.in new file mode 100644 index 000000000000..e38b7f1f8e3b --- /dev/null +++ b/japanese/gn-gnspool/files/site.def.in @@ -0,0 +1,31 @@ +BINDIR = @PREFIX@/bin +MANDIR = @PREFIX@/man/ja_JP.EUC/cat1 +MANEXT = .1 +CC = cc +OPTCFLAGS = -UHAS_MALLOC_H +OPTGNOBJS = +OPTGNSPOOLOBJS = +OPTLFLAGS = +OPTLIBS = +NEWSSPOOL = /var/spool/gnspool +NEWSLIB = @PREFIX@/news/lib +MAIL_KANJI_CODE = JIS +PROCESS_KANJI_CODE = EUC +FILE_KANJI_CODE = EUC +DISPLAY_KANJI_CODE = EUC +LINES = 24 +COLUMNS = 80 +MAILER = /usr/sbin/sendmail -t +NNTPSERVER = your-nntpserver +SMTPSERVER = your-smtp-server +DOMAINNAME = your-domain-name +GENERICFROM = 1 +ORGANIZATION = your-organization +NEWSRC = .newsrc +SIGNATURE = .signature +AUTHORCOPY = author_copy +SAVEDIR = ~/News +TMPDIR = /tmp +PAGER = less +RETURN_AFTER_PAGER = 0 +EDITOR = vi diff --git a/japanese/gn-gnspool/pkg-comment b/japanese/gn-gnspool/pkg-comment new file mode 100644 index 000000000000..87b89ff9470f --- /dev/null +++ b/japanese/gn-gnspool/pkg-comment @@ -0,0 +1 @@ +Simple Japanese Newsreader with Local Spool Support diff --git a/japanese/gn-gnspool/pkg-descr b/japanese/gn-gnspool/pkg-descr new file mode 100644 index 000000000000..fa9cc92896c8 --- /dev/null +++ b/japanese/gn-gnspool/pkg-descr @@ -0,0 +1,18 @@ +This is gn-1.35, a simple newsreader with local spooling support. + +gn is a small newsreader with NNTP support. +It is especially designed for beginners with easy-to-understand interface. + +The attached utility "gnspool" makes gn different from other newsreaders. +gnspool fetches news articles from a NNTP server and stores them locally. +You can read, follow and reply to the articles when you are not connected. +gnspool stores replied/followed messages also, and post them in the next +connection. This feature is greatly useful to save your connection fee. +gnspool feature is available to other newsreaders like mnews or gnus also. + +Commercial Distribution of this software needs prior permission from +the author. Walnut Creek CDROM is granted to include this software +into FreeBSD CDROMs. + +- Kiroh HARADA + diff --git a/japanese/gn-gnspool/pkg-message b/japanese/gn-gnspool/pkg-message new file mode 100644 index 000000000000..0bd3523b9ca7 --- /dev/null +++ b/japanese/gn-gnspool/pkg-message @@ -0,0 +1,6 @@ +**************************************************************************** +Copy /usr/local/share/examples/gn-gnspool/_gnrc to ~/.gnrc and specify your +domain name, server name and other user specific information. + +Documentation is available in /usr/local/share/doc/gn-gnspool/. +**************************************************************************** diff --git a/japanese/gn-gnspool/pkg-plist b/japanese/gn-gnspool/pkg-plist new file mode 100644 index 000000000000..6a401a0d8254 --- /dev/null +++ b/japanese/gn-gnspool/pkg-plist @@ -0,0 +1,73 @@ +bin/gn +bin/gnspool +bin/gninews +bin/gnmail +man/ja_JP.EUC/cat1/gn.1.gz +man/ja_JP.EUC/cat1/gnspool.1.gz +share/examples/gn-gnspool/_gnrc +share/doc/gn-gnspool/Changes.FreeBSD.port +share/doc/gn-gnspool/copyrigh.t +share/doc/gn-gnspool/faq/old +share/doc/gn-gnspool/faq/dos +share/doc/gn-gnspool/faq/unix +share/doc/gn-gnspool/faq/newsrc +share/doc/gn-gnspool/faq/env +share/doc/gn-gnspool/faq/index +share/doc/gn-gnspool/faq/dir_file +share/doc/gn-gnspool/faq/gnspool +share/doc/gn-gnspool/faq/about +share/doc/gn-gnspool/faq/customiz +share/doc/gn-gnspool/faq/howtoget +share/doc/gn-gnspool/mime +share/doc/gn-gnspool/unix/readme +share/doc/gn-gnspool/unix/mvux +share/doc/gn-gnspool/windows.31/readme +share/doc/gn-gnspool/windows.31/winsock.qw +share/doc/gn-gnspool/windows.31/winsock.vc +share/doc/gn-gnspool/os2/tcpip16 +share/doc/gn-gnspool/os2/mime +share/doc/gn-gnspool/os2/readme +share/doc/gn-gnspool/os2/spool +share/doc/gn-gnspool/os2/tcpip32 +share/doc/gn-gnspool/wanted +share/doc/gn-gnspool/gnspool/readme +share/doc/gn-gnspool/gnspool/gnspool.gon +share/doc/gn-gnspool/gnspool/mnews +share/doc/gn-gnspool/gnspool/gnus +share/doc/gn-gnspool/gnspool/winvn +share/doc/gn-gnspool/readme +share/doc/gn-gnspool/human68k/offline +share/doc/gn-gnspool/human68k/espx +share/doc/gn-gnspool/human68k/readme +share/doc/gn-gnspool/log/110-120 +share/doc/gn-gnspool/log/100-110 +share/doc/gn-gnspool/log/120-130 +share/doc/gn-gnspool/bin-dist +share/doc/gn-gnspool/jnames +share/doc/gn-gnspool/dos/readme +share/doc/gn-gnspool/dos/inetbios +share/doc/gn-gnspool/dos/lanwp +share/doc/gn-gnspool/dos/packet +share/doc/gn-gnspool/dos/pathway +share/doc/gn-gnspool/dos/pc-nfs +share/doc/gn-gnspool/dos/pctcp4 +share/doc/gn-gnspool/dos/slimtcp +share/doc/gn-gnspool/dos/etherppp +share/doc/gn-gnspool/windows.95/winsock.vc +share/doc/gn-gnspool/windows.95/readme +share/doc/gn-gnspool/define +share/doc/gn-gnspool/install +share/doc/gn-gnspool/change.log +share/doc/gn-gnspool/new +share/doc/gn-gnspool/info +share/doc/gn-gnspool/history +@dirrm share/doc/gn-gnspool/dos +@dirrm share/doc/gn-gnspool/faq +@dirrm share/doc/gn-gnspool/gnspool +@dirrm share/doc/gn-gnspool/human68k +@dirrm share/doc/gn-gnspool/log +@dirrm share/doc/gn-gnspool/os2 +@dirrm share/doc/gn-gnspool/unix +@dirrm share/doc/gn-gnspool/windows.31 +@dirrm share/doc/gn-gnspool/windows.95 +@dirrm share/doc/gn-gnspool |