Update haproxy to 1.5.2. Introduce support for OpenSSL, PCRE and Zlib.

1.5.2
-----
Two extra important issues were discovered since 1.5.1 which were fixed
in 1.5.2. The first one can cause some sample fetch combinations to fail
together in a same expression, and one artificial case (but totally
useless) may even crash the process. The second one is an incomplete
fix in 1.5-dev23 for the request body forwarding. Hash-based balancing
algorithms and http-send-name-header may fail if a request contains
a body which starts to be forwarded before the contents are used.
A few other bugs were fixed, and the max syslog line length is now
configurable per logger.

1.5.1
-----
Version 1.5.1 fixes a few bugs from 1.5.0 among which a really annoying
one which can cause some file descriptor leak when dealing with clients
which disappear from the net, resulting in the impossibility to accept
new connections after some time.

1.5.0
-----
1.5 expands 1.4 with many new features and performance improvements,
including native SSL support on both sides with SNI/NPN/ALPN and OCSP
stapling, IPv6 and UNIX sockets are supported everywhere, full HTTP
keep-alive for better support of NTLM and improved efficiency in
static farms, HTTP/1.1 compression (deflate, gzip) to save bandwidth,
PROXY protocol versions 1 and 2 on both sides, data sampling on
everything in request or response, including payload, ACLs can use
any matching method with any input sample maps and dynamic ACLs
updatable from the CLI stick-tables support counters to track
activity on any input sample custom format for logs, unique-id,
header rewriting, and redirects, improved health checks (SSL,
scripted TCP, check agent, ...), much more scalable configuration
supports hundreds of thousands of backends and certificates without
sweating.

Full changelog for the 1.5 branch:

http://www.haproxy.org/download/1.5/src/CHANGELOG
Make sure we build libev with -D_REENTRANT (DATASET-1068).

See https://github.com/phusion/passenger/issues/1102 too.
Pullup ticket #4459 - requested by obache
sysutils/libpciaccess: build fix for dependent packages under NetBSD 5.*

Revisions pulled up:
- sysutils/libpciaccess/builtin.mk                              1.2

---
   Module Name:	pkgsrc
   Committed By:	obache
   Date:		Sun Jul 13 13:00:33 UTC 2014

   Modified Files:
   	pkgsrc/sysutils/libpciaccess: builtin.mk

   Log Message:
   libpciacess on NetBSD-5 is missing linkage with libz whereas using it.
Pullup ticket #4459.
Pullup ticket #4462.
Pullup ticket #4462 - requested by markd
x11/kdelibs4: security patch

Revisions pulled up:
- x11/kdelibs4/Makefile                                         1.71
- x11/kdelibs4/distinfo                                         1.41
- x11/kdelibs4/patches/patch-kio_kio_usernotificationhandler.cpp 1.1

---
   Module Name:	pkgsrc
   Committed By:	markd
   Date:		Thu Jul 24 21:30:10 UTC 2014

   Modified Files:
   	pkgsrc/x11/kdelibs4: Makefile distinfo
   Added Files:
   	pkgsrc/x11/kdelibs4/patches: patch-kio_kio_usernotificationhandler.cpp

   Log Message:
   Fix for http://www.kde.org/info/security/advisory-20140618-1.txt
   Bump PKGREVISION.
Pullup ticket #4460 - requested by obache
emulators/suse131_libdbus: security update

Revisions pulled up:
- emulators/suse131_libdbus/Makefile                            1.4
- emulators/suse131_libdbus/distinfo                            1.3

---
   Module Name:	pkgsrc
   Committed By:	obache
   Date:		Mon Jul 21 08:18:11 UTC 2014

   Modified Files:
   	pkgsrc/emulators/suse131_libdbus: Makefile distinfo

   Log Message:
   Apply security update for suse131_libdbus.
   Bump PKGREVISION.

      openSUSE Security Update: dbus-1: fixes several issues
   ___________________________________________________________________________
   ___

   Announcement ID:    openSUSE-SU-2014:0926-1
   Rating:             moderate
   References:         #885241
   Affected Products:
                       openSUSE 13.1
   ___________________________________________________________________________
   ___

      An update that contains security fixes can now be installed.

   Description:

      CVE-2014-3532 CVE-2014-3533 bnc#885241 fdo#80163 fdo#79694 fdo#80469
Pullup ticket #4460.
Pullup ticket #4461 - requested by tron
www/apache24: security update

Revisions pulled up:
- www/apache24/Makefile                                         1.30
- www/apache24/PLIST                                            1.16
- www/apache24/distinfo                                         1.15

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	tron
   Date:		Wed Jul 23 10:34:02 UTC 2014

   Modified Files:
   	pkgsrc/www/apache24: Makefile PLIST distinfo

   Log Message:
   Update "apache24" package to version 2.4.10. Changes since 2.4.9:
   - SECURITY: CVE-2014-0117 (cve.mitre.org)
     mod_proxy: Fix crash in Connection header handling which
     allowed a denial of service attack against a reverse proxy
     with a threaded MPM.  [Ben Reser]
   - SECURITY: CVE-2014-0226 (cve.mitre.org)
     Fix a race condition in scoreboard handling, which could lead to
     a heap buffer overflow.  [Joe Orton, Eric Covener]
   - SECURITY: CVE-2014-0118 (cve.mitre.org)
     mod_deflate: The DEFLATE input filter (inflates request bodies) now
     limits the length and compression ratio of inflated request bodies to avo=
   id
     denial of sevice via highly compressed bodies.  See directives
     DeflateInflateLimitRequestBody, DeflateInflateRatioLimit,
     and DeflateInflateRatioBurst. [Yann Ylavic, Eric Covener]
   - SECURITY: CVE-2014-0231 (cve.mitre.org)
     mod_cgid: Fix a denial of service against CGI scripts that do
     not consume stdin that could lead to lingering HTTPD child processes
     filling up the scoreboard and eventually hanging the server.  By
     default, the client I/O timeout (Timeout directive) now applies to
     communication with scripts.  The CGIDScriptTimeout directive can be
     used to set a different timeout for communication with scripts.
     [Rainer Jung, Eric Covener, Yann Ylavic]
   - mod_ssl: Extend the scope of SSLSessionCacheTimeout to sessions
     resumed by TLS session resumption (RFC 5077). [Rainer Jung]
   - mod_deflate: Don't fail when flushing inflated data to the user-agent
     and that coincides with the end of stream ("Zlib error flushing inflate
     buffer"). Bug 56196. [Christoph Fausak <christoph fausak glueckkanja.com>]
   - mod_proxy_ajp: Forward local IP address as a custom request attribute
     like we already do for the remote port. [Rainer Jung]
   - core: Include any error notes set by modules in the canned error
     response for 403 errors.  [Jeff Trawick]
   - mod_ssl: Set an error note for requests rejected due to
     SSLStrictSNIVHostCheck.  [Jeff Trawick]
   - mod_ssl: Fix issue with redirects to error documents when handling
     SNI errors.  [Jeff Trawick]
   - mod_ssl: Fix tmp DH parameter leak, adjust selection to prefer
     larger keys and support up to 8192-bit keys.  [Ruediger Pluem,
     Joe Orton]
   - mod_dav: Fix improper encoding in PROPFIND responses.  Bug 56480.
     [Ben Reser]
   - WinNT MPM: Improve error handling for termination events in child.
     [Jeff Trawick]
   - mod_proxy: When ping/pong is configured for a worker, don't send or
     forward "100 Continue" (interim) response to the client if it does
     not expect one. [Yann Ylavic]
   - mod_ldap: Be more conservative with the last-used time for
     LDAPConnectionPoolTTL. Bug 54587 [Eric Covener]
   - mod_ldap: LDAP connections used for authn were not respecting
     LDAPConnectionPoolTTL. Bug 54587 [Eric Covener]
   - mod_proxy_fcgi: Fix occasional high CPU when handling request bodies.
     [Jeff Trawick]
   - event MPM: Fix possible crashes (third-party modules accessing c->sbh)
     or occasional missed mod_status updates under load. Bug 56639.
     [Edward Lu <Chaosed0 gmail com>]
   - mod_authnz_ldap: Support primitive LDAP servers do not accept
     filters, such as "SDBM-backed LDAP" on z/OS, by allowing a special
     filter "none" to be specified in AuthLDAPURL. [Eric Covener]
   - mod_deflate: Fix inflation of files larger than 4GB. Bug 56062.
     [Lukas Bezdicka <social v3.sk>]
   - mod_deflate: Handle Zlib header and validation bytes received in multiple
     chunks. Bug 46146. [Yann Ylavic]
   - mod_proxy: Allow reverse-proxy to be set via explicit handler.
     [ryo takatsuki <ryotakatsuki gmail com>]
   - ab: support custom HTTP method with -m argument. Bug 56604.
     [Roman Jurkov <winfinit gmail.com>]
   - mod_proxy_balancer: Correctly encode user provided data in management
     interface. Bug 56532 [Maksymilian, <max cert.cx>]
   - mod_proxy_fcgi: Support iobuffersize parameter.  [Jeff Trawick]
   - mod_auth_form: Add a debug message when the fields on a form are not
     recognised. [Graham Leggett]
   - mod_cache: Preserve non-cacheable headers forwarded from an origin 304
     response. Bug 55547.  [Yann Ylavic]
   - mod_proxy_wstunnel: Fix the use of SSL connections with the "wss:"
     scheme. Bug 55320. [Alex Liu <alex.leo.ca gmail.com>]
   - mod_socache_shmcb: Correct counting of expirations for status display.
     Expirations happening during retrieval were not counted. [Rainer Jung]
   - mod_cache: Retry unconditional request with the full URL (including the
     query-string) when the origin server's 304 response does not match the
     conditions used to revalidate the stale entry.  [Yann Ylavic].
   - mod_alias: Stop setting CONTEXT_PREFIX and CONTEXT_DOCUMENT environment
     variables as a result of AliasMatch. [Eric Covener]
   - mod_cache: Don't add cached/revalidated entity headers to a 304 response.
     Bug 55547.  [Yann Ylavic]
   - mod_proxy_scgi: Support Unix sockets.  ap_proxy_port_of_scheme():
     Support default SCGI port (4000).  [Jeff Trawick]
   - mod_expires: don't add Expires header to error responses (4xx/5xx),
     be they generated or forwarded. Bug 55669.  [Yann Ylavic]
   - mod_proxy_fcgi: Don't segfault when failing to connect to the backend.
     (regression in 2.4.9 release) [Jeff Trawick]
   - mod_authn_socache: Fix crash at startup in certain configurations.
     Bug 56371. (regression in 2.4.7) [Jan Kaluza]
   - mod_ssl: restore argument structure for "exec"-type SSLPassPhraseDialog
     programs to the form used in releases up to 2.4.7, and emulate
     a backwards-compatible behavior for existing setups. [Kaspar Brand]
   - mod_ssl: Add SSLOCSPUseRequestNonce directive to control whether or not
     OCSP requests should use a nonce to be checked against the responder's
     one. Bug 56233. [Yann Ylavic, Kaspar Brand]
   - mod_ssl: "SSLEngine off" will now override a Listen-based default
     and does disable mod_ssl for the vhost.  [Joe Orton]
   - mod_lua: Enforce the max post size allowed via r:parsebody()
     [Daniel Gruno]
   - mod_lua: Use binary comparison to find boundaries for multipart
     objects, as to not terminate our search prematurely when hitting
     a NULL byte. [Daniel Gruno]
   - mod_ssl: add workaround for SSLCertificateFile when using OpenSSL
     versions before 0.9.8h and not specifying an SSLCertificateChainFile
     (regression introduced with 2.4.8). Bug 56410. [Kaspar Brand]
   - mod_ssl: bring SNI behavior into better conformance with RFC 6066:
     no longer send warning-level unrecognized_name(112) alerts,
     and limit startup warnings to cases where an OpenSSL version
     without TLS extension support is used. Bug 56241. [Kaspar Brand]
   - mod_proxy_html: Avoid some possible memory access violation in case of
     specially crafted files, when the ProxyHTMLMeta directive is turned on.
     Follow up of Bug 56287 [Christophe Jaillet]
   - mod_auth_form: Make sure the optional functions are loaded even when
     the AuthFormProvider isn't specified. [Graham Leggett]
   - mod_ssl: avoid processing bogus SSLCertificateKeyFile values
     (and logging garbled file names). Bug 56306. [Kaspar Brand]
   - mod_ssl: fix merging of global and vhost-level settings with the
     SSLCertificateFile, SSLCertificateKeyFile, and SSLOpenSSLConfCmd
     directives. Bug 56353. [Kaspar Brand]
   - mod_headers: Allow the "value" parameter of Header and RequestHeader to
     contain an ap_expr expression if prefixed with "expr=3D". [Eric Covener]
   - rotatelogs: Avoid creation of zombie processes when -p is used on
     Unix platforms.  [Joe Orton]
   - mod_authnz_fcgi: New module to enable FastCGI authorizer
     applications to authenticate and/or authorize clients.
     [Jeff Trawick]
   - mod_proxy: Do not try to parse the regular expressions passed by
     ProxyPassMatch as URL as they do not follow their syntax.
     Bug 56074. [Ruediger Pluem]
   - mod_reqtimeout: Resolve unexpected timeouts on keepalive requests
     under the Event MPM. Bug 56216.  [Frank Meier <frank meier ergon ch>]
   - mod_proxy_fcgi: Fix sending of response without some HTTP headers
     that might be set by filters.  [Jim Riggs <jim riggs.me>]
   - mod_proxy_html: Do not delete the wrong data from HTML code when a
     "http-equiv" meta tag specifies a Content-Type behind any other
     "http-equiv" meta tag. Bug 56287 [Micha Lenk <micha lenk info>]
   - mod_proxy: Don't reuse a SSL backend connection whose requested SNI
     differs. Bug 55782.  [Yann Ylavic]
   - Add suspend_connection and resume_connection hooks to notify modules
     when the thread/connection relationship changes.  (Should be implemented
     for any third-party async MPMs.)  [Jeff Trawick]
   - mod_proxy_wstunnel: Don't issue AH02447 and log a 500 on routine
     hangups from websockets origin servers. Bug 56299
     [Yann Ylavic, Edward Lu <Chaosed0 gmail com>, Eric Covener]
   - mod_proxy_wstunnel: Don't pool backend websockets connections,
     because we need to handshake every time. Bug 55890.
     [Eric Covener]
   - mod_lua: Redesign how request record table access behaves,
     in order to utilize the request record from within these tables.
     [Daniel Gruno]
   - mod_lua: Add r:wspeek for peeking at WebSocket frames. [Daniel Gruno]

   - mod_lua: Log an error when the initial parsing of a Lua file fails.
     [Daniel Gruno, Felipe Daragon <filipe syhunt com>]
   - mod_lua: Reformat and escape script error output.
     [Daniel Gruno, Felipe Daragon <filipe syhunt com>]
   - mod_lua: URL-escape cookie keys/values to prevent tainted cookie data
     from causing response splitting.
     [Daniel Gruno, Felipe Daragon <filipe syhunt com>]
   - mod_lua: Disallow newlines in table values inside the request_rec,
     to prevent HTTP Response Splitting via tainted headers.
     [Daniel Gruno, Felipe Daragon <filipe syhunt com>]
   - mod_lua: Remove the non-working early/late arguments for
     LuaHookCheckUserID. [Daniel Gruno]
   - mod_lua: Change IVM storage to use shm [Daniel Gruno]
   - mod_lua: More verbose error logging when a handler function cannot be
     found. [Daniel Gruno]


   To generate a diff of this commit:
   cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/apache24/Makefile
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/apache24/PLIST
   cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/apache24/distinfo
Pullup ticket #4464 - requested by tron
databases/phpmyadmin: security update

Revisions pulled up:
- databases/phpmyadmin/Makefile                                 1.131
- databases/phpmyadmin/PLIST                                    1.37
- databases/phpmyadmin/distinfo                                 1.88

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	tron
   Date:		Sat Jul 26 10:33:02 UTC 2014

   Modified Files:
   	pkgsrc/databases/phpmyadmin: Makefile PLIST distinfo

   Log Message:
   Update "phpmyadmin" package to version 4.2.6. The following bugs have
   been fixed since version 4.2.5:
   - bug #4471 Undefined index warning with referenced column.
   - bug #4027 $cfg['MaxExactCount'] is ignored when BROWSING is back
   - bug #4482 Multi Column sorting (improved user experience)
   - bug #4478 Server validation does not work while in setup/mysqli
   - bug       Undefined variable when grid editing a foreign key column
   - bug #4481 mult_submits.inc.php Undefined variable Error
   - bug #4485 Sorting breaks the copy column feature
   - bug #4440 Javascript error when renaming table
   - bug #4483 'New window' link (selflink) disappears, causing Javascript err=
   or
   - bug #4489 Incorrect detection of privileges for routine creation
   - bug #4459 First few characters of database name aren't clickable when
               expanded
   - bug #4486 [security] XSS injection due to unescaped table comment
   - bug #4488 [security] XSS injection due to unescaped table name (triggers)
   - bug #4492 [security] XSS in AJAX confirmation messages
   - bug #4491 [security] Missing validation for accessing User groups feature


   To generate a diff of this commit:
   cvs rdiff -u -r1.130 -r1.131 pkgsrc/databases/phpmyadmin/Makefile
   cvs rdiff -u -r1.36 -r1.37 pkgsrc/databases/phpmyadmin/PLIST
   cvs rdiff -u -r1.87 -r1.88 pkgsrc/databases/phpmyadmin/distinfo
Pullup ticket #4465 - requested by dholland
lang/openjdk7: fix for netbsd-5

Revisions pulled up:
- lang/openjdk7/Makefile                                        1.71-1.72
- lang/openjdk7/bootstrap.mk                                    1.11
- lang/openjdk7/distinfo                                        1.50-1.51
- lang/openjdk7/patches/patch-aa                                1.12
- lang/openjdk7/patches/patch-ak                                1.7
- lang/openjdk7/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java 1.1
- lang/openjdk7/patches/patch-jdk_make_java_net_FILES__c.gmk    1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_java__props__md.c 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.h 1.1
- lang/openjdk7/patches/patch-jdk_test_jprt.config              1.1

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Mon Jul 21 00:15:41 UTC 2014

   Modified Files:
   	pkgsrc/lang/openjdk7: Makefile distinfo
   Added Files:
   	pkgsrc/lang/openjdk7/patches:
   	    patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd
   	    patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c

   Log Message:
   Bump PKGREVISION. Fix PR pkg/48982.

   * Use fork instead of posix_spawn under NetBSD 5.


   To generate a diff of this commit:
   cvs rdiff -u -r1.70 -r1.71 pkgsrc/lang/openjdk7/Makefile
   cvs rdiff -u -r1.49 -r1.50 pkgsrc/lang/openjdk7/distinfo
   cvs rdiff -u -r0 -r1.1 \
       pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd \
       pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Fri Jul 25 20:35:14 UTC 2014

   Modified Files:
   	pkgsrc/lang/openjdk7: Makefile bootstrap.mk distinfo
   	pkgsrc/lang/openjdk7/patches: patch-aa patch-ak
   Added Files:
   	pkgsrc/lang/openjdk7/patches:
   	    patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java
   	    patch-jdk_make_java_net_FILES__c.gmk
   	    patch-jdk_src_solaris_native_java_lang_java__props__md.c
   	    patch-jdk_src_solaris_native_java_net_net__util__md.h
   	    patch-jdk_test_jprt.config

   Log Message:
   Bump PKGREVISION

   * Use working bootstrap kits for DragonFly from DPorts.
   * Borrow patches from DragonFly Dports.
     Fix build under DragonFly 3.6.2 and 3.8.1.


   To generate a diff of this commit:
   cvs rdiff -u -r1.71 -r1.72 pkgsrc/lang/openjdk7/Makefile
   cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/openjdk7/bootstrap.mk
   cvs rdiff -u -r1.50 -r1.51 pkgsrc/lang/openjdk7/distinfo
   cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/openjdk7/patches/patch-aa
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/openjdk7/patches/patch-ak
   cvs rdiff -u -r0 -r1.1 \
       pkgsrc/lang/openjdk7/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java \
       pkgsrc/lang/openjdk7/patches/patch-jdk_make_java_net_FILES__c.gmk \
       pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_java__props__md.c \
       pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.h \
       pkgsrc/lang/openjdk7/patches/patch-jdk_test_jprt.config
pullups 4461 4464 4465
Merge branch 'joyent/feature/miscfix/2014Q2' of github.com:joyent/pkgsrc into joyent/feature/miscfix/2014Q2
Merge branch 'pkgsrc_2014Q2' into joyent/feature/miscfix/2014Q2
Split SMF handling across bsd.pkg.mk and bsd.prefs.mk

Should fix issues with packages which include bsd.prefs.mk before
setting SMF variables.
Update haproxy to 1.5.3.

2014/07/25 : 1.5.3
- DOC: fix typo in Unix Socket commands
- BUG/MEDIUM: connection: fix memory corruption when building a proxy
  v2 header
- BUG/MEDIUM: ssl: Fix a memory leak in DHE key exchange
- DOC: mention that Squid correctly responds 400 to PPv2 header
- BUG/MINOR: http: base32+src should use the big endian version of
  base32
- BUG/MEDIUM: connection: fix proxy v2 header again!
Backport elasticsearch-1.3.0 update from trunk.
Add an initial implementation of check-smf.mk
Update joyent and wip
Merge branch 'joyent/feature/miscfix/2014Q2' into joyent/release/2014Q2