Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 1998 00:26:38 +0900 (JST)
From:      issei@jp.FreeBSD.ORG
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8056: Update port: japanese/tcsh
Message-ID:  <199809261526.AAA03338@sandra.mikage.t-cnet.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         8056
>Category:       ports
>Synopsis:       Update port: japanese/tcsh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 26 08:30:04 PDT 1998
>Last-Modified:
>Originator:     Issei Suzuki
>Organization:
Personal
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	

>Description:

	Update base tcsh version from 6.07.09 to 6.07.12.
	Tcsh 6.07.09 is obsolute and unfechable from MASTER_SITE.

>How-To-Repeat:

	

>Fix:
	
Apply this patch to japanese/tcsh in ports-crrent.

diff -urN tcsh.old/Makefile tcsh/Makefile
--- tcsh.old/Makefile	Mon Aug 31 07:36:00 1998
+++ tcsh/Makefile	Sat Sep 26 23:29:30 1998
@@ -1,31 +1,23 @@
-# New ports collection makefile for:	tcsh with kanji patch
-# Version required:	6.07.09
+# New ports collection makefile for:	tcsh with multibyte support enabled
+# Version required:	6.07.12
 # Date created:		29 November 1997
 # Whom:			issei <issei@jp.FreeBSD.ORG>
 #
-# $Id: Makefile,v 1.5 1998/08/30 21:14:46 max Exp $
+# $Id$
 #
 
-DISTNAME=	tcsh-6.07.09
-PKGNAME=	ja-tcsh-6.07.09b5
+DISTNAME=	tcsh-6.07.12
+PKGNAME=	ja-tcsh-6.07.12
 CATEGORIES=	japanese shells
-MASTER_SITES=	http://www2.wbs.ne.jp/~znc/tcsh/
-EXTRACT_SUFX=	.tgz
-
-PATCH_SITES=	http://www2.wbs.ne.jp/~znc/tcsh/
-PATCHFILES=	${DISTNAME}.kanji.patch7b5.gz
+MASTER_SITES=	ftp://ftp.astron.com/pri/
 
 MAINTAINER=	issei@jp.FreeBSD.ORG
 
-PATCH_DIST_STRIP=       -p1
 GNU_CONFIGURE=	yes
-# Ugly hack
-CONFIGURE_ARGS=	--bindir=${PREFIX}/bin
 ALL_TARGET=	all catalogs
 INSTALL_TARGET=	install install.man
 MAN1= 		tcsh.1
-PORTDOCS=	complete.tcsh FAQ HISTORY.kanji.patch.euc HowToMakeNLS.euc \
-		README.kanji.patch.euc
+PORTDOCS=	FAQ Fixes README WishList complete.tcsh
 
 post-install:
 	@(cd ${WRKSRC}; \
diff -urN tcsh.old/files/md5 tcsh/files/md5
--- tcsh.old/files/md5	Mon Aug 31 07:36:00 1998
+++ tcsh/files/md5	Sat Sep 26 23:04:29 1998
@@ -1,2 +1 @@
-MD5 (tcsh-6.07.09.tgz) = f285baaebbb3c5f9c32425558415a798
-MD5 (tcsh-6.07.09.kanji.patch7b5.gz) = fe918113362ba0446b12269356a6e2de
+MD5 (tcsh-6.07.12.tar.gz) = 754718dc9af006d50eda615dac7f5d40
diff -urN tcsh.old/patches/patch-ac tcsh/patches/patch-ac
--- tcsh.old/patches/patch-ac	Mon Aug 31 07:36:00 1998
+++ tcsh/patches/patch-ac	Sat Sep 26 23:04:50 1998
@@ -1,6 +1,6 @@
---- ../../tcsh-6.07.09/sh.h	Wed Jul 22 01:03:33 1998
-+++ sh.h	Wed Jul 22 01:03:05 1998
-@@ -1151,7 +1151,7 @@
+--- sh.h.orig	Sat Sep 19 01:09:13 1998
++++ sh.h	Sat Sep 26 19:23:15 1998
+@@ -1154,7 +1154,7 @@
  /*
   * To print system call errors...
   */
diff -urN tcsh.old/patches/patch-af tcsh/patches/patch-af
--- tcsh.old/patches/patch-af	Mon Aug 31 07:36:00 1998
+++ tcsh/patches/patch-af	Sat Sep 26 23:08:29 1998
@@ -1,5 +1,5 @@
---- ../../tcsh-6.07.09/config_f.h	Wed Jul 22 01:03:32 1998
-+++ config_f.h	Wed Jul 22 01:04:17 1998
+--- config_f.h.orig	Sat Sep 19 23:48:08 1998
++++ config_f.h	Sat Sep 26 23:08:09 1998
 @@ -65,7 +65,11 @@
   *		if you don't have <nl_types.h>, you don't want
   *		to define this.
@@ -13,3 +13,36 @@
  
  /*
   * LOGINFIRST   Source ~/.login before ~/.cshrc
+@@ -117,20 +121,29 @@
+  *		be used with SHORT_STRINGS
+  *
+  */
+-#undef KANJI
++#define KANJI
+ 
+ /*
+  * DSPMBYTE	add variable "dspmbyte" and display multi-byte string at
+  *		only output, when "dspmbyte" is set.
+  */
+-#undef DSPMBYTE
++#if defined(__FreeBSD__) || defined(__OpenBSD__)
++# define DSPMBYTE
++#else
++# undef DSPMBYTE
++#endif
++
+ 
+ /*
+  * MBYTEDEBUG	when "dspmbyte" is changed, set multi-byte checktable to
+  *		variable "mbytemap".
+  *		(use for multi-byte table check)
+  */
+-#undef MBYTEDEBUG
++#if defined(__FreeBSD__) || defined(__OpenBSD__)
++# define MBYTEDEBUG
++#else
++# undef MBYTEDEBUG
++#endif
+ 
+ /*
+  * NEWGRP	Provide a newgrp builtin.
diff -urN tcsh.old/patches/patch-ag tcsh/patches/patch-ag
--- tcsh.old/patches/patch-ag	Mon Aug 31 07:36:00 1998
+++ tcsh/patches/patch-ag	Sat Sep 26 23:04:50 1998
@@ -1,5 +1,5 @@
---- ../../tcsh-6.07.09/sh.func.c	Wed Jul 22 01:03:33 1998
-+++ sh.func.c	Wed Jul 22 01:04:47 1998
+--- sh.func.c.orig	Sat Sep 19 01:09:11 1998
++++ sh.func.c	Sat Sep 26 19:23:40 1998
 @@ -1286,6 +1286,9 @@
      struct command *c;
  {
@@ -10,7 +10,7 @@
  
      USE(c);
      if (*++v == 0) {
-@@ -1338,7 +1341,15 @@
+@@ -1337,7 +1340,15 @@
  #  ifdef LC_MESSAGES
  	(void) setlocale(LC_MESSAGES, "");
  #  endif /* LC_MESSAGES */
diff -urN tcsh.old/patches/patch-aj tcsh/patches/patch-aj
--- tcsh.old/patches/patch-aj	Mon Aug 31 07:36:00 1998
+++ tcsh/patches/patch-aj	Sat Sep 26 23:05:55 1998
@@ -1,8 +1,8 @@
---- nls/Makefile.orig	Wed Aug 19 14:21:20 1998
-+++ nls/Makefile	Wed Aug 19 14:23:51 1998
+--- nls/Makefile.old	Sat Sep 26 23:05:31 1998
++++ nls/Makefile	Sat Sep 26 23:05:42 1998
 @@ -1,5 +1,5 @@
  
--SUBDIRS=	C german french greek spanish ja.roomi ja.koshiki ja
+-SUBDIRS=	C german french italian ja greek spanish
 +SUBDIRS=	C
  #GENCAT=	gencat -new
  GENCAT=		gencat
diff -urN tcsh.old/patches/patch-ak tcsh/patches/patch-ak
--- tcsh.old/patches/patch-ak	Thu Jan  1 09:00:00 1970
+++ tcsh/patches/patch-ak	Sat Sep 26 23:04:50 1998
@@ -0,0 +1,10 @@
+--- sh.dir.c.orig	Sat Sep 26 18:42:10 1998
++++ sh.dir.c	Sat Sep 26 18:42:33 1998
+@@ -1109,6 +1109,7 @@
+ 	 * Start comparing dev & ino backwards
+ 	 */
+ 	(void) Strncpy(link, cp, sizeof(link) / sizeof(Char));
++	p2 = link;
+ 	link[sizeof(link) / sizeof(Char) - 1] = '\0';
+ 	found = 0;
+ 	while (*p2 && stat(short2str(p2), &statbuf) != -1) {
diff -urN tcsh.old/pkg/COMMENT tcsh/pkg/COMMENT
--- tcsh.old/pkg/COMMENT	Sun Dec 28 04:04:00 1997
+++ tcsh/pkg/COMMENT	Sat Sep 26 23:14:42 1998
@@ -1 +1 @@
-An extended C-shell with many useful features with Japanese and color support.
+An extended C-shell with many useful features with multibyte support.
diff -urN tcsh.old/pkg/DESCR tcsh/pkg/DESCR
--- tcsh.old/pkg/DESCR	Sun Dec 28 04:04:00 1997
+++ tcsh/pkg/DESCR	Sat Sep 26 23:14:57 1998
@@ -2,8 +2,8 @@
 filename completion, history editing, etc.
 
 This also supports
-   1. Japanese command-line editing
-   2. Japanese NLS catalogs
+   1. Multibyte command-line editing
+   2. Multibyte NLS catalogs
    3. colorlized ls-F command
 
 See also ${PREFIX}/share/doc/tcsh.
diff -urN tcsh.old/pkg/PLIST tcsh/pkg/PLIST
--- tcsh.old/pkg/PLIST	Mon Aug 31 07:36:00 1998
+++ tcsh/pkg/PLIST	Sat Sep 26 23:13:11 1998
@@ -1,11 +1,11 @@
 bin/tcsh
 @exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
 @unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
-share/doc/tcsh/complete.tcsh
 share/doc/tcsh/FAQ
-share/doc/tcsh/HISTORY.kanji.patch.euc
-share/doc/tcsh/HowToMakeNLS.euc
-share/doc/tcsh/README.kanji.patch.euc
+share/doc/tcsh/Fixes
+share/doc/tcsh/README
+share/doc/tcsh/WishList
+share/doc/tcsh/complete.tcsh
 @dirrm share/doc/tcsh
 share/nls/C/tcsh.cat
 share/nls/C/tcsh.m
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809261526.AAA03338>