Add libidn support, configurable with the WITH/WITHOUT_LIBIDN knob.
Add debugging support via the WITH_CURL_DEBUG knob.
Properly use LC_ALL=C instead of LANG=C to run the test suite
(thanks Fujishima-san!)

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>

Fix a segfault in an IPv4-only case - realloc() may really, well,
"reallocate" memory even when the programmer only asks for a resizing
of the region.
Reported by: Steve Ames <steve@energistic.com>
While I'm here, change the way SSL header and library paths are handled
to avoid specifically referencing /usr/lib and /usr/include; while
-STABLE's GCC shrugs this off, GCC 3.1 whines loudly about an explicit
-I/usr/include (and rightly so, IMHO).

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 :)

Update all ports using OpenSSL and RSA to work without rsaref since it is no
longer required. Apologies to the various maintainers whom I did not yet hear
back from, but the ports freeze is coming up in a few hours and I will be
verifying all of these ports on a 4.1 machine myself to catch any problems.