opnsense / tools

OPNsense release engineering toolkit
https://opnsense.org/
BSD 2-Clause "Simplified" License
260 stars 187 forks source link

Add HAProxy 2.8 [only for 24.1] #391

Closed fraenki closed 5 months ago

fraenki commented 6 months ago

For https://github.com/opnsense/plugins/pull/3694 some changes are necessary. I'll leave them here until preparation for OPNsense 24.1 begins:

--- a/config/24.1/make.conf
+++ b/config/24.1/make.conf
@@ -68,7 +68,7 @@ net_asterisk18_UNSET=     DAHDI XMPP
 net_freeradius3_SET=       LDAP MITKRB_PORT MYSQL SQLITE3
 net_freeradius3_UNSET=     HEIMDAL
 net_frr8_SET=          MULTIPATH SNMP
-net_haproxy26_SET=     LUA # PROMEX
+net_haproxy28_SET=     LUA # PROMEX
 net_miniupnpd_SET=     CHECK_PORTINUSE
 net_openldap26-client_SET= GSSAPI
 net_openldap26-server_SET= GSSAPI
--- a/config/24.1/ports.conf
+++ b/config/24.1/ports.conf
@@ -114,7 +114,8 @@ net/dpinger
 net/freeradius3                    arm
 net/frr8                   arm
 net/google-cloud-sdk               arm
-net/haproxy26                  arm
+net/haproxy28                  arm
+net/py-haproxy-cli                 arm
 net/hostapd
 net/igmpproxy
 net/isc-dhcp44-relay

Note that os-haproxy now requires haproxy-cli, which is waiting to be included in FreeBSD ports: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275562 Maybe you could import this port so that we don't have to wait for approval. :blush: