Commit graph

123 commits

Author SHA1 Message Date
Derek Schrock
ee5c5804dd mail/mutt: Remove feature patches
* As mentioned in efe2cf37e6 UPDATING and pkg-message to keep mail/mutt
   inline with upstream removing addtional ports patches.
 * Update post-install sed to be more vim make.vim syntax friendly.  It is
   making any # a make comments.

Some of these patches
PR:		272194
Reported by:	dereks@lifeofadishwasher.com (maintainer)
Differential Revision:	https://reviews.freebsd.org/D40754
2023-06-29 13:46:02 +02:00
Derek Schrock
efe2cf37e6 mail/mutt: Remove QUOTE_PATCH option and future patch removal
* Removing QUOTE_PATCH due to logic issues and RFC3676 quoting.
 * Keep vvv initials patch from QUOTE_PATCH adding INITIALS_PATCH
 * Add depercation of other patches to be removed in future updates via

UPDATING and pkg-message. See PR 271190 [1] comment 12 [2].
 * SASL_NONE will now add --with-sasl=no (making portlint happy)
 * Update context on patches

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271190
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271190#c12

Context and discussion:
https://lists.freebsd.org/archives/freebsd-ports/2023-May/003815.html

PR:			271190
Reported by:		kh@panix.com
Differential Revision:	https://reviews.freebsd.org/D39985
2023-05-09 11:38:23 +02:00
Dimitry Andric
de5264ca78 mail/mutt: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
mail/mutt failed to build with clang (and lld) 15:

  --- init.o ---
  In file included from init.c:43:
  ./init.h:3166:37: error: incompatible integer to pointer conversion initializing 'void *' with an expression of type 'int' [-Wint-conversion]
    { "quote_empty",      DT_BOOL, R_NONE, OPTQUOTEEMPTY, 1 },
                                           ^~~~~~~~~~~~~
  ./init.h:3166:37: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    { "quote_empty",      DT_BOOL, R_NONE, OPTQUOTEEMPTY, 1 },
                                           ^~~~~~~~~~~~~
                                           {            }
  ./init.h:3166:52: error: incompatible integer to pointer conversion initializing 'void *' with an expression of type 'int' [-Wint-conversion]
    { "quote_empty",      DT_BOOL, R_NONE, OPTQUOTEEMPTY, 1 },
                                                          ^
  ./init.h:3166:52: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    { "quote_empty",      DT_BOOL, R_NONE, OPTQUOTEEMPTY, 1 },
                                                          ^

This is because the QUOTE_PATCH option is on by default, and that quote
patch does not properly initialize the union members for the MuttVars
variable.

PR:		268208
Approved by:	dereks@lifeofadishwasher.com (maintainer)
MFH:		2022Q4
2022-12-07 16:34:04 +01:00
Derek Schrock
b278d09af4 mail/mutt: Update to 2.2.6
Changelog:	https://gitlab.com/muttmua/mutt/-/blob/stable/UPDATING#L12

PR:		264489
2022-06-06 22:13:18 -04:00
Derek Schrock
7b7c0dbabe mail/mutt: Update to 2.2.4
Changes:	https://marc.info/?l=mutt-users&m=165135060511141&w=2

PR:		263695
2022-05-01 07:08:52 -05:00
Derek Schrock
79aa6d9065 mail/mutt: Update to 2.2.0
Changelog:	https://marc.info/?l=mutt-users&m=164471766728598&w=2

PR:		261917
2022-02-14 00:23:36 -05:00
Derek Schrock
4de7b118bc mail/mutt: Update to 2.1.0
- Update to 2.1.0 [1]
- Remove patch-browser upstream now ignores ..

[1] http://www.mutt.org/relnotes/2.1/

PR:	256609
2021-06-14 14:44:30 -07:00
Juraj Lutter
ebd4dad9eb mail/mutt: Security update to 2.0.5
- Update to 2.0.5 with fix for CVE-2021-3181
- Changelog at:
da5e328257/ChangeLog

PR:		252930
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
Reviewed by:	osa (mentor)
Approved by:	osa (mentor)
MFH:		2021Q1
Security:	387bbade-5d1d-11eb-bf20-4437e6ad11c4
Differential Revision:	https://reviews.freebsd.org/D28309
2021-01-23 21:14:02 +00:00
Li-Wen Hsu
3d30797fee mail/mutt: Update to 2.0.0 with extra patch cleanup
- Update to 2.0.0 [1][2]
- Remove threadcomplete. Appears ~(~T) has the same functionality.
- Remove muttlib.c patch and use mutt's mktemp functions for temp files.
  I don't believe this is an issue since neomutt also use's mutt's.
- Remove forcebase64 patch.  Should no longer be an issue.
- Remove spelling options. Install the desired spelling port and
  configure mutt as needed.
- Update patch contexts.

[1] https://marc.info/?l=mutt-announce&m=160478560100820&w=2
[2] http://www.mutt.org/relnotes/2.0/

PR:		250970
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2020-11-09 06:32:54 +00:00
Steve Wills
97083c5b9e mail/mutt: Update to 1.14.7
PR:		249004
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2020-09-02 04:43:14 +00:00
Fernando Apesteguía
0c58982c26 mail/mutt: Update to 1.14.2
ChangeLog: http://www.mutt.org/

PR:	246731
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
2020-05-26 13:10:29 +00:00
Kurt Jaeger
15fd46f542 mail/mutt: update 1.14.0 -> 1.14.1
- Rename DEBUG option to DEBUG_LOGS
- Add lang/perl5 deps that triggers a Muttrc rebuild
- Make smime patch optional due to perl build deps.
- Remove unnecessary doc patches and REINPLACE_CMD
- Move build changing patches to make targets
- ASPELL updates the (pre)built Muttrc to not require a rebuild

PR:		246559
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
Relnotes:	https://marc.info/?l=mutt-users&m=158965668315387&w=2
2020-05-19 07:02:45 +00:00
Kurt Jaeger
8506f6baac mail/mutt: update 1.13.5 -> 1.14.0
- Default DEBUG option
  (very small performance impact and ~4% binary size increase)

PR:		246270
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
Relnotes:	http://www.mutt.org/relnotes/1.14/
2020-05-07 06:59:53 +00:00
Kurt Jaeger
9a60fecc13 mail/mutt: upgrade 1.13.4 -> 1.13.5
- Bring back vvv quote/initials patches
- Remove NNTP option (XML as well)
- Update default option patches context

PR:		245175
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
Relnotes:	https://marc.info/?l=mutt-users&m=158542977114051&w=2
2020-04-04 12:26:00 +00:00
Fernando Apesteguía
4d7abcb8fb mail/mutt: update to 1.13.1
Too many changes to be listed here.

ChangeLog: https://gitlab.com/muttmua/mutt/raw/stable/UPDATING

PR:	242534
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
2019-12-15 21:36:02 +00:00
Steve Wills
2fa5fb41a8 mail/mutt: Update to 1.12.2
PR:		240741
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2019-09-23 15:22:12 +00:00
Alex Kozlov
196240f62b - Fix MAILDIR_MTIME_PATCH option with NNTP enabled
Submitted by:	Derek Schrock <derek@lifeofadishwasher.com> (maintainer)
Pointy hat:     ak
2019-08-15 10:28:14 +00:00
Alex Kozlov
623e89af51 - Unbreak nntp patch
- Replace local vvv.quote patch with upstream one

PR:	239864
Approved by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2019-08-14 19:20:15 +00:00
Mathieu Arnold
558224994b onvert to UCL & cleanup pkg-message (categories l-m) 2019-08-13 22:29:42 +00:00
Steve Wills
b502c69fd9 mail/mutt: 1.12.1
PR:		238589
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2019-06-30 20:13:41 +00:00
Alex Kozlov
5d3181d2b5 - Update to 1.12.0 [*]
- Clean up patches due to upstream whitespace cleanup/changes
- Mark NNTP patch broken with 1.12.0
- VVV quote patch broken. Add to files/ fixed version until updated upstream
- Update extra-patch-maildir-mtime* due to upstream 6317a30369e
- Remove extra-patch-smime-outlook. The code [2] backing this patch was removed

[*] http://www.mutt.org/relnotes/1.12/

PR:	238179
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2019-05-29 17:41:34 +00:00
Alex Kozlov
257ee95ea2 - Cleanup LDFLAGS, CONFIGURE_ENV [1]
- Fix non-default LOCALBASE for aspell [1]
- Remove unused extra-patch-parent-child-match

PR:	236189

Submitted by:	John Hein <jcfyecrayz@liamekaens.com> [1]
Approved by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2019-04-04 04:07:17 +00:00
Steve Wills
20e06a6821 mail/mutt: Use updated VVV patches
PR:		234384
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2018-12-26 23:46:01 +00:00
Kurt Jaeger
c6f96f0fab mail/mutt: fix extra patches if QUOTE_PATCH is not selected
- remove some context from the extra-patches so that they
  still apply if QUOTE_PATCH is not selected.

PR:		233993
Submitted by:	mjl@luckie.org.nz
Approved by:	dereks@lifeofadishwasher.com (maintainer)
2018-12-22 16:45:25 +00:00
Steve Wills
d3b01c90e9 mail/mutt: Update to 1.11.1
PR:		233815
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2018-12-09 00:47:46 +00:00
Steve Wills
9f2ff2b76e mail/mutt: Update to 1.11.1
While here:
* Remove MUTT_LITE parts
* pet portlint
- NNTP broken for 1.11.0
* Add patch-qresync-crash fixes a crash coming in 1.11.1

PR:		233680
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
2018-12-03 22:23:03 +00:00
Pietro Cerutti
093cee67a6 mail/mutt: fix patching when IFDEF_PATCH=off and REVERSE_REPLY_PATCH=on 2018-07-16 08:20:22 +00:00
Kirill Ponomarev
4dad82591b Update to 1.10.0
PR:		228387
Submitted by:	maintainer
2018-05-21 20:39:16 +00:00
Yuri Victorovich
450a8bea7f mail/mutt: Update to 1.9.4
PR:		226336
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
Approved by:	tcberner (mentor, implicit)
2018-03-04 03:50:50 +00:00
Steve Wills
7f46477597 mail/mutt: Update to 1.9.3
PR:		225497
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
2018-02-03 05:01:00 +00:00
Thomas Zander
5d30a915d6 Update to upstream release 1.9.2
Detailed maintainer log:
- Update to mutt 1.9.2
- Bring ats date-conditional back as a local patch file
  - Due to the patch not having versioning an update can break the port
    if the hash of the file changes
- Update greeting patch to 1.9.1

PR:		224374
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13509
2017-12-17 16:46:05 +00:00
Alex Kozlov
6117e5d37a - Remove autotools dependency
- Build sidebar by default, it's small and don't have side-effects when not enabled
- Cleanup WITHOUT=XML handling
2017-09-27 22:11:30 +00:00
Adam Weinberger
9d95d69a95 Update VVV patch to support 1.9.0, and unbreak the NNTP option.
PR:		222244
Submitted by:	maintainer (dereks lifeofadishwasher com)
2017-09-12 02:29:53 +00:00
Kurt Jaeger
8c0e2e4c6d mail/mutt: update 1.8.3 -> 1.9.0
PR:		222154
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
Relnotes:	http://www.mutt.org/relnotes/1.9/
		http://www.mutt.org/doc/UPDATING
Differential Revision:	https://reviews.freebsd.org/D12282
2017-09-10 12:17:03 +00:00
Alex Kozlov
4c7dd96149 - Update mail/mutt to 1.8.3
- Move post-patch to pre-configure so it doesn't interfere with patch debugging
- Use more up-to-date version of date_conditional patch
- Clean up default options patches to be as offset/fuzz free as possible

PR:	219786
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
2017-06-19 02:00:16 +00:00
Alex Kozlov
0c8e9332a5 - Update VVV's patches to 1.8.2 [1]
- Move dgc-deepif patch into the port as upstream disappeared
- Rebase patches to eliminate offset when possible
- Remove unused extra-patch-pgp-dw

PR:	218834 [1]
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
Approved by:	dereks@lifeofadishwasher.com (maintainer)
2017-05-13 14:31:30 +00:00
Martin Wilke
6d2826efac - Upgrade to 1.8.2
- Clean up some patches due to fuzz warning message
- Replace patch-examples with a post-patch "simple" ${REINPLACE_CMD}

PR:		218803
Submitted by:	maintainer
2017-04-22 11:52:48 +00:00
Adam Weinberger
b732d706af Regenerate the maildir-mtime-nntp patch. It was being fuzzy applied
in the wrong place previously. PORTREVISION bump for this.

Submitted by:	dereks lifeofadishwasher com (maintainer)
Differential Revision:	https://reviews.freebsd.org/D10334
2017-04-10 14:51:50 +00:00
Adam Weinberger
4754ef4148 Update to 1.8.0 o Compressed Folders is now part of main line
Fix missing lib depends with libgpg-errors and libassuan
Move Header Cache to a BSD ports single radio
Remove redundent sidebar var
VVV updated to 1.8.0
GREETING updated to 1.7.2
extra-patch-parent-child-match converted to a makepatch

Changes: https://dev.mutt.org/hg/mutt/file/stable/UPDATING#l11

Differential Revision:	https://reviews.freebsd.org/D9819
Submitted by:		maintainer (dereks lifeofadishwasher com)
2017-03-04 16:03:08 +00:00
Dmitry Marakasov
b8374f12e4 - Update to 1.7.2
- VVV and RR patches are still 1.7.1
- Remove patch-gpgme180 this is part of 1.7.2

From the 1.7.2 release email:

This is a bug fix release, primarily fixing build issues with OpenSSL
1.1 and GPGME 1.8.  Please note that as part of the OpenSSL fixes,
versions less than 0.9.6 are no longer supported.

PR:		215084
Submitted by:	dereks@lifeofadishwasher.com (maintainer)
2016-12-13 15:26:13 +00:00
Adam Weinberger
cbd70afe92 Add gpgme 1.8.0 support.
PR:		214868
Submitted by:	dereks lifeofadishwasher com
2016-11-27 08:32:18 +00:00
Adam Weinberger
3e5240cde9 Remove now-unused greeting patch.
Submitted by:	George L. Yermulnik
2016-10-17 14:51:29 +00:00
Adam Weinberger
da35507d98 - Update to 1.7.1
- Move some vars around to make portlint happy
- Use MUTT_LITE instead of LITE
- Fetch deepif and date-contitional from remote locations
- Reword COMMENT
- Bring back remote patch versions incase mutt version and patch
  versions arn't in sync
- Remove date_conditional patch pulled in remotely
- Add two new sidebar samples
- convert patch-* patches to makepatch patches
- Greeting patch 1.7.1 now PATCHFILE
- make makesum will pull all optional dist/patchfiles

PR:		213431
Submitted by:	maintainer (dereks lifeofadishwasher com)
2016-10-17 02:40:41 +00:00
Adam Weinberger
7968adaf51 Update to 1.7.0. The sidebar patch is now an official part of mutt,
and is now controlled by a SIDEBAR option. The trash patch is now
a non-optional part of mutt so its knob has disappeared completely.

Also, pass maintainership to submitter. Udo has looked after this
port for a long time; many thanks to him for all his work!

Changes for 1.7.0:

  ! Improved alignment when using multi-column characters with
    soft-fill (%*X) and right-justified (%>X) format strings.
  + The COLUMNS environment variable will be set to the width of the
    pager when invoking display filters.  This can be used in
    copiousoutput mailcap entries to allow their output to match the
    pager width.
  + The sidebar patch has been merged.  Please watch for airborne
    bovine.  See the documentation for all the options, or simply
    enable it with 'set sidebar_visible'.
  + $mail_check_stats and $mail_check_stats_interval control whether,
    and how often, to scan for unread, flagged, and total message
    counts when checking for new mail in mailboxes.  These statistics
    can be displayed in the sidebar and browser.
  + $trash, when set, specifies the path of the folder where mails
    marked for deletion will be moved, instead of being irremediably
    purged.
  + The <purge-message> function can be used to delete an entry and
    bypass the trash folder.
  + $folder_format has new format strings %m and %n, to display
    total and unread message counts for mailboxes.  Note that
    $mail_check_stats should be enabled to use these.
  ! When browsing IMAP, %N will now display 'N', instead of the unread
    message count.  Please use %n to display unread messages.

PR:		213180
Submitted by:	dereks lifeofadishwasher com
Approved by:	outgoing maintainer (Udo Schweigert)
2016-10-05 22:55:29 +00:00
Kurt Jaeger
92afdc6840 mail/mutt: 1.6.0 -> 1.6.1
- bug-fixing release - no new functions

PR:		209224
Submitted by:	Udo.Schweigert@siemens.com (maintainer)
2016-05-06 06:58:17 +00:00
Kurt Jaeger
cc1953e9e5 mail/mutt: some fixes
- changed from USE_AUTOTOOLS (deprecated) to USES=autoreconf
- mutt-lite slave port fix for no-libiconv-case

PR:		208658
Submitted by:	Udo Schweigert <Udo.Schweigert@siemens.com> (maintainer)
2016-04-10 12:53:26 +00:00
Kurt Jaeger
4be639c298 mail/mutt: 1.5.24 -> 1.6.0
Changes:
- http://www.mutt.org/doc/UPDATING
- added base64 option

PR:		208641, 208054
Submitted by:	Udo.Schweigert@siemens.com (maintainer), ports@bsdserwis.com
2016-04-09 17:02:24 +00:00
Adam Weinberger
d04da2e412 Remove metamail dependency, and add a mailcap.5 manpage.
The intention of r411160 was to provide a mailcap manpage, as referenced
in multiple places by the mutt(1) and muttrc(5) manpages.

Although mail/metamail provides a mailcap.4 manpage, metamail is not
particularly relevant as a mailcap provider. The main external filter
that mutt needs is something to render text/html mime parts, but the
last metamail release was in 1994, 22 years ago.

This commit removes that metamail dependency, and adds a mailcap.5
manpage written by Udo Schweigert (mail/mutt's maintainer), based off
metamail's mailcap.4 manpage.

PR:		207727
Submitted by:	Udo Schweigert (maintainer)
2016-03-18 16:21:28 +00:00
Kurt Jaeger
39d563e87e mail/mutt: provide options to build with GSSAPI variants
The port rolls its own GSSAPI handling system, looking for installed
libraries, rather than employing the "Uses" knobs (which probably
post-date the mutt Port's GSSAPI support).

When linking against OpenSSL from Ports, this results in one mutt
process pulling in both libcrypto.so.8 from Ports and libcrypto.so.7
from the base system (FreeBSD 10.1), leading to environ corruption
problems when running external commands, which complain at startup
(libc routines detect the corruption).  These look like:

    sh: environment corrupt; missing value for SOME_VAR

and can be seen when, eg, viewing a PGP-signed mail with GnuPG
integration turned on.

This patch switches mail/mutt to use the GSSAPI "Uses" system.

PR:		206220
Submitted by:	Phil Pennock <freebsd@phil.spodhuis.org>
Approved by:	Udo Schweigert <Udo.Schweigert@siemens.com> (maintainer)
2016-01-28 11:50:35 +00:00
Kurt Jaeger
fb33a86545 mail/mutt: update sidebar patch
PR:		205284
Reported by:	Zsolt Udvari <udvzsolt@gmail.com>
Approved by:	Udo Schweigert <Udo.Schweigert@siemens.com> (maintainer)
2016-01-28 08:41:56 +00:00