mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
New port:
gn & gnspool - simple newsreader and local spooling support. Submitted by: Kiroh HARADA <kiroh@kh.rim.or.jp>
This commit is contained in:
parent
a912164589
commit
d04c8e413f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5620
42
japanese/gn-gnspool/Makefile
Normal file
42
japanese/gn-gnspool/Makefile
Normal file
@ -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>
|
1
japanese/gn-gnspool/distinfo
Normal file
1
japanese/gn-gnspool/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gn-1.35.tar.gz) = 61a08795253220d40b7e90b14f281d21
|
17
japanese/gn-gnspool/files/Changes.FreeBSD.port
Normal file
17
japanese/gn-gnspool/files/Changes.FreeBSD.port
Normal file
@ -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>
|
||||
|
11
japanese/gn-gnspool/files/_gnrc
Normal file
11
japanese/gn-gnspool/files/_gnrc
Normal file
@ -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
|
||||
|
30
japanese/gn-gnspool/files/patch-aa
Normal file
30
japanese/gn-gnspool/files/patch-aa
Normal file
@ -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 )
|
31
japanese/gn-gnspool/files/site.def.in
Normal file
31
japanese/gn-gnspool/files/site.def.in
Normal file
@ -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
|
1
japanese/gn-gnspool/pkg-comment
Normal file
1
japanese/gn-gnspool/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Simple Japanese Newsreader with Local Spool Support
|
18
japanese/gn-gnspool/pkg-descr
Normal file
18
japanese/gn-gnspool/pkg-descr
Normal file
@ -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
|
||||
|
6
japanese/gn-gnspool/pkg-message
Normal file
6
japanese/gn-gnspool/pkg-message
Normal file
@ -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/.
|
||||
****************************************************************************
|
73
japanese/gn-gnspool/pkg-plist
Normal file
73
japanese/gn-gnspool/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user