ports/50458: update port: ftp/ncftp3

Yen-Ming Lee leeym at utopia.leeym.com
Sun Mar 30 18:30:23 UTC 2003


>Number:         50458
>Category:       ports
>Synopsis:       update port: ftp/ncftp3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 30 10:30:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.0-RELEASE-p3 FreeBSD 5.0-RELEASE-p3 #41: Sun Mar 2 05:56:42 CST 2003 root at utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386


	
>Description:
	
ncftp3 will exit unexpectedly when it gets multibyte (such as big5) characters.

>How-To-Repeat:
	
ncftp3 some.ftp.site and execute "ls ´ú¸Õ¤¤¤åÀɦW.txt"

>Fix:

	

--- ncftp3.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/ftp/ncftp3/Makefile,v
retrieving revision 1.95
diff -u -r1.95 Makefile
--- Makefile	12 Mar 2003 18:06:24 -0000	1.95
+++ Makefile	30 Mar 2003 17:29:53 -0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	ncftp
 PORTVERSION=	3.1.5
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	ftp ipv6
 MASTER_SITES=	ftp://ftp.ncftp.com/ncftp/
 DISTNAME=	ncftp-${PORTVERSION}-src
Index: files/patch-getline.c
===================================================================
RCS file: /home/pcvs/ports/ftp/ncftp3/files/patch-getline.c,v
retrieving revision 1.1
diff -u -r1.1 patch-getline.c
--- files/patch-getline.c	30 Jul 2001 17:10:31 -0000	1.1
+++ files/patch-getline.c	30 Mar 2003 17:29:53 -0000
@@ -1,5 +1,14 @@
 --- ncftp/getline.c.orig	Sat Apr  7 16:55:16 2001
 +++ ncftp/getline.c	Sun Jul 29 11:10:37 2001
+@@ -367,7 +367,7 @@
+ {
+     int             c;
+ #ifdef __unix__
+-    char            ch;
++    unsigned char   ch;
+ #endif
+ 
+ #ifdef __unix__
 @@ -974,7 +974,12 @@
  	                kill(0, sig);
  	                gl_init();
--- ncftp3.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list