Subject: pkg/22979: update request of net/ncftp3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 09/28/2003 05:35:23
>Number:         22979
>Category:       pkg
>Synopsis:       update request of net/ncftp3 to 3.1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 20:34:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        NetBSD 1.6W
>Organization:
	
>Environment:
	
	
System: NetBSD orinoco.my.domain 1.6W NetBSD 1.6W (Orinoco) #0: Sun Sep 7 19:13:40 JST 2003 hiramatsu@orinoco.my.domain:/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
Please update net/ncftp3. Current pkgsrc version(3.0.3) has security
probelm described in http://www.kb.cert.org/vuls/id/210409

>How-To-Repeat:
	
>Fix:

diff -buNr ncftp3.orig/Makefile ncftp3/Makefile
--- ncftp3.orig/Makefile	2003-09-28 01:31:46.000000000 +0900
+++ ncftp3/Makefile	2003-09-28 01:28:09.000000000 +0900
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.9 2003/07/13 13:52:58 wiz Exp $
 
-DISTNAME=	ncftp-3.0.3-src
-PKGNAME=	ncftp3-3.0.3
-PKGREVISION=			1
+DISTNAME=	ncftp-3.1.6-src
+PKGNAME=	ncftp3-3.1.6
 WRKSRC=		${WRKDIR}/${DISTNAME:S/-src//}
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.ncftp.com/ncftp/
diff -buNr ncftp3.orig/PLIST ncftp3/PLIST
--- ncftp3.orig/PLIST	2003-09-28 01:31:46.000000000 +0900
+++ ncftp3/PLIST	2003-09-28 01:28:09.000000000 +0900
@@ -1,12 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/17 00:18:39 pooka Exp $
-man/man1/ncftp.1
-man/man1/ncftpget.1
-man/man1/ncftpput.1
-man/man1/ncftpbatch.1
-man/man1/ncftpls.1
+@comment $NetBSD$
 bin/ncftp3
-bin/ncftpget
-bin/ncftpput
 bin/ncftpbatch
-bin/ncftpls
 bin/ncftpbookmarks
+bin/ncftpget
+bin/ncftpls
+bin/ncftpput
+bin/ncftpspooler
+man/man1/ncftp.1
+man/man1/ncftpbatch.1
+man/man1/ncftpget.1
+man/man1/ncftpls.1
+man/man1/ncftpput.1
+man/man1/ncftpspooler.1
diff -buNr ncftp3.orig/distinfo ncftp3/distinfo
--- ncftp3.orig/distinfo	2003-09-28 01:31:46.000000000 +0900
+++ ncftp3/distinfo	2003-09-28 01:28:09.000000000 +0900
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.3 2001/04/24 20:39:37 zuntum Exp $
 
-SHA1 (ncftp-3.0.3-src.tar.gz) = d118481dde2572b5f1ff94f08b12a79937742298
-Size (ncftp-3.0.3-src.tar.gz) = 413124 bytes
-SHA1 (patch-aa) = 141f5e50818712da0400496b7ce226ff7b6fe317
-SHA1 (patch-ab) = 3843b0d89d26b11cd24422c23341d0792d965ffa
+SHA1 (ncftp-3.1.6-src.tar.gz) = 1282c889e11f883e1ea5314ed5f8898eb31ea62d
+Size (ncftp-3.1.6-src.tar.gz) = 503887 bytes
+SHA1 (patch-aa) = 38d3b7d1796424bf40b07a1e7e8627ad8d01ea8c
diff -buNr ncftp3.orig/patches/patch-aa ncftp3/patches/patch-aa
--- ncftp3.orig/patches/patch-aa	2003-09-28 01:31:46.000000000 +0900
+++ ncftp3/patches/patch-aa	2003-09-28 01:28:09.000000000 +0900
@@ -1,10 +1,10 @@
 $NetBSD$
 
---- Makefile.in.orig	Sun Apr  8 18:27:34 2001
-+++ Makefile.in
-@@ -38,7 +38,7 @@
- 	( cd vis ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" )
- 	-mkdir "$(prefix)" "$(BINDIR)" "$(mandir)" "$(mandir)/man1" 2>/dev/null
+--- Makefile.in.orig	2003-09-28 01:18:31.000000000 +0900
++++ Makefile.in	2003-09-28 01:18:33.000000000 +0900
+@@ -45,7 +45,7 @@
+ 	@( cd vis ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" )
+ 	-mkdir "$(prefix)" "$(BINDIR)" "$(SYSCONFDIR)" "$(mandir)" "$(mandir)/man1" 2>/dev/null
  	-@echo '..... Installing the programs .....'
 -	$(INSTALL_PROGRAM) bin/ncftp@EXEEXT@ "$(BINDIR)/ncftp@EXEEXT@"
 +	$(INSTALL_PROGRAM) bin/ncftp@EXEEXT@ "$(BINDIR)/ncftp3@EXEEXT@"
diff -buNr ncftp3.orig/patches/patch-ab ncftp3/patches/patch-ab
--- ncftp3.orig/patches/patch-ab	2003-09-28 01:31:46.000000000 +0900
+++ ncftp3/patches/patch-ab	1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- configure.orig	Tue Dec 25 21:10:50 2001
-+++ configure
-@@ -1598,7 +1598,7 @@
- echo "$ac_t""" 1>&6
- b1=`cd .. ; pwd`
- b2=`cd ../.. ; pwd`
--exdirs="$HOME $j $b1 $b2 $prefix /usr/local /usr/ccs"
-+exdirs="$HOME $j $b1 $b2 /usr/ccs"
- if test -x "$HOME/bin/OS" ; then
- 	b3=`$HOME/bin/OS`
- 	b3="$HOME/$b3"
>Release-Note:
>Audit-Trail:
>Unformatted: