Subject: CVS commit: pkgsrc/mail/maildrop
From: Hauke Fath
Date: 2019-05-24 15:17:58
Message id: 20190524131758.4174DFBB7@cvs.NetBSD.org

Log Message:
Upgrade mail/maildrop to v3.0.0

o new dependencies: courier-unicode (split out library), libidn
o install text READMe files over html ones
o add options.mk
  - optionally authenticate against dovecot user db
  - make locking configurable (I have seen locking rows between
    dovecot and mailfilter that lead to delivery failures)
o re-work patches

From the upstream changelog (yes, it's been eight years):

3.0.0

2018-07-31  Sam Varshavchik  <mrsam@courier-mta.com>

        * rfc2045/reformime: parse utf-8 address types in DSNs.

2018-07-30  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: explicitly require libidn to build maildrop.

2018-07-29  Sam Varshavchik  <mrsam@courier-mta.com>

        * mailbot: generate message/global, message/global-delivery-status,
        and message/global-headers, when needed, when formatting autoreplies.

        * reformime: -m option uses message/global instead of message/rfc822
        for UTF8 messages.

2018-06-25  Sam Varshavchik  <mrsam@courier-mta.com>

        * rfc2045/reformime.c (main2): fix crash if -x or -X is specified
        without the corresponding -s option.

2018-02-16  Sam Varshavchik  <mrsam@courier-mta.com>

        * libs/maildrop/search.C: ":H" pattern matching option, matching
        only the main message headers.

2018-01-08  Osamu Aoki <osamu@debian.org>

        * libs/maildrop/deliver.C (delivery): Always return 75 upon
        delivery failure, for the standalone maildrop build.

2017-12-26  Sam Varshavchik  <mrsam@courier-mta.com>

        * libs/maildir/maildirmake.c (main): maildirmake's -q option
        will create the maildir if it does not exist.

        * libs/rfc2045/reformime.c (main2): Added -rU option, and a new
        internal RFC2045_RW_8BIT_ALWAYS conversion option.

        * libs/rfc2045/reformime.c (main2): Fix crash when the -s option
        is not valid.

2.9.3

2017-11-26  Sam Varshavchik  <mrsam@courier-mta.com>

        * libs/rfc2045/rfc2045reply.c (mkreply): Fix null pointer
        dereferences.

2.9.2

2017-10-03  Sam Varshavchik  <mrsam@courier-mta.com>

        * reformail: fix use after free with -f1

2017-09-27  Giovanni Bechis <giovanni@paclan.it>

        * Fix to configure.ac

2017-09-19  Sam Varshavchik  <mrsam@courier-mta.com>

        * courier: switch default header encoding to UTF-8.

2.9.0

2017-06-17  Sam Varshavchik  <mrsam@courier-mta.com>

        * libs/maildir/maildirquota.c (docheckquota): Skip DT_LNK.

2017-03-11  Sam Varshavchik  <mrsam@courier-mta.com>

        * courier-unicode library API update.

2017-01-27  "Stefan Hornburg (Racke)" <racke@linuxia.de>

        * Merge several Debian patches:

        0001-Include-cstdio-in-afx.h.patch
        0005-Ignore-and-.dpkg-a-z-files.patch
        0007-Fix-bashisms.patch
        0009-Fix-linking-in-upstream-Makefiles.patch
        0012-Define-and-use-PEMFILE-in-mkesmtpdcert.patch
             (*) with some changes.
        0013-Add-P-to-ghostscript-invocation.patch
        0014-Improve-error-reporting-in-preline.c.patch
        0017-Fix-formatting-errors-in-syslog-calls.patch
        0020-Add-perl-stanza-to-perlfilter-scripts.patch

2.8.5

2016-09-20  "Hanno Böck" <hanno@hboeck.de>

        * libs/maildrop/maildir.C (MaildirSave): Fix new/delete mismatch.

2.8.4

2016-08-03  Sam Varshavchik  <mrsam@courier-mta.com>

        * reformime: do not abort due to invalid encoding of the "name"
        attributes.

2015-12-20  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: implement the FLAGS variable.

2015-12-16  Andreas Kinzler <ml-ak@posteo.de>

        * maildrop: fix maildrop not searching last line of text.

2015-07-19  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: fix parsing of a message without a body.

2.8.3

2015-06-27  "Hanno Böck" <hanno@hboeck.de>

        * libs/maildrop/mailbot.c: Fix bad malloc for --feedback-* command
        line parameters.

2015-06-20  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: Implement option to automatically create home directories.

2015-05-09  "Jö Fahlke" <jorrit@jorrit.de>

        * maildrop: Don't include matched subpatterns in foreach.

2.8.2

2015-04-25  Giovanni Bechis <giovanni@openbsd.org>

        * maildircache.c: fix use after free.

        * mkdhparams: make compatible with libressl

2015-02-28  Sam Varshavchik  <mrsam@courier-mta.com>

        * Update to courier-unicode 1.2.

2015-02-16  "Hanno Böck" <hanno@hboeck.de>

        * Fix compilation warning, testsuite.

2.8.0

2014-12-13  Sam Varshavchik  <mrsam@courier-mta.com>

        * Update autotools

2.7.2

2014-07-21  Sam Varshavchik  <mrsam@courier-mta.com>

        * gpglib, rfc2045: fix makefiles.

        * maildrop: fix parsing of headers added by the -A option.

2014-07-13  Sam Varshavchik  <mrsam@courier-mta.com>

        * liblock, couriertls: fix compilation for OpenBSD -- based on a
        patch from Giovanni Bechis <giovanni@paclan.it>.

2014-06-23  Sam Varshavchik  <mrsam@courier-mta.com>

        * libs/gpglib/Makefile.am: Fix -lunicode linkage.

        * libs/rfc2045/Makefile.am: Fix -lunicode linkage.

        * libs/rfc2045/rfc2045decodemsgtoutf8.c (rfc2045_decodemsgtoutf8):
        recognize "message" MIME content type, in addition to \ 
"text".

2014-06-18  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: -d option changes groupid only when effective group id
        is root. Addresses Debian bug 564601.

        * mailbot: Add -T replydraft/-l options.

2014-02-02  Osamu Aoki <osamu_aoki_home@nifty.com>

        * Makefile.am: install makedat.1 and makedat.html

2014-01-15  Sam Varshavchik  <mrsam@courier-mta.com>

        * libs/maildrop/search.C (search_cb): Fix logged patterns getting
        garbled, in log output.

2014-01-12  Sam Varshavchik  <mrsam@courier-mta.com>

        * Factored out the unicode library into a separate package.

2.7.1

2013-11-25  Sam Varshavchik  <mrsam@courier-mta.com>

        * Fix various compiler warnings about unchecked results from setuid
        and setgid calls.

2.7.0

2013-08-28  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: pattern searches are now specified in UTF-8. maildrop
        MIME-decodes the search pattern, and transcodes it to the UTF-8
        character set, for searching purposes.

2012-12-04  Alessandro Vesely <vesely@tana.it>

        * rfc2045/makemime.c (openfile_or_pipe): Do not dup stdin filedesc,
        sometimes the stdin buffer already gets filled.

2.6.0

2012-09-05  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildir/maildiraclt.c (maildir_acl_delete): Fix double-free on error
        path of an ENOMEM.

2012-06-18  Sam Varshavchik  <mrsam@courier-mta.com>

        * maildrop: make a mention of reformail -D's locking in the manual
        pages.

2012-06-17  Osamu Aoki <osamu@debian.org>

        * maildrop/formatmbox.C (GetLineBuffer): Do not skip whitespaces
        looking for From: and Subject: headers, to log.

2012-05-05  Sam Varshavchik  <mrsam@courier-mta.com>

        * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate
        the hostname portion of the boundary to 30 chars.

2012-04-22  Sam Varshavchik  <mrsam@courier-mta.com>

        * liblock/mail.c (dotlock_exists): Quell a compiler warning.

2012-02-23  Osamu Aoki <osamu@debian.org>

        * Miscellaneous spelling fixes.

2.5.5

2011-11-25  Sam Varshavchik  <mrsam@courier-mta.com>

        * rfc2045/rfc2045reply.c (mkreply): Fix copying of the contents of the
        original message.

        * rfc2045/reformime.c (do_print_info): rfc2231_udecodeDisposition()
        failure is not fatal.

        * rfc2045/reformime.c (get_suitable_filename): Ditto.

2011-09-06  Sam Varshavchik  <mrsam@courier-mta.com>

        * rfc2045/reformime.c (main2): Fixed segfault on some arches from an
        initial null given to strtok.

2011-08-31  Sam Varshavchik  <mrsam@courier-mta.com>

        * mailbot: add "feedback" and "replyfeedback" \ 
formats, generating
        RFC 5965-formatted feedback report. -a option attaches the entire
        original message, instead of only its headers, for "replydsn",
        "feedback", and "replyfeedback" formats.

2011-08-14  Sam Varshavchik  <mrsam@courier-mta.com>

        * rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly
        memory.

Files:
RevisionActionfile
1.66modifypkgsrc/mail/maildrop/Makefile
1.10modifypkgsrc/mail/maildrop/PLIST
1.20modifypkgsrc/mail/maildrop/distinfo
1.1addpkgsrc/mail/maildrop/options.mk
1.1addpkgsrc/mail/maildrop/patches/patch-Makefile.in
1.1addpkgsrc/mail/maildrop/patches/patch-libs_maildrop_configure
1.1addpkgsrc/mail/maildrop/patches/patch-libs_maildrop_main.C
1.9removepkgsrc/mail/maildrop/patches/patch-aa
1.5removepkgsrc/mail/maildrop/patches/patch-ab
1.4removepkgsrc/mail/maildrop/patches/patch-ac