pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/haproxy haproxy: updated to 1.8.20



details:   https://anonhg.NetBSD.org/pkgsrc/rev/475e3b274bf6
branches:  trunk
changeset: 396955:475e3b274bf6
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jun 13 09:07:08 2019 +0000

description:
haproxy: updated to 1.8.20

1.8.20
- BUG/MAJOR: listener: Make sure the listener exist before using it.
- BUG/MINOR: listener: keep accept rate counters accurate under saturation
- BUG/MEDIUM: logs: Only attempt to free startup_logs once.
- BUG/MEDIUM: 51d: fix possible segfault on deinit_51degrees()
- BUG/MINOR: ssl: fix warning about ssl-min/max-ver support
- MEDIUM: threads: Use __ATOMIC_SEQ_CST when using the newer atomic API.
- BUG/MEDIUM: threads/fd: do not forget to take into account epoll_fd/pipes
- BUG/MAJOR: spoe: Fix initialization of thread-dependent fields
- BUG/MAJOR: stats: Fix how huge POST data are read from the channel
- BUG/MINOR: http/counters: fix missing increment of fe->srv_aborts
- BUG/MEDIUM: ssl: ability to set TLS 1.3 ciphers using ssl-default-server-ciphersuites
- DOC: The option httplog is no longer valid in a backend.
- BUG/MAJOR: checks: segfault during tcpcheck_main
- BUILD: makefile: work around an old bug in GNU make-3.80
- MINOR: tools: make memvprintf() never pass a NULL target to vsnprintf()
- BUILD: makefile: fix build of IPv6 header on aix51
- BUILD: makefile: add _LINUX_SOURCE_COMPAT to build on AIX-51
- BUILD: Makefile: disable shared cache on AIX 5.1
- BUG/MINOR: cli: correctly handle abns in 'show cli sockets'
- MINOR: cli: start addresses by a prefix in 'show cli sockets'
- BUG/MEDIUM: peers: fix a case where peer session is not cleanly reset on release.
- BUILD: use inttypes.h instead of stdint.h
- BUILD: connection: fix naming of ip_v field
- BUG/MEDIUM: pattern: assign pattern IDs after checking the config validity
- BUG/MEDIUM: spoe: Queue message only if no SPOE applet is attached to the stream
- BUG/MEDIUM: spoe: Return an error if nothing is encoded for fragmented messages
- BUG/MINOR: threads: fix the process range of thread masks
- MINOR: lists: Implement locked variations.
- BUG/MEDIUM: lists: Properly handle the case we're removing the first elt.
- BUG/MEDIUM: list: fix the rollback on addq in the locked liss
- BUG/MEDIUM: list: fix LIST_POP_LOCKED's removal of the last pointer
- BUG/MEDIUM: list: add missing store barriers when updating elements and head
- MINOR: list: make the delete and pop operations idempotent
- BUG/MEDIUM: list: correct fix for LIST_POP_LOCKED's removal of last element
- BUG/MEDIUM: list: fix again LIST_ADDQ_LOCKED
- BUG/MEDIUM: list: fix incorrect pointer unlocking in LIST_DEL_LOCKED()
- MAJOR: listener: do not hold the listener lock in listener_accept()
- BUG/MEDIUM: listener: use a self-locked list for the dequeue lists
- BUG/MEDIUM: listener: make sure the listener never accepts too many conns
- BUILD/MINOR: listener: Silent a few signedness warnings.
- MINOR: skip get_gmtime where tm is unused
- BUG/MAJOR: http_fetch: Get the channel depending on the keyword used
- BUG/MEDIUM: maps: only try to parse the default value when it's present
- BUG/MINOR: acl: properly detect pattern type SMP_T_ADDR
- BUG/MEDIUM: thread/http: Add missing locks in set-map and add-acl HTTP rules
- BUG/MINOR: 51d: Get the request channel to call CHECK_HTTP_MESSAGE_FIRST()
- BUG/MINOR: da: Get the request channel to call CHECK_HTTP_MESSAGE_FIRST()
- BUG/MINOR: spoe: Don't systematically wakeup SPOE stream in the applet handler

1.8.19
- DOC: ssl: Clarify when pre TLSv1.3 cipher can be used
- DOC: ssl: Stop documenting ciphers example to use
- BUG/MINOR: spoe: do not assume agent->rt is valid on exit
- BUG/MINOR: lua: initialize the correct idle conn lists for the SSL sockets
- BUG/MEDIUM: spoe: initialization depending on nbthread must be done last
- BUG/MEDIUM: server: initialize the idle conns list after parsing the config
- BUG/MAJOR: spoe: Don't try to get agent config during SPOP healthcheck
- BUG/MAJOR: stream: avoid double free on unique_id
- BUG/MINOR: config: Reinforce validity check when a process number is parsed

1.8.18
- DOC: http-request cache-use / http-response cache-store expects cache name
- BUG/MAJOR: cache: fix confusion between zero and uninitialized cache key
- BUG/MEDIUM: ssl: Disable anti-replay protection and set max data with 0RTT.
- DOC: Be a bit more explicit about allow-0rtt security implications.
- BUG/MEDIUM: ssl: missing allocation failure checks loading tls key file
- BUG/MINOR: backend: don't use url_param_name as a hint for BE_LB_ALGO_PH
- BUG/MINOR: backend: balance uri specific options were lost across defaults
- BUG/MINOR: backend: BE_LB_LKUP_CHTREE is a value, not a bit
- BUG/MINOR: stick_table: Prevent conn_cur from underflowing
- BUG/MINOR: server: don't always trust srv_check_health when loading a server state
- BUG/MINOR: check: Wake the check task if the check is finished in wake_srv_chk()
- BUG/MEDIUM: ssl: Fix handling of TLS 1.3 KeyUpdate messages
- DOC: mention the effect of nf_conntrack_tcp_loose on src/dst
- MINOR: h2: add a bit-based frame type representation
- MINOR: h2: declare new sets of frame types
- BUG/MINOR: mux-h2: CONTINUATION in closed state must always return GOAWAY
- BUG/MINOR: mux-h2: headers-type frames in HREM are always a connection error
- BUG/MINOR: mux-h2: make it possible to set the error code on an already closed stream
- BUG/MINOR: hpack: return a compression error on invalid table size updates
- DOC: nbthread is no longer experimental.
- BUG/MINOR: spoe: corrected fragmentation string size
- BUG/MINOR: deinit: tcp_rep.inspect_rules not deinit, add to deinit
- SCRIPTS: add the slack channel URL to the announce script
- SCRIPTS: add the issue tracker URL to the announce script
- BUG/MINOR: stream: don't close the front connection when facing a backend error
- MINOR: xref: Add missing barriers.
- BUG/MEDIUM: mux-h2: wake up flow-controlled streams on initial window update
- BUG/MEDIUM: mux-h2: fix two half-closed to closed transitions
- BUG/MEDIUM: mux-h2: make sure never to send GOAWAY on too old streams
- BUG/MEDIUM: mux-h2: wait for the mux buffer to be empty before closing the connection
- MINOR: stream-int: expand the flags to 32-bit
- MINOR: stream-int: add a new flag to mention that we want the connection to be killed
- MINOR: connstream: have a new flag CS_FL_KILL_CONN to kill a connection
- BUG/MEDIUM: mux-h2: do not close the connection on aborted streams
- BUG/MEDIUM: stream: Don't forget to free s->unique_id in stream_free().
- BUG/MINOR: config: fix bind line thread mask validation
- BUG/MAJOR: config: verify that targets of track-sc and stick rules are present
- BUG/MAJOR: spoe: verify that backends used by SPOE cover all their callers' processes
- BUG/MINOR: config: make sure to count the error on incorrect track-sc/stick rules

diffstat:

 net/haproxy/Makefile               |  25 ++++++++++++++-----------
 net/haproxy/distinfo               |  12 ++++++------
 net/haproxy/patches/patch-Makefile |  17 +++--------------
 3 files changed, 23 insertions(+), 31 deletions(-)

diffs (109 lines):

diff -r 8cebafd1fb11 -r 475e3b274bf6 net/haproxy/Makefile
--- a/net/haproxy/Makefile      Thu Jun 13 07:58:31 2019 +0000
+++ b/net/haproxy/Makefile      Thu Jun 13 09:07:08 2019 +0000
@@ -1,17 +1,20 @@
-# $NetBSD: Makefile,v 1.45 2019/01/24 10:33:52 morr Exp $
+# $NetBSD: Makefile,v 1.46 2019/06/13 09:07:08 adam Exp $
 
-DISTNAME=      haproxy-1.8.17
+DISTNAME=      haproxy-1.8.20
 CATEGORIES=    net www
 MASTER_SITES=  http://www.haproxy.org/download/${PKGVERSION_NOREV:R}/src/
 
 MAINTAINER=    morr%NetBSD.org@localhost
-HOMEPAGE=      http://haproxy.org/
+HOMEPAGE=      http://www.haproxy.org/
 COMMENT=       Reliable, high performance TCP/HTTP load balancer
 LICENSE=       gnu-gpl-v2
 
 USE_LANGUAGES=         c
 USE_TOOLS+=            gmake
 BUILD_MAKE_FLAGS+=     ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib
+BUILD_MAKE_FLAGS+=     CC=${CC:Q}
+BUILD_MAKE_FLAGS+=     CFLAGS=${CFLAGS:Q}
+BUILD_MAKE_FLAGS+=     LDFLAGS=${LDFLAGS:Q}
 BUILD_MAKE_FLAGS+=     TARGET=${TARGET}
 BUILD_MAKE_FLAGS+=     USE_REGPARM=1
 BUILD_MAKE_FLAGS+=     USE_ZLIB=1
@@ -20,22 +23,22 @@
 INSTALL_MAKE_FLAGS+=   PREFIX=${PREFIX}
 INSTALL_MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
 INSTALL_MAKE_FLAGS+=   TARGET=${TARGET}
+# skip install-doc
+INSTALL_TARGET=                install-bin install-man
 
 .include "options.mk"
 
 RCD_SCRIPTS=           haproxy
+DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
-DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
-INSTALLATION_DIRS+=    ${EGDIR}
+INSTALLATION_DIRS+=    ${DOCDIR} ${EGDIR}
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "NetBSD"
-TARGET=        netbsd
-.elif ${OPSYS} == "FreeBSD"
-TARGET=        freebsd
-.elif ${OPSYS} == "OpenBSD"
-TARGET=        openbsd
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
+TARGET=        ${OPSYS:tl}
+.elif ${OPSYS} == "Darwin"
+TARGET=        osx
 .elif ${OPSYS} == "SunOS"
 TARGET=        solaris
 .elif ${OPSYS} == "Linux"
diff -r 8cebafd1fb11 -r 475e3b274bf6 net/haproxy/distinfo
--- a/net/haproxy/distinfo      Thu Jun 13 07:58:31 2019 +0000
+++ b/net/haproxy/distinfo      Thu Jun 13 09:07:08 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.40 2019/01/24 10:33:52 morr Exp $
+$NetBSD: distinfo,v 1.41 2019/06/13 09:07:08 adam Exp $
 
-SHA1 (haproxy-1.8.17.tar.gz) = 066878e2e443473d0cb9f8e74c28be822ec1e4be
-RMD160 (haproxy-1.8.17.tar.gz) = c8e381f552ed51636ad2917a2cd2c1e58b662e73
-SHA512 (haproxy-1.8.17.tar.gz) = 0887d5d84c2cce9355fae032ba82e4b7b94c89d3053f209046a555101b5750c10b51feb38fd14245f806fb4f50ec1dcdf2b23b4f80578abd4a27693fc29b91b1
-Size (haproxy-1.8.17.tar.gz) = 2077525 bytes
-SHA1 (patch-Makefile) = 30a778c6d83270ef672d14d6ae3fe7a1126fea53
+SHA1 (haproxy-1.8.20.tar.gz) = 7aa627e4ae0b2ee603d5525436c7f4d13b8e2f5e
+RMD160 (haproxy-1.8.20.tar.gz) = 20df9c96ec28b202ff8ab4957edbc41633151be1
+SHA512 (haproxy-1.8.20.tar.gz) = c288ccf223da71a29ae0f08f3c9753002735816229ea83ca497d46c860fb8a4bd422077a94652aa475e48aefb78787979cdce7f1bd0b5919dc671ba25212c133
+Size (haproxy-1.8.20.tar.gz) = 2083917 bytes
+SHA1 (patch-Makefile) = 0d80582ae4fc755b5a0aeefd5b943d9b2e238768
 SHA1 (patch-src_cli.c) = 4bc5cf0116df121ac4c3c38b8f962c3a62d536e5
 SHA1 (patch-src_haproxy.c) = badb172013541087d84f03726ea928c6f5634dc3
diff -r 8cebafd1fb11 -r 475e3b274bf6 net/haproxy/patches/patch-Makefile
--- a/net/haproxy/patches/patch-Makefile        Thu Jun 13 07:58:31 2019 +0000
+++ b/net/haproxy/patches/patch-Makefile        Thu Jun 13 09:07:08 2019 +0000
@@ -1,11 +1,10 @@
-$NetBSD: patch-Makefile,v 1.5 2018/07/25 13:51:18 jperkin Exp $
+$NetBSD: patch-Makefile,v 1.6 2019/06/13 09:07:08 adam Exp $
 
 Do not hardcode _XOPEN_SOURCE.
-Skip installing unnecessary documentation.
 
---- Makefile.orig      2018-06-27 14:27:32.000000000 +0000
+--- Makefile.orig      2019-04-25 21:59:27.000000000 +0000
 +++ Makefile
-@@ -310,7 +310,7 @@ ifeq ($(TARGET),solaris)
+@@ -316,7 +316,7 @@ ifeq ($(TARGET),solaris)
    # This is for Solaris 8
    # We also enable getaddrinfo() which works since solaris 8.
    USE_POLL       = implicit
@@ -14,13 +13,3 @@
    TARGET_LDFLAGS = -lnsl -lsocket
    USE_TPROXY     = implicit
    USE_LIBCRYPT    = implicit
-@@ -933,9 +933,6 @@ DOCUMENTATION = $(filter-out $(EXCLUDE_D
- 
- install-doc:
-       install -d "$(DESTDIR)$(DOCDIR)"
--      for x in $(DOCUMENTATION); do \
--              install -m 644 doc/$$x.txt "$(DESTDIR)$(DOCDIR)" ; \
--      done
- 
- install-bin:
-       @for i in haproxy $(EXTRA); do \



Home | Main Index | Thread Index | Old Index