Two things I forgot to mention in my previous post:
- In order to use OpenPAM from svn instead of the version that comes with FreeBSD, you need to copy
security/pam_mod_misc.handpam_debug_log.cinto the OpenPAM source tree and adjust the Makefiles accordingly, otherwise FreeBSD’s service modules won’t run and you won’t be able to log in. I don’t plan to include this code in OpenPAM; I’d rather overhaul FreeBSD’s modules so they no longer need it. - What I actually wanted to do, but didn’t because I needed a solution there and then, was patch automake itself to add a
pkgngtarget sogmake pkgngcreates a package with no additional input required (except possibly a+DESCfile).