Created attachment 257145 [details] update patch FreeRADIUS 3.2.7 was released today. It contains a few fixes and enhancements, for details please see the official announcement[1]. Port builds and runs fine on FreeBSD (was runtime tested on 14.2-STABLE). 1. https://lists.freeradius.org/pipermail/freeradius-users/2025-January/105243.html
^Triage: the patch Keyword is redundant if Attachment is Patch.
Created attachment 257285 [details] upgrade patch v2 PORTREVISION was bumped in 73895aa5f1c5a657c8073828f7a548054716d2cc, so let's update the patch accordingly.
Thanks
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d36834656b78fc2e34eda2f60cc5b98ba68f1367 commit d36834656b78fc2e34eda2f60cc5b98ba68f1367 Author: Ryan Steinmetz <zi@FreeBSD.org> AuthorDate: 2025-02-08 20:17:41 +0000 Commit: Ryan Steinmetz <zi@FreeBSD.org> CommitDate: 2025-02-08 20:17:41 +0000 net/freeradius3: Update to 3.2.7 PR: 284492 Submitted by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> net/freeradius3/Makefile | 3 +-- net/freeradius3/distinfo | 6 +++--- net/freeradius3/files/patch-src_main_process.c (gone) | 13 ------------- net/freeradius3/pkg-plist | 6 ++++++ 4 files changed, 10 insertions(+), 18 deletions(-)
This port is currently broken. It builds but does not install because pkg-plist has "bin/radlast" but it's no longer built by default as of 3.2.7. Either add `--with-radlast` to configure options or remove bin/radlast from pkg-plist.
(In reply to Mike Cui from comment #5) This works fine for me with the default and my custom build OPTIONS using freeradius3-3.2.7. Can you share your build options+logs and confirm you are using the latest ports tree?
(In reply to Ryan Steinmetz from comment #6) Install log $ sudo make install ===> Installing for freeradius3-3.2.7 ===> Checking if freeradius3 is already installed ===> Registering installation for freeradius3-3.2.7 pkg-static: Unable to access file /usr/ports/net/freeradius3/work-default/stage/usr/local/bin/radlast:No such file or directory pkg-static: Unable to access file /usr/ports/net/freeradius3/work-default/stage/usr/local/share/man/man1/radlast.1.gz:No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/freeradius3 *** Error code 1 Stop. make: stopped in /usr/ports/net/freeradius3 My options: # This file is auto-generated by 'make config'. # Options for freeradius3-3.2.1 _OPTIONS_READ=freeradius3-3.2.1 _FILE_COMPLETE_OPTIONS_LIST=DEVELOPER DOCS EDIR EXAMPLES EXPERIMENTAL FIREBIRD FREETDS IDN JSON LDAP MYSQL PCRE PERL PGSQL PYTHON REDIS REST RUBY SQLITE3 UDPFROMTO UNBOUND UNIXODBC USER WINBIND NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT OPTIONS_FILE_UNSET+=DEVELOPER OPTIONS_FILE_UNSET+=DOCS OPTIONS_FILE_UNSET+=EDIR OPTIONS_FILE_UNSET+=EXAMPLES OPTIONS_FILE_UNSET+=EXPERIMENTAL OPTIONS_FILE_UNSET+=FIREBIRD OPTIONS_FILE_UNSET+=FREETDS OPTIONS_FILE_UNSET+=IDN OPTIONS_FILE_UNSET+=JSON OPTIONS_FILE_UNSET+=LDAP OPTIONS_FILE_UNSET+=MYSQL OPTIONS_FILE_UNSET+=PCRE OPTIONS_FILE_UNSET+=PERL OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_UNSET+=PYTHON OPTIONS_FILE_UNSET+=REDIS OPTIONS_FILE_UNSET+=REST OPTIONS_FILE_UNSET+=RUBY OPTIONS_FILE_UNSET+=SQLITE3 OPTIONS_FILE_SET+=UDPFROMTO OPTIONS_FILE_UNSET+=UNBOUND OPTIONS_FILE_UNSET+=UNIXODBC OPTIONS_FILE_SET+=USER OPTIONS_FILE_UNSET+=WINBIND OPTIONS_FILE_SET+=NOKRB OPTIONS_FILE_UNSET+=HEIMDAL OPTIONS_FILE_UNSET+=HEIMDAL_PORT OPTIONS_FILE_UNSET+=MITKRB_PORT