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.h
andpam_debug_log.c
into 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
pkgng
target sogmake pkgng
creates a package with no additional input required (except possibly a+DESC
file).