Currently HylaFAX checks for libpam_misc library which is part of Linux-PAM package, also if it doesn't use it, and uses a simple macro from Linux-PAM headers. The attached patch applied over sources makes Hylafax compilable on Gentoo/FreeBSD (after removing metamail dependency, as I told on IRC. Please alseo note that you probably want to add a keepdir /var/lock as faxsetup fails if that directory doesn't exists (I know that's strange, but better safe than sorry). Thanks in advance, Diego
Created attachment 60671 [details, diff] hylafax-4.2.1-openpam.patch
Created attachment 60701 [details, diff] patch over ebuild for multilib While I was at that, the attached patch makes hylafax multilib-compatible. I'll add amd64@g.o to cc.
OpenPAM patch applied upstream for next version.
btw you probably want to add a pamd_mimic_system in src_install (after inheriting pam) to create the /etc/pam.d/hylafax file.
Applied on portage.