Bug 94727 - Update port: ftp/curl to 7.15.3
Summary: Update port: ftp/curl to 7.15.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 10:50 UTC by Vasil Dimov
Modified: 2006-03-20 13:00 UTC (History)
1 user (show)

See Also:


Attachments
curl_7.15.1-7.15.3.diff (2.41 KB, patch)
2006-03-20 10:50 UTC, Vasil Dimov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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