17 Commits

Author SHA256 Message Date
e3ea20c622 Accepting request 1305980 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1305980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=41
2025-09-19 13:34:47 +00:00
David Sterba
7b94659556 - Add %check section and run tests
- Add obs_scm service to fetch test files repository
  - Add 0001-test-fix-build-for-re-entrant-ncurses.patch to fix test build
- Update to version 20250905:
  - Security
    * ncrypt/crypt.c: Protect Message-ID
  - Features
    * Provide an option to confirm on an empty To
  - Contrib
    * Add ayu-dark-256 colorscheme
  - Bug Fixes
    * Handle a non-existing message_cache_dir
    * Decouple $crypt_encryption_info and $crypt_protected_headers_weed from $devel_security
    * Return success after querying for config
  - Changed Config
    Add: confirm_empty_to = no
    Confirm when sending an e-mail with an empty To:
  - Translations
    100% German
    100% Turkish
    99%  Hungarian
    98%  Lithuanian
    89%  French
  - Code
    * tweak observer event types
    * Use the standard countof instead of our mutt_array_size()
    * Update types in test dummy code
    * remove useless const qualifier from log_queue_get()
    * Make sure ctype(3) function arguments are valid
    * Fix warning about unused function and data
    * Include term.h and [n]curses.h consistently
- Update upstream GPG key in neomutt.keyring
- Add _service file
- Enable features:
  - sqlite support (for autocrypt)
  - lz4 and zstd support (for header cache compression)
- Revamp package BuildRequires
  - Remove unnecessary gawk BuildRequires
  - Add tcl BuildRequires
  - Add BuildRequires for newly enabled features (lz4, zstd)
  - Use pkgconfig() for BuildRequires where possible
- Switch to modern RPM autotools macros (%autosetup, %configure, %make_build)

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=84
2025-09-15 05:15:43 +00:00
1c9e8c2d2b Accepting request 1277864 from server:mail
- Update to version 20250510:
  - Contrib
    * Fix gpg-json output
  - Bug Fixes
    * main: don't stop if /var/spool/mail is missing
    * color: fix quoted maths
    * Don't consider "weed" when writing an email to file
    * help: fix leaks
    * imap: check for incomplete Mailboxes on sync
    * fix label completion crash
  - Translations
    * update Esperanto translation
    * Update lt_LT translations
  - Docs
    * docs: fix broken functions
  - Build
    * Check for DocBook XSL

OBS-URL: https://build.opensuse.org/request/show/1277864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=40
2025-05-20 07:33:19 +00:00
cd09c1ae82 - Update to version 20250510:
- Contrib
    * Fix gpg-json output
  - Bug Fixes
    * main: don't stop if /var/spool/mail is missing
    * color: fix quoted maths
    * Don't consider "weed" when writing an email to file
    * help: fix leaks
    * imap: check for incomplete Mailboxes on sync
    * fix label completion crash
  - Translations
    * update Esperanto translation
    * Update lt_LT translations
  - Docs
    * docs: fix broken functions
  - Build
    * Check for DocBook XSL

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=83
2025-05-15 17:02:26 +00:00
390a8a8b51 Accepting request 1268671 from server:mail
Update to version 20250404

OBS-URL: https://build.opensuse.org/request/show/1268671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=39
2025-04-11 21:22:50 +00:00
d5cd89dcfb - Update to version 20250404:
- Features
    * config: don't quote enums
    * link config dump to docs
    * CLI: neomutt -DD -- Dump Different
    * browser: tag select rather than descend
  - Bug Fixes
    * source: fix variable interpretation
    * mutt_oauth2: refactor sasl_string computation
    * expand tabs to spaces in compose preview
    * fix dumping of initial values
    * move real_name init
    * Remove MUTT_NEWFOLDER, fix appending to mbox
    * Respect Ignore when modifying an email's headers
    * fix refresh on toggle hide_thread_subject
    * buffer: fix seek
    * add comma to single <complete-query> match
    * notmuch: check for parse failure
    * query: allow <>s around email addresses
    * pager: fix normal/stripe colour
    * fix colour leaks in pager
    * fix array leak in the verify certificate dialog
  - Translations
    * 100% German
    * 100% Turkish
    * 96% Lithuanian
    * 86% French
    * 49% Chinese (Traditional)
  - Build
    * Deprecate some configure options that aren't used anymore
    * build: workaround for unused-result warning
  - Code
    * colour refactoring
    * debug: Chain old SEGV Handler
    * Allow nested ARRAY_FOREACH()
    * config: API has_been_set()
    * config: drop ConfigSet from API functions
    * drop obsolete pgp/smime menus
    * array: foreach_reverse()
    * Change description of verify-key to be crypto-scheme agnostic
    * expando: move EnvList out of library
    * Simplify the management of NeoMutt Commands
    * libcli - parse the command line
    * Split CLI Usage into sections
    * pager: fix lost NT_PAGER notifications
    * pager: fix refresh on config/colour changes
    * array: upgrade get_elem_list()
    * Buffer refactoring
    * improve localise_config()
    * main: drop -B (batch mode) option
    * merge init.[ch] into main.c
    * refactor version code
    * neomutt: home_dir, username, env
    * query: unify NeoMutt -D and -Q
    * refactor main.c/init.c
    * sidebar: streamline expando callbacks
    * test: lots of parse coverage
    * window refactoring
    * window: force recalc|repaint on new windows
- Update to version 20250113:
  - Bug Fixes
    * fix crash in folder-hook
    * fix memory leak in compose message preview (fixes #4478)
    * query: fix comma-separated names
    * lua: fix lua_mutt_call()
    * notmuch: refresh the Email if the filename changes
    * fix: no new mail message
    * fix display of certificate fingerprints
    * fix prompt colour
  - Translations
    * 100% Czech
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Slovakian
    * 100% Turkish
    * 91% French
    * 41% Chinese (Traditional)
  - Build
    * Fix DT_NUMBER entries on 32-bit endian platforms
  - Code
    * Simplify mutt_file_fopen()
    * colour refactoring
    * standardise variable names for temporary files
- Note about version 20250109:
  Neomutt version 20250109 was submitted and then retracted by upstream due
  to a data loss bug when moving mails to mbox folders.
  https://github.com/neomutt/neomutt/issues/4541

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=82
2025-04-11 16:43:17 +00:00
3760665e6b Accepting request 1244815 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1244815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=38
2025-02-10 17:19:19 +00:00
David Sterba
8bb720b717 - enable autocrypt
OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=81
2025-02-10 16:54:48 +00:00
372b9677f3 osc copypac from project:server:mail package:neomutt revision:76, using expand
OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=80
2025-01-15 08:17:25 +00:00
c65a7cff38 https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/M6HOYDU6Q43QAP72NCEEWFV5UZ2HBUGP/
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=37
2025-01-15 08:11:53 +00:00
bbd1211fc8 Accepting request 1237907 from home:fbonazzi:branches:server:mail
- Update to version 20250113:
  Previous version 20250109 marked "broken" by upstream.
  - Bug Fixes
    * fix crash in folder-hook
    * fix memory leak in compose message preview (fixes #4478)
    * query: fix comma-separated names
    * lua: fix lua_mutt_call()
    * notmuch: refresh the Email if the filename changes
    * fix: no new mail message
    * fix display of certificate fingerprints
    * fix prompt colour
  - Translations
    * 100% Czech
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Slovakian
    * 100% Turkish
    * 91% French
    * 41% Chinese (Traditional)
  - Build
    * Fix DT_NUMBER entries on 32-bit endian platforms
  - Code
    * Simplify mutt_file_fopen()
    * colour refactoring
    * standardise variable names for temporary files

OBS-URL: https://build.opensuse.org/request/show/1237907
OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=79
2025-01-14 18:17:08 +00:00
c0ce5e6caf Accepting request 1237318 from server:mail
- Update to version 20250109:
  - Bug Fixes
    * fix crash in folder-hook
    * fix memory leak in compose message preview (fixes #4478)
    * query: fix comma-separated names
    * lua: fix lua_mutt_call()
    * notmuch: refresh the Email if the filename changes
    * fix: no new mail message
    * fix display of certificate fingerprints
    * fix prompt colour
  - Translations
    * 100% Czech
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Slovakian
    * 100% Turkish
    * 91% French
    * 41% Chinese (Traditional)
  - Build
    * Fix DT_NUMBER entries on 32-bit endian platforms
  - Code
    * Simplify mutt_file_fopen()
    * colour refactoring
    * standardise variable names for temporary files

OBS-URL: https://build.opensuse.org/request/show/1237318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=36
2025-01-13 16:51:15 +00:00
c7215c0a3b - Update to version 20250109:
- Bug Fixes
    * fix crash in folder-hook
    * fix memory leak in compose message preview (fixes #4478)
    * query: fix comma-separated names
    * lua: fix lua_mutt_call()
    * notmuch: refresh the Email if the filename changes
    * fix: no new mail message
    * fix display of certificate fingerprints
    * fix prompt colour
  - Translations
    * 100% Czech
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Slovakian
    * 100% Turkish
    * 91% French
    * 41% Chinese (Traditional)
  - Build
    * Fix DT_NUMBER entries on 32-bit endian platforms
  - Code
    * Simplify mutt_file_fopen()
    * colour refactoring
    * standardise variable names for temporary files

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=77
2025-01-13 08:38:15 +00:00
4ad121a686 Accepting request 1231921 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1231921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=35
2024-12-18 19:11:14 +00:00
David Sterba
2a3c8dc188 - Update to version 20241212:
- Features
    * show message preview in compose view
    * add trailing commas when editing addresses
  - Bug Fixes
    * expando: fix overflow
    * Spaces can be wide
    * Remove BOM from UTF-8 text
    * Bug with wrong fingerprints in certificate_file
    * fix postponed sorting assertion failure
    * fix: save_attachment_open() when overwriting
    * add text-wrapping to compose message preview pager
    * edit_headers: cleanup temporary file on error
    * expando: fix crash on empty %[] date
    * expando: fix container formatting
    * browser: fix 'tag-' display
    * query: fix memory leak
    * fix more arrow_cursor + search
  - Changed Config
    * Config Renames:
        $pgp_sort_keys -> $pgp_key_sort
        $sidebar_sort_method -> $sidebar_sort
        $sort_alias -> $alias_sort
        $sort_browser -> $browser_sort
    * Changed Defaults:
        set alias_format = "%3i %f%t %-15a %-56A | %C%> %Y"
        set query_format = "%3i %t %-25N %-25E | %C%> %Y"
  - Translations
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Turkish
    * 89% French
    * 39% Chinese (Traditional)
  - Docs
    * alias tags
  - Build
    * only use struct tm.tm_gmtoff if available
  - Code
    * refactor memory allocation
    * remove unused fields from ComposeSharedData
    * refactor 'sort' constants
    * add mutt_window_swap()
    * unify Menu data
    * move config to libraries
    * unify Alias/Query
    * expando factor out callbacks
    * refactor simple_dialog_new()
    * test: add TEST_CHECK_NUM_EQ()
    * fopen: tidy read-only

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=75
2024-12-18 16:01:19 +00:00
aaf2414fc7 Accepting request 1226319 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1226319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=34
2024-11-26 19:55:36 +00:00
David Sterba
10c1593f67 - Update to version 20241114:
- Security
    * Fixed: CVE-2024-49393
    * Fixed: CVE-2024-49394
    * Read the protected Message-ID
  - Features
    * Allow toggling numeric configs, e.g. :toggle pager_index_lines
    * alias: tag/untag pattern
    * query: tag with <space>
  - Contrib
    * mutt_oauth2.py: Fix reference to client_secret
  - Bug Fixes
    * fix duplicate save-hook
    * expando: fix escaping
    * browser: fix enter-quit-enter
    * pager: fix repaint
    * config: warn about deprecated variables
    * Refresh alias/query dialog on alias/query format change
    * compose: fix redraw on attachment
    * compose: fix search with arrow_cursor
    * autocrypt: fix copy_normalize_addr()
    * alias: fix cli crash
    * expando: fix relative dates
    * expando: padding default to space
  - Translations
    * 100% German
    * 100% Turkish
    * 99% Czech
    * 99% Slovak
    * 82% French
  - Docs
    * drop refs to always-enabled features
    * fix typo in unmacro
    * fix broken link
    * ncrypt: fix typo in config.c
  - Code
    * Create memory alloc wrappers
    * Don't return the result of realpath() on failure
    * Fix memory leak in hcache
    * Lots of expando refactoring
    * fix type of PatternFlags.tag
    * tidy: smime_get_key_by_str()
- Update to version 20241002:
  - Security
    * security: kill unnecessary blank lines
    * more security improvements
    * improve NeoMutt bailout handling
  - Features
    * remove mixmaster
    * honour umask in attach save
  - Bug Fixes
    * do not force username in addition to client certificate
    * Fix '%z' and '%Z in '%{...}' expando
    * Allow longer maildir filename suffixes
    * Don't force mbox stats calculations on startup
    * Fix sorting INBOX and its subfolders
    * Let ~Y match each tag individually
    * ignore macro events during autocrypt initialization
    * Generate the Message-ID earlier
    * compose: fix $compose_confirm_detach_first
  - Changed Config
    * set crypt_encryption_info = yes
    * Add an informative block with details about the encryption
    * set crypt_protected_headers_weed = no
    * Controls wether NeoMutt will weed protected header fields
    * set devel_security = no
    * Devel feature: Security
    * $mixmaster is deprecated
    * $mix_entry_format is deprecated
  - Translations
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Spanish
    * 81% French
  - Docs
    * Fix configure script name in INSTALL.md
    * fix para ordering
  - Build
    * Update autosetup
    * Update acutest to the latest upstream commit
    * don't treat stddef.h specially
    * Add -std to CFLAGS too
    * require C11
    * Support BerkeleyDB 18.1
    * Assume 'struct timespec' exists
    * fix idn2 typo
  - Code
    * Close the hcache handle on failure to open the store
    * upgrade assert()
    * mutt/list.c: Use STAILQ_FOREACH_SAFE() in stailq deallocators
    * Use wmem*() functions with wide-character strings
    * ncrypt/crypt.c: Fix allocation size calculation
    * remove mutt_expand_path()
    * fix -Wdouble-promotion warnings
    * scanf: initialise out-vars
    * Allow opening the header cache in non-O_CREAT mode
    * Fix function pointer types
    * Check mutt_date_parse_date()s return value
    * Fix up slashes in imap_fix_path()
    * Fix padding with an empty string
    * tidy expando library
- Remove --mixmaster configure flag, dropped by upstream

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=73
2024-11-25 16:32:12 +00:00
11 changed files with 554 additions and 50 deletions

View File

@@ -0,0 +1,89 @@
From ab44e3b801b01c1d2b1f39f696760e3649824e50 Mon Sep 17 00:00:00 2001
From: Richard Russon <rich@flatcap.org>
Date: Thu, 11 Sep 2025 18:17:11 +0100
Subject: [PATCH] test: fix build for re-entrant ncurses
In the some of the tests, we set COLOR_PAIRS to artificially limit the
number of colours available.
If ncurses has been built with NCURSES_REENTRANT set, altering the
variable isn't possible, so skip the tests.
This affects two tests:
- test_ansi_color
- test_attr_colors
---
test/color/ansi.c | 1 -
test/color/attr.c | 9 +++++++++
test/color/curses.c | 7 ++++++-
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/test/color/ansi.c b/test/color/ansi.c
index 9f1a0e3aefb..3a33d9fe2f3 100644
--- a/test/color/ansi.c
+++ b/test/color/ansi.c
@@ -47,7 +47,6 @@ void test_ansi_color(void)
TEST_CHECK(cs_register_variables(NeoMutt->sub->cs, Vars));
curses_colors_init();
- COLOR_PAIRS = 256;
const char *str = NULL;
int rc;
diff --git a/test/color/attr.c b/test/color/attr.c
index f0a28176deb..9627371437f 100644
--- a/test/color/attr.c
+++ b/test/color/attr.c
@@ -56,7 +56,12 @@ struct ModifyTest
void test_attr_colors(void)
{
+#if NCURSES_REENTRANT == 1
+ return;
+#else
COLOR_PAIRS = 32;
+#endif
+
curses_colors_init();
TEST_CHECK(cs_register_variables(NeoMutt->sub->cs, Vars));
@@ -155,7 +160,9 @@ void test_attr_colors(void)
}
{
+#if NCURSES_REENTRANT == 0
COLORS = 256;
+#endif
struct ModifyTest Tests[] = {
// clang-format off
@@ -185,7 +192,9 @@ void test_attr_colors(void)
}
{
+#if NCURSES_REENTRANT == 0
COLORS = 8;
+#endif
struct ModifyTest Tests[] = {
// clang-format off
diff --git a/test/color/curses.c b/test/color/curses.c
index df7e727808a..d60307e54d0 100644
--- a/test/color/curses.c
+++ b/test/color/curses.c
@@ -34,9 +34,14 @@ ARRAY_HEAD(CursesColorArray, struct CursesColor *);
void test_curses_colors(void)
{
+#if NCURSES_REENTRANT == 1
+ return;
+#else
+ COLOR_PAIRS = 32;
+#endif
+
MuttLogger = log_disp_null;
- COLOR_PAIRS = 32;
curses_colors_init();
{

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5aed0a0f506260997821c23cb148bc5ca4938fd613e0e8b89556f397ffc17f7
size 4092419

Binary file not shown.

3
20250905.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f409fa3803bfc540869b78719400bceda216842e4da024f83ca3060241d9c516
size 4185921

BIN
20250905.tar.gz.sig Normal file

Binary file not shown.

15
_service Normal file
View File

@@ -0,0 +1,15 @@
<services>
<service name="download_files" mode="manual"/>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/neomutt/neomutt-test-files.git</param>
<param name="revision">main</param>
<param name="versionformat">git%cd.%h</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">neomutt-test-files*.tar</param>
<param name="compression">gz</param>
</service>
<service name="format_spec_file" mode="manual"/>
</services>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9772f37c91a8b42e40aa19e17282f4fb43cc17d21d4d796c1503e68fe0bd76f
size 40970

View File

@@ -0,0 +1,4 @@
name: neomutt-test-files
version: git20241201.7404f44
mtime: 1733015896
commit: 7404f4423b11cd5da2d123b3636c7a310bbbed9f

View File

@@ -1,3 +1,340 @@
-------------------------------------------------------------------
Fri Sep 12 10:40:53 UTC 2025 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Add %check section and run tests
- Add obs_scm service to fetch test files repository
- Add 0001-test-fix-build-for-re-entrant-ncurses.patch to fix test build
-------------------------------------------------------------------
Thu Sep 11 09:43:39 UTC 2025 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20250905:
- Security
* ncrypt/crypt.c: Protect Message-ID
- Features
* Provide an option to confirm on an empty To
- Contrib
* Add ayu-dark-256 colorscheme
- Bug Fixes
* Handle a non-existing message_cache_dir
* Decouple $crypt_encryption_info and $crypt_protected_headers_weed from $devel_security
* Return success after querying for config
- Changed Config
Add: confirm_empty_to = no
Confirm when sending an e-mail with an empty To:
- Translations
100% German
100% Turkish
99% Hungarian
98% Lithuanian
89% French
- Code
* tweak observer event types
* Use the standard countof instead of our mutt_array_size()
* Update types in test dummy code
* remove useless const qualifier from log_queue_get()
* Make sure ctype(3) function arguments are valid
* Fix warning about unused function and data
* Include term.h and [n]curses.h consistently
- Update upstream GPG key in neomutt.keyring
- Add _service file
- Enable features:
- sqlite support (for autocrypt)
- lz4 and zstd support (for header cache compression)
- Revamp package BuildRequires
- Remove unnecessary gawk BuildRequires
- Add tcl BuildRequires
- Add BuildRequires for newly enabled features (lz4, zstd)
- Use pkgconfig() for BuildRequires where possible
- Switch to modern RPM autotools macros (%autosetup, %configure, %make_build)
-------------------------------------------------------------------
Thu May 15 16:58:27 UTC 2025 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20250510:
- Contrib
* Fix gpg-json output
- Bug Fixes
* main: don't stop if /var/spool/mail is missing
* color: fix quoted maths
* Don't consider "weed" when writing an email to file
* help: fix leaks
* imap: check for incomplete Mailboxes on sync
* fix label completion crash
- Translations
* update Esperanto translation
* Update lt_LT translations
- Docs
* docs: fix broken functions
- Build
* Check for DocBook XSL
-------------------------------------------------------------------
Fri Apr 11 16:37:47 UTC 2025 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20250404:
- Features
* config: don't quote enums
* link config dump to docs
* CLI: neomutt -DD -- Dump Different
* browser: tag select rather than descend
- Bug Fixes
* source: fix variable interpretation
* mutt_oauth2: refactor sasl_string computation
* expand tabs to spaces in compose preview
* fix dumping of initial values
* move real_name init
* Remove MUTT_NEWFOLDER, fix appending to mbox
* Respect Ignore when modifying an email's headers
* fix refresh on toggle hide_thread_subject
* buffer: fix seek
* add comma to single <complete-query> match
* notmuch: check for parse failure
* query: allow <>s around email addresses
* pager: fix normal/stripe colour
* fix colour leaks in pager
* fix array leak in the verify certificate dialog
- Translations
* 100% German
* 100% Turkish
* 96% Lithuanian
* 86% French
* 49% Chinese (Traditional)
- Build
* Deprecate some configure options that aren't used anymore
* build: workaround for unused-result warning
- Code
* colour refactoring
* debug: Chain old SEGV Handler
* Allow nested ARRAY_FOREACH()
* config: API has_been_set()
* config: drop ConfigSet from API functions
* drop obsolete pgp/smime menus
* array: foreach_reverse()
* Change description of verify-key to be crypto-scheme agnostic
* expando: move EnvList out of library
* Simplify the management of NeoMutt Commands
* libcli - parse the command line
* Split CLI Usage into sections
* pager: fix lost NT_PAGER notifications
* pager: fix refresh on config/colour changes
* array: upgrade get_elem_list()
* Buffer refactoring
* improve localise_config()
* main: drop -B (batch mode) option
* merge init.[ch] into main.c
* refactor version code
* neomutt: home_dir, username, env
* query: unify NeoMutt -D and -Q
* refactor main.c/init.c
* sidebar: streamline expando callbacks
* test: lots of parse coverage
* window refactoring
* window: force recalc|repaint on new windows
-------------------------------------------------------------------
Fri Apr 11 16:32:59 UTC 2025 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20250113:
- Bug Fixes
* fix crash in folder-hook
* fix memory leak in compose message preview (fixes #4478)
* query: fix comma-separated names
* lua: fix lua_mutt_call()
* notmuch: refresh the Email if the filename changes
* fix: no new mail message
* fix display of certificate fingerprints
* fix prompt colour
- Translations
* 100% Czech
* 100% German
* 100% Lithuanian
* 100% Serbian
* 100% Slovakian
* 100% Turkish
* 91% French
* 41% Chinese (Traditional)
- Build
* Fix DT_NUMBER entries on 32-bit endian platforms
- Code
* Simplify mutt_file_fopen()
* colour refactoring
* standardise variable names for temporary files
- Note about version 20250109:
Neomutt version 20250109 was submitted and then retracted by upstream due
to a data loss bug when moving mails to mbox folders.
https://github.com/neomutt/neomutt/issues/4541
-------------------------------------------------------------------
Fri Feb 7 21:10:23 UTC 2025 - Michal Hrusecky <michal.hrusecky@opensuse.org>
- enable autocrypt
-------------------------------------------------------------------
Wed Dec 18 14:24:10 UTC 2024 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20241212:
- Features
* show message preview in compose view
* add trailing commas when editing addresses
- Bug Fixes
* expando: fix overflow
* Spaces can be wide
* Remove BOM from UTF-8 text
* Bug with wrong fingerprints in certificate_file
* fix postponed sorting assertion failure
* fix: save_attachment_open() when overwriting
* add text-wrapping to compose message preview pager
* edit_headers: cleanup temporary file on error
* expando: fix crash on empty %[] date
* expando: fix container formatting
* browser: fix 'tag-' display
* query: fix memory leak
* fix more arrow_cursor + search
- Changed Config
* Config Renames:
$pgp_sort_keys -> $pgp_key_sort
$sidebar_sort_method -> $sidebar_sort
$sort_alias -> $alias_sort
$sort_browser -> $browser_sort
* Changed Defaults:
set alias_format = "%3i %f%t %-15a %-56A | %C%> %Y"
set query_format = "%3i %t %-25N %-25E | %C%> %Y"
- Translations
* 100% German
* 100% Lithuanian
* 100% Serbian
* 100% Turkish
* 89% French
* 39% Chinese (Traditional)
- Docs
* alias tags
- Build
* only use struct tm.tm_gmtoff if available
- Code
* refactor memory allocation
* remove unused fields from ComposeSharedData
* refactor 'sort' constants
* add mutt_window_swap()
* unify Menu data
* move config to libraries
* unify Alias/Query
* expando factor out callbacks
* refactor simple_dialog_new()
* test: add TEST_CHECK_NUM_EQ()
* fopen: tidy read-only
-------------------------------------------------------------------
Fri Nov 15 15:53:09 UTC 2024 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20241114:
- Security
* Fixed: CVE-2024-49393
* Fixed: CVE-2024-49394
* Read the protected Message-ID
- Features
* Allow toggling numeric configs, e.g. :toggle pager_index_lines
* alias: tag/untag pattern
* query: tag with <space>
- Contrib
* mutt_oauth2.py: Fix reference to client_secret
- Bug Fixes
* fix duplicate save-hook
* expando: fix escaping
* browser: fix enter-quit-enter
* pager: fix repaint
* config: warn about deprecated variables
* Refresh alias/query dialog on alias/query format change
* compose: fix redraw on attachment
* compose: fix search with arrow_cursor
* autocrypt: fix copy_normalize_addr()
* alias: fix cli crash
* expando: fix relative dates
* expando: padding default to space
- Translations
* 100% German
* 100% Turkish
* 99% Czech
* 99% Slovak
* 82% French
- Docs
* drop refs to always-enabled features
* fix typo in unmacro
* fix broken link
* ncrypt: fix typo in config.c
- Code
* Create memory alloc wrappers
* Don't return the result of realpath() on failure
* Fix memory leak in hcache
* Lots of expando refactoring
* fix type of PatternFlags.tag
* tidy: smime_get_key_by_str()
-------------------------------------------------------------------
Fri Nov 15 15:42:41 UTC 2024 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to version 20241002:
- Security
* security: kill unnecessary blank lines
* more security improvements
* improve NeoMutt bailout handling
- Features
* remove mixmaster
* honour umask in attach save
- Bug Fixes
* do not force username in addition to client certificate
* Fix '%z' and '%Z in '%{...}' expando
* Allow longer maildir filename suffixes
* Don't force mbox stats calculations on startup
* Fix sorting INBOX and its subfolders
* Let ~Y match each tag individually
* ignore macro events during autocrypt initialization
* Generate the Message-ID earlier
* compose: fix $compose_confirm_detach_first
- Changed Config
* set crypt_encryption_info = yes
* Add an informative block with details about the encryption
* set crypt_protected_headers_weed = no
* Controls wether NeoMutt will weed protected header fields
* set devel_security = no
* Devel feature: Security
* $mixmaster is deprecated
* $mix_entry_format is deprecated
- Translations
* 100% German
* 100% Lithuanian
* 100% Serbian
* 100% Spanish
* 81% French
- Docs
* Fix configure script name in INSTALL.md
* fix para ordering
- Build
* Update autosetup
* Update acutest to the latest upstream commit
* don't treat stddef.h specially
* Add -std to CFLAGS too
* require C11
* Support BerkeleyDB 18.1
* Assume 'struct timespec' exists
* fix idn2 typo
- Code
* Close the hcache handle on failure to open the store
* upgrade assert()
* mutt/list.c: Use STAILQ_FOREACH_SAFE() in stailq deallocators
* Use wmem*() functions with wide-character strings
* ncrypt/crypt.c: Fix allocation size calculation
* remove mutt_expand_path()
* fix -Wdouble-promotion warnings
* scanf: initialise out-vars
* Allow opening the header cache in non-O_CREAT mode
* Fix function pointer types
* Check mutt_date_parse_date()s return value
* Fix up slashes in imap_fix_path()
* Fix padding with an empty string
* tidy expando library
- Remove --mixmaster configure flag, dropped by upstream
-------------------------------------------------------------------
Thu May 9 00:00:00 CEST 2024 - mkoutny@suse.com

View File

@@ -13,18 +13,18 @@ YOpM1LiojhXaysx8USNaByOuu1Z6uflh4XJaxgpCa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rO4hXEo/UvnQ0tFmI7m85vXO4drXsXtgIqhO3VYcCUDvMAYOJDoNyjTknc
Q3iEew6Xq1zuJnLH0qlj2NHatTdYwM7dV4uJeYSgd6pP/KB+vd3MwrwHRnr3OiFc
Nf+PzgKVYyPYrxCtmDb2wLmcRY9CCWsMG0K7ieN7PFVdXa+KPiJzxSBDn+rsG92d
o/4TozYKcGqRxxLYcSru/SZwhLjJP4nli7W/R1nHhE+wG5K128XdY+xnI860HoAb
tMEt1P9N/Aw2IsQkjvl3ml0jpAc1cRX+n9FFcR555Mr7AMvLJSmHz07r3Y8J7x+r
8Q/fCwtNX7jQEYWewX8ijA0ckPZ71xGomSE5r63fr2lN4kGKZ7k4znm5TeVSrCLL
pae4pewyV+8dXkAazjfEwstz307sHAOKln9VrjgOQL1l0/Hptb0cxURbEMX/292w
sb0P77PRkAdWkkXf4JfjViDP
=eZS4
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,7 +1,7 @@
#
# spec file for package neomutt
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: neomutt
Version: 20240425
Version: 20250905
Release: 0
Summary: A command line mail reader (or MUA), a fork of Mutt with added features
License: GPL-2.0-or-later
@@ -26,30 +26,38 @@ URL: https://neomutt.org
Source: https://github.com/neomutt/neomutt/archive/%{version}.tar.gz
Source2: https://github.com/neomutt/neomutt/releases/download/%{version}/%{version}.tar.gz.sig
Source3: https://flatcap.org/id/richard.russon.neomutt.asc#/%{name}.keyring
# NOTE: This archive version needs to be updated manually every time the services
# are re-run and the upstream version of the neomutt-test-files repo has changed
Source4: neomutt-test-files-git20241201.7404f44.tar.gz
# PATCH-FIX-UPSTREAM 0001-test-fix-build-for-re-entrant-ncurses.patch https://github.com/neomutt/neomutt/pull/4668 TODO: This has been fixed upstream and should be in the next release
Patch1: https://github.com/neomutt/neomutt/pull/4668.patch#/0001-test-fix-build-for-re-entrant-ncurses.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cyrus-sasl-devel
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gawk
BuildRequires: gdbm-devel
BuildRequires: gettext
BuildRequires: krb5-devel
BuildRequires: libdb-4_8-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpgme-devel
BuildRequires: libidn2-devel
BuildRequires: libkyotocabinet-devel
BuildRequires: libtool
BuildRequires: lmdb-devel
BuildRequires: lua-devel
BuildRequires: ncurses-devel
BuildRequires: notmuch-devel
BuildRequires: openssl-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: tcl
BuildRequires: w3m
BuildRequires: xsltproc
BuildRequires: zlib-devel
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gpgme)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(kyotocabinet)
BuildRequires: pkgconfig(libidn2)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libsasl2)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(lmdb)
BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(zlib)
Recommends: cyrus-sasl-plain
Recommends: neomutt-doc
Recommends: neomutt-lang
@@ -84,27 +92,29 @@ and requirements.
%lang_package macro
%prep
%setup -q
%autosetup -p1
%build
export CFLAGS="%{optflags}"
./configure --prefix=%{_prefix} \
--docdir=%{_docdir}/neomutt \
--with-mailpath=%{_localstatedir}/mail \
--kyotocabinet \
--lua \
--lmdb \
--gnutls \
--gpgme \
--notmuch \
--sasl \
--gss \
--idn2 \
--mixmaster \
--pcre2 \
--zlib
export CC=gcc
%configure \
--autocrypt \
--docdir=%{_docdir}/neomutt \
--gnutls \
--gpgme \
--gss \
--kyotocabinet \
--lmdb \
--lua \
--lz4 \
--notmuch \
--pcre2 \
--sasl \
--sqlite \
--with-mailpath=%{_localstatedir}/mail \
--zlib \
--zstd
make %{?_smp_mflags}
%make_build
%install
%make_install
@@ -118,6 +128,15 @@ rm -rf %{buildroot}%{_datadir}/%{name}/account-command/macos-keychain/
# https://en.opensuse.org/openSUSE:Packaging_Python#Dependency_on_/usr/bin/python3
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/oauth2/*
%check
export NEOMUTT_TEST_DIR="$PWD/neomutt-test-files"
mkdir -p "$NEOMUTT_TEST_DIR"
tar -xvf %{SOURCE4} -C "$NEOMUTT_TEST_DIR" --strip-components 1
pushd "$NEOMUTT_TEST_DIR"
./setup.sh
popd
%make_build test
%files
%config(noreplace) %{_sysconfdir}/neomuttrc
%license %{_docdir}/%{name}/LICENSE.md