FreeBSD's chown cannot handle "-R" after "root:0". It assume "-R" as a file path and cause error. This can be solved with this tiny patch. diff --git a/net-mail/vpopmail/vpopmail-5.4.33.ebuild b/net-mail/vpopmail/vpopmail-5.4.33.ebuild index afac37b..96fa7a1 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33.ebuild @@ -149,7 +149,7 @@ src_install() { doenvd "${FILESDIR}"/99vpopmail einfo "Locking down vpopmail permissions" - fowners root:0 -R "${VPOP_HOME}"/{bin,etc,include} + fowners -R root:0 "${VPOP_HOME}"/{bin,etc,include} fowners root:vpopmail "${VPOP_HOME}"/bin/vchkpw fperms 4711 "${VPOP_HOME}"/bin/vchkpw }
Fixed in 5.4.33-r1.