Bug 284492 - net/freeradius3: Update to 3.2.7
Summary: net/freeradius3: Update to 3.2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL: https://lists.freeradius.org/pipermai...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-31 17:16 UTC by Marek Zarychta
Modified: 2025-03-08 18:25 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments
update patch (3.82 KB, patch)
2025-01-31 17:16 UTC, Marek Zarychta
no flags Details | Diff
upgrade patch v2 (3.83 KB, patch)
2025-02-06 06:38 UTC, Marek Zarychta
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Zarychta 2025-01-31 17:16:53 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-02-05 02:17:15 UTC
^Triage: the patch Keyword is redundant if Attachment is Patch.
Comment 2 Marek Zarychta 2025-02-06 06:38:07 UTC
Created attachment 257285 [details]
upgrade patch v2

PORTREVISION was bumped in 73895aa5f1c5a657c8073828f7a548054716d2cc, so let's update the patch accordingly.
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2025-02-08 20:18:01 UTC
Thanks
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-02-08 20:19:09 UTC
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(-)
Comment 5 Mike Cui 2025-03-08 08:23:46 UTC
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.
Comment 6 Ryan Steinmetz freebsd_committer freebsd_triage 2025-03-08 14:28:58 UTC
(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?
Comment 7 Mike Cui 2025-03-08 18:25:03 UTC
(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