Mon Mar 14 09:23:31 2016 UTC ()
Update net/haproxy to 1.6.4. Throw in example config files.

2016/03/14 : 1.6.4
- BUG/MINOR: http: fix several off-by-one errors in the url_param
  parser
- BUG/MINOR: http: Be sure to process all the data received from a
  server
- BUG/MINOR: chunk: make chunk_dup() always check and set
  dst->size
- MINOR: chunks: ensure that chunk_strcpy() adds a trailing zero
- MINOR: chunks: add chunk_strcat() and chunk_newstr()
- MINOR: chunk: make chunk_initstr() take a const string
- MINOR: lru: new function to delete <nb> least recently used keys
- DOC: add Ben Shillito as the maintainer of 51d
- BUG/MINOR: 51d: Ensures a unique domain for each configuration
- BUG/MINOR: 51d: Aligns Pattern cache implementation with HAProxy
  best practices.
- BUG/MINOR: 51d: Releases workset back to pool.
- BUG/MINOR: 51d: Aligned const pointers to changes in 51Degrees.
- CLEANUP: 51d: Aligned if statements with HAProxy best practices
  and removed casts from malloc.
- DOC: fix a few spelling mistakes
- DOC: fix "workaround" spelling
- BUG/MINOR: examples: Fixing haproxy.spec to remove references to
  .cfg files
- MINOR: fix the return type for dns_response_get_query_id()
  function
- MINOR: server state: missing LF (\n) on error message printed
  when parsing server state file
- BUG/MEDIUM: dns: no DNS resolution happens if no ports provided
  to the nameserver
- BUG/MAJOR: servers state: server port is erased when dns
  resolution is enabled on a server
- BUG/MEDIUM: servers state: server port is used uninitialized
- BUG/MEDIUM: config: Adding validation to stick-table expire
  value.
- BUG/MEDIUM: sample: http_date() doesn't provide the right day of
  the week
- BUG/MEDIUM: channel: fix miscalculation of available buffer
  space.
- MEDIUM: pools: add a new flag to avoid rounding pool size up
- BUG/MEDIUM: buffers: do not round up buffer size during
  allocation
- BUG/MINOR: stream: don't force retries if the server is DOWN
- BUG/MINOR: counters: make the sc-inc-gpc0 and sc-set-gpt0 touch
  the table
- MINOR: unix: don't mention free ports on EAGAIN
- BUG/CLEANUP: CLI: report the proper field states in "show sess"
- MINOR: stats: send content-length with the redirect to allow
  keep-alive
- BUG: stream_interface: Reuse connection even if the output
  channel is empty
- DOC: remove old tunnel mode assumptions
- BUG/MAJOR: http-reuse: fix risk of orphaned connections
- BUG/MEDIUM: http-reuse: do not share private connections across
  backends
- BUG/MINOR: ssl: Be sure to use unique serial for regenerated
  certificates
- BUG/MINOR: stats: fix missing comma in stats on agent drain
- BUG/MINOR: lua: unsafe initialization
- DOC: lua: fix somme errors
- DOC: add server name at rate-limit sessions example
- BUG/MEDIUM: ssl: fix off-by-one in ALPN list allocation
- BUG/MEDIUM: ssl: fix off-by-one in NPN list allocation
- DOC: LUA: fix some typos and syntax errors
- MINOR: cfgparse: warn for incorrect 'timeout retry' keyword
  spelling in resolvers
- MINOR: mailers: increase default timeout to 10 seconds
- MINOR: mailers: use <CRLF> for all line endings
- BUG/MAJOR: lua: applets can't sleep.
- BUG/MINOR: server: some prototypes are renamed
- BUG/MINOR: lua: Useless copy
- BUG/MEDIUM: stats: stats bind-process doesn't propagate the
  process mask correctly
- BUG/MINOR: server: fix the format of the warning on address
  change
- BUG/MEDIUM: chunks: always reject negative-length chunks
- BUG/MINOR: systemd: ensure we don't miss signals
- BUG/MINOR: systemd: report the correct signal in debug message
  output
- BUG/MINOR: systemd: propagate the correct signal to haproxy
- MINOR: systemd: ensure a reload doesn't mask a stop
- BUG/MEDIUM: cfgparse: wrong argument offset after parsing server
  "sni" keyword
- CLEANUP: stats: Avoid computation with uninitialized bits.
- CLEANUP: pattern: Ignore unknown samples in pat_match_ip().
- CLEANUP: map: Avoid memory leak in out-of-memory condition.
- BUG/MINOR: tcpcheck: fix incorrect list usage resulting in
  failure to load certain configs
- BUG/MAJOR: samples: check smp->strm before using it
- MINOR: sample: add a new helper to initialize the owner of a
  sample
- MINOR: sample: always set a new sample's owner before evaluating
  it
- BUG/MAJOR: vars: always retrieve the stream and session from the
  sample
- CLEANUP: payload: remove useless and confusing nullity checks
  for channel buffer
- BUG/MINOR: ssl: fix usage of the various sample fetch functions
- MINOR: cfgparse: warn when uid parameter is not a number
- MINOR: cfgparse: warn when gid parameter is not a number
- BUG/MINOR: standard: Avoid free of non-allocated pointer
- BUG/MINOR: pattern: Avoid memory leak on out-of-memory condition
- CLEANUP: http: fix a build warning introduced by a recent fix
- BUG/MINOR: log: GMT offset not updated when entering/leaving DST


(fhajny)
diff -r1.25 -r1.26 pkgsrc/net/haproxy/Makefile
diff -r1.6 -r1.7 pkgsrc/net/haproxy/PLIST
diff -r1.20 -r1.21 pkgsrc/net/haproxy/distinfo

cvs diff -r1.25 -r1.26 pkgsrc/net/haproxy/Makefile (expand / switch to unified diff)

--- pkgsrc/net/haproxy/Makefile 2016/03/05 11:29:05 1.25
+++ pkgsrc/net/haproxy/Makefile 2016/03/14 09:23:31 1.26
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.25 2016/03/05 11:29:05 jperkin Exp $ 1# $NetBSD: Makefile,v 1.26 2016/03/14 09:23:31 fhajny Exp $
2 2
3DISTNAME= haproxy-1.6.3 3DISTNAME= haproxy-1.6.4
4PKGREVISION= 2 
5CATEGORIES= net www 4CATEGORIES= net www
6MASTER_SITES= http://www.haproxy.org/download/1.6/src/ 5MASTER_SITES= http://www.haproxy.org/download/1.6/src/
7 6
8MAINTAINER= morr@NetBSD.org 7MAINTAINER= morr@NetBSD.org
9HOMEPAGE= http://haproxy.1wt.eu/ 8HOMEPAGE= http://haproxy.1wt.eu/
10COMMENT= Reliable, high performance TCP/HTTP load balancer 9COMMENT= Reliable, high performance TCP/HTTP load balancer
11LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
12 11
13USE_TOOLS+= gmake 12USE_TOOLS+= gmake
14BUILD_MAKE_FLAGS+= TARGET=${TARGET} ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib USE_ZLIB=1 13BUILD_MAKE_FLAGS+= TARGET=${TARGET} ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib USE_ZLIB=1
15INSTALL_MAKE_FLAGS+= TARGET=${TARGET} 14INSTALL_MAKE_FLAGS+= TARGET=${TARGET}
16INSTALL_MAKE_FLAGS+= PREFIX=${PREFIX} 15INSTALL_MAKE_FLAGS+= PREFIX=${PREFIX}
17INSTALL_MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/${PKGBASE} 16INSTALL_MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/${PKGBASE}
@@ -45,16 +44,17 @@ TARGET=linux24 @@ -45,16 +44,17 @@ TARGET=linux24
45. endif 44. endif
46. else 45. else
47TARGET=generic 46TARGET=generic
48. endif 47. endif
49.else 48.else
50TARGET=generic 49TARGET=generic
51.endif 50.endif
52 51
53LIBS.SunOS+= -lxnet 52LIBS.SunOS+= -lxnet
54 53
55post-install: 54post-install:
56 ${INSTALL_DATA} ${WRKSRC}/doc/architecture.txt ${DESTDIR}${DOCDIR}/ 55 ${INSTALL_DATA} ${WRKSRC}/doc/architecture.txt ${DESTDIR}${DOCDIR}/
57 ${INSTALL_DATA} ${WRKSRC}/doc/configuration.txt ${DESTDIR}${DOCDIR}/ 56 ${INSTALL_DATA} ${WRKSRC}/doc/configuration.txt ${DESTDIR}${DOCDIR}/
 57 ${INSTALL_DATA} ${WRKSRC}/examples/*.cfg ${DESTDIR}${EGDIR}/
58 58
59.include "../../devel/zlib/buildlink3.mk" 59.include "../../devel/zlib/buildlink3.mk"
60.include "../../mk/bsd.pkg.mk" 60.include "../../mk/bsd.pkg.mk"

cvs diff -r1.6 -r1.7 pkgsrc/net/haproxy/PLIST (expand / switch to unified diff)

--- pkgsrc/net/haproxy/PLIST 2015/11/12 16:32:29 1.6
+++ pkgsrc/net/haproxy/PLIST 2016/03/14 09:23:31 1.7
@@ -1,5 +1,11 @@ @@ -1,5 +1,11 @@
1@comment $NetBSD: PLIST,v 1.6 2015/11/12 16:32:29 morr Exp $ 1@comment $NetBSD: PLIST,v 1.7 2016/03/14 09:23:31 fhajny Exp $
2man/man1/haproxy.1 2man/man1/haproxy.1
3sbin/haproxy 3sbin/haproxy
4share/doc/haproxy/architecture.txt 4share/doc/haproxy/architecture.txt
5share/doc/haproxy/configuration.txt 5share/doc/haproxy/configuration.txt
 6share/examples/haproxy/acl-content-sw.cfg
 7share/examples/haproxy/auth.cfg
 8share/examples/haproxy/content-sw-sample.cfg
 9share/examples/haproxy/option-http_proxy.cfg
 10share/examples/haproxy/ssl.cfg
 11share/examples/haproxy/transparent_proxy.cfg

cvs diff -r1.20 -r1.21 pkgsrc/net/haproxy/distinfo (expand / switch to unified diff)

--- pkgsrc/net/haproxy/distinfo 2016/02/01 10:07:56 1.20
+++ pkgsrc/net/haproxy/distinfo 2016/03/14 09:23:31 1.21
@@ -1,12 +1,8 @@ @@ -1,12 +1,8 @@
1$NetBSD: distinfo,v 1.20 2016/02/01 10:07:56 jperkin Exp $ 1$NetBSD: distinfo,v 1.21 2016/03/14 09:23:31 fhajny Exp $
2 2
3SHA1 (deviceatlas-enterprise-c-2.1.zip) = fbd4a4198307616d51518e50d09666aeac2eea29 3SHA1 (haproxy-1.6.4.tar.gz) = df3d7f216fe4974d9eac55d76c7f729560c6e975
4RMD160 (deviceatlas-enterprise-c-2.1.zip) = fc4b78bc18c80cc19e36fa5b8776cbf8b959abd7 4RMD160 (haproxy-1.6.4.tar.gz) = 955c11358efe1cc2a47d705d5c8f0ca3d3056f3e
5SHA512 (deviceatlas-enterprise-c-2.1.zip) = 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b 5SHA512 (haproxy-1.6.4.tar.gz) = 9f0fc316100e312a0c35c0706895b0e57634ad6ef353c33e958bbebce445855a057a0d7dabd67f3c15126843f40ab13d436ab9544b9793de4623b59d1bc91c52
6Size (deviceatlas-enterprise-c-2.1.zip) = 504286 bytes 6Size (haproxy-1.6.4.tar.gz) = 1559276 bytes
7SHA1 (haproxy-1.6.3.tar.gz) = f7da36b53188fa15551978dfbda80a9e1816fa01 
8RMD160 (haproxy-1.6.3.tar.gz) = 936f280639b24aa29c71f60660c093a3d0da6b2a 
9SHA512 (haproxy-1.6.3.tar.gz) = 79ed526cd857dcd68d9b8289df4d4a2d87594e8d0d119f4d7c618597db7563a0cedc8417ddcfefb464a322d1fb50cb044656a2fbe78867f58052e0ddaa894bb9 
10Size (haproxy-1.6.3.tar.gz) = 1555861 bytes 
11SHA1 (patch-Makefile) = 5618e5a15c710267b06756d529486acfdb831e5f 7SHA1 (patch-Makefile) = 5618e5a15c710267b06756d529486acfdb831e5f
12SHA1 (patch-include_common_standard.h) = cc4b46e4923447a2d5d95cff2f241981ed77ad1d 8SHA1 (patch-include_common_standard.h) = cc4b46e4923447a2d5d95cff2f241981ed77ad1d