summaryrefslogtreecommitdiff
path: root/mail/squirrelmail
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09Bump PKGREVISION by changing of default PHP version.taca1-2/+2
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-1/+2
2019-07-24mail/squirrelmail: update to 1.4.23pre14832taca3-10/+10
Update squirrelmail to 1.4.23pre14832. - Changed anti-CSRF security token lifetime to be session-based. - Added favicon and ability for admins to use their own by setting $head_tag_extra in config_local.php (see documented comments in, for example, src/webmail.php) - Altered hook types "do_hook_function" and "concat_hook_function" such that the ultimate hook return value (in its current state, as computed (or not) by the plugins that have executed previously) is both globalized and passed as an additional argument to each plugin. This allows plugins to cooperate better and not overwrite each other's return values. - Updated SVG handling, closing several related vulnerabilities (#2831) [CVE-2018-14950] [CVE-2018-14951] [CVE-2018-14952] [CVE-2018-14953] [CVE-2018-14954] [CVE-2018-14955] - Added IMAP ID command (RFC2971), sent after every login - use by setting $imap_id_command_args in config/config_local.php (see notes in functions/imap_general.php for more details) - Fixed PHP7 warnings (#2847) - Added handling for RCDATA and RAWTEXT elements in HTML sanitizer [CVE-2019-12970]
2019-05-23all: replace SUBST_SED with the simpler SUBST_VARSrillig1-4/+4
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
2018-08-22Recursive bump for perl5-5.28.0wiz1-1/+2
2018-04-30mail/squirrelmail: update to 1.4.23pre14764taca3-13/+12
Fix CVE-2018-8741 and more. - Added ability (and user preference) to return to message list after moving a message - Search enhancement: Added ability to search in more than one header without having to search the body - Add ability for saved drafts to indicate if they are a reply and if so, to which message, and mark that message as replied when the draft is finally sent - Added option to allow returning to the message one had been replying to after sending - Sanitize user-supplied attachment filenames (thanks to Florian Grunow for reporting this issue) [CVE-2018-8741] - Allow users who cannot edit their email address but who have multiple identities to edit all their identities
2017-06-21Update squirrelmail to 1.4.23pre14688.taca4-32/+9
Note: CVE-2017-7692 is already fixed by 1.4.23pre14605nb1. - compose_send hook now has $draft flag in hook arguments - Fixed insufficient sendmail command argument escaping (thanks to Mitchel Sahertian, Beyond Security/Dawid Golunski and Filippo Cavallarin for bringing this to our attention). [CVE-2017-7692] - Upgraded preferences for the delete_move_next plugin. Automatic user preference updates are included, but note that if your installation is new, or all user prefs have been converted from "on"/"off" to 0/1 then you can add the following to SquirrelMail's config/config_local.php to avoid convertign legacy values over and over: $do_not_convert_delete_move_next_legacy_preferences = TRUE; - Added ability to control the display of the "Check Spelling" button provided by the squirrelspell plugin, which allows administrators to offer this plugin but keep it out of the way for users who do not want it. Put sqspell_show_button=0 in default preferences if it should be hidden by default
2017-04-19squirrelmail: patch remote code execution (CVE-2017-7692)maya3-2/+27
separately escape tainted input before feeding it into popen. https://www.wearesegment.com/research/Squirrelmail-Remote-Code-Execution.html patch from Filipo Cavallarin@wearesegment, who also found the vulnerability. bump PKGREVISION
2016-11-17Update squirrelmail to 1.4.23pre14605, latest snapshot.taca3-23/+7
PHP 7.0 support should be improved, too. - Added new "smtp_helo_override" hook; allows plugins to override the HELO host sent to the SMTP server when sending messages - Added STARTTLS support for both IMAP and SMTP connections - Added PDO support for database connections, so no external database module needs to be installed
2016-09-30Remove patch on a localy installed file that did not belong to the distributionmanu3-36/+3
2016-09-27Syntax error and PHP 5 compatibility fixes in squirrelmail pluginsmanu4-3/+51
From Jean-Jacques Puig
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-1/+2
2015-11-03Add SHA512 digests for distfiles for mail categoryagc1-1/+2
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-09-06Update squirrelmail to new snapshot, 1.4.23pre14523.taca3-11/+17
Should be fix PR pkg/50197. Here is changes from previous pkgsrc's snapshot. Version 1.4.23 - SVN -------------------- ... - Added Solarized Light and Solarized Dark themes, by Pavneet Arora. - Added associative edit list option widget, with optional folder list selector for values - Added option to use blank spacer instead of security image ("This image has been removed for security reasons.") for replacing unsafe images. - Full date and time is used as "title" (mouseover) text for dates shown on the message list screen - Custom Stylesheets are now sorted on the Display Preferences page - $xtra in the displayHtmlHeader function is now available in the global scope so that plugins can modify it during the generic_header hook - Added some generic client-side (JavaScript) libraries (including an asynchronous server request mechansim). See the new /scripts directory (plugin authors can refer to the plugin documentation for how to use them) - Added optional JavaScript folder list refresh ("check mail") mechanisms that try to avoid refreshing if server is not responding - see the $check_mail_mechanism setting in config/config.php or the "4. General Options ==> "21. Auto check mail mechanism" setting in the configuration tool. (If you do not update your configuration, you will get messages in your logs: "PHP Notice: Undefined variable: check_mail_mechanism in /path/to/squirrelmail/src/left_main.php on line 322...") - Added advanced control over the SSL context used when connecting to the SMTP and IMAP servers over SSL/TLS (thanks to Emmanuel Dreyfus). You can take a look at $imap_stream_options and $smtp_stream_options in config_local.example.php in SquirrelMail version 1.5.2 for more information. These configuration settings should work the same under 1.4.23: http://sourceforge.net/p/squirrelmail/code/HEAD/tree/trunk/squirrelmail/config/config_local.example.php - Added ability to show login error from the IMAP server instead of traditional "Unknown user or password incorrect" (thanks to Alain Williams). See $display_imap_login_error in the configuration file or "4. General Options ==> 22. Display login error from IMAP" in the configuration tool. - Configuration tool now shows the SquirrelMail version - Added new attachments_top hook to src/read_body.php - When resuming a draft, correct (from) identity is now pre-selected - Removed overly-restrictive character limitations on address book nicknames - Prevent session lock-up caused by filters plugin trying to move messages in an account that is over quota - Added MD5 alternative to directory hash calculation - Added ability for administrator to control whether or not users can edit their reply-to address ($edit_reply_to in config.php) - Added new "login_before_page_header" (boolean) hook; allows plugins to have more explicit control over login page header
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
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-31Bump all packages for perl-5.18, thatwiz1-2/+2
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.
2013-03-16Bump PKGREVISION from default PHP version change to 5.4.obache1-1/+2
2012-12-28Update squirrelmail to 1.4.23pre14345, snap shot from squirrelmail'staca5-18/+30
repository. Approved by wiz@. * Now work well with PHP 5.4 and later. Version 1.4.23 - SVN -------------------- - Added capability to issue SEARCH commands in literal format (so that non-ASCII search terms are handled RFC-correctly). - Fixed hook name clash: new "smtp_auth" hook added in version 1.4.22 has been renamed to "smtp_authenticate" - Added SASL PLAIN mechanism for IMAP logins; backported from version 1.5.2. - Prevent syslog warning in call_user_func_array() call when no arguments given. Patch from Jean-Philippe Guerard (#3309935). - Changed the read_body_menu_top hook from concat_hook_function to do_hook_function (plugin authors please note) - Always ensure that the Reply-To header is a full email address in outgoing messages - Fixed issue with Noselect mailboxes being clickable in folder list - Made performance improvements in mailbox listing - Attachment filename extensions changed from ".msg" to ".eml" - Unified address book searches somewhat: file-backed address books now search in each field individually; database-backed address books now search in fields other than first/last name (nickname, email); LDAP- backed address books now search in common name fields as well as by email address (cn, sn, givenname, mail) - You may now enable LDAP-backed address books to be listed (using the "List all" button on the address search screen accessed via the "Addresses" button on the compose screen) by adding "$ldap_abook_allow_listing = TRUE;" (without quotes) to config/config_local.php (previously, this required editing of a file). - Added ability to control browser rendering mode (quirks versus standards) - see the $browser_rendering_mode setting in config/config.php or the "4. General Options ==> 19. Browser rendering mode" setting in the configuration tool (#3240356). - Added "search_index_before" hook (analog of the "mailbox_index_before" hook) - Made performance improvements in security token handling - Improvements for compatibility with PHP 5.4. - Added option that allows users to have replies to their own messages sent to the recipient of the previous message (#3520988).
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2011-09-16Bump PKGREVISION from PHP_VERSION_DEFAULT changes.obache1-1/+2
2011-07-13Update squirrelmail package to 1.4.22.taca4-8/+14
Version 1.4.22 - 12 July 2011 ----------------------------- - Backported default timezone fix from version 1.5.2; helps mitigate timezone errors in environments where a default has not been set by the administrator. - Fixed system lock-ups caused by a combination of certain rare, malformed message headers and buggy versions of PHP mbstring (#3053349). - Now allow multiple plugins to handle (add links for) a single attachment MIME type. - Now allow administrators to disable all plugins or enable just a select few plugins (overriding the active plugins in the normal configuration) by setting $temporary_plugins as an empty array (all disabled) or an array with one or more plugin directory names in config_local.php. - Backport fix for call_user_func_array not supporting NULL as empty array in PHP 5.3.3 - Fixed sqauth_read_password() for plugins on the login_verified hook. - Added SMTP SASL PLAIN authentication option to configuration tool (core support for such is not new). - Gmail doens't support standard search commands; removed sort buttons. - Forced addition of a file suffix to attachments that lack a filename (helps forwarded messages avoid spam filters) (thanks to Petr Kletecka) (#3139004). - Fixed missing security token in listcommands plugin. - Added smtp_auth hook (thanks to Emmanuel Dreyfus). - Made speed enhancements to threaded message display (thanks to Siim Poder) (#3288123). - Allow administrators to configure subfolders of user INBOXes to be treated as special folders by adding $subfolders_of_inbox_are_special to config_local.php. - Fixed incorrect display of INBOX subfolders under some configurations. IMPORTANT: You may need to update your configuration so that $default_sub_of_inbox is TRUE if it was FALSE (e.g., Courier IMAP users) and after updating to this version, your special folders are no longer listed at the top of your folder list. Also, if this change prevents users from logging in with an error such as "ERROR: Could not complete request. Query: CREATE "Trash" Reason Given: Invalid mailbox name.", you will need to correct the user preference values for the problem folders. You can do so with commands such as the following for file- based preferences (adjust the data directory location as needed): find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Trash/trash_folder=INBOX.Trash/g' {} \; find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Drafts/trash_folder=INBOX.Drafts/g' {} \; find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Sent/trash_folder=INBOX.Sent/g' {} \; Or, for database-based preferences: UPDATE userprefs SET prefval = 'INBOX.Trash' WHERE prefkey = 'trash_folder' AND prefval = 'Trash'; UPDATE userprefs SET prefval = 'INBOX.Drafts' WHERE prefkey = 'draft_folder' AND prefval = 'Drafts'; UPDATE userprefs SET prefval = 'INBOX.Sent' WHERE prefkey = 'sent_folder' AND prefval = 'Sent'; MAKE SURE to back up your user preferences first! - Optimized message highlighting rules; faster message list display and faster highlight rules management (thanks to C. Bensend for extensive effort helping diagnose) - New Mail plugin no longer removes normal organization title when putting the number of new messages in the browser title - Added clickjacking protection (thanks to Asbjorn Thorsen and Geir Hansen for bringing this to our attention). [CVE-2010-4554] - Fixed XSS holes in generic options inputs, XSS hole in the SquirrelSpell plugin, XSS hole in the Index Order page, and added anti-CSRF protection to the empty trash feature and the Index Order page (thanks to Nicholas Carlini for finding all these issues). [CVE-2010-4555] - Fixed XSS problem with unsanitized style tags in messages. [CVE-2011-2023]
2011-07-13take MAINTAINER.taca1-2/+2
2010-09-28Reset maintainer.wiz1-2/+2
2010-07-24Update "squirremail" package to version 1.4.21. Changes since 1.4.20:tron3-7/+9
- Now allow more than one plugin to control the compose form submit action. - When sorting by received date, the received date is now shown on the message list. - Explicitly disable browser caching for left_main and right_main pages (#2983134). - Fix error with SpamCop reporting plugin not being able to send report as emails (#1795310). - Fix typo in SpamCop plugin. - Reduced default time security tokens stay valid from 30 days to 2 days (reduces chances of session data growing too large) - Several speed enhancements for recent fixes regarding the display of encoded subjects, including a fix for messages with invalid subject encoding (includes #2987016 amongst several other issues reported via mailing list, etc.) (Many thanks to Zdenek Pytela for the untiring help diagnosing and testing.) - Fixed minor vulnerability in Mail Fetch plugin. [CVE-2010-1637/TEHTRI-SA-2010-009] - Now properly quote personal part of encoded addresses when replying. - Now fill in default subject when forwarding as attachment (#2936541). - Implement header folding that doesn't add extraneous spaces so unfolding is less ambiguous (#1951776). - Fixed issues caused by use of PostgreSQL keyword "user" in SquirrelMail's default preferences database schema (#2943483). - Fixed attachment filename decoding problems (#2994865). - Now default search criteria to the TO header when searching the sent folder. - Fixed literal processing of 8-bit usernames/passwords during login. [CVE-2010-2813]
2010-03-07Update squirrelmail pacakge to 1.4.20.taca26-507/+17
Version 1.4.20 - 06 Mar 2010 --------------------------- - Fixed issue with search not using literals correctly (#2846511). - Fixed issue with returning to search results due to new security token code. - Fixed issue with multi-part related messages not showing all attachments (#2830140). - Fixed for security token missing in newmail plugin (#2919418). - Fixed sort in Sent folder to sort by "To" field instead of "From" field (#2907412). - Fixed mailto: urls containing + characters. Thanks to Michael Puls II for the patch. - Made base URL autodetection more robust; fixes some lighttpd issues (probably #1741469). - Encoded From headers are now properly quoted (#2830141). - Multibyte strings (notably subjects) are now handled correctly (#2824813, #2925731). - X-DNS-Prefetch-Control: off header is now sent to browsers to prevent information leakage when Firefox does DNS prefetching for URLs contained in emails. - Added unread links in message view. - Added the ability to configure Google Mail (Gmail) as the mail server behind SquirrelMail. - Added option in display preferences that allows the signature to be stripped from the original message when replying (#2952876). Thanks to Sven Strickroth.
2010-03-05Fix wrong CONF_FILES handling.taca2-8/+14
Bump PKGREVISION.
2010-03-04Overhaul squirrelmail package:taca25-61/+504
* Add DESTDIR support. * Add more changes from squirrelmail's repositry including secure token support, hoping early release of real 1.4.20. Bump PKGREVISION.
2010-02-05Add a patch from Jonathan Angliss fixing IMAP search problems:wiz3-3/+77
http://thread.gmane.org/gmane.mail.squirrelmail.user/36642 Bump PKGREVISION.
2009-10-04Add two small fix:taca4-3/+50
* Use case ignore match for detecting encoded header. This is language independent problem. * Improve handling of file name of attachment in Japanese environment. These fixes make squirrelmail usable after remove of japaneses patch. Bump PKGREVISION.
2009-09-29Obsolete squirrelmail-japanese and squirrelmail-lite package options.taca3-27/+3
* Currently, squirrelmail package is brokwn when enable squirrelmail-japanese option and are/squirrelmail/functions/decode/iso_2022_jp.php was conflicted between squirrelmail and squirrelmail-decode package. * squirrelmail-japanese isn't available for squirrelmail-1.4.20-RC2. Bump PKGREVISION.
2009-08-26Update "squirremail" package to version 1.4.20rc2. Changes since 1.4.19:tron3-14/+10
- Protect message deletion with security token system. (Secunia Advisory SA346) - Removed the shut down DSBL blocklists (#2796734). - Fixed broken RFC1918 reference in contrib/.htaccess and doc/.htaccess (#2798839). - Updated INSTALL doc to remove possible bad system admin typos (#2827153). - PHP 5.3 deprecates ereg functions (#2820952). - Filters plugin uses badly formatted literals request (#2805201). - Provide option for complete removal of usernames and user IP addresses from message headers, and remove personal data from Message ID seed. (#880029/847107) - Implemented page referal verification mechanism. (Secunia Advisory SA34627) - Implemented security token system. (Secunia Advisory SA34627) Approved by Martti Kuparinen.
2009-06-14Remove @dirrm entries from PLISTsjoerg1-50/+1
2009-05-22Update Japanese patch.taca3-10/+10
Bump PKGREVISION.
2009-05-22Fixed PLIST issues.martti2-3/+5
2009-05-22Updatedmartti1-2/+2
2009-05-22Updated squirrelmail to 1.4.19martti3-8/+10
The security fix to map_yp_alias in 1.4.18 turned out to be incomplete. We also expierenced some regressions in the updated filter plugin. Both are addressed in this new release 1.4.19 which contains a few other small fixes aswell. If you do not use map_yp_alias or the filters plugin there's no urgent need to upgrade now if you already installed 1.4.18. If you are still on an older release than 1.4.18 (or use the mentioned functionality) we do urge you to upgrade as soon as possible as 1.4.18 and 1.4.19 combined fix some important security issues. Those using the development branch (1.5.x) should install a recent SVN snapshot.
2009-05-15Enable squirrelmail-japanese option with Japanese patch:taca3-10/+13
squirrelmail-1.4.16-ja-20081013-patch. Bump PKGREVISION.
2009-05-14Since iso_2022_jp.php isn't included in squirrelmail distribution,taca1-4/+1
remove extra pre-configure processing.
2009-05-14Updated mail/squirrelmail to 1.4.18martti4-62/+71
The SquirrelMail Team is pleased to announce the release of SquirrelMail version 1.4.18. The most notable changes for this version are several security fixes, including a couple XSS exploits, a session fixation issue, and an obscure but dangerous server-side code execution hole. However, this version also includes three new languages and more than a few enhancements to things such as the filters plugin, the address book system and other things under the hood. For more complete details, see the ReleaseNotes and ChangeLog files included in this release (they have moved to the doc/ directory). We advise all users of SquirrelMail software to upgrade.
2009-05-12Activated LICENSE=...martti1-2/+2
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-12-04Updated mail/squirrelmail to 1.4.17martti4-10/+11
The SquirrelMail team is happy to announce the release of version 1.4.17. The most notable change is a security fix that prevents certain specially-crafted hyperlinks within messages from executing cross-site scripting attacks. For other details, see the ReleaseNotes file included in this release. We advise all users of SquirrelMail software to upgrade.
2008-11-19Update Japanese patch to squirrelmail-1.4.16-ja-20081013.taca3-10/+10
No functional should be changed though. Bump PKGREVISION.
2008-09-28Updated mail/squirrelmail to 1.4.16martti5-21/+17
The SquirrelMail team is happy to announce the release 1.4.16. The most notable change is that cookies are now sent with the secure attribute set for HTTPS-connections, meaning that they cannot leak to an HTTP-connection on the same SquirrelMail installation. For details see the included ReleaseNotes. We advise users that offer their SquirrelMail both over HTTP and HTTPS to upgrade.
2008-05-27Version 1.4.15 - 23 May 2008martti7-22/+26
---------------------------- - Fix saving of Read Receipts to Sent folder. - Converted Romanian (ro_RO) to UTF-8. - Converted Slovak (sk_SK) to UTF-8. - Converted Swedish (sv_SE) to UTF-8. - Added support for Macedonian. - Don't allow invalid plugin names in conf.pl --install-plugin. - Fix warning in Printer Friendly due to missing include (#1849101). - Let configtest.php use optional PEAR dynamic extension loading, patch by Walter Huijbers (#1833123). - Fix for IMAP servers that were having problems saving sent messages. - Fix broken <style> tag parsing for some HTML messages, thanks Roalt Zijlstra. - Re-added support for Vietnamese. - Fixed broken MDN functionality (send read confirmation). - Converted Norwegian Bokm�l (nb_NO) to UTF-8. - Converted traditional Chinese (zh_TW) to UTF-8. - Avoid deprecation notices on get_magic_quotes_* functions. - Improved Message-ID generation code. - Added edit list, checkbox, radio group, multiple-select folder list and multiple-select string list option widget types, as well as support for the "trailing_text" widget attribute. - Boolean option widgets are henceforth presented as checkboxes. - Tidied up fortune plugin to be inline with specifications for plugins. - Enhanced address book page: added 'Compose to' button, put labels around address entries tied to checkboxes, improved column spacing, added hook for plugins that can filter address book listings. Complements RisuMail team (risumail.jp).
2008-05-25Explicitly add pax dependency in those Makefiles that use it (or havejoerg1-1/+3
patches to add it). Drop pax from the default USE_TOOLS list. Make bsdtar the default for those places that wanted gtar to extract long links etc, as bsdtar can be built of the tree.
2008-03-04Mechanical changes to add DESTDIR support to packages that installjlam1-2/+2
their files via a custom do-install target.
2007-12-15Catch up squirrelmail-japanese patch to 1.4.12-ja-20071205.taca3-10/+10
Bump PKG_REVISION.