Compare commits

...

18 Commits

Author SHA1 Message Date
Ana Guerrero
0d30cd3e5b Accepting request 1178323 from server:mail
- Update to mutt 2.2.13 (Bug fix release)
  * Fix smtp client to respect $use_envelope_from option. The code
    was only looking to see if $envelope_from_address had a value,
    not if $use_envelope_from was set.
    Add extra safety checks to make sure the mailbox value isn't NULL.
  * Fix smtp client $envelope_from_address possible dangling pointer.
    If the account-hook invoked by mutt_conn_find() modifies
    $envelope_from_address, envfrom could point no longer point to the
    address.
    Move the mutt_conn_find() before the code that determines the envelope
    from address.

OBS-URL: https://build.opensuse.org/request/show/1178323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=118
2024-06-03 15:45:26 +00:00
Dr. Werner Fink
df3426224f Update to mutt 2.2.13
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=273
2024-06-03 12:25:03 +00:00
Ana Guerrero
c77b3174b7 Accepting request 1149763 from server:mail
- Use %patch -P N instead of deprecated %patchN. (forwarded request 1149751 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/1149763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=117
2024-02-23 15:46:23 +00:00
Dr. Werner Fink
4e127a6edb Accepting request 1149751 from home:pgajdos:m
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1149751
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=271
2024-02-23 09:34:00 +00:00
Dr. Werner Fink
2af06481aa .
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=270
2024-02-20 10:01:11 +00:00
Dr. Werner Fink
26267a6142 Move Muttrc from /etc/ to /usr/share/mutt
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=269
2024-02-20 09:56:32 +00:00
Ana Guerrero
7773609311 Accepting request 1116386 from server:mail
- Require a smtp daemon at build and runtime to work around
  missing system /var/mail/ directory (boo#1216035)

OBS-URL: https://build.opensuse.org/request/show/1116386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=116
2023-10-10 18:59:14 +00:00
Dr. Werner Fink
ea3df6e017 Require a smtp daemon to have a /var/mail/ directoy around
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=267
2023-10-09 07:44:29 +00:00
Ana Guerrero
ece2fd2d31 Accepting request 1114300 from server:mail
- Submit latest mutt 2.2.12 to SLE-15-SP6 for jira#PED-5580
  * Drop patches for boo#1172906, boo#1172935, CVE-2020-14093,
    and CVE-2020-14154 now upstream
    - 3e88866dc60b5fa6aaba6fd7c1710c12c1c3cd01.patch
      + Prevent possible IMAP MITM via PREAUTH response.
    - mutt-1.10.1-backport-mutt_ssl_gnutls-1.14.3.dif
      to port mutt_ssl_gnutls.c from mutt 1.14.3 back
      + expired certs not properly rejected with GnuTLS
      + Side effect is support of TLSv1_3 is supported by gnutls
  * Drop patch for bsc#1173197 c547433cdf2e79191b15c6932c57f1472bfb5ff4.dif
    now upstream
    - Fix CVE-2020-14954: STARTTLS buffering issue allowing man
      in the middle attack of IMAP, SMTP and POP3
  * Drop patch for bsc#1179035, CVE-2020-28896.patch now upstream
    - incomplete connection termination could lead to sending
      credentials over unencrypted connections 
  * Drop patch for bsc#1179113 and boo#1179461 nofreeze-c72f740a.patch
    now upstream
    - Avoid that message with a million tiny parts can freeze MUA
      for several minutes
  * Drop patch for bsc#1181221, CVE-2021-3181 mutt-colon.patch now
    upstream
    - recipient parsing memory leak. This patch combines three
      smaller commits 
  * Drop patch for bsc#1198518, CVE-2022-1328 uudecode-e5ed080c.patch
    - fix a buffer overflow in uudecoder
  * Drop patches now upstream
    - CVE-2023-4874-part1.patch (bsc#1215189 for CVE-2023-4874)
    - CVE-2023-4874-part2.patch (bsc#1215189 for CVE-2023-4874)
    - CVE-2023-4875.patch (bsc#1215191 for CVE-2023-4875)

OBS-URL: https://build.opensuse.org/request/show/1114300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=115
2023-10-01 19:22:18 +00:00
Dr. Werner Fink
4f791fb8c2 Only a change in the changelog required by the internal QA team
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=265
2023-09-29 09:50:21 +00:00
Ana Guerrero
e4d62010f0 Accepting request 1110464 from server:mail
- Update to mutt 2.2.12 (bsc#1215189 for CVE-2023-4874,
  bsc#1215191 for CVE-2023-4875)
  * 2.2.12 (2023-09-09):
    Bug fix release.
  * 2.2.11 (2023-08-18):
    Bug fix release.

OBS-URL: https://build.opensuse.org/request/show/1110464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=114
2023-09-12 19:03:47 +00:00
Dr. Werner Fink
b1e0543842 Update to bug fix release 2.2.12
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=263
2023-09-12 07:38:38 +00:00
Dominique Leuenberger
35a865adf1 Accepting request 1082366 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1082366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=113
2023-04-24 20:31:09 +00:00
Dr. Werner Fink
b4227ea617 - Use astrix instead of german u umlaut as point
*  $message_id_format %r and %z expandos use a URL-safe Base64 encoding:

OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=261
2023-04-17 06:50:26 +00:00
Dominique Leuenberger
6d7effbeb9 Accepting request 1079639 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1079639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=112
2023-04-15 20:34:29 +00:00
fe7c867bc8 Accepting request 1077057 from home:dirkmueller:Factory
- update to 2.2.10:
  *  Bug fix release.
  Ü  $message_id_format %r and %z expandos use a URL-safe Base64 encoding:
     '-' and '_' instead of '+' and '/'.

OBS-URL: https://build.opensuse.org/request/show/1077057
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=259
2023-04-15 18:19:12 +00:00
Dominique Leuenberger
38cf9071ff Accepting request 1040160 from server:mail
- update to 2.2.9:
  * Document the <1234> key syntax for bind.
  * Fix non-printable keyname printing to use <octal> syntax.
  * Move AM_PATH_GPG_ERROR before AM_PATH_GPGME.
  * Update gpgme autoconf files to the latest versions.
  * Adjust manual concerning IMAP Fcc in batch mode.
  * Add explicit void to 0-parameter function definitions. (forwarded request 1039996 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1040160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=111
2022-12-05 17:01:34 +00:00
Dr. Werner Fink
151a2d655d Accepting request 1039996 from home:dirkmueller:Factory
- update to 2.2.9:
  * Document the <1234> key syntax for bind.
  * Fix non-printable keyname printing to use <octal> syntax.
  * Move AM_PATH_GPG_ERROR before AM_PATH_GPGME.
  * Update gpgme autoconf files to the latest versions.
  * Adjust manual concerning IMAP Fcc in batch mode.
  * Add explicit void to 0-parameter function definitions.

OBS-URL: https://build.opensuse.org/request/show/1039996
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=257
2022-12-05 07:58:23 +00:00
12 changed files with 150 additions and 46 deletions

View File

@ -7,7 +7,7 @@
--- configure.ac --- configure.ac
+++ configure.ac 2020-01-14 13:04:28.102878757 +0000 +++ configure.ac 2020-01-14 13:04:28.102878757 +0000
@@ -297,7 +297,7 @@ main () @@ -299,7 +299,7 @@ main ()
mutt_cv_slang=$withval mutt_cv_slang=$withval
if test -d $withval/include/slang; then if test -d $withval/include/slang; then
CPPFLAGS="$CPPFLAGS -I${withval}/include/slang" CPPFLAGS="$CPPFLAGS -I${withval}/include/slang"
@ -16,7 +16,7 @@
CPPFLAGS="$CPPFLAGS -I${withval}/include" CPPFLAGS="$CPPFLAGS -I${withval}/include"
fi fi
LDFLAGS="$LDFLAGS -L${withval}/lib" LDFLAGS="$LDFLAGS -L${withval}/lib"
@@ -746,8 +746,12 @@ AC_ARG_WITH(ssl, AS_HELP_STRING([--with- @@ -748,8 +748,12 @@ AC_ARG_WITH(ssl, AS_HELP_STRING([--with-
else else
if test "$with_ssl" != "yes" if test "$with_ssl" != "yes"
then then
@ -31,7 +31,7 @@
fi fi
saved_LIBS="$LIBS" saved_LIBS="$LIBS"
@@ -834,8 +838,12 @@ AC_ARG_WITH(sasl, AS_HELP_STRING([--with @@ -836,8 +840,12 @@ AC_ARG_WITH(sasl, AS_HELP_STRING([--with
if test "$with_sasl" != "yes" if test "$with_sasl" != "yes"
then then

View File

@ -6,7 +6,7 @@ Index: init.h
--- init.h --- init.h
+++ init.h 2020-01-14 13:28:27.408149074 +0000 +++ init.h 2020-01-14 13:28:27.408149074 +0000
@@ -4845,6 +4845,7 @@ struct option_t MuttVars[] = { @@ -4843,6 +4843,7 @@ struct option_t MuttVars[] = {
** Also see $$copy_decode_weed, $$pipe_decode_weed, $$print_decode_weed. ** Also see $$copy_decode_weed, $$pipe_decode_weed, $$print_decode_weed.
*/ */
{ "wrap", DT_NUM, R_PAGER_FLOW, {.p=&Wrap}, {.l=0} }, { "wrap", DT_NUM, R_PAGER_FLOW, {.p=&Wrap}, {.l=0} },

View File

@ -6,7 +6,7 @@
--- init.h --- init.h
+++ init.h 2020-01-14 13:12:26.725982952 +0000 +++ init.h 2020-01-14 13:12:26.725982952 +0000
@@ -3482,6 +3482,13 @@ struct option_t MuttVars[] = { @@ -3479,6 +3479,13 @@ struct option_t MuttVars[] = {
** .pp ** .pp
** Also see the $$force_name variable. ** Also see the $$force_name variable.
*/ */
@ -22,7 +22,7 @@
** .pp ** .pp
--- mutt.h --- mutt.h
+++ mutt.h 2020-01-14 13:07:33.727426389 +0000 +++ mutt.h 2020-01-14 13:07:33.727426389 +0000
@@ -540,6 +540,7 @@ enum @@ -539,6 +539,7 @@ enum
OPTSAVEADDRESS, OPTSAVEADDRESS,
OPTSAVEEMPTY, OPTSAVEEMPTY,
OPTSAVENAME, OPTSAVENAME,

View File

@ -8,7 +8,7 @@
--- crypt-gpgme.c --- crypt-gpgme.c
+++ crypt-gpgme.c 2019-11-13 13:46:16.512388398 +0000 +++ crypt-gpgme.c 2019-11-13 13:46:16.512388398 +0000
@@ -2723,7 +2723,7 @@ static void copy_clearsigned (gpgme_data @@ -2733,7 +2733,7 @@ static void copy_clearsigned (gpgme_data
if (armor_header) if (armor_header)
{ {

View File

@ -73,7 +73,7 @@
{ {
--- mutt.h --- mutt.h
+++ mutt.h 2020-01-14 13:28:45.787807571 +0000 +++ mutt.h 2020-01-14 13:28:45.787807571 +0000
@@ -1222,4 +1222,7 @@ typedef struct @@ -1221,4 +1221,7 @@ typedef struct
#include "lib.h" #include "lib.h"
#include "globals.h" #include "globals.h"
@ -230,7 +230,7 @@
+} +}
--- sendlib.c --- sendlib.c
+++ sendlib.c 2020-01-14 13:28:45.787807571 +0000 +++ sendlib.c 2020-01-14 13:28:45.787807571 +0000
@@ -2580,7 +2580,11 @@ send_msg (const char *path, char **args, @@ -2589,7 +2589,11 @@ send_msg (const char *path, char **args,
if (SendmailWait >= 0 && tempfile && *tempfile) if (SendmailWait >= 0 && tempfile && *tempfile)
{ {
/* *tempfile will be opened as stdout */ /* *tempfile will be opened as stdout */

3
mutt-2.2.13.tar.gz Normal file
View File

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

16
mutt-2.2.13.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmXsOmQACgkQre92hIAx
a9qIgRAAx7qmqdcvjqHRnvkzvA2QFZ7secrn9f9bxBTjbmzLiQ3w/LFDLJjulZ46
9Qxes13ZO8K446zqqx+Wkr8n0kCDOOSwhbQzZFoFjQAu/NRbmoO6KyJ6jIPdGD+h
x9OXnRKsQqFYkzJi6wRqomGzHda5fo5EF5J+wf+NNoxnAg/FO/9AfPnY9OucsVDL
FtGGtt+Zk9ViqOiVflbRS3WSdA7sXcnCFikwMg3w20KSD+V3yD9TSkExuvm+mAYU
b6aRgzJSP3tOldEnSoTBIOr7seuIZk3G9E9/ZG/8fa1o0I/qFg6n0anlBCnP00sO
w+0NFaAHgoXrnXS67sKF0E7Ry19nxM9CEiD6LxrCj1MybLkOnE3/jtuE98Sur9Rn
qtR5frQ3y1KCFHL/GT8cohhn7tcNQH8D6moTMB3pHvoKdFj777u/WeOgU6mtly11
WVmws+GCeXOf/DuvwzbDmLGl/gz/njpoGgY6oD0NPjL6IJMIsxUO2wOmZ0/RgOuP
iDYZTeBBnKRitx4j3Z33Ak8aNJgq//qzXX1ZSd/Y3jDcv7auGc8BMpd7QuYfQbIg
BDA/Im0Nji9lFeQHw7F8DPZjK4Q1faYDPaIexfxDLpdpTxEqLs+bf2iGkKlIOioa
kDoAHywyuOiOf7dSqC3D8icib7WgJlyYe4a/8P5QQJJKtIUal+k=
=e91b
-----END PGP SIGNATURE-----

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmLv9QkACgkQre92hIAx
a9oBnhAAl+cstlmJMpTwQb/6hWv72F5ocRpR6OqhqzD5ZPMNdn+pp929/KpVCcfF
SfX/M7ZiLO65Sz04FpfbcSlRWAcdVGOdlFJdG7HvP7DTY4EHEIJlIUnWJy/uKBs/
8TU4jIbTnhNMm/QPWHobwRlT6iCPYCtSGF/ZRulAV8D+rOv5XMTi87BEQ5459Tbm
hIVFAHVBoVgnRgtDggxziyUtwXxiKRgB7kI4sC7/zq0qGMVlmWeeIUF5T3uLS2Of
nnaSPmfjiIOsqwSCgI+RgwhZ7A5LAYCCzOiChyQxTXjIdQQhuKODGEPRxNwBcLUa
W8oyfe5ZBmwbgAxLdto6cA3HT2dxJqi2Pzy0rtKrTCELaqJ5wxbVlTDrh6yMbnqW
KoPAtVCKWLsoiH011aX21abdz3H87a9DWO9INi9LyXYqfxHogDTWYYgGlzB6ovQ0
jz1GOEA7vEqeq3/y808Ey5Mciv1zi+DOWpWBojRpDMaMNjbknheEX28+HGfCBs2C
ljCunRcj88huCQa8+Vv+BSjlwfMsm+nOapD1pTyKVp8xhwJiwrSOk/lZLg/SY9N6
u9mIL6i3c5ggIthdKBCppNZ9GitPi6fQo1Ihicl/CKnSjIpOQVFSUrohPK7PA+nx
bGmycJN+xdsIgkbmL0pOQVlUglSZANtppi7gscv8VtAQ7edNcHw=
=j0ZS
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,104 @@
-------------------------------------------------------------------
Mon Jun 3 12:11:28 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Update to mutt 2.2.13 (Bug fix release)
* Fix smtp client to respect $use_envelope_from option. The code
was only looking to see if $envelope_from_address had a value,
not if $use_envelope_from was set.
Add extra safety checks to make sure the mailbox value isn't NULL.
* Fix smtp client $envelope_from_address possible dangling pointer.
If the account-hook invoked by mutt_conn_find() modifies
$envelope_from_address, envfrom could point no longer point to the
address.
Move the mutt_conn_find() before the code that determines the envelope
from address.
-------------------------------------------------------------------
Fri Feb 23 09:10:55 UTC 2024 - pgajdos@suse.com
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Tue Feb 20 09:53:45 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Only suggest smtp daemon at runtime. Nevertheless if not
installed user will face a a warning.
- Move /etc/Muttrc to /usr/share/mutt/Muttrc
-------------------------------------------------------------------
Mon Oct 9 07:41:57 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Require a smtp daemon at build and runtime to work around
missing system /var/mail/ directory (boo#1216035)
-------------------------------------------------------------------
Wed Sep 27 13:42:36 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Submit latest mutt 2.2.12 to SLE-15-SP6 for jira#PED-5580
* Drop patches for boo#1172906, boo#1172935, CVE-2020-14093,
and CVE-2020-14154 now upstream
- 3e88866dc60b5fa6aaba6fd7c1710c12c1c3cd01.patch
+ Prevent possible IMAP MITM via PREAUTH response.
- mutt-1.10.1-backport-mutt_ssl_gnutls-1.14.3.dif
to port mutt_ssl_gnutls.c from mutt 1.14.3 back
+ expired certs not properly rejected with GnuTLS
+ Side effect is support of TLSv1_3 is supported by gnutls
* Drop patch for bsc#1173197 c547433cdf2e79191b15c6932c57f1472bfb5ff4.dif
now upstream
- Fix CVE-2020-14954: STARTTLS buffering issue allowing man
in the middle attack of IMAP, SMTP and POP3
* Drop patch for bsc#1179035, CVE-2020-28896.patch now upstream
- incomplete connection termination could lead to sending
credentials over unencrypted connections
* Drop patch for bsc#1179113 and boo#1179461 nofreeze-c72f740a.patch
now upstream
- Avoid that message with a million tiny parts can freeze MUA
for several minutes
* Drop patch for bsc#1181221, CVE-2021-3181 mutt-colon.patch now
upstream
- recipient parsing memory leak. This patch combines three
smaller commits
* Drop patch for bsc#1198518, CVE-2022-1328 uudecode-e5ed080c.patch
- fix a buffer overflow in uudecoder
* Drop patches now upstream
- CVE-2023-4874-part1.patch (bsc#1215189 for CVE-2023-4874)
- CVE-2023-4874-part2.patch (bsc#1215189 for CVE-2023-4874)
- CVE-2023-4875.patch (bsc#1215191 for CVE-2023-4875)
-------------------------------------------------------------------
Tue Sep 12 07:15:52 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Update to mutt 2.2.12 (bsc#1215189 for CVE-2023-4874,
bsc#1215191 for CVE-2023-4875)
* 2.2.12 (2023-09-09):
Bug fix release.
* 2.2.11 (2023-08-18):
Bug fix release.
-------------------------------------------------------------------
Mon Apr 17 06:49:36 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Use astrix instead of german u umlaut as point
-------------------------------------------------------------------
Mon Apr 3 19:43:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.2.10:
* Bug fix release.
* $message_id_format %r and %z expandos use a URL-safe Base64 encoding:
'-' and '_' instead of '+' and '/'.
-------------------------------------------------------------------
Sun Dec 4 14:27:41 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.2.9:
* Document the <1234> key syntax for bind.
* Fix non-printable keyname printing to use <octal> syntax.
* Move AM_PATH_GPG_ERROR before AM_PATH_GPGME.
* Update gpgme autoconf files to the latest versions.
* Adjust manual concerning IMAP Fcc in batch mode.
* Add explicit void to 0-parameter function definitions.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 12 08:50:33 UTC 2022 - Dr. Werner Fink <werner@suse.de> Mon Sep 12 08:50:33 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package mutt # spec file for package mutt
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%bcond_with mutt_openssl %bcond_with mutt_openssl
%bcond_without mutt_gnutls %bcond_without mutt_gnutls
Name: mutt Name: mutt
Version: 2.2.7 Version: 2.2.13
Release: 0 Release: 0
Summary: Mail Program Summary: Mail Program
# ftp://ftp.mutt.org/mutt/devel/ # ftp://ftp.mutt.org/mutt/devel/
@ -79,8 +79,10 @@ BuildRequires: pkgconfig(libsasl2)
BuildRequires: python3-base BuildRequires: python3-base
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: smtp_daemon
%endif %endif
Requires: glibc-locale Requires: glibc-locale
Suggests: smtp_daemon
Requires(post): %{_bindir}/cat Requires(post): %{_bindir}/cat
Requires(post): %{_bindir}/mkdir Requires(post): %{_bindir}/mkdir
Requires(postun):%{_bindir}/rm Requires(postun):%{_bindir}/rm
@ -157,19 +159,19 @@ Provides translations to the package mutt.
%prep %prep
%setup -q -n mutt-%{version} %setup -q -n mutt-%{version}
%patch0 -b .p0 %patch -P 0 -b .p0
%patch2 -b .pgpewrap %patch -P 2 -b .pgpewrap
%patch3 -b .sendgroupreplyto %patch -P 3 -b .sendgroupreplyto
%patch4 -b .wrapcolumn %patch -P 4 -b .wrapcolumn
%patch7 -b .opennfs %patch -P 7 -b .opennfs
%patch11 -b .listreply %patch -P 11 -b .listreply
%patch12 -b .pgp_verbose_mtime %patch -P 12 -b .pgp_verbose_mtime
%patch15 -b .widechar.sidebar %patch -P 15 -b .widechar.sidebar
%patch16 -b .crlf %patch -P 16 -b .crlf
%patch18 -b .mailcap %patch -P 18 -b .mailcap
%patch19 -b .cvw2014.9116 %patch -P 19 -b .cvw2014.9116
%patch20 -b .imap %patch -P 20 -b .imap
%patch21 -b .quit %patch -P 21 -b .quit
cp %{SOURCE2} . cp %{SOURCE2} .
@ -285,7 +287,8 @@ install -D -m 644 %{SOURCE9} %{buildroot}%{_datadir}/%{name}/mailcap
rm -vf %{buildroot}%{_docdir}/%{name}/manual.txt rm -vf %{buildroot}%{_docdir}/%{name}/manual.txt
install -D -m 644 doc/manual.txt.gz %{buildroot}%{_docdir}/%{name}/ install -D -m 644 doc/manual.txt.gz %{buildroot}%{_docdir}/%{name}/
sed -rn '/Command formats for gpg/,$p' %{SOURCE5} >> %{buildroot}%{_sysconfdir}/Muttrc mv %{buildroot}%{_sysconfdir}/Muttrc %{buildroot}%{_datadir}/%{name}/Muttrc
sed -rn '/Command formats for gpg/,$p' %{SOURCE5} >> %{buildroot}%{_datadir}/%{name}/Muttrc
%if 0%{?suse_version} %if 0%{?suse_version}
%suse_update_desktop_file mutt %suse_update_desktop_file mutt
@ -333,7 +336,6 @@ rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-notify
%files %files
%config(noreplace) %{_sysconfdir}/skel/.muttrc %config(noreplace) %{_sysconfdir}/skel/.muttrc
%config(noreplace) %{_sysconfdir}/Muttrc
%{_bindir}/mutt %{_bindir}/mutt
%{_bindir}/pgpewrap %{_bindir}/pgpewrap
%{_bindir}/mutt_pgpring %{_bindir}/mutt_pgpring
@ -351,6 +353,7 @@ rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-notify
%{_datadir}/mutt/mailcap %{_datadir}/mutt/mailcap
%dir %doc %{_docdir}/%{name}/ %dir %doc %{_docdir}/%{name}/
%doc %{_docdir}/%{name}/manual.txt.gz %doc %{_docdir}/%{name}/manual.txt.gz
%{_datadir}/%{name}/Muttrc
%if 0%{suse_version} >= 1500 %if 0%{suse_version} >= 1500
%{_docdir}/%{name}/mutt_oauth2.py %{_docdir}/%{name}/mutt_oauth2.py
%{_docdir}/%{name}/mutt_oauth2.py.README %{_docdir}/%{name}/mutt_oauth2.py.README

View File

@ -17,7 +17,7 @@
WHERE char *PgpVerifyCommand; WHERE char *PgpVerifyCommand;
--- init.h --- init.h
+++ init.h 2020-01-14 13:41:15.145875625 +0000 +++ init.h 2020-01-14 13:41:15.145875625 +0000
@@ -3872,9 +3872,18 @@ struct option_t MuttVars[] = { @@ -3869,9 +3869,18 @@ struct option_t MuttVars[] = {
** a line quoted text if it also matches $$smileys. This mostly ** a line quoted text if it also matches $$smileys. This mostly
** happens at the beginning of a line. ** happens at the beginning of a line.
*/ */