Bug 94727

Summary: Update port: ftp/curl to 7.15.3
Product: Ports & Packages Reporter: Vasil Dimov <vd>
Component: Individual Port(s)Assignee: Peter Pentchev <roam>
Status: Closed FIXED    
Severity: Affects Only Me CC: roam
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
curl_7.15.1-7.15.3.diff none

Description Vasil Dimov freebsd_committer freebsd_triage 2006-03-20 10:50:16 UTC
This PR supersedes ports/94134

Update ftp/curl from 7.15.1 to 7.15.3 -
7.15.1 -> 7.15.2
* added support for SOCKS4
* support for Gopher protocol dropped
* other changes and a lot of bugfixes
7.15.2 -> 7.15.3
* added docs for --ftp-method and CURLOPT_FTP_FILEMETHOD
* fix TFTP packet buffer overflow
* other changes and a lot of bugfixes

This patch does not apply on the new version.
--- files/patch-src::main.c ---
[...]
-          long filetime;
+          time_t filetime;
           curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
[...]
--- files/patch-src::main.c ---

Syncing it is easy but I think it should be removed because
according to curl_easy_getinfo(3) the proper type for the `filetime'
variable is `long':

[...]
CURLINFO_FILETIME
       Pass a pointer to a long to  receive  the  remote  time  of  the
[...]

Even more - `filetime' it is correcly typecast'd to `time_t' when used
afterwards.

Tested in 4, 5 and 6 i386 tinderbox and `make test' on 6 amd64
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-03-20 10:52:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer
Comment 2 Vasil Dimov freebsd_committer freebsd_triage 2006-03-20 12:59:55 UTC
State Changed
From-To: open->closed

Committed