> FreeBSD 5 introduced the `xucred` struct for external users in commit
> c0511d3b58c985e17c0c23585ea7d16b6f52fe61 to avoid breaking user space
> applications when the `ucred` struct changes.
> oidentd happened to still work after this commit because the EUID it
> reads was stored at the same location in both structures. This is no
> longer the case with FreeBSD 13.
> This commit updates the freebsd5 module to use `xucred` instead of
> `ucred` as the expected return type for getcred calls.
This is the extent of 2.5.0 -> 2.5.1 so the whole release can come in.
A trivial s/2.5.0/2.5.1/ in the Makefile seems enough for me.
Created attachment 225425 [details]
Patch for oidentd
Modify Makefile to follow Porter's Handbook more closely
Switch to tar.xz release archive
Remove IPV6 option (it's 2021 not 1999)
Compile tested on FreeBSD 13.0-STABLE n245227-5ec4eb443e8 (amd64) (make, make check-plist)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 11.4-RELEASE (amd64)
Maintainer timeout, something you can have a look at?
Created attachment 225828 [details]
Updated default configuration file to hide root connections.