Currently proftpd ebuild doesn't use enewuser/enewgroup to create groups and users, but uses groupadd/useradd which are non-portables. The attached patch applied over current ebuild make use of enewgroup/enewuser, add a few useflags, uses newpamd to install the pam config file and newinitd to install the init.d file. The dependency for pam is moved from sys-libs/pam to virtual/pam (so sys-libs/pam-0.78) as the attached ftp.pamd-include uses the include directive instead of pam_stack (and comments out by default pam_listfile as it's linux-pam specific. HTH, Diego
Created attachment 59269 [details, diff] Ebuild patch
Created attachment 59270 [details] ftp.pamd-include
Thanks flame. I'm just waiting for repoman to ci the new version.