git: 5123a22a56e3 - main - net/freeradius3: Update to 3.2.3

From: Ryan Steinmetz <zi_at_FreeBSD.org>
Date: Sat, 27 May 2023 19:14:07 UTC
The branch main has been updated by zi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5123a22a56e37c002b7ea3ff3a725dfe53ab4b44

commit 5123a22a56e37c002b7ea3ff3a725dfe53ab4b44
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2023-05-27 19:12:09 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2023-05-27 19:12:09 +0000

    net/freeradius3: Update to 3.2.3
    
    PR:             271681
    Submitted by:   Marek Zarychta
---
 net/freeradius3/Makefile                        |  2 +-
 net/freeradius3/distinfo                        |  6 +++---
 net/freeradius3/files/patch-src__main__listen.c | 11 +++++++++++
 net/freeradius3/pkg-plist                       |  4 ++++
 4 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
index f09d225de839..9b98878da5b6 100644
--- a/net/freeradius3/Makefile
+++ b/net/freeradius3/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	freeradius
-DISTVERSION=	3.2.2
+DISTVERSION=	3.2.3
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/FreeRADIUS/freeradius-server/releases/download/release_${DISTVERSION:S/./_/g}/ \
 		https://freeradius.org/ftp/pub/radius/%SUBDIR%/ \
diff --git a/net/freeradius3/distinfo b/net/freeradius3/distinfo
index 9135502b464a..feebc032ddd7 100644
--- a/net/freeradius3/distinfo
+++ b/net/freeradius3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676582221
-SHA256 (freeradius-server-3.2.2.tar.bz2) = 8b31cb10b7b5ecfb03e22a9756e49484f98410e697798f3fd0ce1b3a135ba1fe
-SIZE (freeradius-server-3.2.2.tar.bz2) = 3418998
+TIMESTAMP = 1685205125
+SHA256 (freeradius-server-3.2.3.tar.bz2) = 4a16aeffbfa1424e1f317fdf71d17e5523a4fd9564d87c747a60595ef93c5d1f
+SIZE (freeradius-server-3.2.3.tar.bz2) = 3454869
diff --git a/net/freeradius3/files/patch-src__main__listen.c b/net/freeradius3/files/patch-src__main__listen.c
new file mode 100644
index 000000000000..b6424a240f4a
--- /dev/null
+++ b/net/freeradius3/files/patch-src__main__listen.c
@@ -0,0 +1,11 @@
+--- src/main/listen.c.orig	2023-05-27 19:37:22.486268000 +0200
++++ src/main/listen.c	2023-05-27 19:47:35.685829000 +0200
+@@ -55,7 +55,7 @@
+ #ifdef WITH_TLS
+ #include <netinet/tcp.h>
+ 
+-#  ifdef __APPLE__
++#  if defined __APPLE__ || __FreeBSD__
+ #    if !defined(SOL_TCP) && defined(IPPROTO_TCP)
+ #      define SOL_TCP IPPROTO_TCP
+ #    endif
diff --git a/net/freeradius3/pkg-plist b/net/freeradius3/pkg-plist
index eec5e6e88fb1..27f7fdfb5872 100644
--- a/net/freeradius3/pkg-plist
+++ b/net/freeradius3/pkg-plist
@@ -242,6 +242,9 @@ include/freeradius/vqp.h
 %%EXPM%%%%JSON%%%%LIBDIR%%/rlm_json.a
 %%EXPM%%%%JSON%%%%LIBDIR%%/rlm_json.la
 %%EXPM%%%%JSON%%%%LIBDIR%%/rlm_json.so
+%%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_cache_redis.a
+%%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_cache_redis.la
+%%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_cache_redis.so
 %%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_redis.a
 %%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_redis.la
 %%EXPM%%%%REDIS%%%%LIBDIR%%/rlm_redis.so
@@ -957,6 +960,7 @@ sbin/radmin
 %%DATADIR%%/dictionary.dlink
 %%DATADIR%%/dictionary.dragonwave
 %%DATADIR%%/dictionary.efficientip
+%%DATADIR%%/dictionary.eleven
 %%DATADIR%%/dictionary.eltex
 %%DATADIR%%/dictionary.epygi
 %%DATADIR%%/dictionary.equallogic