git: 5e58a3d040d6 - main - net/gnu-radius: unbreak, fix plist, hook up test suite
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 19:22:50 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5e58a3d040d6fcad172e12c31f17d78b29de2c5f
commit 5e58a3d040d6fcad172e12c31f17d78b29de2c5f
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-09-23 09:07:21 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-09-23 19:21:53 +0000
net/gnu-radius: unbreak, fix plist, hook up test suite
- add missing #include <sys/types.h> for u_char
- add missing files to pkg-plist
- hook up test suite
---
net/gnu-radius/Makefile | 3 +--
net/gnu-radius/files/patch-lib_strbuf.c | 10 ++++++++++
net/gnu-radius/pkg-plist | 8 ++++++--
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index e307a993351f..be9fc31ad4ec 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -11,8 +11,6 @@ WWW= https://www.gnu.org/software/radius/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN= Fails to build, error: use of undeclared identifier 'u_char'
-
LIB_DEPENDS= libltdl.so:devel/libltdl
USES= cpe gmake libtool tar:bz2
@@ -26,6 +24,7 @@ CONFLICTS= freeradius-0.* openradius-0.* radiusd-cistron-1.*
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET= install-strip
+TEST_TARGET= check
PLIST_SUB= PORTVERSION=${PORTVERSION}
DATADIR= ${PREFIX}/share/radius
diff --git a/net/gnu-radius/files/patch-lib_strbuf.c b/net/gnu-radius/files/patch-lib_strbuf.c
new file mode 100644
index 000000000000..50b568526117
--- /dev/null
+++ b/net/gnu-radius/files/patch-lib_strbuf.c
@@ -0,0 +1,10 @@
+--- lib/strbuf.c.orig 2026-09-23 08:58:09 UTC
++++ lib/strbuf.c
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <ctype.h>
++#include <sys/types.h>
+ #include <radius/mem.h>
+ #include <radius/list.h>
+ #include <radius/strbuf.h>
diff --git a/net/gnu-radius/pkg-plist b/net/gnu-radius/pkg-plist
index efd49f5f653c..635efbad481b 100644
--- a/net/gnu-radius/pkg-plist
+++ b/net/gnu-radius/pkg-plist
@@ -54,8 +54,10 @@ include/radius/radpaths.h
include/radius/radscm.h
include/radius/radutmp.h
include/radius/sha1.h
+include/radius/strbuf.h
include/radius/symtab.h
include/radius/types.h
+include/radius/version.h
@comment lib/charset.alias
lib/libgnuradius.a
lib/libgnuradius.so
@@ -76,8 +78,12 @@ share/aclocal/radius.m4
%%NLS%%share/locale/es/LC_MESSAGES/radius.mo
%%NLS%%share/locale/fr/LC_MESSAGES/radius.mo
%%NLS%%share/locale/id/LC_MESSAGES/radius.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/radius.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/radius.mo
%%NLS%%share/locale/pl/LC_MESSAGES/radius.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/radius.mo
%%NLS%%share/locale/ru/LC_MESSAGES/radius.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/radius.mo
%%NLS%%share/locale/uk/LC_MESSAGES/radius.mo
%%NLS%%share/locale/vi/LC_MESSAGES/radius.mo
%%CLIENT%%%%DATADIR%%/%%PORTVERSION%%/scheme/gnuradius.scm
@@ -106,6 +112,4 @@ share/aclocal/radius.m4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jetstream.rw
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nt.rw
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pam.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radius.php
-@dir %%DATADIR%%/%%PORTVERSION%%/scheme
@dir lib/radius/%%PORTVERSION%%/modules