./mail/t-prot, TOFU enhancement to mutt for condensing quoted text

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.4, Package name: t-prot-3.4, Maintainer: pkgsrc-users

t-prot is a TOFU enhancement for the mutt MUA. It condenses quoted
text into a single line, hides overlong signatures, and other email

TOFU is an abbreviation which mixes German and English words; it
expands to "text oben, full-quote unten" which means "text above -
full quote below" and describes the style of so many users who let
their mailer or newsreader quote everything of the previous message
and just add some text at the top; obviously they think that quoted
text must not be changed at all. This is quite annoying as it
needlessly sends a lot of data even when it is not required. Some
editing of messages is desired. Please point these people to the page

t-prot detects, and when demanded hides annoying parts in rfc2822
messages: TOFU, huge quoted blocks, signatures (especially when they
are too long), excessive punktuation, blocks of empty lines, trailing
spaces and tabs. For use inside of MTAs or MDAs it exits with
appropriate libc exit codes, so annoying messages may be bounced

Required to run:

Required to build:

Master sites:

Filesize: 44.986 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-26 12:54:34 by Nia Alarie | Files touched by this commit (356)
Log message:
mail: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
   2021-10-20 20:31:49 by Thomas Merkel | Files touched by this commit (2) | Package updated
Log message:
mail/t-prot: Update to 3.4

  * t-prot, t-prot.1: Release as t-prot 3.4.
  * t-prot, t-prot.1: Make documentation match Getopt::Long syntax:
    e.g. -c=1 is not supported, use -c1 instead.

  * t-prot: Release as version 3.3.
  * t-prot: Removed trailing whitespace.
  * t-prot: Small speedup: Run --pgp-short specific code only with
  * t-prot: Fixed a bug with -Mmutt and pgp signed and encrypted
    MIME/Multipart messages.  Thanks to Axel Beckert for reporting!

  * t-prot: Release as version 3.2.
  * t-prot: Make bigq work when MS Tofu is detected with no text
    above the quote, as with ZimbraWebClient.
  * t-prot.1: Fix spelling error.
  * t-prot.1: Update date string.

  * t-prot: Release as t-prot v3.1.
  * t-prot, t-prot.1: Support mutt-kz
    (https://github.com/karelzak/mutt-kz) using -Mmutt-kz.  Many
    thanks to Hugo Roy for testing and reporting.
  * t-prot: Unicode fix for MS Outlook.

  * t-prot: After a very long testing phase, finally the version
    update to 3.0.
  * t-prot: Umlauts always are so wrong. Hopefully Outlook mails in
    German are handled fine now.
  * t-prot.1: Make clear that --pgp-move and --pgp-move-vrf also work
    on SSL output.
  * t-prot: Coding style cleanup in pgp().
  * t-prot: Fix detection of unified diffs in the message body when
    using --diff.
  * t-prot.1: Update year.
  * contrib/t-prot.sl: Reflect transition to slang2 in comments.
  * contrib/t-prot.sl: Drop support for slang-1, default to slang-2.
  * t-prot, contrib/muttrc.t-prot: Drop support for mutt-1.4. Default
    to mutt-1.5.x strings.
  * t-prot: Fix eYou Webmail Tofu.
  * t-prot: Fix text/plain content-type detection with several user

  * t-prot: Release as v2.101.
  * t-prot: Add just another of mutt's decryption messages to the
    list. This seems not to be translated yet, so no gettext() is
    inserted this time.

  * t-prot: Release as v2.100.
  * t-prot: Add line to make -m filter Lotus Domino Webserver
    produced TOFU.
  * t-prot: Use uniform syntax notation for parameters in command
    line options.
  * t-prot.1: Use uniform syntax notation for parameters in command
    line options.

  * t-prot: Release as v2.99.
  * t-prot, t-prot.1: New command line option --fixind to fix broken
    quoting (regarding to RFC 3676).  Perhaps this should not be
    default, as there might be false positives if the message is
    already quoted correctly. Quotes with this particular brokenness
    are quite common, though. Patch by Simon Ruderich, many thanks.
  * t-prot: Use index() instead of regex for $indent. Patch by Simon
  * t-prot: Revert new handling of empty lines at the beginning of
    the body, as it removes lines where it should not.
  * t-prot: Another bug with -c: Empty lines before the signature
    were not handled properly.  Patch by Simon Ruderich.
  * t-prot: This causes -c1 to not create an empty line at the
    beginning of the message if there were empty lines at the start
    of the body. Patch by Simon Ruderich.
  * t-prot, t-prot.1: Typos and documentation fixes regarding
    $indent. Many thanks to Simon Ruderich.

  * t-prot: Release as v2.98.
  * t-prot.1: Clarify --lax-security description.
  * t-prot: Use descriptive temp variable names when parsing command
  * t-prot.1: Mention configuration files for Heirloom mailx and
    metamail. Avoid false impression with --lax-security.
  * t-prot.1: Another Typo.
  * t-prot.1: Fix spelling error. Thanks to Gerfried Fuchs!

  * t-prot: Release as v2.97.
  * t-prot, t-prot.1: Standard diff(1) output now is protected by
    --diff, too. Many thanks to Martin Neitzel and Matthias Kilian.

  * t-prot: Release as v2.96.
  * t-prot: Allow -o /dev/null without bitching around.
  * t-prot.1: Give some emergency help how to write to /dev/null. You
    never know.
  * t-prot.1: Remove repetition.
  * t-prot: More syntax help fixes.
  * t-prot.1: Update date string.
  * t-prot.1: Fix --version description.
  * t-prot.1: More syntax fixes.
  * t-prot.1: Change option order for footer options.
  * t-prot.1: More grouping: Footers.
  * t-prot.1: Fix typo.
  * t-prot, t-prot.1: Special output to "NONE" is not required. You
    can use /dev/null.
  * t-prot.1: Improve word flow.
  * t-prot.1: Fix -i and -o syntax.
  * t-prot.1: Improve MIME handling description.
  * t-prot.1: Explain grouping of options and what happens if none
    are specified. Be specific how MIME is handled.
  * contrib/: mailcap.t-prot, nailrc.t-prot: New files: configuration
    samples for metamail and Heirloom mailx (a.k.a. nail).  Many
    thanks to Martin Neitzel!
  * t-prot.1: Fix -S syntax.
  * t-prot: Fix -S syntax help.
  * t-prot.1: Group options by meaning, rather than alphabetically.
    Thanks to Martin Neitzel for suggesting.
  * t-prot: Fix --help output order.
  * t-prot: Fix -c syntax in --help, too.
  * t-prot.1: Precisify wording for --ms-smart.
  * t-prot.1: Be a little more specific as to what --ms-smart really
  * t-prot.1: Specify more clearly what locale to specify with
    --locale. Thanks to Martin Neitzel for suggesting.
  * t-prot.1: Fix -c syntax help.
  * t-prot: Fix bad typo. Thanks to Martin Neitzel.

  * t-prot: Big changes, we step a great deal towards the next major
    version number.  Release as v2.95.
  * t-prot: Since Getopt::Mixed would break existing configurations
    with the new -c command line switch behaviour, the migration to
    Getopt::Long has been finished by now: This commit merges the big
    bad Getopt::Long patch.  Hope the performance issue does not turn
    out to be too grave. Thanks to everyone for testing and providing
  * t-prot, t-prot.1, contrib/muttrc.t-prot, contrib/t-prot.sl: The
    command line option -c now accepts an optional parameter
    specifying the number of empty lines to remain. Thanks to Simon
   2021-10-07 16:25:52 by Nia Alarie | Files touched by this commit (357)
Log message:
mail: Remove SHA1 hashes for distfiles
   2015-11-04 00:27:24 by Alistair G. Crooks | Files touched by this commit (312)
Log message:
Add SHA512 digests for distfiles for mail category

Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
   2012-10-08 14:19:35 by Aleksej Saushev | Files touched by this commit (307)
Log message:
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.