diff options
author | max <max@FreeBSD.org> | 1997-02-15 19:09:04 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-02-15 19:09:04 +0800 |
commit | dc71cdcfb27b087efc6e2b588f04887f2c1131f3 (patch) | |
tree | ac644096a15b2e4df5787b3adf77f5af02e96043 /japanese/gn-gnspool/files | |
parent | 787946bbd4966953635ca25908b5ff8c49ce9c33 (diff) | |
download | freebsd-ports-gnome-dc71cdcfb27b087efc6e2b588f04887f2c1131f3.tar.gz freebsd-ports-gnome-dc71cdcfb27b087efc6e2b588f04887f2c1131f3.tar.zst freebsd-ports-gnome-dc71cdcfb27b087efc6e2b588f04887f2c1131f3.zip |
New port:
gn & gnspool - simple newsreader and local spooling support.
Submitted by: Kiroh HARADA <kiroh@kh.rim.or.jp>
Diffstat (limited to 'japanese/gn-gnspool/files')
-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 |
4 files changed, 89 insertions, 0 deletions
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 |