The attached patch applied over current ebuild, with the attached pamd file, makes cyrus-imapd's pamd file compatible with openpam implementation, moving from pam_stack to include directive. The ebuild patch also uses newpamd to install it removing all the references to the old pamd files for pop3 and imap, and removes the || die "epatch failed" after epatch lines. Note: virtual/pam requires sys-libs/pam-0.78, so probably a revbump is needed. Note2: cyrus-imapd still doesn't work on g/fbsd as there are troubles getting berkdb support done in the right way (db.h is a system header file). HTH, Diego
Created attachment 59275 [details, diff] Ebuild patch
Created attachment 59276 [details] cyrus.pam-include
Fixed along with sed changes to make bsd-sed a bit happier. Cheers, Ferdy