commit ddabdecd919f4868ef0c7b7bcf8e71ff5866d381 Author: MSVSphere Packaging Team Date: Fri Oct 25 17:12:46 2024 +0300 import mutt-2.2.13-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d425535 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mutt-2.2.13.tar.gz diff --git a/.mutt.metadata b/.mutt.metadata new file mode 100644 index 0000000..0378320 --- /dev/null +++ b/.mutt.metadata @@ -0,0 +1 @@ +957df1684a46fe1b99adff96b8fe1d87b49aeffd SOURCES/mutt-2.2.13.tar.gz diff --git a/SOURCES/mutt-1.10.0-muttrc.patch b/SOURCES/mutt-1.10.0-muttrc.patch new file mode 100644 index 0000000..ab11c1e --- /dev/null +++ b/SOURCES/mutt-1.10.0-muttrc.patch @@ -0,0 +1,21 @@ +diff -ur mutt-1.8.0.orig/doc/Muttrc.head mutt-1.8.0/doc/Muttrc.head +--- mutt-1.8.0.orig/doc/Muttrc.head 2017-02-25 15:28:22.120997474 +0000 ++++ mutt-1.8.0/doc/Muttrc.head 2017-02-25 15:30:10.643079681 +0000 +@@ -24,13 +24,17 @@ + + # Show documentation when pressing F1 + macro generic,pager " less @docdir@/manual.txt" "show Mutt documentation" ++# and also F2, as some terminals use F1 ++macro generic,pager " less @docdir@/manual.txt" "show Mutt documentation" + + # show the incoming mailboxes list (just like "mutt -y") and back when pressing "y" + # note: these macros have been subsumed by the function. + # macro index y "?" "show incoming mailboxes list" + # macro pager y "?" "show incoming mailboxes list" + bind browser y exit + ++bind editor delete-char ++ + # Handler for gzip compressed mailboxes + # open-hook '\.gz$' "gzip -cd '%f' > '%t'" + # close-hook '\.gz$' "gzip -c '%t' > '%f'" diff --git a/SOURCES/mutt-1.12.1-optusegpgagent.patch b/SOURCES/mutt-1.12.1-optusegpgagent.patch new file mode 100644 index 0000000..0ea13b5 --- /dev/null +++ b/SOURCES/mutt-1.12.1-optusegpgagent.patch @@ -0,0 +1,12 @@ +diff -up mutt-1.12.1/init.h.optusegpgagent mutt-1.12.1/init.h +--- mutt-1.12.1/init.h.optusegpgagent 2019-08-29 09:29:38.868810511 +0200 ++++ mutt-1.12.1/init.h 2019-08-29 09:30:29.899395370 +0200 +@@ -2444,7 +2444,7 @@ struct option_t MuttVars[] = { + ** not used. + ** (PGP only) + */ +- { "pgp_use_gpg_agent", DT_BOOL, R_NONE, {.l=OPTUSEGPGAGENT}, {.l=1} }, ++ { "pgp_use_gpg_agent", DT_BOOL, R_NONE, {.l=OPTUSEGPGAGENT}, {.l=0} }, + /* + ** .pp + ** If \fIset\fP, mutt expects a \fCgpg-agent(1)\fP process will handle diff --git a/SOURCES/mutt-1.5.23-system_certs.patch b/SOURCES/mutt-1.5.23-system_certs.patch new file mode 100644 index 0000000..dd1dc7f --- /dev/null +++ b/SOURCES/mutt-1.5.23-system_certs.patch @@ -0,0 +1,12 @@ +diff -rup mutt-17a4f92e4a95-orig/init.h mutt-17a4f92e4a95-new/init.h +--- mutt-17a4f92e4a95-orig/init.h 2015-06-07 22:59:32.000000000 +0200 ++++ mutt-17a4f92e4a95-new/init.h 2015-06-25 15:28:56.095570332 +0200 +@@ -2989,7 +2989,7 @@ struct option_t MuttVars[] = { + */ + #if defined(USE_SSL) + # ifdef USE_SSL_GNUTLS +- { "ssl_ca_certificates_file", DT_PATH, R_NONE, {.p=&SslCACertFile}, {.p=0} }, ++ { "ssl_ca_certificates_file", DT_PATH, R_NONE, {.p=&SslCACertFile}, {.p="/etc/ssl/certs/ca-bundle.crt"} }, + /* + ** .pp + ** This variable specifies a file containing trusted CA certificates. diff --git a/SOURCES/mutt-1.7.0-syncdebug.patch b/SOURCES/mutt-1.7.0-syncdebug.patch new file mode 100644 index 0000000..4b757b1 --- /dev/null +++ b/SOURCES/mutt-1.7.0-syncdebug.patch @@ -0,0 +1,12 @@ +diff -ur mutt-1.7.0-orig/imap/imap.c mutt-1.7.0/imap/imap.c +--- mutt-1.7.0-orig/imap/imap.c 2016-08-20 11:06:26.266272415 +0100 ++++ mutt-1.7.0/imap/imap.c 2016-08-20 11:07:42.874509429 +0100 +@@ -1143,7 +1143,7 @@ + if (!idata->ctx) + return -1; + +- if (!mutt_bit_isset (idata->ctx->rights, right)) ++ if (!idata->ctx || !mutt_bit_isset (idata->ctx->rights, right)) + return 0; + + if (right == MUTT_ACL_WRITE && !imap_has_flag (idata->flags, name)) diff --git a/SOURCES/mutt-1.8.0-cabundle.patch b/SOURCES/mutt-1.8.0-cabundle.patch new file mode 100644 index 0000000..4489978 --- /dev/null +++ b/SOURCES/mutt-1.8.0-cabundle.patch @@ -0,0 +1,28 @@ +diff -ur mutt-1.8.0.orig/contrib/Makefile.am mutt-1.8.0/contrib/Makefile.am +--- mutt-1.8.0.orig/contrib/Makefile.am 2017-02-25 15:28:22.124997366 +0000 ++++ mutt-1.8.0/contrib/Makefile.am 2017-02-25 15:48:10.834036861 +0000 +@@ -6,7 +6,7 @@ + sample.mailcap sample.muttrc sample.muttrc-sidebar sample.muttrc-tlr \ + sample.muttrc-compress sample.muttrc-starter \ + sample.vimrc-sidebar colors.default colors.linux smime.rc \ +- ca-bundle.crt smime_keys_test.pl mutt_xtitle markdown2html \ ++ smime_keys_test.pl mutt_xtitle markdown2html \ + bgedit-detectgui.sh bgedit-screen-tmux.sh \ + mutt_oauth2.py mutt_oauth2.py.README + +diff -ur mutt-1.8.0.orig/doc/smime-notes.txt mutt-1.8.0/doc/smime-notes.txt +--- mutt-1.8.0.orig/doc/smime-notes.txt 2017-02-25 15:28:22.119997501 +0000 ++++ mutt-1.8.0/doc/smime-notes.txt 2017-02-25 16:06:38.986242390 +0000 +@@ -40,8 +40,10 @@ + - Edit the smime_sign_as line in your muttrc, replacing the keyid with your + own. + +-- You probably want to import the trusted roots in +- contrib/ca-bundle.crt. This makes you trust anything that was ultimately ++- There is no more ca-bundle.crt file with the trusted roots to import shipped ++ in mutt. The upstream file is out-dated and user is encouraged to use ++ ca-bundle.crt from ca-certificate package. ++ This makes you trust anything that was ultimately + signed by one of them. You can use "smime_keys add_root" to do so, or + just copy ca-bundle.crt into the place you point mutt's smime_ca_location + variable to. diff --git a/SOURCES/mutt-1.9.0-ssl_ciphers.patch b/SOURCES/mutt-1.9.0-ssl_ciphers.patch new file mode 100644 index 0000000..4f72310 --- /dev/null +++ b/SOURCES/mutt-1.9.0-ssl_ciphers.patch @@ -0,0 +1,32 @@ +diff -ur mutt-1.9.0.orig/init.h mutt-1.9.0/init.h +--- mutt-1.9.0.orig/init.h 2017-09-04 16:48:21.409528002 +0200 ++++ mutt-1.9.0/init.h 2017-09-04 16:49:26.505093636 +0200 +@@ -3510,7 +3510,7 @@ + */ + # endif /* defined HAVE_SSL_PARTIAL_CHAIN */ + # endif /* defined USE_SSL_OPENSSL */ +- { "ssl_ciphers", DT_STR, R_NONE, {.p=&SslCiphers}, {.p=0} }, ++ { "ssl_ciphers", DT_STR, R_NONE, {.p=&SslCiphers}, {.p="@SYSTEM"} }, + /* + ** .pp + ** Contains a colon-separated list of ciphers to use when using SSL. +diff -ur mutt-1.9.0.orig/mutt_ssl_gnutls.c mutt-1.9.0/mutt_ssl_gnutls.c +--- mutt-1.9.0.orig/mutt_ssl_gnutls.c 2017-09-04 16:48:21.403528134 +0200 ++++ mutt-1.9.0/mutt_ssl_gnutls.c 2017-09-04 16:51:16.081679141 +0200 +@@ -286,6 +286,8 @@ + else + mutt_buffer_strcpy (priority, "NORMAL"); + ++if (SslCiphers && strcmp(SslCiphers, "@SYSTEM")) ++{ + if (!option (OPTTLSV1_3)) + { + nproto--; +@@ -313,6 +315,7 @@ + mutt_error (_("All available protocols for TLS/SSL connection disabled")); + goto cleanup; + } ++} + + if ((err = gnutls_priority_set_direct (data->state, mutt_b2s (priority), NULL)) < 0) + { diff --git a/SOURCES/mutt-1.9.4-lynx_no_backscapes.patch b/SOURCES/mutt-1.9.4-lynx_no_backscapes.patch new file mode 100644 index 0000000..6faffd3 --- /dev/null +++ b/SOURCES/mutt-1.9.4-lynx_no_backscapes.patch @@ -0,0 +1,12 @@ +diff -up mutt-1.9.1/doc/Makefile.am.lynx_no_backscapes mutt-1.9.1/doc/Makefile.am +--- mutt-1.9.1/doc/Makefile.am.lynx_no_backscapes 2018-04-12 15:30:14.881812698 +0200 ++++ mutt-1.9.1/doc/Makefile.am 2018-04-12 15:30:25.632968018 +0200 +@@ -109,7 +109,7 @@ uninstall-local: + + check: + manual.txt: manual.html +- -LC_ALL=C lynx -localhost -dump -nolist -nonumbers -with_backspaces -display_charset=us-ascii manual.html > $@ || \ ++ -LC_ALL=C lynx -localhost -dump -nolist -display_charset=us-ascii manual.html > $@ || \ + LC_ALL=C w3m -T text/html -I utf-8 -O utf-8 -dump < manual.html > $@ || \ + LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@ + diff --git a/SOURCES/mutt-1.9.5-nodotlock.patch b/SOURCES/mutt-1.9.5-nodotlock.patch new file mode 100644 index 0000000..c85352a --- /dev/null +++ b/SOURCES/mutt-1.9.5-nodotlock.patch @@ -0,0 +1,43 @@ +diff -up mutt-1.10.0/configure.ac.nodotlock mutt-1.10.0/configure.ac +--- mutt-1.10.0/configure.ac.nodotlock 2018-05-14 23:51:53.000000000 +0200 ++++ mutt-1.10.0/configure.ac 2018-05-23 15:09:21.186613968 +0200 +@@ -528,9 +528,7 @@ int main (int argc, char **argv) + }]])],[mutt_cv_worldwrite=yes],[mutt_cv_worldwrite=no],[mutt_cv_worldwrite=no])]) + + mutt_cv_setgid=no +- if test $mutt_cv_worldwrite = yes; then +- AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ]) +- else ++ if test $mutt_cv_worldwrite != yes; then + + AC_CACHE_CHECK(if $mutt_cv_mailpath is group writable, mutt_cv_groupwrite, [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include +@@ -546,7 +544,6 @@ int main (int argc, char **argv) + }]])],[mutt_cv_groupwrite=yes],[mutt_cv_groupwrite=no],[mutt_cv_groupwrite=no])]) + + if test $mutt_cv_groupwrite = yes; then +- AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ]) + AC_DEFINE(USE_SETGID,1,[ Define if mutt should run setgid "mail". ]) + mutt_cv_setgid=yes + fi +diff -up mutt-1.10.0/Makefile.am.nodotlock mutt-1.10.0/Makefile.am +--- mutt-1.10.0/Makefile.am.nodotlock 2018-05-23 15:11:05.477977659 +0200 ++++ mutt-1.10.0/Makefile.am 2018-05-23 15:11:20.252170843 +0200 +@@ -154,17 +154,6 @@ hcversion.h: $(srcdir)/mutt.h $(srcdir)/ + patchlist.c: $(srcdir)/PATCHES $(srcdir)/patchlist.sh + $(srcdir)/patchlist.sh < $(srcdir)/PATCHES > patchlist.c + +-install-exec-hook: +- if test -f $(DESTDIR)$(bindir)/mutt.dotlock && test -f $(DESTDIR)$(bindir)/mutt_dotlock ; then \ +- rm -f $(DESTDIR)$(bindir)/mutt.dotlock ; \ +- ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \ +- fi +- if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x$(DOTLOCK_GROUP) != x ; then \ +- chgrp $(DOTLOCK_GROUP) $(DESTDIR)$(bindir)/mutt_dotlock && \ +- chmod $(DOTLOCK_PERMISSION) $(DESTDIR)$(bindir)/mutt_dotlock || \ +- { echo "Can't fix mutt_dotlock's permissions! This is required to lock mailboxes in the mail spool directory." >&2 ; exit 1 ; } \ +- fi +- + install-data-local: + $(MKDIR_P) $(DESTDIR)$(sysconfdir) + $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir)/mime.types.dist diff --git a/SOURCES/mutt-configure-c99.patch b/SOURCES/mutt-configure-c99.patch new file mode 100644 index 0000000..0ea7010 --- /dev/null +++ b/SOURCES/mutt-configure-c99.patch @@ -0,0 +1,24 @@ +The standard iconv function uses char ** even for its input +argument. With a const char ** argument, ICONV_NONTRANS is incorrectly +set to 1 if the compiler produces an error for such incompatible +pointer types. + +Submitted upstream: + +diff --git a/configure.ac b/configure.ac +index 9fe461df2a5af3a8..443da363081343c5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1322,10 +1322,10 @@ AC_CACHE_CHECK([whether iconv is non-transcribing], mutt_cv_iconv_nontrans, + int main() + { + iconv_t cd; +- const char *ib; ++ char *ib; + char *ob; + size_t ibl, obl; +- const char *s = "\304\211"; ++ char *s = (char *) "\304\211"; + changequote(, )dnl + char t[3]; + changequote([, ])dnl diff --git a/SOURCES/mutt_ldap_query b/SOURCES/mutt_ldap_query new file mode 100644 index 0000000..6679d27 --- /dev/null +++ b/SOURCES/mutt_ldap_query @@ -0,0 +1,42 @@ +#!/bin/sh +# +# Last modified: 30 October 2000 +# + +FLAGS= + +# Create two temporary files. +umask 077 +TMPFILE=`mktemp /tmp/mutt.ldap.XXXXXX` +RESULTS=`mktemp /tmp/mutt.ldap.XXXXXX` + +if [ -n "$LDAPSERVER" ]; then + FLAGS="$FLAGS -h $LDAPSERVER" +fi +if [ -n "$LDAPBASEDN" ]; then + FLAGS="$FLAGS -b $LDAPBASEDN" +fi + +# Search. +ldapsearch $FLAGS '(&(objectclass=inetorgperson)(|(cn='"$1"'*)(givenname='"$1"'*)(surname='"$1"'*)(mail='"$1"'*)))' mail cn roomNumber 2> /dev/null >> $TMPFILE +ldapsearch -x $FLAGS '(&(objectclass=inetorgperson)(|(cn='"$1"'*)(givenname='"$1"'*)(surname='"$1"'*)(mail='"$1"'*)))' mail cn roomNumber 2> /dev/null >> $TMPFILE + +# Parse. +cat $TMPFILE | awk ' + /^mail:/ {MAIL=substr($0,6)} + /^cn:/ {NAME=substr($0,4)} + /^roomNumber:/ {ROOM=substr($0,12)} + /^$/ { MAIL=gensub("^ *| *$","","g",MAIL) } + /^$/ { NAME=gensub("^ *| *$","","g",NAME) } + /^$/ { ROOM=gensub("^ *| *$","","g",ROOM) } + /^$/ { if(length(NAME) > 0) print MAIL "\t" NAME "\t" ROOM} + /^$/ { NAME = "" } +' > $RESULTS + +# Sort and present results. +sort -u $RESULTS > $TMPFILE +echo Querying ${LDAPSERVER}.... `cat $TMPFILE | wc -l` entries found. +cat $TMPFILE + +# Clean up. +rm -f $TMPFILE $RESULTS diff --git a/SPECS/mutt.spec b/SPECS/mutt.spec new file mode 100644 index 0000000..d530aa2 --- /dev/null +++ b/SPECS/mutt.spec @@ -0,0 +1,550 @@ +%bcond_without debug +%bcond_without imap +%bcond_without pop +%bcond_without smtp +%bcond_without gnutls +%bcond_without gss +%bcond_without sasl +%bcond_with idn +%bcond_without idn2 +%bcond_without hcache +%bcond_without tokyocabinet +%bcond_with bdb +%bcond_with qdbm +%bcond_with gdbm +%bcond_without gpgme +%bcond_without sidebar + +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + +Summary: A text mode mail user agent +Name: mutt +Version: 2.2.13 +Release: 3%{?dist} +Epoch: 5 +# The entire source code is GPLv2+ except +# pgpewrap.c setenv.c sha1.c wcwidth.c which are Public Domain +License: GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain +# hg snapshot created from http://dev.mutt.org/hg/mutt +Source: http://ftp.mutt.org/pub/%{name}/%{name}-%{version}.tar.gz +Source1: mutt_ldap_query +Patch1: mutt-1.10.0-muttrc.patch +Patch2: mutt-1.8.0-cabundle.patch +# https://dev.mutt.org/trac/ticket/3569 +Patch3: mutt-1.7.0-syncdebug.patch +# FIXME make it to upstream +Patch8: mutt-1.5.23-system_certs.patch +Patch9: mutt-1.9.0-ssl_ciphers.patch +Patch10: mutt-1.9.4-lynx_no_backscapes.patch +Patch12: mutt-1.9.5-nodotlock.patch +Patch13: mutt-1.12.1-optusegpgagent.patch +Patch14: mutt-configure-c99.patch + +Url: http://www.mutt.org +Requires: mailcap, urlview +BuildRequires: make +BuildRequires: gcc +BuildRequires: ncurses-devel, gettext, automake +# manual generation +BuildRequires: /usr/bin/xsltproc, docbook-style-xsl, perl-interpreter +BuildRequires: perl-generators +BuildRequires: lynx + +%if %{with hcache} +%{?with_tokyocabinet:BuildRequires: tokyocabinet-devel} +%{?with_bdb:BuildRequires: db4-devel} +%{?with_qdbm:BuildRequires: qdbm-devel} +%{?with_gdbm:BuildRequires: gdbm-devel} +%endif + +%if %{with imap} || %{with pop} || %{with smtp} +%{?with_gnutls:BuildRequires: gnutls-devel} +%{?with_sasl:BuildRequires: cyrus-sasl-devel} +%endif + +%if %{with imap} +%{?with_gss:BuildRequires: krb5-devel} +%endif + +%{?with_idn:BuildRequires: libidn-devel} +%{?with_idn2:BuildRequires: libidn2-devel} +%{?with_gpgme:BuildRequires: gpgme-devel} + + +%description +Mutt is a small but very powerful text-based MIME mail client. Mutt +is highly configurable, and is well suited to the mail power user with +advanced features like key bindings, keyboard macros, mail threading, +regular expression searches and a powerful pattern matching language +for selecting groups of messages. + + +%prep +# unpack; cd +%setup -q +# do not run ./prepare -V, because it also runs ./configure + +%patch -P 10 -p1 -b .lynx_no_backscapes +%patch -P 12 -p1 -b .nodotlock +%patch -P 14 -p1 + +autoreconf --install +%patch -P 1 -p1 -b .muttrc +%patch -P 2 -p1 -b .cabundle +%patch -P 3 -p1 -b .syncdebug +%patch -P 8 -p1 -b .system_certs +%patch -P 9 -p1 -b .ssl_ciphers +%patch -P 13 -p1 -b .optusegpgagent + +sed -i -r 's/`$GPGME_CONFIG --libs`/"\0 -lgpg-error"/' configure + +install -p -m644 %{SOURCE1} mutt_ldap_query + +%global hgreldate \\.(201[0-9])([0-1][0-9])([0-3][0-9])hg +if echo %{release} | grep -E -q '%{hgreldate}'; then + echo -n 'const char *ReleaseDate = ' > reldate.h + echo %{release} | sed -r 's/.*%{hgreldate}.*/"\1-\2-\3";/' >> reldate.h +fi + +# remove mutt_ssl.c to be sure it won't be used because it violates +# Packaging:CryptoPolicies +# https://fedoraproject.org/wiki/Packaging:CryptoPolicies +rm -f mutt_ssl.c + + +%build +%configure \ + SENDMAIL=%{_sbindir}/sendmail \ + ISPELL=%{_bindir}/hunspell \ + %{?with_debug: --enable-debug}\ + %{?with_pop: --enable-pop}\ + %{?with_imap: --enable-imap} \ + %{?with_smtp: --enable-smtp} \ +\ + %if %{with hcache} + --enable-hcache \ + %{!?with_tokyocabinet: --without-tokyocabinet} \ + %{!?with_gdbm: --without-gdbm} \ + %{!?with_qdbm: --without-qdbm} \ + %endif +\ + %if %{with imap} || %{with pop} || %{with smtp} + %{?with_gnutls: --with-gnutls} \ + %{?with_sasl: --with-sasl} \ + %endif +\ + %if %{with imap} + %{?with_gss: --with-gss} \ + %endif +\ + %{?with_idn: --with-idn} \ + %{!?with_idn: --without-idn} \ + %{?with_idn2: --with-idn2} \ + %{!?with_idn2: --without-idn2} \ +\ + %{?with_gpgme: --enable-gpgme} \ + %{?with_sidebar: --enable-sidebar} \ + --with-docdir=%{_pkgdocdir} + +%make_build + +# remove unique id in manual.html because multilib conflicts +sed -i -r 's///g' doc/manual.html + +# fix the shebang in mutt_oauth2.py & preserve the time stamp +oauth2_script="contrib/mutt_oauth2.py" +t=$(stat -c %y "${oauth2_script}") +sed -i "s:^#\!/usr/bin/env\s\+python3\s\?$:#!%{python3}:" "${oauth2_script}" +touch -d "$t" "${oauth2_script}" + +%install +%make_install + +# we like GPG here +cat contrib/gpg.rc >> \ + %{buildroot}%{_sysconfdir}/Muttrc + +grep -5 "^color" contrib/sample.muttrc >> \ + %{buildroot}%{_sysconfdir}/Muttrc + +cat >> %{buildroot}%{_sysconfdir}/Muttrc <<\EOF +source %{_sysconfdir}/Muttrc.local +EOF + +echo "# Local configuration for Mutt." > \ + %{buildroot}%{_sysconfdir}/Muttrc.local + +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_sysconfdir}/*.dist +rm -f %{buildroot}%{_sysconfdir}/mime.types +# disable mutt_dotlock program - remove the compiled binary +rm -f %{buildroot}%{_bindir}/mutt_dotlock +rm -f %{buildroot}%{_bindir}/muttbug +rm -f %{buildroot}%{_bindir}/flea +rm -f %{buildroot}%{_mandir}/man1/mutt_dotlock.1* +rm -f %{buildroot}%{_mandir}/man1/muttbug.1* +rm -f %{buildroot}%{_mandir}/man1/flea.1* +rm -f %{buildroot}%{_mandir}/man5/mbox.5* +rm -f %{buildroot}%{_mandir}/man5/mmdf.5* +rm -rf %{buildroot}%{_pkgdocdir} + +# remove /usr/share/info/dir +rm %{buildroot}%{_infodir}/dir + +# provide muttrc.local(5): the same as muttrc(5) +ln -sf ./muttrc.5 %{buildroot}%{_mandir}/man5/muttrc.local.5 + +%find_lang %{name} + + +%files -f %{name}.lang +%{!?_licensedir:%global license %doc} +%license COPYRIGHT GPL +%doc ChangeLog NEWS README* UPDATING mutt_ldap_query +%doc contrib/mutt_oauth2.py contrib/mutt_oauth2.py.README +%doc contrib/*.rc contrib/sample.* contrib/colors.* +%doc doc/manual.html doc/manual.txt doc/smime-notes.txt +%config(noreplace) %{_sysconfdir}/Muttrc +%config(noreplace) %{_sysconfdir}/Muttrc.local +%{_bindir}/mutt +%{_bindir}/mutt_pgpring +%{_bindir}/pgpewrap +%{_bindir}/smime_keys +%{_mandir}/man1/mutt.* +%{_mandir}/man1/smime_keys.* +%{_mandir}/man1/mutt_pgpring.* +%{_mandir}/man1/pgpewrap.* +%{_mandir}/man5/muttrc.* +%{_infodir}/mutt.info.* + + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 5:2.2.13-3 +- Rebuilt for MSVSphere 10 + +* Fri Aug 09 2024 Michal Hlavinka - 5:2.2.13-3 +- rebuild for updated testing (2x) + +* Fri Aug 02 2024 Michal Hlavinka - 5:2.2.13-1 +- update to 2.2.13 (RHEL-52596) +- trim changelog to last 10y + +* Mon Jun 24 2024 Ondrej Sloup - 5:2.2.12-6 +- Remove docbook2X BuildRequire dependency as it is being deprecated +- Resolves: RHEL-45561 + +* Mon Jun 24 2024 Troy Dawson - 5:2.2.12-5 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 5:2.2.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 5:2.2.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 7 2023 Florian Weimer - 5:2.2.12-2 +- Fix C99 compatibility issue + +* Mon Nov 13 2023 Matej Mužila - 5:2.2.12-1 +- Upgrade to 2.2.12 +- Resolves: #2232712 + +* Tue Sep 05 2023 Matej Mužila - 5:2.2.11-1 +- Upgrade to 2.2.11 +- Resolves: #2232712 + +* Thu Jul 20 2023 Fedora Release Engineering - 5:2.2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Apr 17 2023 Matej Mužila - 5:2.2.10-1 +- Upgrade to 2.2.10 +- Resolves: #2181780 + +* Thu Jan 19 2023 Fedora Release Engineering - 5:2.2.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 23 2022 Matej Mužila - 5:2.2.9-1 +- Upgrade to 2.2.9 +- Resolves: 2140353 + +* Thu Aug 11 2022 Matej Mužila - 5:2.2.7-1 +- Upgrade to 2.2.7 +- Resolves: 2116172 + +* Fri Jul 22 2022 Fedora Release Engineering - 5:2.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Matej Mužila - 5:2.2.6-1 +- Upgrade to 2.2.6 +- Resolves: 2093746 + +* Mon May 30 2022 Matej Mužila - 5:2.2.5-1 +- Upgrade to 2.2.5 +- Resolves: 2068653 + +* Thu Apr 21 2022 Matej Mužila - 5:2.2.3-1 +- Upgrade to 2.2.3 + Resolves: CVE-2022-1328 + +* Mon Mar 28 2022 Matej Mužila - 5:2.2.2-1 +- Upgrade to 2.2.2 + Resolves: #2068653 + +* Tue Feb 22 2022 Matej Mužila - 5:2.2.1-1 +- Upgrade to 2.2.1 + Resolves: #2053874 + +* Wed Feb 16 2022 Matej Mužila - 5:2.2.0-1 +- Upgrade to 2.2.0 + Resolves: #2053874 + +* Thu Jan 20 2022 Fedora Release Engineering - 5:2.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Jan 03 2022 Matej Mužila - 5:2.1.5-1 +- Upgrade to 2.1.5 + +* Mon Oct 25 2021 Matej Mužila - 5:2.1.3-1 +- Upgrade to 2.1.3 + +* Tue Aug 10 2021 Matej Mužila - 5:2.1.1-1 +- Upgrade to 2.1.1 + +* Thu Jul 22 2021 Fedora Release Engineering - 5:2.0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 7 2021 Dan Čermák - 5:2.0.7-2 +- Ship the mutt_oauth2.py script as well + +* Thu May 6 2021 Filip Januš 5:2.0.7-1 +-Rebase to v2.0.7 + +* Mon Mar 22 2021 Filip Januš 5:2.0.6-1 +- Rebase to upstream version 2.0.6 + +* Mon Feb 1 2021 Filip Januš -5:2.0.5-1 +- Rebase to upstream version 2.0.5 +- Fix CVE-2021-3181 + +* Tue Jan 26 2021 Fedora Release Engineering - 5:2.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 01 2020 Matej Mužila - 5:2.0.2-1 +- Upgrade to 2.0.2 +- Resolves: #1895629, #1900827, CVE-2020-28896 + +* Tue Sep 01 2020 Matej Mužila - 5:1.14.7-2 +- Fix mutt-1.9.4-lynx_no_backscapes.patch + +* Mon Aug 31 2020 Matej Mužila - 5:1.14.7-1 +- Upgrade to 1.14.7 + +* Tue Jul 28 2020 Fedora Release Engineering - 5:1.14.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 22 2020 Fabio Alessandro Locati - 5:1.14.6-1 +- Upgrade to 1.14.6 + +* Mon Jul 13 2020 Tom Stellard - 5:1.14.5-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Wed Jun 24 2020 Fabio Alessandro Locati - 5:1.14.5-1 +- Upgrade to 1.14.5 + +* Fri Jun 19 2020 Fabio Alessandro Locati - 5:1.14.4-1 +- Upgrade to 1.14.4 +- Resolves: #1848768 + +* Mon Jun 15 2020 Fabio Alessandro Locati - 5:1.14.3-1 +- Upgrade to 1.14.3 +- Resolves: #1836550 + +* Tue May 26 2020 Matej Mužila - 5:1.14.2-1 +- Upgrade to 1.14.2 +- Resolves: #1836550 + +* Sat May 09 2020 Fabio Alessandro Locati - 5:1.14.0-1 +- Upgrade to 1.14.0 +- Resolves: #1818513 + +* Tue Apr 07 2020 Matej Mužila - 5:1.13.5-1 +- Upgrade to 1.13.5 +- Resolves: #1818513 + +* Mon Feb 17 2020 Matej Mužila - 5:1.13.4-1 +- Upgrade to 1.13.4 +- Resolves: #1803392 + +* Wed Jan 29 2020 Fedora Release Engineering - 5:1.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 Matej Mužila - 5:1.13.3-1 +- Upgrade to 1.13.3 +- Resolves: #1783717, #1785500 + +* Fri Jan 03 2020 Matej Mužila - 5:1.13.2-1 +- Upgrade to 1.13.2 +- Resolves: #1783717 + +* Mon Dec 02 2019 Matej Mužila - 5:1.13.0-1 +- Upgrade to 1.13.0 +- Resolves: #1754211 + +* Tue Sep 24 2019 Matej Mužila - 5:1.12.2-1 +- Upgrade to 1.12.2 +- Resolves: #1754211 + +* Thu Aug 29 2019 Matej Mužila - 5:1.12.1-3 +- Make mutt to ask for GPG passphrase +- Resolves: #1731854 + +* Thu Jul 25 2019 Fedora Release Engineering - 5:1.12.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 17 2019 Matej Mužila - 5:1.12.1-1 +- Upgrade to 1.12.1 +- Resolves #1720848 + +* Tue May 28 2019 Matej Mužila - 5:1.12.0-1 +- Upgrade to 1.12.0 +- Resolves #1710398,#1713910 + +* Wed Apr 24 2019 Björn Esser - 5:1.11.4-2 +- Remove hardcoded gzip suffix from GNU info pages + +* Wed Feb 06 2019 Matej Mužila - 5:1.11.4-1 +- Upgrade to 1.11.4 +- Resolves #1688091 + +* Wed Feb 06 2019 Matej Mužila - 5:1.11.3-1 +- Upgrade to 1.11.3 +- Resolves #1659217 + +* Fri Feb 01 2019 Fedora Release Engineering - 5:1.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jul 17 2018 Matej Mužila - 5:1.10.1-1 +- Upgrade to 1.10.1 + +* Fri Jul 13 2018 Fedora Release Engineering - 5:1.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu May 24 2018 Matej Mužila - 5:1.10.0-2 +- Disable post-install mutt_dotlock checking by patch, not by sed. + +* Tue May 22 2018 Matej Mužila - 5:1.10.0-1 +- Upgrade to 1.10.0 + +* Thu Apr 19 2018 Matej Mužila - 5:1.9.5-4 +- Disable dotlock by patch instead of sed +- Resolves: #1568597 + +* Wed Apr 18 2018 Matej Mužila - 5:1.9.5-3 +- Apply patches of autoreconf related configuration files before running + autoreconf + +* Mon Apr 16 2018 Matej Mužila - 5:1.9.5-2 +- Use libidn2 instead of libidn + +* Mon Apr 16 2018 Matej Mužila - 5:1.9.5-1 +- Upgrade to 1.9.5 + +* Fri Apr 13 2018 Matej Mužila - 5:1.9.4-2 +- Use lynx to generate documentation + +* Mon Apr 09 2018 Matej Mužila - 5:1.9.4-1 +- Upgrade to 1.9.4 + +* Tue Feb 13 2018 Matej Mužila - 5:1.9.3-1 +- Upgrade to 1.9.3 + +* Thu Feb 08 2018 Fedora Release Engineering - 5:1.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Dec 20 2017 Matej Mužila - 5:1.9.2-1 +- Upgrade to 1.9.2 + +* Sun Sep 24 2017 Fabio Alessandro Locati - 5:1.9.1-1 +- Upgrade to 1.9.1 + +* Mon Sep 04 2017 Fabio Alessandro Locati - 5:1.9.0-1 +- Upgrade to 1.9.0 +- Rebase mutt-1.5.23-ssl_ciphers.patch to mutt-1.9.0-ssl_ciphers.patch + +* Thu Aug 03 2017 Fedora Release Engineering - 5:1.8.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 5:1.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 21 2017 Fabio Alessandro Locati - 5:1.8.3-1 +- Upgrade to 1.8.3 + +* Mon Apr 24 2017 Matej Mužila - 5:1.8.2-1 +- Update to 1.8.2 + +* Sat Feb 25 2017 Fabio Alessandro Locati - 5:1.8.0-1 +- Upgrade to 1.8.0 +- Rebase muttrc patch +- Rebase cabundle patch + +* Fri Feb 10 2017 Fedora Release Engineering - 5:1.7.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Dec 10 2016 Igor Gnatenko - 5:1.7.2-2 +- Rebuild for gpgme 1.18 + +* Mon Dec 05 2016 Fabio Alessandro Locati - 5:1.7.2-1 +- Upgrade to 1.7.2 + +* Sun Oct 09 2016 Fabio Alessandro Locati - 5:1.7.1-1 +- Upgrade to 1.7.1 +- Rebase cabundle patch + +* Sat Aug 20 2016 Fabio Alessandro Locati - 5:1.7.0-1 +- Upgrade to 1.7.0 + +* Thu Jul 07 2016 Jon Ciesla - 5:1.6.2-1 +- Upgrade to 1.6.2 + +* Mon May 02 2016 Fabio Alessandro Locati - 5:1.6.1-1 +- Upgrade to 1.6.1 + +* Mon Apr 18 2016 Fabio Alessandro Locati - 5:1.6.0-1 +- Upgrade to 1.6.0 +- Drop patch domainname since it should not be needed any more + +* Thu Feb 04 2016 Fedora Release Engineering - 5:1.5.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Sep 04 2015 Matej Muzila - 5:1.5.24-1 +- Updated to 1.5.24 (Resolves: rhbz#1259332) +- Utilize system-wide crypto-policies (Resolves: rhbz#1179324) + +* Thu Jun 25 2015 Matej Muzila - 5:1.5.23-9 +- Make system CA bundle default in mutt +- Resolves: #1069778 + +* Tue Jun 02 2015 Matej Muzila - 5:1.5.23-8 +- Resolves #1227288 +- Do not send "From" header without the host part (eg. ) + +* Wed Dec 03 2014 Matej Muzila - 5:1.5.23-7 +- added patch file forgotten in last commit + +* Wed Dec 03 2014 Matej Muzila - 5:1.5.23-6 +- resolves #1168464 (CVE-2014-9116) + +* Sun Aug 17 2014 Fedora Release Engineering - 5:1.5.23-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 5:1.5.23-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 26 2014 Jan Pacner - 5:1.5.23-3 +- Resolves: #1096756 ([RFE] compile with --enable-debug by default) + +* Thu May 15 2014 Dan Horák - 5:1.5.23-2 +- update Makefile.am before running autoreconf +