Accepting request 849912 from home:kailiu:branches:server:mail
Updated to 20201120. Addressed boo#1179035, CVE-2020-28896. Added upstream signing key and validate source signature. OBS-URL: https://build.opensuse.org/request/show/849912 OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=34
This commit is contained in:
parent
e6197ec06d
commit
785a156788
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4233d03e03220a2ba8096ab28061e12ef538259fd7d32ad441aad5207b17b390
|
||||
size 3404856
|
3
20201120.tar.gz
Normal file
3
20201120.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48191d4f17cb1e5fd094ca92c581e1bb9599f058c122cc0e35df4e1c0cb53f47
|
||||
size 3456322
|
BIN
20201120.tar.gz.sig
Normal file
BIN
20201120.tar.gz.sig
Normal file
Binary file not shown.
@ -1,140 +0,0 @@
|
||||
From a6f91bc9c890581cff189e143d86e656cab6d2dc Mon Sep 17 00:00:00 2001
|
||||
From: Austin Ray <austin@austinray.io>
|
||||
Date: Wed, 8 Jul 2020 17:17:59 -0400
|
||||
Subject: [PATCH] fix(sidebar): abbreviate/shorten what user sees
|
||||
|
||||
If a user opted to display a name, perform the sidebar shorten,
|
||||
abbreviation, and indentation on the name, not the path. Otherwise,
|
||||
sidebar may render names incorrectly due to operation being calculated
|
||||
on the path. Notmuch users are more susceptible since queries often
|
||||
contain file paths or other characters such periods.
|
||||
|
||||
If a user wants to display a name but operate under a folder hierarchy,
|
||||
they must represent that hierarchy in the name.
|
||||
---
|
||||
sidebar/private.h | 4 ++-
|
||||
sidebar/sidebar.c | 69 +++++++++++++++++++++++++++--------------------
|
||||
2 files changed, 43 insertions(+), 30 deletions(-)
|
||||
|
||||
diff --git a/sidebar/private.h b/sidebar/private.h
|
||||
index 94ba88498b..fadcada9ee 100644
|
||||
--- a/sidebar/private.h
|
||||
+++ b/sidebar/private.h
|
||||
@@ -36,7 +36,9 @@ extern struct ListHead SidebarWhitelist;
|
||||
struct SbEntry
|
||||
{
|
||||
char box[256]; ///< Mailbox path (possibly abbreviated)
|
||||
- int depth; ///< Indentation depth
|
||||
+ char name[256]; ///< Mailbox name (possibly abbreviated)
|
||||
+ int depth; ///< Indentation depth for path
|
||||
+ int name_depth; ///< Indentation for name
|
||||
struct Mailbox *mailbox; ///< Mailbox this represents
|
||||
bool is_hidden; ///< Don't show, e.g. $sidebar_new_mail_only
|
||||
enum ColorId color; ///< Colour to use
|
||||
diff --git a/sidebar/sidebar.c b/sidebar/sidebar.c
|
||||
index b729af0740..8cb8587d13 100644
|
||||
--- a/sidebar/sidebar.c
|
||||
+++ b/sidebar/sidebar.c
|
||||
@@ -57,10 +57,10 @@ struct ListHead SidebarWhitelist = STAILQ_HEAD_INITIALIZER(SidebarWhitelist); //
|
||||
* @param sbe Sidebar entry
|
||||
* @retval Number of bytes written
|
||||
*/
|
||||
-static size_t add_indent(char *buf, size_t buflen, const struct SbEntry *sbe)
|
||||
+static size_t add_indent(char *buf, size_t buflen, const int depth)
|
||||
{
|
||||
size_t res = 0;
|
||||
- for (int i = 0; i < sbe->depth; i++)
|
||||
+ for (int i = 0; i < depth; i++)
|
||||
{
|
||||
res += mutt_str_copy(buf + res, C_SidebarIndentString, buflen - res);
|
||||
}
|
||||
@@ -114,9 +114,10 @@ static const char *sidebar_format_str(char *buf, size_t buflen, size_t col, int
|
||||
case 'D':
|
||||
{
|
||||
char indented[256];
|
||||
- size_t offset = add_indent(indented, sizeof(indented), sbe);
|
||||
+ int depth = (op == 'D' && sbe->mailbox->name) ? sbe->name_depth : sbe->depth;
|
||||
+ size_t offset = add_indent(indented, sizeof(indented), depth);
|
||||
snprintf(indented + offset, sizeof(indented) - offset, "%s",
|
||||
- ((op == 'D') && sbe->mailbox->name) ? sbe->mailbox->name : sbe->box);
|
||||
+ ((op == 'D') && sbe->mailbox->name) ? sbe->name : sbe->box);
|
||||
|
||||
mutt_format_s(buf, buflen, prec, indented);
|
||||
break;
|
||||
@@ -795,6 +796,37 @@ static int calc_path_depth(const char *mbox, const char *delims, const char **la
|
||||
return depth;
|
||||
}
|
||||
|
||||
+static const char *shorten_abbreviate(struct Mailbox *m, const char *name_or_path, int *depth)
|
||||
+{
|
||||
+ // Try to abbreviate the full path
|
||||
+ const char *abbr = abbrev_folder(name_or_path, C_Folder, m->type);
|
||||
+ if (!abbr)
|
||||
+ abbr = abbrev_url(name_or_path, m->type);
|
||||
+ const char *shortened = abbr ? abbr : name_or_path;
|
||||
+
|
||||
+ /* Compute the depth */
|
||||
+ const char *last_part = abbr;
|
||||
+ *depth = calc_path_depth(abbr, C_SidebarDelimChars, &last_part);
|
||||
+ if (!C_SidebarFolderIndent)
|
||||
+ *depth = 0;
|
||||
+
|
||||
+ const bool short_is_abbr = (shortened == abbr);
|
||||
+ if (C_SidebarShortPath)
|
||||
+ {
|
||||
+ shortened = last_part;
|
||||
+ }
|
||||
+
|
||||
+ // Don't indent if we were unable to create an abbreviation.
|
||||
+ // Otherwise, the full path will be indent, and it looks unusual.
|
||||
+ if (C_SidebarFolderIndent && short_is_abbr)
|
||||
+ {
|
||||
+ if (C_SidebarComponentDepth > 0)
|
||||
+ *depth -= C_SidebarComponentDepth;
|
||||
+ }
|
||||
+
|
||||
+ return shortened;
|
||||
+}
|
||||
+
|
||||
/**
|
||||
* draw_sidebar - Write out a list of mailboxes, in a panel
|
||||
* @param wdata Sidebar data
|
||||
@@ -877,34 +909,13 @@ static void draw_sidebar(struct SidebarWindowData *wdata, struct MuttWindow *win
|
||||
}
|
||||
|
||||
const char *path = mailbox_path(m);
|
||||
+ const char *name = m->name;
|
||||
|
||||
- // Try to abbreviate the full path
|
||||
- const char *abbr = abbrev_folder(path, C_Folder, m->type);
|
||||
- if (!abbr)
|
||||
- abbr = abbrev_url(path, m->type);
|
||||
- const char *short_path = abbr ? abbr : path;
|
||||
-
|
||||
- /* Compute the depth */
|
||||
- const char *last_part = abbr;
|
||||
- entry->depth = calc_path_depth(abbr, C_SidebarDelimChars, &last_part);
|
||||
-
|
||||
- const bool short_path_is_abbr = (short_path == abbr);
|
||||
- if (C_SidebarShortPath)
|
||||
- {
|
||||
- short_path = last_part;
|
||||
- }
|
||||
-
|
||||
- // Don't indent if we were unable to create an abbreviation.
|
||||
- // Otherwise, the full path will be indent, and it looks unusual.
|
||||
- if (C_SidebarFolderIndent && short_path_is_abbr)
|
||||
- {
|
||||
- if (C_SidebarComponentDepth > 0)
|
||||
- entry->depth -= C_SidebarComponentDepth;
|
||||
- }
|
||||
- else if (!C_SidebarFolderIndent)
|
||||
- entry->depth = 0;
|
||||
+ const char *short_path = shorten_abbreviate(m, path, &entry->depth);
|
||||
+ const char *short_name = shorten_abbreviate(m, name, &entry->name_depth);
|
||||
|
||||
mutt_str_copy(entry->box, short_path, sizeof(entry->box));
|
||||
+ mutt_str_copy(entry->name, short_name, sizeof(entry->name));
|
||||
char str[256];
|
||||
make_sidebar_entry(str, sizeof(str), w, entry);
|
||||
mutt_window_printf("%s", str);
|
@ -1,3 +1,96 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 21 13:47:00 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- add upstream signing key and validate source signature
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 21 11:56:38 UTC 2020 - Kai Liu <kai.liu@suse.com>
|
||||
|
||||
- Update to 20201120. Address boo#1179035, CVE-2020-28896.
|
||||
* Security
|
||||
- imap: close connection on all failures
|
||||
* Features
|
||||
- alias: add function to Alias/Query dialogs
|
||||
- config: add validators for {imap,smtp,pop}_authenticators
|
||||
- config: warn when signature file is missing or not readable
|
||||
- smtp: support for native SMTP LOGIN auth mech
|
||||
- notmuch: show originating folder in index
|
||||
* Bug Fixes
|
||||
- sidebar: prevent the divider colour bleeding out
|
||||
- sidebar: fix <sidebar-{next,prev}-new>
|
||||
- notmuch: fix query for current email
|
||||
- restore shutdown-hook functionality
|
||||
- crash in reply-to
|
||||
- user-after-free in folder-hook
|
||||
- fix some leaks
|
||||
- fix application of limits to modified mailboxes
|
||||
- write Date header when postponing
|
||||
* Translations
|
||||
- 100% Lithuanian
|
||||
- 100% Czech
|
||||
- 70% Turkish
|
||||
* Docs
|
||||
- Document that $sort_alias affects the query menu
|
||||
* Build
|
||||
- improve ASAN flags
|
||||
- add SASL and S/MIME to --everything
|
||||
- fix contrib (un)install
|
||||
* Code
|
||||
- my_hdr compose screen notifications
|
||||
- add contracts to the MXAPI
|
||||
- maildir refactoring
|
||||
- further reduce the use of global variables
|
||||
* Upstream
|
||||
- Add $count_alternatives to count attachments inside alternatives
|
||||
|
||||
- Changes from 20200925
|
||||
* Features
|
||||
- Compose: display user-defined headers
|
||||
- Address Book / Query: live sorting
|
||||
- Address Book / Query: patterns for searching
|
||||
- Config: Add '+=' and '-=' operators for String Lists
|
||||
- Config: Add '+=' operator for Strings
|
||||
- Allow postfix query ':setenv NAME?' for env vars
|
||||
* Bug Fixes
|
||||
- Fix crash when searching with invalid regexes
|
||||
- Compose: Prevent infinite loop of send2-hooks
|
||||
- Fix sidebar on new/removed mailboxes
|
||||
- Restore indentation for named mailboxes
|
||||
- Prevent half-parsing an alias
|
||||
- Remove folder creation prompt for POP path
|
||||
- Show error if $message_cachedir doesn't point to a valid directory
|
||||
- Fix tracking LastDir in case of IMAP paths with Unicode characters
|
||||
- Make sure all mail gets applied the index limit
|
||||
- Add warnings to -Q query CLI option
|
||||
- Fix index tracking functionality
|
||||
* Changed Config
|
||||
- Add $compose_show_user_headers (yes)
|
||||
* Translations
|
||||
- 100% Czech
|
||||
- 100% Lithuanian
|
||||
- Split up usage strings
|
||||
* Build
|
||||
- Run shellcheck on hcachever.sh
|
||||
- Add the Address Sanitizer
|
||||
- Move compose files to lib under compose/
|
||||
- Move address config into libaddress
|
||||
- Update to latest acutest - fixes a memory leak in the unit tests
|
||||
* Code
|
||||
- Implement ARRAY API
|
||||
- Deglobalised the Config Sort functions
|
||||
- Refactor the Sidebar to be Event-Driven
|
||||
- Refactor the Color Event
|
||||
- Refactor the Commands list
|
||||
- Make ctx_update_tables private
|
||||
- Reduce the scope/deps of some Validator functions
|
||||
- Use the Email's IMAP UID instead of an increasing number as index
|
||||
- debug: log window focus
|
||||
|
||||
- Removed neomutt-sidebar-abbreviate-shorten-what-user-sees.patch.
|
||||
No longer needed.
|
||||
|
||||
- Misc spec file cleanups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 23 01:35:21 UTC 2020 - Kai Liu <kai.liu@suse.com>
|
||||
|
||||
|
82
neomutt.keyring
Normal file
82
neomutt.keyring
Normal file
@ -0,0 +1,82 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFcHt9oBEAChAODr8GN9Kxxzxv50jOC+5Sk1jmQsfNec8jDV7s63lpnCX2eC
|
||||
6cBsyhRUNoFMQoUqLs/KUhSpBjaOSaK3ujitOXFfbJVaZVKY1UKIcgxfr5oGYgVu
|
||||
UzDBjLclXpc6BwKH6Vp7J4HgEIpvKhOaG/waS76oKJS4Q/pSfUPpgtXIUSfPNvO0
|
||||
oJjdKVMsW2UKJCx3U61WrQu72ZhPiiaOLp7bkk45qfx8aZ8VsfhLWaQQJ2yY4YRl
|
||||
dz6o4okJXzJb8A9hzrIF0rJamZWo8WgAAv5KiyAhaj4P3pWz9v8OptNjvaG892zN
|
||||
Ge3G8c1ztAfbCA2vWVu2kfYC5noCxqWyPV6o0k1Xlz7AeoaFtjM6NE8dt+h8+2Ic
|
||||
D/CfhnnrA7BmzSb85jA1p2bN+9j0tT5BIeq4mM4GslNDV5y49hQJLEAIbR+m6WNl
|
||||
YOpM1LiojhXaysx8USNaByOuu1Z6uflh4XJaxgpCaJe2RPof57MUHjk1cOUuEC6E
|
||||
4G32hXybxvPu0VwxgcORv9KuGfuJp46ttKST8I07F/FpgXG/421CfQq8+s7BvDV9
|
||||
/ouY8TilhKajz66l7h1Ki+jJVhDYN9tNxEvdU64aRATye4lAfG4Qu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cCrbG2htCB0nLgatKNrx0P+v7GGa8/lHwyNMgsud7T8gxZMUOTyPpP/KWb
|
||||
9Lv77E3zYeC0zQgHFTuos42aKvOOzzUQbWFG9/81+EiCfXA6CJW8rd2H+1i+g7BP
|
||||
mHaQBUdpi6hx0IbRkR4nWjoUgR2urHQoCv1KXr7KAembifD9lPuV2lzDn0jw4f/1
|
||||
PxDAkGbcujL89+GzHj6q4/JCxbP6/vwWGHSbWXe9/YMs8PU7oaMJ1yFx1ExOBFah
|
||||
cowaAunr6rUQvFaDed+TKaLAurmR3F1pKpWQ/UkT6YExPYadyhj+YrtuYgLjAyXb
|
||||
vh3HKgBjUcIFKp3lX1+KDZXPHzt0Yc1sdCZcPXjvainkvRi2N1W0NJLhnTyydDcG
|
||||
KA==
|
||||
=w87f
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
24
neomutt.spec
24
neomutt.spec
@ -17,14 +17,15 @@
|
||||
|
||||
|
||||
Name: neomutt
|
||||
Version: 20200821
|
||||
Version: 20201120
|
||||
Release: 0
|
||||
Summary: A command line mail reader (or MUA), a fork of Mutt with added features
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Email/Clients
|
||||
URL: https://neomutt.org
|
||||
Source: https://github.com/neomutt/neomutt/archive/%{version}.tar.gz
|
||||
Patch0: neomutt-sidebar-abbreviate-shorten-what-user-sees.patch
|
||||
Source2: https://github.com/neomutt/neomutt/releases/download/%{version}/%{version}.tar.gz.sig
|
||||
Source3: https://flatcap.org/id/richard.russon.neomutt.asc#/%{name}.keyring
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
@ -70,7 +71,6 @@ and requirements.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@ -98,7 +98,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%files
|
||||
%config(noreplace) %{_sysconfdir}/neomuttrc
|
||||
%license %{_docdir}/neomutt/LICENSE.md
|
||||
%license %{_docdir}/%{name}/LICENSE.md
|
||||
%{_bindir}/neomutt
|
||||
%{_mandir}/man1/neomutt.1%{?ext_man}
|
||||
%{_mandir}/man5/neomuttrc.5%{?ext_man}
|
||||
@ -111,19 +111,22 @@ make %{?_smp_mflags}
|
||||
%{_mandir}/man5/mbox_neomutt.5%{?ext_man}
|
||||
%{_mandir}/man5/mmdf_neomutt.5%{?ext_man}
|
||||
# this file is used from the default /etc/neomuttrc and moved from neomutt-doc
|
||||
%dir %{_docdir}/neomutt
|
||||
%doc %{_docdir}/neomutt/manual.txt
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/manual.txt
|
||||
|
||||
%files doc
|
||||
%dir %{_docdir}/neomutt
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/README*
|
||||
%doc %{_docdir}/%{name}/AUTHORS.md
|
||||
%doc %{_docdir}/%{name}/ChangeLog.md
|
||||
%doc %{_docdir}/%{name}/CODE_OF_CONDUCT.md
|
||||
%doc %{_docdir}/neomutt/INSTALL.md
|
||||
%doc %{_docdir}/%{name}/CONTRIBUTING.md
|
||||
%doc %{_docdir}/%{name}/INSTALL.md
|
||||
%doc %{_docdir}/%{name}/SECURITY.md
|
||||
%dir %{_docdir}/%{name}/
|
||||
%doc %{_docdir}/%{name}/*.html
|
||||
%doc %{_docdir}/neomutt/mime.types
|
||||
%doc %{_docdir}/neomutt/smime-notes.txt
|
||||
%doc %{_docdir}/%{name}/mime.types
|
||||
%doc %{_docdir}/%{name}/smime-notes.txt
|
||||
%dir %doc %{_docdir}/%{name}/colorschemes/
|
||||
%doc %{_docdir}/%{name}/colorschemes/*.neomuttrc
|
||||
%dir %doc %{_docdir}/%{name}/keybase/
|
||||
@ -135,7 +138,6 @@ make %{?_smp_mflags}
|
||||
%doc %{_docdir}/%{name}/samples/*.rc
|
||||
%doc %{_docdir}/%{name}/samples/colors.*
|
||||
%doc %{_docdir}/%{name}/samples/sample.*
|
||||
%doc %{_docdir}/%{name}/samples/smime_keys_test.pl
|
||||
%dir %doc %{_docdir}/%{name}/vim-keys/
|
||||
%doc %{_docdir}/%{name}/vim-keys/*
|
||||
%dir %doc %{_docdir}/%{name}/hcache-bench/
|
||||
|
Loading…
Reference in New Issue
Block a user