From a4b152bafb5b2c0708d3672aa5deb582716062d1 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 16 Mar 1998 07:51:27 +0000 Subject: Update to version 3.96k2. PR: 6024 Submitted by: maintainer --- korean/pine/Makefile | 40 ++++++++++--------- korean/pine/distinfo | 2 +- korean/pine/files/dot.pinerc.ko.sample.patch | 32 ++++++++++++++++ korean/pine/files/patch-aa | 2 +- korean/pine/files/patch-ae | 2 +- korean/pine/files/patch-ai | 38 +++++++++++++++++-- korean/pine/files/patch-aj | 17 +++++++++ korean/pine/files/patch-an | 32 ++++++++++++++++ korean/pine/files/patch-ao | 20 ++++++++++ korean/pine/files/patch-ap | 20 ++++++++++ korean/pine/files/patch-aq | 57 ++++++++++++++++++++++++++++ korean/pine/pkg-comment | 2 +- korean/pine/pkg-descr | 6 +-- korean/pine/pkg-plist | 1 + 14 files changed, 240 insertions(+), 31 deletions(-) create mode 100644 korean/pine/files/dot.pinerc.ko.sample.patch create mode 100644 korean/pine/files/patch-aj create mode 100644 korean/pine/files/patch-an create mode 100644 korean/pine/files/patch-ao create mode 100644 korean/pine/files/patch-ap create mode 100644 korean/pine/files/patch-aq (limited to 'korean') diff --git a/korean/pine/Makefile b/korean/pine/Makefile index c223579cf8b8..96108f434d5d 100644 --- a/korean/pine/Makefile +++ b/korean/pine/Makefile @@ -1,42 +1,40 @@ -# New ports collection makefile for: pine-3.96k +# New ports collection makefile for: pine-ko # -# Version required: 3.96k -# Date created: 2 Apr 1997 -# Whom: Choi Jun Ho +# Version required: 3.96k2 +# Date created: 15 Mar 1998 +# Whom: CHOI Junho # -# $Id: Makefile,v 1.3 1997/05/18 07:06:41 asami Exp $ +# $Id$ # DISTNAME= pine3.96 -PKGNAME= ko-pine-3.96k -CATEGORIES= korean mail +PKGNAME= ko-pine-3.96k.2 +CATEGORIES= korean mail news MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \ - ftp://ftp.kaist.ac.kr/pub/hangul/mail/Others/ \ - ftp://sunsite.kren.nm.kr/pub/packages/hangul/mail/Others/ -DISTFILES= pine3.96.tar.gz pine395k.patch.tar.gz + ftp://ftp.kaist.ac.kr/pub/hangul/incoming/ \ + ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/incoming/ +DISTFILES= pine3.96.tar.gz pine396k2.tar.gz MAINTAINER= junker@jazz.snu.ac.kr -EXTRACT_ONLY= pine3.96.tar.gz MAN1= pine.1 pico.1 pilot.1 post-patch: - @cd ${WRKSRC}; \ - tar zxf ${DISTDIR}/pine395k.patch.tar.gz; \ - (cd pine395k; \ - patch < ${FILESDIR}/pine395k.to.396k.patch); \ - patch -s -p0 < pine395k/pine395k.patch + @cd ${WRKSRC} && \ + ${PATCH} -s -p1 < ${WRKDIR}/pine396k2/pine396k2.patch + @cd ${WRKDIR} && \ + ${PATCH} -s < ${FILESDIR}/dot.pinerc.ko.sample.patch post-install: - install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \ + ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \ ${PREFIX}/share/doc/pine cd ${WRKSRC} && \ ${INSTALL_DATA} doc/tech-notes.txt ${PREFIX}/share/doc/pine - cd ${WRKSRC} && \ - ${INSTALL_DATA} pine395k/README \ + ${INSTALL_DATA} ${WRKDIR}/pine396k2/README \ ${PREFIX}/share/doc/pine/README.patch.ko - cd ${WRKSRC} && \ - ${INSTALL_DATA} pine395k/README.pine \ + ${INSTALL_DATA} ${WRKDIR}/pine396k2/pine.doc \ ${PREFIX}/share/doc/pine/README.pine.ko + ${INSTALL_DATA} ${WRKDIR}/pine396k2/pinerc.sample \ + ${PREFIX}/etc/dot.pinerc.ko.sample .include diff --git a/korean/pine/distinfo b/korean/pine/distinfo index 9d287c3c6b1a..7c7728d8cf27 100644 --- a/korean/pine/distinfo +++ b/korean/pine/distinfo @@ -1,2 +1,2 @@ MD5 (pine3.96.tar.gz) = bf32b0bf1296ff2151e1bc7f546d43ab -MD5 (pine395k.patch.tar.gz) = 11b054b364b98034dd2aca6d44ae995c +MD5 (pine396k2.tar.gz) = 14dc4ffeaf2b09bb856589ba7b1cb2d3 diff --git a/korean/pine/files/dot.pinerc.ko.sample.patch b/korean/pine/files/dot.pinerc.ko.sample.patch new file mode 100644 index 000000000000..832a3d55ef61 --- /dev/null +++ b/korean/pine/files/dot.pinerc.ko.sample.patch @@ -0,0 +1,32 @@ +diff -uNr ../../pine.old/work/pine396k2/pinerc.sample pine396k2/pinerc.sample +--- ../../pine.old/work/pine396k2/pinerc.sample Thu Jun 5 02:09:47 1997 ++++ pine396k2/pinerc.sample Sun Mar 15 19:28:30 1998 +@@ -49,8 +49,8 @@ + # List, only needed if nntp-server not set, or news is on a different host + # than used for NNTP posting. Examples: News *[] or News *{host3/nntp}[] + # Syntax: optnl-label *{news-host/protocol}[] +-news-collections=*{babyblue.cs.yale.edu/nntp}[], +- *{net161-61.student.yale.edu/nntp}[] ++#news-collections=*{babyblue.cs.yale.edu/nntp}[], ++# *{net161-61.student.yale.edu/nntp}[] + + # List of folder pairs; the first indicates a folder to archive, and the + # second indicates the folder read messages in the first should +@@ -124,7 +124,7 @@ + Attchmnt: + + # Add these customized headers (and possible default values) when composing +-customized-hdrs=Reply-To: jshin@minerva.cis.yale.edu ++#customized-hdrs=Reply-To: jshin@minerva.cis.yale.edu + + # When viewing messages, include this list of headers + viewer-hdrs=From:, +@@ -159,7 +159,7 @@ + + # Specifies the program invoked by ^_ in the Composer, + # or the "enable-alternate-editor-implicitly" feature. +-editor=hvi ++#editor=hvi + + # Specifies the program invoked by ^T in the Composer. + speller= diff --git a/korean/pine/files/patch-aa b/korean/pine/files/patch-aa index ae7d1c175683..52315d718b1c 100644 --- a/korean/pine/files/patch-aa +++ b/korean/pine/files/patch-aa @@ -36,7 +36,7 @@ + #for normal build + #DASHO= -O + -+ STDCFLAGS= -DBSDI -DBSDI2 -DPOSIX -DJOB_CONTROL -DANSI -DMOUSE ++ STDCFLAGS= -DBSDI -DBSDI2 -DPOSIX -DJOB_CONTROL -DANSI -DMOUSE -DTERMCAP_WINS + CFLAGS+= $(EXTRACFLAGS) $(DASHO) $(STDCFLAGS) + + # switches for library building diff --git a/korean/pine/files/patch-ae b/korean/pine/files/patch-ae index dcc53f5554af..089e512d520a 100644 --- a/korean/pine/files/patch-ae +++ b/korean/pine/files/patch-ae @@ -63,7 +63,7 @@ + LOCLIBDIR= -L$(PICODIR) + LIBES= $(EXTRALIBES) $(LOCLIBDIR) $(LOCLIBES) $(STDLIBES) + -+ STDCFLAGS= -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE ++ STDCFLAGS= -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE -DTERMCAP_WINS + CFLAGS+= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS) + + obj= addrbook.o adrbklib.o args.o context.o filter.o \ diff --git a/korean/pine/files/patch-ai b/korean/pine/files/patch-ai index 8d9ab18bd580..bd1b5bf4346c 100644 --- a/korean/pine/files/patch-ai +++ b/korean/pine/files/patch-ai @@ -1,5 +1,37 @@ *** pine/send.c.orig Tue Feb 25 00:57:38 1997 ---- pine/send.c Wed Mar 26 04:27:59 1997 +--- pine/send.c Sun Jul 20 02:50:31 1997 +*************** +*** 5352,5364 **** + body->subtype = cpystr("octet-stream"); + } + + /* + * Apply maximal encoding regardless of previous + * setting. This segment's either not text, or is + * unlikely to be readable with > 30% of the + * text encoded anyway, so we might as well save space... + */ +! new_encoding = ENCBINARY; /* > 30% 8 bit chars */ + } + } + +--- 5352,5367 ---- + body->subtype = cpystr("octet-stream"); + } + ++ if(body->type == TYPETEXT) ++ new_encoding = ENC8BIT; ++ else + /* + * Apply maximal encoding regardless of previous + * setting. This segment's either not text, or is + * unlikely to be readable with > 30% of the + * text encoded anyway, so we might as well save space... + */ +! new_encoding = ENCBINARY; /* > 30% 8 bit chars */ + } + } + *************** *** 6113,6119 **** @@ -9,7 +41,7 @@ break; case ENCBINARY: /* encode binary into BASE64 */ ---- 6113,6120 ---- +--- 6116,6123 ---- switch (body->encoding) { /* all else needs filtering */ case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */ @@ -27,7 +59,7 @@ ? ENCQUOTEDPRINTABLE : (body->encoding <= ENCMAX) ? body->encoding : ENCOTHER]); ---- 6173,6179 ---- +--- 6176,6182 ---- sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012", body_encodings[(body->encoding == ENCBINARY) ? ENCBASE64 diff --git a/korean/pine/files/patch-aj b/korean/pine/files/patch-aj new file mode 100644 index 000000000000..9a9d853c0b35 --- /dev/null +++ b/korean/pine/files/patch-aj @@ -0,0 +1,17 @@ +*** imap/ANSI/c-client/os_bsi.h.bak Wed Feb 7 12:01:07 1996 +--- imap/ANSI/c-client/os_bsi.h Sun Jul 20 01:47:23 1997 +*************** +*** 36,42 **** +--- 36,47 ---- + #include + #include + #include ++ #ifdef __FreeBSD__ ++ #include ++ #define direct dirent ++ #else + #include ++ #endif + #include /* needed for writev() prototypes */ + #include + #include diff --git a/korean/pine/files/patch-an b/korean/pine/files/patch-an new file mode 100644 index 000000000000..c0b69d687620 --- /dev/null +++ b/korean/pine/files/patch-an @@ -0,0 +1,32 @@ +*** pico/os_unix.h.orig Thu Jun 13 00:47:23 1996 +--- pico/os_unix.h Thu Jan 29 21:29:51 1998 +*************** +*** 122,133 **** + /* + * Place where mail gets delivered (for pico's new mail checking) + */ + #if defined(sv3) || defined(ct) || defined(isc) || defined(AUX) || defined(sgi) + #define MAILDIR "/usr/mail" + #else + #define MAILDIR "/usr/spool/mail" + #endif +! + + /* + * What and where the tool that checks spelling is located. If this is +--- 122,136 ---- + /* + * Place where mail gets delivered (for pico's new mail checking) + */ ++ #ifdef __FreeBSD__ ++ #define MAILDIR "/var/mail" ++ #else + #if defined(sv3) || defined(ct) || defined(isc) || defined(AUX) || defined(sgi) + #define MAILDIR "/usr/mail" + #else + #define MAILDIR "/usr/spool/mail" + #endif +! #endif + + /* + * What and where the tool that checks spelling is located. If this is diff --git a/korean/pine/files/patch-ao b/korean/pine/files/patch-ao new file mode 100644 index 000000000000..ae0d6d6574cb --- /dev/null +++ b/korean/pine/files/patch-ao @@ -0,0 +1,20 @@ +*** pico/tcap.c.bak Fri Mar 15 10:42:31 1996 +--- pico/tcap.c Thu Jan 29 22:04:28 1998 +*************** +*** 322,328 **** + KPPU = tgetstr("kP", &p); + KPPD = tgetstr("kN", &p); + KPHOME = tgetstr("kh", &p); +! KPEND = tgetstr("kE", &p); + KPDEL = tgetstr("kD", &p); + KU = tgetstr("ku", &p); + KD = tgetstr("kd", &p); +--- 322,329 ---- + KPPU = tgetstr("kP", &p); + KPPD = tgetstr("kN", &p); + KPHOME = tgetstr("kh", &p); +! if((KPEND = tgetstr("@7", &p)) == NULL) +! KPEND = tgetstr("kE", &p); + KPDEL = tgetstr("kD", &p); + KU = tgetstr("ku", &p); + KD = tgetstr("kd", &p); diff --git a/korean/pine/files/patch-ap b/korean/pine/files/patch-ap new file mode 100644 index 000000000000..4a7155a3732d --- /dev/null +++ b/korean/pine/files/patch-ap @@ -0,0 +1,20 @@ +*** pine/ttyout.c.bak Thu Jul 11 05:45:56 1996 +--- pine/ttyout.c Thu Jan 29 22:17:48 1998 +*************** +*** 289,295 **** + _kppu = tgetstr("kP", &ptr); + _kppd = tgetstr("kN", &ptr); + _kphome = tgetstr("kh", &ptr); +! _kpend = tgetstr("kE", &ptr); + _kpdel = tgetstr("kD", &ptr); + _kf1 = tgetstr("k1", &ptr); + _kf2 = tgetstr("k2", &ptr); +--- 289,296 ---- + _kppu = tgetstr("kP", &ptr); + _kppd = tgetstr("kN", &ptr); + _kphome = tgetstr("kh", &ptr); +! if((_kpend = tgetstr("@7", &ptr)) == NULL) +! _kpend = tgetstr("kE", &ptr); + _kpdel = tgetstr("kD", &ptr); + _kf1 = tgetstr("k1", &ptr); + _kf2 = tgetstr("k2", &ptr); diff --git a/korean/pine/files/patch-aq b/korean/pine/files/patch-aq new file mode 100644 index 000000000000..d90d3d3f065c --- /dev/null +++ b/korean/pine/files/patch-aq @@ -0,0 +1,57 @@ +*** pico/display.c.bak Wed Jul 10 20:59:09 1996 +--- pico/display.c Thu Jan 29 23:06:07 1998 +*************** +*** 82,88 **** + {"^X", "Exit", KS_EXIT}, {"^J", "Justify", KS_JUSTIFY}, + {"^W", "Where is", KS_WHEREIS}, {"^V", "Next Pg", KS_NEXTPAGE}, + {"^U", NULL, KS_NONE}, +! #ifdef SPELLER + {"^T", "To Spell", KS_SPELLCHK} + #else + {"^D", "Del Char", KS_NONE} +--- 82,88 ---- + {"^X", "Exit", KS_EXIT}, {"^J", "Justify", KS_JUSTIFY}, + {"^W", "Where is", KS_WHEREIS}, {"^V", "Next Pg", KS_NEXTPAGE}, + {"^U", NULL, KS_NONE}, +! #if defined(SPELLER) && !defined(__FreeBSD__) + {"^T", "To Spell", KS_SPELLCHK} + #else + {"^D", "Del Char", KS_NONE} +*** pico/ebind.h.bak Fri Mar 15 10:41:58 1996 +--- pico/ebind.h Thu Jan 29 23:04:30 1998 +*************** +*** 145,151 **** + {CTRL|'O', filewrite}, + {CTRL|'P', backline}, + {CTRL|'R', insfile}, +! #ifdef SPELLER + {CTRL|'T', spell}, + #endif /* SPELLER */ + {CTRL|'U', yank}, +--- 145,151 ---- + {CTRL|'O', filewrite}, + {CTRL|'P', backline}, + {CTRL|'R', insfile}, +! #if defined(SPELLER) && !defined(__FreeBSD__) + {CTRL|'T', spell}, + #endif /* SPELLER */ + {CTRL|'U', yank}, +*** pico/main.c.bak Wed May 29 04:05:27 1996 +--- pico/main.c Thu Jan 29 23:04:30 1998 +*************** +*** 72,78 **** + { F9, (CTRL|'K')}, + { F10, (CTRL|'U')}, + { F11, (CTRL|'C')}, +! #ifdef SPELLER + { F12, (CTRL|'T')} + #else + { F12, (CTRL|'D')} +--- 72,78 ---- + { F9, (CTRL|'K')}, + { F10, (CTRL|'U')}, + { F11, (CTRL|'C')}, +! #if defined(SPELLER) && !defined(__FreeBSD__) + { F12, (CTRL|'T')} + #else + { F12, (CTRL|'D')} diff --git a/korean/pine/pkg-comment b/korean/pine/pkg-comment index 2025b53ed997..13194759c87e 100644 --- a/korean/pine/pkg-comment +++ b/korean/pine/pkg-comment @@ -1 +1 @@ -Program for Internet E-mail and News, patched for Korean E-Mail transfer +Program for Internet E-mail(Korean) and News diff --git a/korean/pine/pkg-descr b/korean/pine/pkg-descr index 8c44d9344832..f379f1900081 100644 --- a/korean/pine/pkg-descr +++ b/korean/pine/pkg-descr @@ -1,5 +1,5 @@ -pine-3.96k ----------- +pine +---- Pine for FreeBSD 2.x is a tool for reading, sending, and managing electronic messages. It was designed specifically with novice @@ -20,4 +20,4 @@ It is patched to remove a couple of incompatibilities with RFC 1557 and Hangul MTA. Patch is by Jungshik Shin . -- -Port by Choi Jun Ho +Port by CHOI Junho diff --git a/korean/pine/pkg-plist b/korean/pine/pkg-plist index 852fa9f5551a..4097792efbd3 100644 --- a/korean/pine/pkg-plist +++ b/korean/pine/pkg-plist @@ -7,6 +7,7 @@ bin/pgpencrypt bin/pgpdecode bin/pgpsign etc/dot.pinerc.pgp.sample +etc/dot.pinerc.ko.sample man/man1/pico.1.gz man/man1/pilot.1.gz man/man1/pine.1.gz -- cgit v1.2.3