Update cURL to 7.21.3 and fix its librtmp detection. In the process:
- disable the -Werror build option by popular demand
- do not override the user's debug and optimization settings
PR: 150854 (the debug and optimization CFLAGS)
Reported by: Anonymous <swell.k@gmail.com>

Update to curl-7.21.1; in the process:
- add a knob for the compiler's -Werror checking, on by default
- add a knob for RTMP streams support
- reflect reality: actually disable the diagnostic memory tracking
if the user has turned the knob off!
- fix a bashism in the configure script
- remove two patches to the test framework that were integrated upstream

Update to curl-7.19.4, which fixes a redirection vulnerability.
The changes in the patch files are almost the same as in Eugene's PR,
although I arrived at them mostly independently :)
Reformat all patch files now that I use quilt to manage them.
Fix two complaints from portlint: needless use of CFLAGS and differentiation
between NOPORTDOCS and NOPORTEXAMPLES. Thanks, Eugene!
PR: 132358
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>

At long last, update the curl port to its almost-current version, 7.19.2.
Yes, there's been a new 7.19.3 version for a couple of days now,
but I figure you folks have been waiting for me much too much as it is :(
Apologies all around!
Prompted by: several PR's and more people (and portmgrs) than I dare admit

Update to curl-7.16.3.
Fix the (still present in 7.16.3) libssh2 problems, at least so that
cURL works with the libssh2 0.17 in our ports tree.
PR: 114215 (the basic update)
Submitted by: pesho.petrov@gmail.com

Update to curl 7.16.1, loosely based on the PR. Also:
- add a LIBSSH2 option for SCP and SFTP support using security/libssh2;
- add a patch from the cURL CVS repository to fix an expired cookie in
test 62.
PR: 109670
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>

Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports.
Fix the build errors in the few ports that still use the long deprecated,
and now obsoleted, cURL options.
Thanks to everyone who took the time to look over the patch!
Discussed on: -ports

Update to cURL 7.15.5 and integrate Scot Hetzel's patch for
really making OpenSSL support optional. Now OpenSSL and GnuTLS
are on level ground, both controlled by the OPTIONS setting.
Fortunately, it turned out that the curl_multi_socket() API change
does not affect any of the ports that use ftp/curl.
PR: 102871, 103126
Submitted by: pav, vd, Scot Hetzel <swhetzel@gmail.com>

Update to curl-7.12.3 (yes, we skipped 7.12.2 for various reasons).
Explicitly disable libidn support so that it is not even probed if libidn
is installed; I will look into enabling it after some more testing.
Testing paid off on: ref4 (lib/select.c), sledge (lib/sendf.c)

Update to curl-7.10.3. There is a minor problem with the lib503 and
lib504 tests on some FreeBSD versions, but the major bulk of the
functionality is there, and it is still an improvement over 7.10.2 :)
Not functionally tested on: ia64; there is no spoon.. er.. perl5 on
pluto1.FreeBSD.org for the present.

Update to 7.9.8.
For some reason, this segfaults badly on sparc64, or at least on the
only sparc64 machine that I have access to (thanks mike!). I'll deal
with this later; for the present, let the x86 and Alpha users benefit
from the new cURL features and bugfixes :)
PR: 39873
Submitted by: Ying-Chih Kuo <yckuo@yckuo.org>

Update to 7.9.1, add a 'test' target to run the curl suite tests. Note: some
of those seem to intermitently fail on my system, no idea why. Nuke the
commented-out USE_AUTOMAKE and a no-longer-needed post-configure substitution
in some Makefiles.

Update to 7.8, which is needed by www/mod_php4 now. Disable use of automake -
the configuration framework was updated for use with autoconf and automake
newer than the ones in the Ports collection, and breaks with those. Besides,
the pregenerated configure script in the distribution Does The Right Thing(tm)
anyway.

Update to 7.6.1. Besides a couple of bugfixes (most notably to the HTTP PUT
resume), this version has a couple of new features, too - including IPv6
support, submitted by Jun-ichiro "itojun" Hagino. (Yes, this is
itojun@FreeBSD.org :)