Skip to content

freeradius3 support in pkgsrc #18

Description

@coyhile

I had opened TritonDataCenter/pkgsrc-legacy#502 to update freeradius support to use FreeRADIUS 3.x and migrate pluggable backends to their own packages (mysql, pgsql, etc).

@mamash was massaging my initial work there before the Q2 code freeze. Just filing this so that that work doesn't get lost in the shuffle.

Activity

  1. self-assigned this
    on Aug 22, 2017
  2. mamash commented on Aug 22, 2017

    @mamash

    Coy, can you test the following patch? It's a wrap up of your work and my changes, made against current CVS trunk. I just don't have the opportunity to test the functionality, especially when it comes to the unfortunate config file management.

    I've collected all the sub-packages under net/, it feels like a better fit since they are really just split-off files.

    https://us-east.manta.joyent.com/filip/public/tmp/freeradius.patch

  3. coyhile commented on Aug 22, 2017

    @coyhile
    Author

    I'll give it a shot, at least to the best of my ability. The extent of my testing is probably "does the server start in debug mode correctly. (I'm not an expert in FreeRADIUS by any means.)

    Out of curiosity (as I can't tell from the patch easily), how much different is this from what I tossed blindly over the wall?

  4. mamash commented on Aug 22, 2017

    @mamash

    Little bits really:

    • PKGREVISION should be reset (removed) when updating to a new upstream version
    • Easier to set INSTALLATION_DIRS+=lib once rather than pre-creating each time
    • You can avoid examples/config file handling mess by setting something like INSTALL_MAKE_FLAGS+=raddbdir=${EGDIR}
    • The Python module only supports Python 2.7 I think
    • Some dependencies were missing for the rest module
    • The dependency was not correct for the yubikey module
  5. mamash commented on Aug 22, 2017

    @mamash

    Running the daemon works, even the bundled test suite works. I was hoping you had a more real life setup ready to use this in... :)

  6. coyhile commented on Aug 22, 2017

    @coyhile
    Author

    Ah, I see. And no, I haven't got a more real life setup yet. I got as far in my lab as "Let's get RADIUS setup. Oh wait, 3.x isn't in pkgsrc, so let's go down the rabbit hole instead of setting this up in a branded zone, no reason to use that."

  7. mamash commented on Aug 26, 2017

    @mamash

    I just committed the update to CVS.

  8. mamash commented on Aug 28, 2017

    @mamash

    Closing the issue, the update was committed. Unfortunately the binaries seem to reliably segfault right after start on NetBSD, but that's for another issue I guess.

  9. added a commit that references this issue on Sep 5, 2017
  10. 163 remaining items

  11. added a commit that references this issue on Jun 22, 2026
    e209945
  12. added a commit that references this issue on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions