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 BBF6D1382C5 for ; Thu, 14 May 2020 18:11:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4707E0985; Thu, 14 May 2020 18:11:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 BCB86E0985 for ; Thu, 14 May 2020 18:11:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 DCD6635077D for ; Thu, 14 May 2020 18:11:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E28E7211 for ; Thu, 14 May 2020 18:11:08 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1589479844.12c5abc5f4353e7b94e35ac3f83068ebb67b8f5a.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mutt/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/mutt/metadata.xml mail-client/mutt/mutt-1.14.0-r1.ebuild mail-client/mutt/mutt-1.14.0.ebuild X-VCS-Directories: mail-client/mutt/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 12c5abc5f4353e7b94e35ac3f83068ebb67b8f5a X-VCS-Branch: master Date: Thu, 14 May 2020 18:11:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d4533324-e643-48d5-8db2-8645e914bdc2 X-Archives-Hash: 66763b6d8a4e676b27f7498a3dd80765 commit: 12c5abc5f4353e7b94e35ac3f83068ebb67b8f5a Author: Fabian Groffen gentoo org> AuthorDate: Thu May 14 18:10:24 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu May 14 18:10:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c5abc5 mail-client/mutt-1.14.0-r1: revbump to enable USE=autocrypt support Closes: https://bugs.gentoo.org/722874 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Fabian Groffen gentoo.org> mail-client/mutt/metadata.xml | 1 + .../{mutt-1.14.0.ebuild => mutt-1.14.0-r1.ebuild} | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/mail-client/mutt/metadata.xml b/mail-client/mutt/metadata.xml index 6d9a60c2d6f..f418ce80a68 100644 --- a/mail-client/mutt/metadata.xml +++ b/mail-client/mutt/metadata.xml @@ -5,6 +5,7 @@ grobian@gentoo.org + Enable autocrypt.org support Enable sys-libs/db database backend for header caching Enable sys-libs/gdbm database backend diff --git a/mail-client/mutt/mutt-1.14.0.ebuild b/mail-client/mutt/mutt-1.14.0-r1.ebuild similarity index 92% rename from mail-client/mutt/mutt-1.14.0.ebuild rename to mail-client/mutt/mutt-1.14.0-r1.ebuild index 45ba49cadf8..655ecdfe2af 100644 --- a/mail-client/mutt/mutt-1.14.0.ebuild +++ b/mail-client/mutt/mutt-1.14.0-r1.ebuild @@ -14,7 +14,7 @@ MUTT_G_PATCHES="mutt-gentoo-${PV}-patches-${PATCHREV}.tar.xz" SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}" -IUSE="berkdb debug doc gdbm gnutls gpgme +hcache idn +imap kerberos libressl +lmdb mbox nls pgp-classic pop qdbm +sasl selinux slang smime-classic +smtp +ssl tokyocabinet vanilla prefix" +IUSE="autocrypt berkdb debug doc gdbm gnutls gpgme +hcache idn +imap kerberos libressl +lmdb mbox nls pgp-classic pop qdbm +sasl selinux slang smime-classic +smtp +ssl tokyocabinet vanilla prefix" # hcache: allow multiple, bug #607360 REQUIRED_USE=" hcache? ( || ( berkdb gdbm lmdb qdbm tokyocabinet ) ) @@ -23,7 +23,8 @@ REQUIRED_USE=" smime-classic? ( ssl !gnutls ) smtp? ( ssl sasl ) sasl? ( || ( imap pop smtp ) ) - kerberos? ( || ( imap pop smtp ) )" + kerberos? ( || ( imap pop smtp ) ) + autocrypt? ( gpgme )" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" @@ -52,6 +53,7 @@ CDEPEND=" kerberos? ( virtual/krb5 ) idn? ( net-dns/libidn2 ) gpgme? ( >=app-crypt/gpgme-0.9.0:= ) + autocrypt? ( >=dev-db/sqlite-3 ) slang? ( sys-libs/slang ) !slang? ( >=sys-libs/ncurses-5.2:0= ) " @@ -118,6 +120,7 @@ src_prepare() { src_configure() { local myconf=( # signing and encryption + $(use_enable autocrypt) $(use_with autocrypt sqlite3) $(use_enable pgp-classic pgp) $(use_enable smime-classic smime) $(use_enable gpgme) @@ -215,7 +218,7 @@ src_install() { } >> "${ED}"/etc/${PN}/Muttrc # add setting to actually enable gpgme usage - if use gpgme ; then + if use gpgme || use autocrypt ; then { echo echo "# this setting enables the gpgme backend (via USE=gpgme)" @@ -225,6 +228,16 @@ src_install() { } >> "${ED}"/etc/${PN}/Muttrc fi + # similar for autocrypt + if use autocrypt ; then + { + echo + echo "# enables autocrypt (via USE=autocrypt)" + echo "# see http://www.mutt.org/doc/manual/#autocryptdoc" + echo "set autocrypt = yes" + } >> "${ED}"/etc/${PN}/Muttrc + fi + # A newer file is provided by app-misc/mime-types. So we link it. rm "${ED}"/etc/${PN}/mime.types dosym ../mime.types /etc/${PN}/mime.types