./mail/alpine, Program for Internet News and E-mail

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


Branch: CURRENT, Version: 2.21, Package name: alpine-2.21, Maintainer: pkgsrc-users

Alpine is the replacement for the Pine email and news client.

Alpine is a screen-oriented message-handling tool. In its default
configuration, Alpine offers an intentionally limited set of
functions geared toward the novice user, but it also has a large
list of optional "power-user" and personal-preference features.

This package currently only installs the alpine binary, excluding
the pilot and pico binaries which would cause it to conflict with
the pine package.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 99e39225af29fa3ef8b6d70e703b3f0f4ab19897
RMD160: 627002cea8fecb2e4f418ff6f94e89e9b334c474
Filesize: 4610.211 KB

Version history: (Expand)


CVS history: (Expand)


   2018-07-24 14:39:37 by Benny Siegert | Files touched by this commit (3) | Package updated
Log message:
Update alpine to 2.21.

Patch (minus the mtest.c one) from Marco Beishuizen in PR pkg/53437.

Additions include:

- PC-Alpine: New configuration option "Aspell Dictionaries"
allows a user to choose the dictionary used to spell check, in case the
user communicates in more than one language. Examples of values for the
variable are "en_US" or "de_DE", etc. Only the first
10 dictionaries are offered.

- Unix-Alpine: Connect securely to a LDAP server on a secure port. Based
on a contribution by Wang Kang.

- Colors configured in Alpine are inherited in the composer.

- When Alpine is compiled with password file and SMIME support the
password file is encrypted using a private key/public certificate pair. If
one such pair cannot be found, one will be created.

- Alpine builds with any version of OpenSSL greater than or equal to
1.0.0c. This includes version 1.1.0. Alpine also builds with LibreSSL.

- New SHORTSUBJECT, SHORTSUBJKEY and SHORTSUBJKEYINIT token for index
format, which removes text in the SUBJECT between "[" and "]".

- New SMARTTIME24 token for index screen. It is close to SMARTDATETIME but
it differns in that it gives the time in which the message was sent for
messages that are less than a week old. it uses a 24 hour format.

- Alpine will include attachments when forwarding some
multipart/alternative messages for which it did not use to include
attachments.

- New configuration option alternate-reply-menu which adds more ways to
control features and variables when you start to reply to a message.

- Added support for RFC 2971 - IMAP ID extension.

- Add configuration ignore-size-changes that allows users to ignore errors
in the computation of the size of a message from defective servers.

- SMIME: Upgrade the default signature digest from sha1 to sha-256, since
clients such as Thunderbird do not validate signatures that use sha1 digest.

- Add the configuration variable "default-directories", which is
called default-directories, which is a variable saves a list of
directories that are readily accessible for save or export of attachments.
This makes it easier to save attachments in directories that are hard to
navigate to, or that are accessed frequently.

- When a filename is attached and its name is encoded, the save attachment
command will offer to save the file in the encoded form. This might work
for some users, but the save command will have a subcommand ^N to decode
the file name and save the file with the decoded name.

- The TAB key allows autocomplete in the Fcc field in the composer
headers, as well as autocompletes automatically when only one possibility
exists for the ^J attach command.

- Add support for the "TYPE" and "VALUE" attributes of
the html OL tag.

- Ignore message from smtp server after a successful authentication
challenge.

- When a message is saved in the Form Letter folder, add the ability to
save the role being used to compose such message so that settings such as
the SMTP server set in the role can be used when sending such form
message. Suggested and patched by Frank Doepper.

- If SSLDIR is defined somehow, do not disable S/MIME if the SSLCERTSDIR
is not found.

- When Alpine sends an attachment, it will set the boundary attribute in
lower case, as some SMTP servers, such as those of libero.it reject
messages if the boundary attribute is in uppercase.

- Add the ability to change the private key and certificates used to
encrypt a password file in the SMIME setup configuration screen.

- SMIME: The ctrl-E command that gives information on the certificate is
only available for messages that have a signed or encrypted part.

- SMIME: If a message contains a RFC822 attachment that is
signed/decrypted add the ability to view its SMIME information.

- SMIME: Certificate information in the S/MIME screen is available for
certificates stored in a container.

- SMIME: Offer the common name of the person, instead of the name of file
containing the certificate, as the name to be displayed in the certificate
management screen for certificate authorities. Suggested by Matthias
Rieber.

- SMIME: Management of several alternate name (SAN) certificates is
improved. When importing a SAN certificate, also import a certificate for
the filename, besides for the e-mail addresses in the certificate.
Suggested by Matthias Rieber.

- SMIME: add full year when displaying information about a certificate in
the certificate management screen. Suggested by Matthias Rieber.

- SMIME: sort certificates by some type of alphabetical order in the
displayed name.

- SMIME: Alpine will ask users if they wish to save S/MIME certificates
included in signatures, when the option "Validate Using Certificate Store
Only" is enabled. If the user does not wish to save it, validation will
fail.

- HTML: Add support for decoding entities in hexadecimal notation.
Suggested by Tulipant Gergely.

- The "#" command, when used as part of an aggregate operation will allow
users to select the role used in either replying, forwarding or replying
to the group of selected messages, Suggested by Hisashi T Fujinaka.

- If the charset of a message can not be determined, use the value set in
the unknown charset set value for its value.

- Resizing setup screen will redraw screen.

- Unix Alpine only. Experimental: If Alpine/Pico finds a UCS4 code in the
width ambiguous zone, it will use other means to determine the width, such
as call wcwidth.

- Pico: Code reorganization in the search command to make it easier to add
subcommands of the search command.

- Pico: Search command can do a case sensitive match. Use the Ctrl-^
subcommand of the search command to bring this choice into view.

- Pico: Add the ability to search for strings in the beginning or end of a
line. Use the Ctrl-^ subcommand of the search command to bring this choice
into view.

- For a multipart/alternative message, the Take Address command will work
on the part that is being read.

- When sending a message, allow for 512 characters of consecutive
non-white space before folding the subject line.

- Make sure titlebar (the line at the top of the screen) always contains
the name of the folder/newsgroup that is open, if this fits in the title.

- The feature scramble-message-id will also scramble the name, version and
operative system in the message-id header. Based on a contribution by
Dennis Davis, which is itself based on a contribution by Mark Hills.

- Change in logic in imap_set_password function to make Alpine ask if a
user wants to save a password before reading the password file.

- When exporting all parts of a message, if two attachments have the same
name, do not overwrite a file more than once, but instead add a counter
number to the filename to make a new file that does not exist in the file
system.

- Add the Control-R subcommand to the save command for attachments. This
subcommand toggles if the saving will be done in binary mode for text
attachments. When a user saves an attachment using binary mode it will be
saved as it was sent, otherwise the attachment will be transformed to
UTF-8 for further transformation through internal and user defined filters
for saving.

- Add command line argument -smimedir, which allows to specify the default
path for a directory that contains the public, private, and ca
directories. This is useful in case a user has a backup of old
certificates that cannot be installed in the ~/.alpine-smime dir.

- Reimplementation of the code that allows the .pinerc file to be a
symbolic link by Kyle George from tcpsoft.com to use realpath.

- When saving an attachment, the "^T" command leads to a screen where the
"A" command can be used to add a file. A directory can be added by
pressing "^X" after the "A" command. Added after a \ 
suggestion by Stefan
Goessling.

- When saving an attachment, the ^Y and ^V commands allow a user to scroll
through the history of directories used to save attachments, while
preserving the given name of the file. Suggested by Peter Koellner.

- SMIME: Turn off automatic signing and encrypting of a message when
bouncing. Suggested after a discussion with Matthias Rieber.

- When messages are selected, warn the user if a message that is not
selected will be bounced, or if not all selected messages will be bounced.
Suggested by Ulf-Dietrich Braumann.

- The bounce command adds a subcommand to choose a role.

- When selecting messages by number, the "." character can be
used to specify the message on which the cursor is on.

- When Alpine opens an attachment, it sometimes changes the extension of
the file that is being opened and replaces it by another for the same mime
type. If Alpine finds that the extension of the file corresponds with the
mime type, according to the mime-types file, then it will keep it, and no
substitution will be made.

- Set no restrictions on the length of encoded subjects, but encode words
in length of no more than 75 characters.

Bugs that have been addressed include:

- SMIME: Crash when a certificate has an invalid date of validity. Also
Alpine will use the function ASN1_TIME_print to determine the date of
validity. Reported by Ben Stienstra.

- SMIME: Crash when attempting to unlock the password file and an
incorrect password is entered.

- SMIME: Crash when checking the signature of a message that contains a
RFC822 attached message. Reported by Holger Trapp and Bjorn Krellner.

- SMIME: Cancelling entering password to unlock key will not reprompt.

- SMIME: fix a bug that did not allow users to transfer certificates to
remote containers. Reported by Matthias Rieber.

- SMIME: certificates included in messages were not being transferred to a
remote container.

- SMIME: Crash if public certificates are located in an inaccessible
remote server and the private key is not available.

- SMIME: Alpine does not remove temporary files created when adding a CA
certificate to a container. Reported by Holger Trapp.

- SMIME: When reading a local certificate, Alpine converts the name of the
certificate to lowercase, which may make Alpine not be able to read such
certificate. Reported by Dennis Davis.

- SMIME: If the option "Remember S/MIME Passphrase" is disabled, then
entering a password to read an encrypted message will make Alpine forget
the key and not ask the password to unlock it again in case it is
necessary to unlock it again. Reported by Ulf-Dietrich Braumann.

- Alpine would use freed memory while trying to compute the color of the
titlebar. This happened when trying to continue a postponed message.

- Alpine failed to read an encrypted password file if too many passwords
were saved in the password file.

- When selecting messages while in Threaded Index Screen, some messages
other than top of threads could appear in the index, making Alpine display
messages "out of the screen."

- The index format would be chopped at the position of an unrecognized
token, instead of skipping the token as intended.

- Work in progress: Avoid calling non-safe functions when Alpine receives
a signal. See bug report
https://bugs.debian.org/cgi-bin/bugrepo … ug=825772.

- Crash when attempting to read a message after a bounce command. In order
to produce a crash one needed to use the ^T subcommand and do a search in
a LDAP directory. The crash is produced by changes to the text in the
title bar. Reported by Heinrich Mislik in the Alpine-info list.

- HTML messages that contain UTF-8 may wrap at the wrong position, making
Alpine not display the correct character at the position that wrapping is
done. Reported by Wang Kang.

- Pico: Searching for a string that is too long causes Pico to crash in
the next search.

- Fix vulnerability in regex library. This only affects those who use this
library, such as the windows version of Alpine. See
http://www.kb.cert.org/vuls/id/695940&q … /id/695940
for more details.

- Alpine would not set include and lib paths for OpenSSL if this was
installed in /usr/local/ssl.

- If the .pinerc file is a symbolic link, Alpine might not write its
contents when saving its configuration.

- The _INIT_ token does not skip over non-alphanumeric characters in the
name. Reported by Andreas Fehr.

- When opening an INBOX folder in a context different from the incoming
folders collection, from the command line, Alpine would open the INBOX
folder from the incoming folders collection.

- Mismatch in size of UCS and CELL caused a corruption in the content of a
pointer, which made the speller in PC-Alpine get the content of a word
incorrectly.

- Skip testing openssl compatibility version when cross-compilation is
detected. Fix contributed by Antti Seppalla

- Alpine fails to remove temporary files used during a display or sending
filter. Fix contributed by Phil Brooke.

- When the index is in zoomed state, adding new messages to the selection
would not show those messages if those messages are on top of the current
message in the top of the screen. Reported by Ulf-Dietrich Braumann. In
addition, when the user scrolls through the index, this scroll smoothly,
without jumping pages. Reported by Holger Trapp.

- Crash when reviewing history of saving attachments.

- Crash when canceling a goto command on a local collection that has not
been expanded and attempting to expand such collection.

- Crash in Pico when forwarding messages that contain a direction mark at
the end of a line. Reported by James Mingo.

- Solve compilation errors when Alpine is built with Visual Studio 2015.
   2017-10-09 10:06:20 by Thomas Klausner | Files touched by this commit (1)
Log message:
alpine: comment out dead sites
   2016-05-14 18:13:10 by Benny Siegert | Files touched by this commit (5) | Package updated
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:
----------------------------------------------------------------------
   2016-03-05 12:29:49 by Jonathan Perkin | Files touched by this commit (1813) | Package updated
Log message:
Bump PKGREVISION for security/openssl ABI bump.
   2016-02-25 16:00:51 by Jonathan Perkin | Files touched by this commit (22)
Log message:
Use OPSYSVARS.
   2015-11-08 21:13:24 by David A. Holland | Files touched by this commit (2)
Log message:
unchecked buffers considered harmful; fixes openbsd build.
   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-10-26 00:48:11 by D'Arcy J.M. Cain | Files touched by this commit (1)
Log message:
Build with password file support.