|Subject:||[CFR] ftp/curl update and API incompatibility|
|From:||Frank J. Laszlo (lasz...@FreeBSD.org)|
|Date:||Dec 6, 2006 8:21:52 am|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Pentchev wrote:
I'm writing to you all because you are listed as maintainers of ports that depend directly on ftp/curl. Attached is a patch that updates ftp/curl to version 7.16.0; however, this update might need some testing.
There are some cURL options (CURLOPT_MUTE, CURLOPT_PASSWDFUNCTION, etc.) that have been deprecated for a long time now, yet they were still defined as compile-time constants to provide some kind of backwards compatibility. Well, 7.16.0 puts a stop to this - these options are now completely removed, and programs and libraries that still use them without checking will be broken. Thus, the libcurl library version was bumped, hence my request for testing the update.
Attached is a patch that fixes all ports that depend on ftp/curl directly. The fixes consist of bumping the curl library version, bumping PORTREVISION, and, here and there, ifdef'ing the obsolete options. I have verified that all the ports build now, except for astro/gaia and www/osb-nrcit; however, for most of them I could not very well check if they *work* :) There is also the little matter of the PORTREVISION bump for the PHP ports, and the c-ares dependency of irc/unreal; but see below.
The patch itself is also available at http://people.FreeBSD.org/~roam/patches/curl/
So - this patch updates cURL to 7.16.0, and tries to fix all dependent ports. The updates to the ports are trivial, with the following exceptions:
astro/gaia - Update blindly, it's forbidden for license reasons.
audio/vorbis-tools ftp/py-curl ftp/rexx-curl net/nepenthes security/authforce - #ifdef the obsolete options based on the libcurl version.
audio/xmms2 - Fix the packing list for the !lastfm and !apple_mdns cases.
ftp/php4-curl ftp/php5-curl - #ifdef more obsolete options based on their definitions, as is already done for CURLOPT_MUTE. - Not sure how to proceed with the PORTREVISION here, and also in www/pecl-pecl_http - it seems that it is not customary for a PHP extension to have a different PORTREVISION from the main port?
irc/unreal - Remove the dependency on dns/ares - it is not used at all, Unreal uses its own bundled copy of c-ares! - Add a dependency on dns/c-ares, now that version 1.3.2 of the port comes with the ares_config_info patch. - Patch the configure script not to build the bundled c-ares, and the Makefile not to try to link against it.
security/gnupg - Add an explicit library version number to the curl dependency.
www/osb-nrcit - Update blindly, it does not build because lang/osb-jscore is broken.
x11/ecore - Fix the packing list for the !x11 case.
I'd appreciate any comments and suggestions for this update; thanks in advance!
Nice work peter, looks good to me. It may be wise to run them all through a tinderbox. :)
- -Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD)
iQIVAwUBRXbuHq1QwXwBI2DsAQK+lQ/+MXI4PpQB4HZc3rtNmzhjGRELkHs87nU9 aihWPuqGLynoowXdilYduzNSSdq7dRb7VpnnGvjJoAZagu4ot3DYX7vzjMyn7OrQ ybVfhCGXfSRUr+t8Lswbor3h3eOf1LRf0hCpoyv1kF782Ao4JPoXW0csOtw2V3jQ CtMObM0G5M5LhvcNXhh+6nFbtVPpQZcM1BfUMVOUSkv6NHS1kDim2tGZ410zNMTY BSieLom5ouZfzvXmni+bO3qnLJ3PTw4gNrusP1J+BVtsBL0G4gig7paAfjD1lpTV M1K3UEBuOLHqJDxumBihvLFYU8yhSfMptSzEtXpb9NE+xVeRZiAZliWBFlHiiGcW iT2gl+MzqOcOjl6d7DNBNQ//7zzzH0ywsyN1B5sqWBAV/lwgPqcMwBkdec6ulbP1 lgmP8+l76Gu66EAExKHGA/Xo0Uc7KTL5icj6AkcUzYkNuM6PQakIzqrzlRmsta/z XvFhfzIAT4UEjs97IWdh0q0TSHQO2E/WTr4dJl3Bab4Ia4EDzyY84GDyHiCTm6Is NvCI2iXPNk6WSbgrwo9lVjtTb0u3nNQVDHZc9tXeFZmLEBHPYZNYYL92S+YxcIEi slfqRz39/MSrYqU9JVJyThVv+9/Aq8MikCuacIF0EIIVL8/ketgLtn9G54JZ8u8d dwPtSPc2TiU= =6tXv -----END PGP SIGNATURE-----