It seems the net/radsecproxy port has not received any updates for some time.
- The port does currently not compile on FreeBSD 12 or FreeBSD 13.
- The port still refers to version 1.6.8, which is two years old. Version
1.8.0 came out two months ago.
- The project moved to Github and the old download location is not available
I've updated the Makefile to refer to the new download location, and to the
newest version. Version 1.8.0 seems to have a missing include statement but
compiles when that's fixed. I've included a patch in the port for this, and
submitted the patch upstream . I've also included a patch that corrects
paths in the example config file.
The port seems to run fine, I was able to connect to WiFi in a test setup where
radsecproxy 1.8.0 on 12.0-RELEASE received TLS traffic which it forwarded to a
local RADIUS server. I didn't test this port on CURRENT though.
This is my first port work, there are two details I'm not sure about:
1. The radsecproxy example configuraion file states that the file should be
placed at /usr/local/etc/radsecproxy/radsecproxy.conf, but the FreeBSD port
uses /usr/local/etc/radsecproxy.conf. Should I correct this, provided that this
will break setups for those who already installed this port earlier?
2. The project uses autotools, but provides a manually built .tar.gz that comes
with a prebuilt configure script and Makefile. This file is not chosen by the
standard Github macros in the FreeBSD porting scripts. Is it preferable to use
autoreconf or to override the download location?
Please let me know if I can do anything to make this patch better.