better header parsing fix
Update to 0.58. From the changelog:

COMPATIBILITY WARNING:
The bug fix "LDAP.pm: new parameter bind(sasl_host => SASLHOST)"
is an incompatible change that may break some corner-case configurations

* that use SASL for authentication and
* where the SASL host name differs from the host name connecting to.

The incompatible change was necessary as it was not possible to fix
the issue which was introduced in perl-ldap 0.37 in a compatible way.

See Net::LDAP's manual page for the details on "sasl_host".

Bug Fixes:
* RT#91210: Paged.pm: fix example code
* RT#90459: LDAP.pm: make LDAPS work after LDAP+start_tls
* RT#91177: AD.pm: fix change_ADpassword()
* RT#88792: Constant.pm: add LDAP_CONTROL_SORTRESPONSE
* LDAP.pm: new parameter bind(sasl_host => SASLHOST)
* Entry.pm: ignore options when update()ing LDIF
* Entry.pm: let update() fail correctly on illegal target
* RT#86053: FAQ.pod: fix spelling error
* *.{pm,pod}: lots of more grammar & spelling fixes / harmonizations
* RT#85941: LDAP.pm: new method data_ready()
* RT#84886: Control/Relax.pm: fix typo in documentation
* RT#84410: PersistentSearch.pm: use $message->pop_entry() in example
* RT#84774: Constant.pm: unbreak Novell eDirectory constants
* RT#73202: LDIF.pm: Base64-encode values ending in spaces
* RT#83815: fix typo/bug in example for root_dse
* various clarification & fixes in documentation
* t/7{1pre,2post}read.t: don't use deprecated methods
* fix PreRead & PostRead controls
* AD.pm: fix typo in documentation
* RT#81380: in Filter.pm unescape hexpairs and ( ) \ * only
* tests: compare files in "text mode"
* Makefile.PL: mention all requirements for tests
* t/07filtermatch.t: use core module Text::Soundex instead of String::Approx
* Message.pm: fix regression w.r.t. Net::LDAP::Message::Dummy
* RT#80482 fix display of =item inet6 in LDAP.pod
* RT#66753: new key & cert for SSL server tests
* RT#79763 Net::LDAP::Util's $VERSION increased
* t/06constant.t: numbering glitch in t/06constant.t
* FilterMatch.pm: fix mapping of greaterOrEqual
* FAQ.pod: small fixes
* RT#79763 extend ldap_explode_dn() for RFC 4514
* RT#77291 canonicalize host name with ldapi://
* LDAP.pm: don't try to set errors on undefined objects
* Util.pm: fix bug in escape_dn_value()
* t/55ssl.t: fix typos in output text
* LDIF.pm: with encode => 'canonical', do mbcescape DNs
* the usual typo fixes in docs
* contrib/ldifdiff.pl: fix POD
* Intermediate/SyncInfo.pm: fix newcookie() method
* LWP/Protocol/ldap.pm: complete overhaul
* LDAP.pm: unbreak - make done a real sub
* Message.pm: fix typo, i.e. add forgotten ';'
* RT#72108 fix non-blocking IO with SSL
* RT#74572 fix $entry->update($ldif)
* RT#74759 fix POD spelling/grammar errors
* RT#77180 use "sslv23" instead of "sslv2/3" for sslversion
* work around a warning in Authen::SASL::Perl <= 2.1.5
* various typo fixes in documentation
* un-break certificate verification
* fixes for the ProxyAuthorization control
* fix typos & spelling errors in POD

Enhancements:
* Filter.pod: remove misleading text
* typo fixes
* RT#91156: add META.json
* DSML.pm, Protocol/ldap.pm: use MIME::Base64::decode()
* make MIME::Base64 mandatory
* README: update optional modules, slight reorganization
* Entry.pod: update documentation of N:L:E->update
* Makefile.PL: require Text::Soundex for tests
* LDAP.pm: use data_ready() in process()
* Util.pm: simplify return on error
* Constant.pm: add constant LDAP_CONTROL_NOOP
* Schema.pm: call isa() as recommented in UNIVERSAL.pm
* FAQ.pod: add more directory servers
* t/07filtermatch.t: skip some tests unless Text::Soundex is installed
* t/74matchedvalues.t: new, tests for MatchedValues control
* t/73assert.t: new, tests for Assertion control
* LDIF.pm: overhaul
  - flexibilize mode handling, accept PerlIO layers
  - get rid of dependency on Symbol & SelectSaver
  - convert _write_... to object methods
  - use indirect file handles for URLs
* LWP/Protocol/ldap.pm: use regex as 1st arg to split()
* Control/ManageDsaIT.pm: update documentation & simplify a bit
* Control/Relax.pm: new
* Constant.pm: add LDAP_CONTROL_RELAX
* LDAP.pod: omit space from filter in synopsis
* FAQ.pod: don't talk of "2 lines" when there's only one
* Extra/eDirectory.pm: fix typo, space police
* FAQ.pod: mention Dancer::Plugin::LDAP, update example
* Extra/eDirectory.pm: new; extensions for eDirectory
* Constant.pm: add constants for Novell eDirectory
* LDIF.pm: clean up handling of mode parameter
* LDIF.pm: partially support controls when reading
* Util.pm: add time conversion functions
* Makefile.PL: update recommends, add comments on core modules
* FAQ.pod: update info on required/optional modules
* LDAP.pod,FAQ.pod: harmonize documentation of scope values
* Filter.pm: new method negate()
* Util.pm: new function ldap_url_parse()
* RT#77716: LDAP.pm: new option keepalive for new()
* LDAP.pm: convert scheme to lowercase in new()
* FAQ.pod: how to search all members of a large AD group
* FAQ.pod: how to do nested group searches in AD
* add tests for PreRead & PostRead controls
* FAQ.pm: example for certificateExactMatch
* coding style overhaul:
  * use single-quoted strings where possible
  * 2 SPACEs before postfix if,unless,or,and
  * SPACE after comma
  * SPACE between if,elsif,unless,while,for and (
  * make private lexical variables more private
  * unquote identifiers before =>
  * unquote identifiers used as hash keys
* Schema.pod: document attribute_syntax()
* contrib/schema2ad.pl: new, convert schema file to something AD can digest
* Makefile.PL: make dependencies reflect reality better
* LDAP.pm: avoid warning in new() that might have occurred in corner cases
* add constant LDAP_PROXY_AUTHZ_FAILURE
* FilterMatch.pm: complete overhaul
  - update matching rules known in OpenLDAP
  - support matching rules for extensibleMatch
  - avoid warning if no matching rule is found
  - add specific implementations for a lot of rules
* global overhaul towards Perl 5.8 features
  - declare @ISA and $VERSION as package-local
  - replace 'use vars' by 'our'.
* Makefile.PL: overhaul
* tests: cleanup & extensions
  - convert to Test::More
  - t/common.pl: allow client() to take options for Net::LDAP
  - t/common.pl: get rid of local compare function
  - t/03schema.t: overhaul, update data/schema.in
  - t/07filtermatch.t: new, tests for Net::LDAP::FilterMatch
  - t/40connect.t: new, test for IPv4 / IPv6 connections
  - reorganize servers tests: rename t/5X*.t -> t/4(X+1)*.t
  - t/47ipc.t: add TLS tests
  - t/60cancel.t: new, tests for Net::LDAP::Extension::Cancel
  - t/70sortctrl.t: make it a server test & add multi-attribute testcase
* ASN.pm: adapt to RFC 4511
* Extension/{SetPassword,Refresh}.pm: polish ASN.1 definition
* LWP/Protocol/ldap.pm: respond with requested MIME type
* LWP/Protocol/ldap.pm: document 'x-format' URI extension
* LWP/Protocol/ldap.pm: add DSMLv1 as output format
* test routines updated to work with recent OpenLDAP
* removed trailing spaces
* support OpenLDAP extension: scope => "children"
* more feature constants in Net/LDAP/Constant.pm
* new features & documentation for LWP/Protocol/ldap.pm
* LWP/Protocol/ldapi.pm: support ldapi:// URIs with LWP
* contrib/LWPsearch.pl: demo program for LWP::Protocol::ldap*
* update link list in the FAQ
* update references to RFCs
* FAQ.pod: update URLs a bit more
* RT#77458 re-work IPv6 support
* Don't accumulate intermediate messages passed to a callback.
* slightly extend Net::LDAP::Entry->update() and document it
* convenience alias done() for Net::LDAP->unbind()
* various updates to the FAQ
* MANIFEST.SKIP: sync with Perl 5.14.2's ExtUtils version
* Makefile.PL: update resource info on repository
* new extended operation Net::LDAP::Extension::Cancel
* new control Net::LDAP::Control::MatchedValues
* new control Net::LDAP::Control::Assertion
* update reference documents in POD
* extend documentation for Pre-Read & Post-Read controls
* add error string for LDAP_VLV_ERROR
* add result codes for VLV and cancel
* add constant for DontUseCopy control
* add constant for PermissiveModify control
* Fix copy & paste errors in Net::LDAP::Message
* Check whether LDAP socket object has a peerhost() method defined
  before calling it. This fixes SASL authentication over UNIX domain
  (ldapi://) sockets. [Chris Mikkelson]
* use of non-localised $_ in Net::LDAP::Constant causes prolems in lemonldap-ng [Damyan Ivanov]
* Added cn,o,ou to the default set of case-insensitive attributes [Kartik Subbarao]
* Entry.pod: fix typos [Peter Marschall]
* extend Net::LDAP::Entry->update() to take LDIF objects [Peter Marschall]
* Specify that we want to use the 'ldap' scheme to verify certificates. [Kevan Carstensen]
* Net/LDAP/Extra/AD.pm:  convenience functions for AD
* various documentation updates
Updated databases/p5-perl-ldap to 0.58
Update 3.3.54 to 3.3.57
-----------------------
3.3.54  02jan14 Added LZ4 double compression on hierarchy tree for FST when
                hierarchy size exceeds 4MB.
                Fix to regular expression filtering when +I+ form expressions
                are encountered in the SST.  Previously, the wrong value of
                regex match was used on 32-bit architectures due to the
                stack layout.
                Removed --disable-inline-asm ./configure flag as inline
                assembly has been removed because it is generating incorrectly
                in some cases on x86_64.
3.3.55  06feb14 Fixed problem with FST_DYNAMIC_ALIAS_DISABLE enabled when
                Judy arrays are not present.
                FST writer performance tweaks for traces with millions of
                signal declarations.
                Keep FSDB_VT_STREAM (FSDB transaction type) traces from
                attempting to be read (for now) as they aren't yet processed.
                Added more space efficient FST dynamic alias encoding.
                Tempfile creation fix for Windows.  Using tmpnam() is not
                enough and fails depending on user permissions.
                Make vcd2fst use FastLZ instead of LZ4 as a default compression
                type if an EVCD file is being processed as it (re-)compresses
                much better.  Using -4/-F/-Z still gives expected results.
                Changed double printf formatting for FSDB to "%.16g" to match
                VCD formatting.
                Added very fast I/O write capability to fst2vcd.
                Added support for FSDB_BYTES_PER_BIT_2B (EVCD) in FSDB loader.
                Added experimental fsdb2vcd in contrib.  It is not currently
                compiled or used.
                Fix to treesearch to remove duplicate signal names because of
                faulty dumpers.
                Repscript fix for if -R starts without a dumpfile name.
3.3.56  12feb14 Added another crash fix patch for GTK-OSX.
                Fix to regex search to remove duplicate signal names because of
                faulty dumpers.
                Fix to configure.ac for MSYS not adding -lcomdlg32 when Tcl
                is disabled.
                Valgrind fix on deallocated context: old GLOBALS pointer could
                be examined in set_GLOBALS_x().
                Minor cleanup in treesearch_gtk2.c: removed redundant show
                widget invocation.
                Added missing compressBound() for compress2() dest mallocs.
3.3.57  13feb14 Fix for Electric Fence crash in vlist_freeze().
                Updated LZ4 for version r113.
Updated cad/gtkwave to 3.3.57
Fix a few bugs (portsisms?).
Fix MASTER_SITES.
Mark as not ready for python-3.x.
Fix PKGNAME.
Add missing egg to PLIST.
Fix a few bugs (portsisms?).
Fix PKGNAME.
Fix MASTER_SITES.
The file I get from there is one byte smaller, so update distinfo.
Mark as not ready for python-3.x.
fix build on SunOS
use c99 to fix build on SunOS
link network libs on SunOS
Add LICENSE=gnu-gpl-v2.
Add LICENSE= ${PERL5_LICENSE}.
use c99 to fix build on SunOS
link network libs on SunOS
define int types on SunOS
define u_int32_t on SunOS
Update to 1.78. From the changelog:

* Correct an optimization bug introduced in 1.76. Reported by Tom
  Roostan.
* Major improvements to color selection (important when reducing
  colormap size). Use gamma-corrected colors in selection and
  dithering; this makes image quality much better. Also, when reducing
  colors with dithering, prefer to select colors that dithering can't
  approximate.
* Add ordered dithering modes, which avoid animation artifacts. The
  default ordered dithering mode (`--dither=ordered`) is a novel mode
  that combines some of the visual advantages of error diffusion with
  the artifact avoidance of ordered dithering.
* Add halftone dithering (`--dither=halftone`).
* gifview: Improved cache memory management for better animations.
  Collect memory for old frames based on an explicit --memory-limit
  (default 40MB).
* gifview: Add `--fallback-delay` option, to specify a fallback delay
  for frames with delay 0. Thanks to Sung Pae.
* Fix `-O2` crashes introduced with `--resize` improvements. Reported
  by Bryan Stillwell.
* Improve `--careful` (fewer crashes). Reported by Bryan Stillwell.
* Improve `-O2`: again, don't refuse to optimize images with local
  color tables. Reported by Bryan Stillwell.
* Greatly improve `--dither` speed.
* Improve `--resize` behavior: avoid animation artifacts due to
  different rounding decisions. Also speed it up. Reported by Bryan
  Stillwell.
* Fix bug where `-O2` would refuse to optimize some images with local
  color tables, claiming that "more than 256 colors were required".
  What was really required is previous disposal. Reported by Bryan
  Stillwell.
* Fix crash bugs on some combinations of `--crop` and `--resize`
  (prevalent on images whose first frame didn't cover the whole
  logical screen). Reported by Bryan Stillwell.
Updated graphics/gifsicle to 1.78
link network libs on SunOS
Add ddar, a deduplicating archiver.