From owner-freebsd-ports Tue Dec 9 22:10:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA19335 for ports-outgoing; Tue, 9 Dec 1997 22:10:03 -0800 (PST) (envelope-from owner-freebsd-ports) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA19329; Tue, 9 Dec 1997 22:10:01 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 9 Dec 1997 22:10:01 -0800 (PST) Resent-Message-Id: <199712100610.WAA19329@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, Yen-Shuo Su Received: from serv.ccca.nctu.edu.tw (serv.CCCA.nctu.edu.tw [140.113.5.152]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA19039 for ; Tue, 9 Dec 1997 22:03:38 -0800 (PST) (envelope-from yssu@serv.ccca.nctu.edu.tw) Received: (from root@localhost) by serv.ccca.nctu.edu.tw (8.8.8/8.8.4) id OAA12081; Wed, 10 Dec 1997 14:01:54 +0800 (CST) Message-Id: <199712100601.OAA12081@serv.ccca.nctu.edu.tw> Date: Wed, 10 Dec 1997 14:01:54 +0800 (CST) From: Yen-Shuo Su Reply-To: Yen-Shuo Su To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5267: Upgrade chinese/tin from 1.4.971127 to 971204 Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5267 >Category: ports >Synopsis: Upgrade chinese/tin, and corrent error in ports/5266 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 9 22:10:01 PST 1997 >Last-Modified: >Originator: Yen-Shuo Su >Organization: Campus Computer Communication Association >Release: FreeBSD 2.2.5-STABLE i386 >Environment: >Description: 1. Upgrade chinese/tin from 1.4.971127 to 1.4971204 2. Correct error in PR ports/5266, please IGNORE PR ports/5266 3. Because locale zh-big5 is not supported, I disable locale support in tin 1.4.971204 4. Correct typo in previous ports. >How-To-Repeat: >Fix: The Newest Patch: diff -ruN /usr/ports/chinese/tin/Makefile ./tin/Makefile --- /usr/ports/chinese/tin/Makefile Wed Dec 10 13:56:09 1997 +++ ./tin/Makefile Wed Dec 10 13:18:15 1997 @@ -6,8 +6,8 @@ # $Id: Makefile,v 1.3 1997/12/04 22:42:40 vanilla Exp $ # -DISTNAME= tinpre-1.4-971127 -PKGNAME= zh-tin-1.4.971127 +DISTNAME= tinpre-1.4-971204 +PKGNAME= zh-tin-1.4.971204 CATEGORIES= chinese news MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/tin/ \ ftp://ftp.akk.uni-karlsruhe.de/pub/tin/ \ @@ -26,7 +26,8 @@ --enable-break-long-lines \ --with-pgp=${PREFIX}/bin/pgp \ --with-ispell=${PREFIX}/bin/ispell \ - --with-metamail=${PREFIX}/bin/metamail + --with-metamail=${PREFIX}/bin/metamail \ + --disable-locale MAKEFILE= makefile ALL_TARGET= build MAN1= tin.1 diff -ruN /usr/ports/chinese/tin/files/md5 ./tin/files/md5 --- /usr/ports/chinese/tin/files/md5 Wed Dec 10 13:56:09 1997 +++ ./tin/files/md5 Wed Dec 10 13:48:31 1997 @@ -1 +1 @@ -MD5 (tinpre-1.4-971127.tgz) = 9a8b16259d83cc3d53e819c44292ac05 +MD5 (tinpre-1.4-971204.tgz) = 8020e0d4c17ad472373f2b68d70376d5 diff -ruN /usr/ports/chinese/tin/patches/patch-ab ./tin/patches/patch-ab --- /usr/ports/chinese/tin/patches/patch-ab Fri Dec 5 16:15:12 1997 +++ ./tin/patches/patch-ab Wed Dec 10 13:37:13 1997 @@ -5,7 +5,7 @@ unsigned char *c; for (c= (unsigned char *)buf; *c; c++) { - if (!my_isprint(*c)) -+ if (!my_isprint(*c) || *c != 27) ++ if (!my_isprint(*c) && *c != 27) *c = '?'; } } diff -ruN /usr/ports/chinese/tin/patches/patch-ac ./tin/patches/patch-ac --- /usr/ports/chinese/tin/patches/patch-ac Fri Dec 5 16:15:12 1997 +++ ./tin/patches/patch-ac Thu Jan 1 08:00:00 1970 @@ -1,153 +0,0 @@ -*** doc/tin.1.orig Mon Jun 23 17:25:38 1997 ---- doc/tin.1 Tue Jul 8 18:05:55 1997 -*************** -*** 33,39 **** - .SH DESCRIPTION - .I Tin - is a full-screen easy to use Netnews reader. It can read news locally -! (i.e., \fI/var/spool/news\fP) or remotely (\fIrtin\fP or \fItin -r\fP option) - via a NNTP (Network News Transport Protocol) server. It will automatically - utilize NOV (News OVerview) style index files if available locally or via the - NNTP XOVER command. ---- 33,39 ---- - .SH DESCRIPTION - .I Tin - is a full-screen easy to use Netnews reader. It can read news locally -! (i.e., \fI/var/news\fP) or remotely (\fIrtin\fP or \fItin -r\fP option) - via a NNTP (Network News Transport Protocol) server. It will automatically - utilize NOV (News OVerview) style index files if available locally or via the - NNTP XOVER command. -*************** -*** 113,119 **** - .B -r - read news remotely from the default NNTP server specified in the - environment variable NNTPSERVER or contained in the file -! \fI/etc/nntpserver\fP. - .TP - .B -R - read news saved by the -S option. ---- 113,119 ---- - .B -r - read news remotely from the default NNTP server specified in the - environment variable NNTPSERVER or contained in the file -! \fI/usr/local/etc/nntpserver\fP. - .TP - .B -R - read news saved by the -S option. -*************** -*** 206,219 **** - .PP - A slightly better method is to set \fItin\fP setuid news and have all index - files created and updated in the news spool directory -! (i.e., \fI/var/spool/news/.news\fP). This has the advantage that there will - only be one copy of the index files on each machine on your network, but the - disadvantage is that you will have \fItin\fP running setuid news. - .PP - A better method is to install the \fItind\fP index file updating daemon and - have it create and update index files for all groups in your active file at - regular intervals in the news spool directory -! (i.e., \fI/var/spool/news/.news\fP). This has the advantage that there will - only be one copy of the index files on each machine on your network and - \fItin\fP must not be setuid news, but the disadvantage is that you will have - to have news permissions to install \fItind\fP and root permissions to install ---- 206,219 ---- - .PP - A slightly better method is to set \fItin\fP setuid news and have all index - files created and updated in the news spool directory -! (i.e., \fI/var/news/.news\fP). This has the advantage that there will - only be one copy of the index files on each machine on your network, but the - disadvantage is that you will have \fItin\fP running setuid news. - .PP - A better method is to install the \fItind\fP index file updating daemon and - have it create and update index files for all groups in your active file at - regular intervals in the news spool directory -! (i.e., \fI/var/news/.news\fP). This has the advantage that there will - only be one copy of the index files on each machine on your network and - \fItin\fP must not be setuid news, but the disadvantage is that you will have - to have news permissions to install \fItind\fP and root permissions to install -*************** -*** 223,229 **** - The best method is to install the \fItind\fP index file updating daemon on your - NNTP server and have it create and update index files for all groups in your - active file at regular intervals in the news spool directory -! (i.e., \fI/var/spool/news/.news\fP). - This has the advantage that there will only be one copy of the index files on - the NNTP server for the whole of your network, but the disadvantage is that you - will have to install my NNTP server patches to allow \fItin\fP to retrieve ---- 223,229 ---- - The best method is to install the \fItind\fP index file updating daemon on your - NNTP server and have it create and update index files for all groups in your - active file at regular intervals in the news spool directory -! (i.e., \fI/var/news/.news\fP). - This has the advantage that there will only be one copy of the index files on - the NNTP server for the whole of your network, but the disadvantage is that you - will have to install my NNTP server patches to allow \fItin\fP to retrieve -*************** -*** 252,258 **** - When a user starts \fItin\fP it is possible to inform them of any important - changes/information concerning the news system by displaying a message of the - day (motd) file. The motd file should be created in your news lib directory -! (i.e., \fI/usr/lib/news/motd\fP) and should have file permissions set to 0644. - The motd file will only be displayed if its contents is newer than the last - time the user started \fItin\fP. If reading news via NNTP my XMOTD patch will - have to have been applied to your NNTP server. ---- 252,258 ---- - When a user starts \fItin\fP it is possible to inform them of any important - changes/information concerning the news system by displaying a message of the - day (motd) file. The motd file should be created in your news lib directory -! (i.e., \fI/usr/local/news/lib/motd\fP) and should have file permissions set to 0644. - The motd file will only be displayed if its contents is newer than the last - time the user started \fItin\fP. If reading news via NNTP my XMOTD patch will - have to have been applied to your NNTP server. -*************** -*** 1747,1753 **** - \fBNNTPSERVER\fP - The default NNTP server to remotely read news from. This variable only - needs to be set if the -r command line option is specified and the file -! \fI/etc/nntpserver\fP does not exist. - .TP - \fBNNTPPORT\fP - The NNTP tcp port to read news from. This variable only ---- 1747,1753 ---- - \fBNNTPSERVER\fP - The default NNTP server to remotely read news from. This variable only - needs to be set if the -r command line option is specified and the file -! \fI/usr/local/etc/nntpserver\fP does not exist. - .TP - \fBNNTPPORT\fP - The NNTP tcp port to read news from. This variable only -*************** -*** 1989,2004 **** - \fI$HOME/.sigfixed\fP - fixed part of a randomly generated signature. - .TP 2i -! \fI/usr/lib/news/active.times\fP - Contains list of new newsgroups as they are added to the news history file. - .TP 2i -! \fI/usr/lib/news/motd\fP - News message of the day file. - .TP 2i -! \fI/usr/lib/news/newsgroups\fP - Short description of all newsgroups. - .TP 2i -! \fI/usr/lib/news/subscriptions\fP - List of newsgroups to subscribe first time user to. - .SH BUGS - Yes ---- 1989,2004 ---- - \fI$HOME/.sigfixed\fP - fixed part of a randomly generated signature. - .TP 2i -! \fI/usr/local/news/lib/active.times\fP - Contains list of new newsgroups as they are added to the news history file. - .TP 2i -! \fI/usr/local/news/lib/motd\fP - News message of the day file. - .TP 2i -! \fI/usr/local/news/lib/newsgroups\fP - Short description of all newsgroups. - .TP 2i -! \fI/usr/local/news/lib/subscriptions\fP - List of newsgroups to subscribe first time user to. - .SH BUGS - Yes diff -ruN /usr/ports/chinese/tin/patches/patch-ad ./tin/patches/patch-ad --- /usr/ports/chinese/tin/patches/patch-ad Thu Jan 1 08:00:00 1970 +++ ./tin/patches/patch-ad Wed Dec 10 12:51:08 1997 @@ -0,0 +1,76 @@ +--- doc/tin.1.orig Wed Dec 3 03:52:10 1997 ++++ doc/tin.1 Mon Dec 8 23:10:14 1997 +@@ -33,7 +33,7 @@ + .SH DESCRIPTION + .I Tin + is a full-screen easy to use Netnews reader. It can read news locally +-(i.e., \fI/var/spool/news\fP) or remotely (\fIrtin\fP or \fItin -r\fP option) ++(i.e., \fI/var/news\fP) or remotely (\fIrtin\fP or \fItin -r\fP option) + via a NNTP (Network News Transport Protocol) server. It will automatically + utilize NOV (News OVerview) style index files if available locally or via the + NNTP XOVER command. +@@ -117,7 +117,7 @@ + .B -r + read news remotely from the default NNTP server specified in the + environment variable NNTPSERVER or contained in the file +-\fI/etc/nntpserver\fP. ++\fI/usr/local/etc/nntpserver\fP. + .TP + .B -R + read news saved by the -S option. +@@ -210,14 +210,14 @@ + .PP + A slightly better method is to set \fItin\fP setuid news and have all index + files created and updated in the news spool directory +-(i.e., \fI/var/spool/news/.news\fP). This has the advantage that there will ++(i.e., \fI/var/news/.news\fP). This has the advantage that there will + only be one copy of the index files on each machine on your network, but the + disadvantage is that you will have \fItin\fP running setuid news. + .PP + A better method is to install the \fItind\fP index file updating daemon and + have it create and update index files for all groups in your active file at + regular intervals in the news spool directory +-(i.e., \fI/var/spool/news/.news\fP). This has the advantage that there will ++(i.e., \fI/var/news/.news\fP). This has the advantage that there will + only be one copy of the index files on each machine on your network and + \fItin\fP must not be setuid news, but the disadvantage is that you will have + to have news permissions to install \fItind\fP and root permissions to install +@@ -227,7 +227,7 @@ + The best method is to install the \fItind\fP index file updating daemon on your + NNTP server and have it create and update index files for all groups in your + active file at regular intervals in the news spool directory +-(i.e., \fI/var/spool/news/.news\fP). ++(i.e., \fI/var/news/.news\fP). + This has the advantage that there will only be one copy of the index files on + the NNTP server for the whole of your network, but the disadvantage is that you + will have to install my NNTP server patches to allow \fItin\fP to retrieve +@@ -1746,7 +1746,7 @@ + \fBNNTPSERVER\fP + The default NNTP server to remotely read news from. This variable only + needs to be set if the -r command line option is specified and the file +-\fI/etc/nntpserver\fP does not exist. ++\fI/usr/local/etc/nntpserver\fP does not exist. + .TP + \fBNNTPPORT\fP + The NNTP tcp port to read news from. This variable only +@@ -1994,16 +1994,16 @@ + \fI$HOME/.sigfixed\fP + fixed part of a randomly generated signature. + .TP 2i +-\fI/usr/lib/news/active.times\fP ++\fI/usr/local/news/lib/active.times\fP + Contains list of new newsgroups as they are added to the news history file. + .TP 2i +-\fI/usr/lib/news/motd\fP ++\fI/usr/local/news/lib/motd\fP + News message of the day file. + .TP 2i +-\fI/usr/lib/news/newsgroups\fP ++\fI/usr/local/news/lib/newsgroups\fP + Short description of all newsgroups. + .TP 2i +-\fI/usr/lib/news/subscriptions\fP ++\fI/usr/local/news/lib/subscriptions\fP + List of newsgroups to subscribe first time user to. + .SH BUGS + Yes >Audit-Trail: >Unformatted: