Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769698 - mail-client/neomutt: Add autocrypt use flag
Summary: mail-client/neomutt: Add autocrypt use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords: EBUILD, PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-09 09:09 UTC by Stefan Huber
Modified: 2021-03-10 14:32 UTC (History)
1 user (show)

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


Attachments
mail-client/neomutt-20210205 with +autocrypt use flag (neomutt-20210205-r100.ebuild,3.85 KB, text/plain)
2021-02-09 09:19 UTC, Stefan Huber
Details
Diff to neomutt-20210205.ebuild (neomutt-20210205.ebuild.patch,714 bytes, patch)
2021-02-09 13:40 UTC, Stefan Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2021-02-09 09:09:09 UTC
Neomutt is built without autocrypt compile-time configuration:
% neomutt -v | grep -o " .autocrypt "
 -autocrypt 

Moreover, while mutt provides an autocrypt use flag, neomutt does not. It would be nice to have autocrypt support for neomutt, too.

More info on autocrypt and neomutt can be found in /usr/share/doc/neomutt-*/manual.html

Reproducible: Always
Comment 1 Stefan Huber 2021-02-09 09:19:12 UTC
Created attachment 686112 [details]
mail-client/neomutt-20210205 with +autocrypt use flag
Comment 2 Ionen Wolkens gentoo-dev 2021-02-09 11:08:06 UTC
It's typically preferable to submit a diff from the previous ebuild than a the full ebuild, allows to glance at changes more easily.
Comment 3 Stefan Huber 2021-02-09 13:40:11 UTC
Created attachment 686130 [details, diff]
Diff to neomutt-20210205.ebuild
Comment 4 Stefan Huber 2021-02-09 14:17:32 UTC
Ah, I should mention that the ebuild and diff provided is only a proof of concept. I can provide a proper ebuild (e.g. with deps induced by autocrypt) by tomorrow.
Comment 5 Stefan Huber 2021-02-09 22:08:58 UTC
A complete implementation could look like this in my opinion:
https://github.com/gentoo/gentoo/pull/19392
Comment 6 Larry the Git Cow gentoo-dev 2021-03-10 14:32:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4623f6bf9ff7a3f607840fc4ceef896993ee6c

commit 2a4623f6bf9ff7a3f607840fc4ceef896993ee6c
Author:     Stefan Huber <shuber@sthu.org>
AuthorDate: 2021-02-09 21:50:17 +0000
Commit:     Nicolas Bock <nicolasbock@gentoo.org>
CommitDate: 2021-03-10 14:30:50 +0000

    mail-client/neomutt: Add autocrypt use flag
    
    NeoMutt supports autocrypt since version 2019-10-25. It requires gpgme
    of version 1.8.0 or higher and sqlite. It is recommended that idn or
    idn2 is enabled according to the manual.
    
    The minimum requirement of gpgme of neomutt-20201127.ebuild is increased
    from 0.9.0 to 1.8.0. This change has no consquence as the minimum
    available version in portage is 1.14.0.
    
    Closes: https://bugs.gentoo.org/769698
    Closes: https://github.com/gentoo/gentoo/pull/19392
    Signed-off-by: Stefan Huber <shuber@sthu.org>
    Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>

 mail-client/neomutt/metadata.xml               |  1 +
 mail-client/neomutt/neomutt-20201127-r1.ebuild | 11 ++++++++++-
 mail-client/neomutt/neomutt-20201127.ebuild    | 13 +++++++++++--
 mail-client/neomutt/neomutt-20210205.ebuild    | 11 ++++++++++-
 mail-client/neomutt/neomutt-99999999.ebuild    | 11 ++++++++++-
 5 files changed, 42 insertions(+), 5 deletions(-)