Subject: CVS commit: pkgsrc/mail/alpine
From: Benny Siegert
Date: 2016-05-14 18:13:10
Message id: 20160514161310.E3D7DFBBA@cvs.NetBSD.org

Log Message:
Update alpine to 2.20.

Additions include:

  - Upgrade UW-IMAP to Panda IMAP from https://github.com/jonabbey/panda-imap.
  - S/MIME: Add screen to manage certificates.
  - S/MIME: Signatures are validated using the user's certificates instead of \ 
the ones included in the message. Behavior can be disabled by disabling the \ 
option "Validate Using Certificate Store Only" which is enabled by \ 
default.
  - S/MIME: sign messages using intermediate certificates when needed and possible.
  - S/MIME: validation of certificates for servers that modify signed content.
  - S/MIME: signed and encrypted messages will be signed first and encrypted \ 
second, so that they can be decoded by other clients.
  - S/MIME: add the sender certificate to the list of certificates in encrypted \ 
messages to make it possible for the sender to decrypt the message they sent.
  - S/MIME: When transferring certificates to a local container, create \ 
container with default names PublicContainer, PrivateContainer and CAContainer, \ 
as appropriate for these files, unless the user has provided some other names.
  - HTML: Style tag in body of html message causes Alpine to not write its \ 
content until a new </style>
  - HTML: <BR>, <BR />, and <BR/> are considered the same \ 
inline tag, the same is valid for the <HR> tag.
  - S/MIME: Forwarding a message will include the signed part as part of the \ 
text and not as a multipart message, just as the reply command does.
  - Unix Alpine: If a password file is defined, and S/MIME is enabled, the key \ 
and certificate used to encrypt the password file are saved in the \ 
~/.alpine-smime/.pwd directory, or in the directory specified by the -pwdcertdir \ 
command line option.
  - Add support to selective expunge through a subcommand of the select-apply \ 
commands.
  - Pico: New subcommand of the search command, allows to reverse the direction \ 
of search.
  - Add /tls1, /tls1_1, /tls1_2 and /dtls1 to the definition of a server to use \ 
different ways to connect using ssl, for example {server.com/tls1} will attempt \ 
to connect to server.com at the ssl imap port (port 993) and establish a \ 
connection using TLSv1. These flags can be used in conjunction with the /ssl \ 
flag, the ssl flag is redundant. Conversely, however, the /ssl flag does not \ 
imply any of these flags; the /ssl flag means SSLv3 or, if not available, SSLv2 \ 
in the SSL port.
  - Alpine does not attempt to automatically reopen a collection that was not \ 
opened due to cancellation by the user. Instead, the user must try to open it \ 
explicitly.
  - Alpine searches for a certificate that matches an email address in all \ 
addresses in a certificate (instead of just the first one) but when it tries to \ 
unlock the certificate, it asks for the password for the first email address in \ 
that certificate.
  - Experimental: Write the content-type of a message in lowercase, as some \ 
non-compliant servers do not understand uppercase content-type, such as those of \ 
GMX.de.
  - Experimental: Do not send the RSET command before attempting to send a \ 
message, as this causes a delay in some evily managed servers.
  - Opening a folder updates recent count in maildrops (this already works for \ 
other types of folders)
  - Automatically redraw screen after opening an attachment instead of simply \ 
clearing it.
  - Pico: Justification works without need of a predefined quote string. This \ 
allows justification of blocks of text that are indented with spaces.
  - Decode the name of attachment names, so they can be written as part of the \ 
description of the part.
  - Check bounds and tie strings off to improve security. Contributed by James \ 
Jerkins.
  - Replace tabs by spaces in From and Subject fields to control for size in \ 
screen of these fields. Change only in index screen display.
  - Aggregate operations allows bouncing a list of messages using a role. \ 
Suggested by Ulf-Dietrich Braumann.
  - Disable saving new passwords to the password file. Implemented by Louis \ 
Raphael from dpslabs.com.
  - Makefile: Add $(LIBINTL) to the flags to link rpdump, rpload, alpined and \ 
alpineldap because MAC OSX 10.8 x86_64 needs it. Reported by Charles M. \ 
Register.

Bugs that have been addressed include:

  - S/MIME: signed messages that contained an attachment would not validate.
  - S/MIME: signed and encrypted messages from Thunderbird would not validate.
    Thanks to Andreas Schamanek for testing, debugging and advising during the
    process of fixing this problem.
  - S/MIME: Forwarding messages with multipart content-type failed to be signed
    with "Error writing pipe" message. Reported by Andreas Schamanek \ 
and Stefan
    Mueller.
  - S/MIME: Certificates are lost when using a pinerc file outside of the home
    directory.
  - S/MIME: accessing the S/MIME configuration screen would deinitialize SMIME
    making it not possible to sign or encrypt messages.
  - S/MIME: Forwarding a signed message might make the body contain mime
    information that is not part of the body, and hence making the body of the
message seem wrong.
  - S/MIME Alpine would compute incorrectly the signature of a message that
    contains 8bit if the option "Enable 8bit ESMTP Negotiation" is \ 
enabled, the
message contains 8bit characters and the smtp server supports 8bit sending.
  - When replying to several messages, subject will be decoded first, and then
    stripped from re/fwd before they are compared to determine the subject of
the replied message.
  - Fix in WebAlpine: do not use deprecated dereference in pointer, needs to
    use tcl_getstringresult() instead. Reported by Ulf-Dietrich Braumann.
  - WebAlpine: fail to build with debug disabled. Fix from Sam Hathaway.
  - WebAlpine: add _GNU_SOURCE to make pubcookie build.
  - Transformation of UTF-8 to MUTF7 was not being done when creating a folder
    in an IMAP server.
  - Fix _INIT_ token for reply quote string to include support for 8-bit in
    personal names. Reported by Lev Gorenstein.
  - When writing the .pinerc file, lines were truncated if they were longer
    than 10,000 characters. This could cause data corruption, so now lines are
allowed to be of any length.
  - In Unix Alpine (but not in MAC OSX) fix a problem that made Alpine remove
    attachments before they were open by a mailcap viewer. It requires that the
user has an equivalent to a command such as "ps auxww" to list the list of
processes, and check if there is any program using the attachment. The default
is "/bin/ps auxww", but it can be changed at compile time with the option
--with-ps-cmd. See the help of the variable mailcap-check-interval for more
information.
  - Crash when tcp connection to NNTP server was lost after connection had been
    established, but lost immediately afterwards.
  - Crash with message "lock when already locked", when painting an \ 
index was
    based on scores that needed information from a remote addressbook in the
same server as the folder opened. Reported by Peter Koellner.
  - Crash in message/rfc822 attachments encoded in base64.
  - Postponed messages whose content-type is text/html, text/enriched and
    text/richtext are sent with that content-type, even though, after resuming
composition, Alpine had changed its type to text/plain.
  - Alpine cannot handle correctly some characters in the Windows-1256
    character set, which might lead to a crash or a corruption in the screen.
Work was done to contain the bug. A more complete fix will be done in a future
release. Reported by Professor Robert Funnell.
  - WebAlpine: add _GNU_SOURCE to make pubcookie build.
  - Save command did not warn of existence of a message with a deleted
    attachment in an aggregate save, unless cursor was positioned on a message
with a deleted attachment. Reported by Florian Herzig.
  - DATE tokens were not internally transformed to UTF-8, which made their
    values not appear complete in the screen. Reported by Werner Scheinast.
  - Fixes to configure script so that it will not require PAM for every system.
  - Fix to configure script so that it will use CPPFLAGS instead of CPPCFLAGS,
    and so the --with-ssl-include-dir option take effect during the build. Fix
by Ulf-Dietrich Braumann.
  - Quoted string in URL Viewers configuration variable were not unquoted
    before passing to viewer.
  - Fix in configure script to detect location of tcl library; add /usr/local
    in FreeBSD and fix a bug in configure script that used $alpine_TCLINC
instead of $alpine_TCLINC/tcl.h. Reported and fixed by Werner Scheinast.
  - Move SSL configurations from UW-IMAP to configure script, and update
    OpenSSL configuration for Mac OSX.
  - Remove -lregex from linker flags when building --with-supplied-regex.
  - When the download of an attachment is interrumpted, Alpine stills caches
    what was downloaded, making the download incomplete for subsequent calls of
Alpine attempting to open the attachment. In the future, Alpine will not cache
any downloaded part of the attachment when it is interrupted.  CVS:
----------------------------------------------------------------------

Files:
RevisionActionfile
1.40modifypkgsrc/mail/alpine/Makefile
1.22modifypkgsrc/mail/alpine/distinfo
1.2modifypkgsrc/mail/alpine/patches/patch-imap_src_mtest_mtest.c
1.4removepkgsrc/mail/alpine/patches/patch-aa
1.4removepkgsrc/mail/alpine/patches/patch-ab