Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437640 - *-fbsd keyword on =net-mail/vpopmail-5.4.33
Summary: *-fbsd keyword on =net-mail/vpopmail-5.4.33
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 435452
  Show dependency tree
 
Reported: 2012-10-08 22:28 UTC by Naohiro Aota
Modified: 2013-05-31 00:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2012-10-08 22:28:00 UTC
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
 }
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-05-31 00:28:10 UTC
Fixed in 5.4.33-r1.