From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99E01138334 for ; Wed, 5 Sep 2018 14:08:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99BF8E07D9; Wed, 5 Sep 2018 14:08:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6EEB1E07D9 for ; Wed, 5 Sep 2018 14:08:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51A70335C9F for ; Wed, 5 Sep 2018 14:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B20523BE for ; Wed, 5 Sep 2018 14:08:14 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1536156489.5261e1d82ef50eb8b560faeafd2ed2ade291cdde.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/msmtp/msmtp-1.8.0.ebuild X-VCS-Directories: mail-mta/msmtp/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5261e1d82ef50eb8b560faeafd2ed2ade291cdde X-VCS-Branch: master Date: Wed, 5 Sep 2018 14:08:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 14083a45-6a32-42f9-8e8a-3676f96b193f X-Archives-Hash: 71cf7f50d7a1bbeaa4b12bbdac62fbad commit: 5261e1d82ef50eb8b560faeafd2ed2ade291cdde Author: Lars Wendler gentoo org> AuthorDate: Wed Sep 5 14:07:54 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Sep 5 14:08:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5261e1d8 mail-mta/msmtp: Fixes required for using fcaps.eclass correctly. Package-Manager: Portage-2.3.49, Repoman-2.3.10 mail-mta/msmtp/msmtp-1.8.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mail-mta/msmtp/msmtp-1.8.0.ebuild b/mail-mta/msmtp/msmtp-1.8.0.ebuild index 7308304effa..cdcd70d34ec 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