On 29.09.2026 15:45, Lucas Gabriel Vuotto wrote:
> Hi ports@, Mark,
> 
> Here is an update for HAProxy 3.4.6, which would be great to have for
> 8.0 cycle. I've been trying 3.4.x on-and-off for a month without any
> issues in my small deployments.
> 
> Changes and announcement can be found at
> - https://www.haproxy.com/blog/announcing-haproxy-3-4
> - https://www.haproxy.org/download/3.4/src/CHANGELOG

I just saw that there's a / too much when concatenating the final
download url, so better like this

-HOMEPAGE =     https://www.haproxy.org/
+HOMEPAGE =     https://www.haproxy.org

Aside from that, i have the same diff and will install 3.4.6 as soon
as dpb finishes.

> I do have a question: 2 new scripts, haproxy-{dump-certs,reload}, are
> included, which require socat to run. Should I include that as an
> RDEP?

It has always been possible to enable the haproxy-master socket
and run commands this way. I've almost never used it and if via nc,
f.e. 

# nc -U /var/run/haproxy-master.sock
show version
3.4.6-56332c5


# nc -U /var/run/haproxy-master.sock
help
The following commands are valid at this level:                                 
                                        
  abort ssl ca-file <cafile>              : abort a transaction for a CA file   
          
  abort ssl cert <certfile>               : abort a transaction for a 
certificate file
  abort ssl crl-file <crlfile>            : abort a transaction for a CRL file  
                                 
....
  help [<command>]                        : list matching or all commands       
   
  prompt [help | n | i | p | timed ]*     : toggle interactive mode with prompt
  quit                                    : disconnect  

The new 'haproxy-reload' script doesn't even work here (with socat
installed) and drops

Unknown command: 'reload', but maybe one of the following ones is a better 
match:
 - empty -


Anyways. As the scripts might work one day and also the documentation
uses net/socat for cli commands, we can add RUN_DEPENDS= net/socat imo.

Ciao,

        -Mark


> OK?
> 
>       Lucas
> 
> 
> diff refs/heads/haproxy-3.2.25 refs/heads/haproxy-3.4
> commit - 8bbf5552ba86a0e152a7e8b461440fb9c68394fe
> commit + 0cd381ed0daad61c82e84806ff328ebbdc28a72d
> blob - 9019a60c198f39eef987bb4967fe2c0a2221034e
> blob + c341ac77b448d2ca9d3c2c98dcf44b25c26c7863
> --- net/haproxy/Makefile
> +++ net/haproxy/Makefile
> @@ -1,6 +1,6 @@
>  COMMENT =    reliable, high performance TCP/HTTP load balancer
>  
> -DISTNAME =   haproxy-3.2.25
> +DISTNAME =   haproxy-3.4.6
>  CATEGORIES = net www
>  HOMEPAGE =   https://www.haproxy.org/
>  MAINTAINER = Lucas Gabriel Vuotto <[email protected]>
> @@ -12,7 +12,7 @@ WANTLIB +=  c crypto pcre2-8 pcre2-posix pthread ssl z
>  
>  DEBUG_PACKAGES = ${BUILD_PACKAGES}
>  
> -SITES =              ${HOMEPAGE}/download/3.2/src/
> +SITES =              ${HOMEPAGE}/download/3.4/src/
>  
>  USE_GMAKE =  Yes
>  MAKE_FLAGS +=        OPT_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
> blob - 13323a99011d2d9456270fdb8695dd0da3278585
> blob + d92628a057905dceb19aad3fa3c7b50cdd4cd411
> --- net/haproxy/distinfo
> +++ net/haproxy/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (haproxy-3.2.25.tar.gz) = 1Zpo0Nrve1xZawGbdCCJeI/xdIUT75bnH+ezlDV3hm4=
> -SIZE (haproxy-3.2.25.tar.gz) = 5195226
> +SHA256 (haproxy-3.4.6.tar.gz) = eR4YFfivbouFCiJ6mgoZDz00eMno04oPUcmLf0v+Nos=
> +SIZE (haproxy-3.4.6.tar.gz) = 5525386
> blob - d0e370c7b70dc829437922e635b0d8299de091cc
> blob + fe80d302f8a070e5a3b5ade66ec595656a6d16ed
> --- net/haproxy/pkg/PLIST
> +++ net/haproxy/pkg/PLIST
> @@ -5,6 +5,8 @@
>  @bin sbin/haproxy
>  @sample ${SYSCONFDIR}/haproxy/
>  @sample ${LOCALSTATEDIR}/haproxy/
> +sbin/haproxy-dump-certs
> +sbin/haproxy-reload
>  share/doc/haproxy/
>  share/doc/haproxy/51Degrees-device-detection.txt
>  share/doc/haproxy/DeviceAtlas-device-detection.txt
> @@ -13,6 +15,7 @@ share/doc/haproxy/SPOE.txt
>  share/doc/haproxy/WURFL-device-detection.txt
>  share/doc/haproxy/configuration.txt
>  share/doc/haproxy/cookie-options.txt
> +share/doc/haproxy/haterm.txt
>  share/doc/haproxy/intro.txt
>  share/doc/haproxy/linux-syn-cookies.txt
>  share/doc/haproxy/lua.txt
> @@ -24,12 +27,14 @@ share/doc/haproxy/peers.txt
>  share/doc/haproxy/proxy-protocol.txt
>  share/doc/haproxy/regression-testing.txt
>  share/doc/haproxy/seamless_reload.txt
> +share/doc/haproxy/security.txt
>  share/examples/haproxy/
>  share/examples/haproxy/basic-config-edge.cfg
>  share/examples/haproxy/content-sw-sample.cfg
>  share/examples/haproxy/games.cfg
>  share/examples/haproxy/haproxy.cfg
>  @sample ${SYSCONFDIR}/haproxy/haproxy.cfg
> +share/examples/haproxy/keylog-test.cfg
>  share/examples/haproxy/mptcp.cfg
>  share/examples/haproxy/option-http_proxy.cfg
>  share/examples/haproxy/quick-test.cfg
> 

--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
 
https://www.wrapped.cx

Reply via email to