Subject: pkg/20142: Updated Package: www/curl
To: None <gnats-bugs@gnats.netbsd.org>
From: None <adrianp@stindustries.net>
List: netbsd-bugs
Date: 01/31/2003 20:41:05
>Number:         20142
>Category:       pkg
>Synopsis:       Updated Package: www/curl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 31 20:42:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Portelli
>Release:        NetBSD 1.6 i386
>Organization:
STIndustries
>Environment:
NetBSD krusty.mdc.stindustries.net 1.6 NetBSD 1.6 (KRUSTY) #0: Sun Jan 26 12:06:19 EST 2003     root@krusty.mdc.stindustries.net:/usr/src/sys/arch/i386/compile/KRUSTY i386
>Description:
The curl package in pkgsrc (7.10.2) is out of date. 
The latest version availble is 7.10.3.
>How-To-Repeat:
cd pkgsrc/www/curl && make
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/curl/Makefile,v
retrieving revision 1.23
diff -b -u -r1.23 Makefile
--- Makefile    2002/12/07 23:38:56     1.23
+++ Makefile    2003/01/31 05:31:56
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.23 2002/12/07 23:38:56 jmmv Exp $
 
-DISTNAME=      curl-7.10.2
+DISTNAME=      curl-7.10.3
 CATEGORIES=    www
 MASTER_SITES=  http://curl.haxx.se/download/ \
                ftp://ftp.sunet.se/pub/www/utilities/curl/ \
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/curl/distinfo,v
retrieving revision 1.17
diff -b -u -r1.17 distinfo
--- distinfo    2002/12/07 23:38:56     1.17
+++ distinfo    2003/01/31 05:31:56
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.17 2002/12/07 23:38:56 jmmv Exp $
 
-SHA1 (curl-7.10.2.tar.gz) = ff263647b69bedc3d947da3dd6aceca779c52d8a
-Size (curl-7.10.2.tar.gz) = 1010911 bytes
-SHA1 (patch-ab) = 7054f8d9f19fa2a9d7b816fd58ae08ef97bcbb1c
+SHA1 (curl-7.10.3.tar.gz) = e8a759e168f52f89de1edcf9b79b7e7c3a9b27a3
+Size (curl-7.10.3.tar.gz) = 1043799 bytes
+SHA1 (patch-ab) = 5c24d4f950188a4e4f13b5cbd179630c05f768c5
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/www/curl/patches/patch-ab,v
retrieving revision 1.3
diff -b -u -r1.3 patch-ab
--- patches/patch-ab    2002/08/25 21:52:05     1.3
+++ patches/patch-ab    2003/01/31 05:31:56
@@ -1,11 +1,11 @@
-$NetBSD: patch-ab,v 1.3 2002/08/25 21:52:05 jlam Exp $
+$NetBSD$
 
---- lib/ftp.c.orig     Mon Apr 29 11:57:25 2002
-+++ lib/ftp.c  Fri Jul 19 04:22:35 2002
-@@ -1576,12 +1576,13 @@
+--- lib/ftp.c.orig     Fri Jan 31 16:11:21 2003
++++ lib/ftp.c
+@@ -1998,12 +1998,13 @@ CURLcode ftp_perform(struct connectdata 
  
  #ifdef HAVE_STRFTIME
-     if(data->set.get_filetime && data->info.filetime) {
+     if(data->set.get_filetime && (data->info.filetime>=0) ) {
 +      time_t filetime = data->info.filetime;
        struct tm *tm;
  #ifdef HAVE_LOCALTIME_R
>Release-Note:
>Audit-Trail:
>Unformatted: