Solved How do I install FreeRADIUS 3.0.23 from Github?

There is a nasty bug in FreeRADIUS 3.0.22 and I have been informed by the developers that it has been debugged in version 3.0.23. The problem is that there is no repository or port package for that version, I guess it has not been ported to FreeBSD 12 yet. But the developers kindly provide the source code on Github:

https://github.com/FreeRADIUS/freeradius-server

But I don't know how to install from that source code. The classic
Code:
make install clean
does not work. Can anyone help me out here?
 
I'll definitely do that, but how do I compile the executable from the .c file? I'd like to see if it works.
 
I'll definitely do that, but how do I compile the executable from the .c file? I'd like to see if it works.

You can try to change the version of the port and see if the new version of the program compiles fine without changes.

After changing the version do:

make makesum
make

If the port compiles fine do:
rm pkg-plist
make makeplist > pkg-plist (Dont forget to delete the first line in the file after that)
make clean
make install clean
 
OK, now the port has been updated. What about the package repository? What can I do about that?
 
I believe that is FreeBSD 13.0, right? I am using FreeBSD 12.2. Would any changes be reflected to the 12 branch too?
 
I believe that is FreeBSD 13.0, right? I am using FreeBSD 12.2. Would any changes be reflected to the 12 branch too?
The version of FreeBSD is irrelevant, all versions use the same ports tree.
 
I tried updating the package repository on my FreeBSD 12.2 test machine today:

Code:
pkg update -f

But it seems the FreeRADIUS package has not been updates as yet:

Code:
# pkg search freeradius
freeradius-client-1.1.7        Client library and basic utilities for RADIUS AAA
freeradius-ldap-3.0.22         Free RADIUS server implementation
freeradius-mysql-3.0.22        Free RADIUS server implementation
freeradius-pgsql-3.0.22        Free RADIUS server implementation
freeradius-sqlite3-3.0.22      Free RADIUS server implementation
freeradius3-3.0.22             Free RADIUS server implementation

When can I hope the repository will be updated to include the new version? Is there anything I can do to download it manually?
 
When can I hope the repository will be updated to include the new version?
It will land in quarterly when the new quarterly is branched (2021Q4) some time early October. Or you can switch to the latest package repository.
Create a /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
 
Added those lines to /etc/pkg/FreeBSD.conf and now I can download it.
Don't edit /etc/pkg/FreeBSD.conf, your changes might get undone after an update. Create a /usr/local/etc/pkg/repos/FreeBSD.conf like I showed.
 
Don't edit /etc/pkg/FreeBSD.conf, your changes might get undone after an update. Create a /usr/local/etc/pkg/repos/FreeBSD.conf like I showed.
I got an error when I did that, but now I see it was because I was temporarily disconnected when I tried to update the repository. Just now I did as you suggested and it worked again. Thank you.
 
Back
Top