diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-05 16:07:54 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-05 16:08:09 +0200 |
commit | 5261e1d82ef50eb8b560faeafd2ed2ade291cdde (patch) | |
tree | 4a760f960a190c4382c7d851ee81700fa4bcfa7d /mail-mta | |
parent | dev-libs/openssl: fix broken prefix support (diff) | |
download | gentoo-5261e1d82ef50eb8b560faeafd2ed2ade291cdde.tar.gz gentoo-5261e1d82ef50eb8b560faeafd2ed2ade291cdde.tar.bz2 gentoo-5261e1d82ef50eb8b560faeafd2ed2ade291cdde.zip |
mail-mta/msmtp: Fixes required for using fcaps.eclass correctly.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/msmtp/msmtp-1.8.0.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail-mta/msmtp/msmtp-1.8.0.ebuild b/mail-mta/msmtp/msmtp-1.8.0.ebuild index 7308304effaf..cdcd70d34ec2 100644 --- a/mail-mta/msmtp/msmtp-1.8.0.ebuild +++ b/mail-mta/msmtp/msmtp-1.8.0.ebuild @@ -14,6 +14,10 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="daemon doc idn libsecret +mta nls sasl ssl vim-syntax" +# fcaps.eclass unconditionally defines "filecaps" USE flag which we need for +# USE="daemon" in order to set the caps we need. +REQUIRED_USE="daemon? ( filecaps )" + # Upstream discourages usage of openssl. See also # https://marlam.de/msmtp/news/openssl-discouraged/ DEPEND=" @@ -82,7 +86,7 @@ src_install() { default if use daemon ; then - fcaps CAP_NET_BIND_SERVICE "${ED%/}"/usr/bin/msmtpd + fcaps CAP_NET_BIND_SERVICE usr/bin/msmtpd newinitd "${FILESDIR}"/msmtpd.init msmtpd newconfd "${FILESDIR}"/msmtpd.confd msmtpd fi |