* rfc2045/rfc2045reply.c (mkreply): Fix copying of the contents of the
original message.
* msg2html.c (msg2html_download): rfc2231_udecodeDisposition() failure
is not fatal.
* cgi/cgi.c (cgiformdecode): Ditto.
* pcp/pcp.c (list_msg_mime): Ditto.
* liblock/mail.c (dotlock_exists): Handle getting here because of a
recycled pid.
* unicode/unicode.c (init_default_chset): Handle NULL from setlocale().
* rfc2045/reformime.c (main2): Fixed segfault on some arches from an
initial null given to strtok.
* rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly
memory.
* showmsg2html.c (error): Provide a definition for error().
* Fix gcc 4.6 warnings
* sqwebmail.spec.in: switch to systemd. Remove script used when
upgrading from ancient pre-sysconftool versions.
* Fix autoconf warnings.
* gpglib/configure.in: Use "gpg2" if "gpg" is not found.
* sqwebmail.spec.in: Use gnugp2 as a requirement if gnupg is not
installed. Replace vixie-cron with cronie as a listed req.
* mailfilter.c (clrfields): Added the "noquote" option to the filter
screen that sets the donotquote autoreply option.
* rfc822/rfc822.c (rfc822_print_common_nameaddr): Prevent segfault if
address decode fails.
* Fix make check failure when libidn is not available.
* Rebuilt man pages with updated stylesheets.
* gpglib/list.c: Handle GnuPG 2 --with-colons output format changes.
* gpglib/mimegpgfork.c: GnuPG 2 wants --batch when specifying
passphrase-fd.
* rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the
reply salutation.
* html/en-us/newmsg.html: Ditto.
* Big quota patch (with some changes).
(See the Changelog for the previous releases)
Based on patch(es) from PR pkg/42989 by Brian Candler
+ Update courier-maildir and maildrop dependencies to latest (0.58.0 and
2.0.4nb3).
+ Create necessary directories in the rc.d script in a start_precmd.
Bump the PKGREVISION to 2.
* Missing </table> when displaying folder list.
* Use SQWEBMAIL_RANDSEED if it's set, instead of sendit.sh's inode.
* Remove hardcoded reference to TIMEOUTHARD
* Global footer wasn't being added correctly to HTML-formatted mail.
* Fixes to inferred HTML formatting.
* Fix signing of multipart messages that contain 8 bit content.
${COURIER_STATEDIR}/tmp, which defaults to /var/courier/tmp. This
allows some of the servers which drop root privileges too soon to still
write the pid file into a courier-owned directory instead of the
root-owned /var/run.
In mail/courier-mta, de-list ${COURIER_STATEDIR}/webmlm from the list
of owned directories. In fact, webmlmd expects that path to be a
socket file, and breaks horribly if the "webmlm" directory is present
instead.
Bump PKGREVISIONs for the following packages:
mail/courier-imap --> 2
mail/courier-mta --> 9
mail/sqwebmail --> 4
meta-pkgs/courier --> 5
generated permissions.dat file used to create RPMs by the author.
Bump the PKGREVISIONs:
meta-pkg/courier --> 4
mail/courier-mta --> 8
mail/sqwebmail --> 3
that called openldap's ldapsearch binary into a standalone binary. We
no longer need to copy "ldapsearch" into ${PKG_SYSCONFDIR} so that the
user can edit it.
Bump the PKGREVISION to 2.
+ Move a few more things around so that it looks more like a default
installation of Courier. In particular, the "cgi-bin" directory has
been renamed "webmail", and sbin/sqwebmaild to sbin/webmaild.
* Use address returned from authlib as return address of sent messages.
* Forbid rename folder if new folder name contains a dot.
* Quietly prune trailing ':' from the tail end of a header name.
* Trim whitespace from login username and new folder names.
into the Makefiles of the packages that include it:
(1) PKGNAME and PKG_SUPPORTED_OPTIONS clearly no longer need to be
defined since the only code that used it in Makefile.common was
removed.
(2) Package Makefiles need to properly define PKG_OPTIONS_VAR and
PKG_SUPPORTED_OPTIONS prior to including bsd.options.mk. Set
them to the appropriate values to match the orginal names from
before the botched migration.
(1) they are more likely to do the right thing if the user sets
rc_fast_and_loose; and
(2) they pre-create any necessary directories prior to start the
respective services.
Also, fix the path to the courierwebadmin binary in SPECIAL_PERMS for the
courier-mta package.
Bump the PKGREVISION.
* Fix monthly rotation of sent folder on multilingual systems.
* Miscellaneous small i18n fixes.
* New "any message" webmail filter option.
* Improve the "message limit exceeded" error message.
* New checkbox on the login form enables/disables soft timeout.
* Create an invisible frame at login time that reloads at
timeoutsoft/2 intervals, thus keeping the session alive
* Fix bug where overriding TIMEOUTSOFT via environment variables may
cause calendar session to timeout prematurely
+ Add an INSTALL script that detects the presence of the old
sqwebmail state directory and that informs the admin to move it
to the new location.
+ Install some more of the HTML documentation in the location expected
by courier-mta.
* Complete re-implementation of the LDAP addressbook.
* Increase the maximum size of the CGI environment to avoid certain
classes of browser/website problems.
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
* Update attribute count, after purging invalid html syntax/
* Fix some HTML display bugs
* When using GPG, sign the entire message in its entirety, instead
of signing each MIME part separately. Some E-mail clients cannot
handle individually-signed multipart/alternative content.
* Fix HTML templates (remove 8bit content inserted by Amaya).
* Wiki-style composition of HTML messages.
Also, the "fam" option is noted to be supported here now, although
the logic to handle it is still in mail/courier-maildir/Makefile.common.
* Use PCRE for pattern-matching
* When autopurging messages from a folder based on their
timestamp, scan 'new' in addition to 'cur', otherwise mail
delivered to the folder directly never gets purged, unless
the folder is open.
* Filter out <!-- > constructs, they are parsed by MSIE.
* Remove attributes with imbalanced quotes, to prevent
cross-side scripting vulnerabilities with some browsers.
* Show each attachment's MIME content type.
* sqwebmail: Implemented account groups, administrator group.
* sqwebmaild.dist.in (LOGGEROPTS): Added LOGGEROPTS setting.
* gpglib/gpg.c: gnupg returns non-zero exit even if succesfully
unencrypted, when just the signature is bad.
* sv-make_timezonelist.pl: Added /usr/share/lib/zoneinfo to the
search list.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
pass the real "env" command path to the configure script. This avoids
the configure script just detecting "env" in the tools directory and
assuming that's the path to the real thing. This fixes PR pkg/30282.
processes. Since sqwebmail uses GNU automake, we need to set AM_MAKEFLAGS
to the correct value. This fixes the installation of the *.dist files
into ${PREFIX}/share/examples/sqwebmail.
And always is defined as share/examples/rc.d
which was the default before.
This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.
This was discussed on tech-pkg in late January and late April.
Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.