Bug 267061 - net/freeradius3: Update to 3.2.1
Summary: net/freeradius3: Update to 3.2.1
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://freeradius.org/release_notes/...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2022-10-14 22:59 UTC by Marek Zarychta
Modified: 2022-10-27 16:46 UTC (History)
2 users (show)

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


Attachments
Update patch (10.96 KB, patch)
2022-10-14 22:59 UTC, Marek Zarychta
no flags Details | Diff
reworked patch (13.37 KB, patch)
2022-10-27 15:39 UTC, Marek Zarychta
zarychtam: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Zarychta 2022-10-14 22:59:23 UTC
Created attachment 237310 [details]
Update patch

Almost one year since the last update of the FreeRADIUS port. Time to switch to the feature-rich 3.2.x series. Backward compatibility for config files is preserved.

Respectively, 3.2.0 and 3.2.1 were built, run, and fully tested in our FreeBSD jails for over six months. It's high time to make this software available to the FreeBSD community.
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-10-15 08:19:00 UTC
Created by lines are obsolete and should not be added back

Instead of adding paths to LOCALBASE for JSON and other options can't USES= localbase or localbase:ldflags be used?
Comment 2 Marek Zarychta 2022-10-15 08:28:01 UTC
(In reply to Daniel Engberg from comment #1)
The port needs a full rewrite to fulfill your request. I am not willing to do so. JSON support was added in 3.2.0 and can be removed from the port if hurts.
Comment 3 Marek Zarychta 2022-10-27 15:39:32 UTC
Created attachment 237683 [details]
reworked patch

net/freeradius3: : Update to 3.2.1
    
        Port changes:
            - @exec @unexec erros fixed
            - added new rlm_json module
            - building with LibreSSL marked as broken
    
        Changes since 3.0.25 release:
            https://freeradius.org/release_notes/?br=3.2.x&re=3.2.0
            https://freeradius.org/release_notes/?br=3.2.x&re=3.2.1
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2022-10-27 16:33:24 UTC
Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-10-27 16:46:19 UTC
A commit in branch main references this bug:

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

commit fd68fdb7e340c9bcb2c71961875c3029888e80b1
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2022-10-27 16:44:49 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2022-10-27 16:44:49 +0000

    net/freeradius3: Update to 3.2.1

    PR:             267061
    Submitted by:   Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>

 net/freeradius3/Makefile                      | 20 +++++++++--
 net/freeradius3/distinfo                      |  6 ++--
 net/freeradius3/files/patch-install-sh (gone) | 11 ------
 net/freeradius3/pkg-plist                     | 51 +++++++++++++++------------
 4 files changed, 50 insertions(+), 38 deletions(-)