summaryrefslogtreecommitdiff
path: root/mail/squirrelmail
AgeCommit message (Collapse)AuthorFilesLines
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.
2007-12-14Updated mail/squirrelmail to 1.4.13martti3-7/+8
(pkgsrc notice: we were using the original, known-to-be-good 1.4.12 distfile so all your servers should be fine) Due to the package compromise of 1.4.11, and 1.4.12, we are forced to release 1.4.13 to ensure no confusions. While initial review didn't uncover a need for concern, several proof of concepts show that the package alterations introduce a high risk security issue, allowing remote inclusion of files. These changes would allow a remote user the ability to execute exploit code on a victim machine, without any user interaction on the victim's server. This could grant the attacker the ability to deploy further code on the victim's server. We *STRONGLY* advise all users of 1.4.11, and 1.4.12 upgrade immediately.
2007-12-05Catch up squirrelmail-japanese patch to 1.4.12-ja-20071205.taca2-5/+13
2007-12-05Updated mail/squirrelmail to 1.4.12martti5-42/+37
NOTE: includes a critical bug fix in the attachment handling - Enabled user selection of address format when adding from address book during message composition. - Fixed issue with adding attachments in PHP 4.x environments (#1805471). - Backport size setting on "newmail" popup window. - Added a "short_open_tag" configuration test. - Undefined notice in error message box when no default folder prefix is set. - Undefined index error when downloading. Possibly caused by using tabs and opening multiple mailboxes. - PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. - Fixed outgoing messages to allow addresses such as "0@..." or "000@...", etc. (#1818398). - Fixed issue with in-reply-to and reference headers not being retained on reply (#1810659). - Revived logout_error hook (#1800015). - Allow custom session handlers to work correctly (and be defined at the application level with SquirrelMail). - Fix off-by-one in bodystructure parsing triggered by servers sending a body location part (e.g. Sun Java System Messaging Server). Thanks John Callahan (#1808382). - Invalid initialization of To: header (#1772893). - Includes cleanup in include/validate.php. - Cleanup in multiple files to remove unneeded includes. - Added sort by size (#812233 and #159997, plus multiple list requests). Patch provided by Christopher E. Brown. - Fix bug in sitewide SMTP settings still using authenticated user, rather than configured settings (#1835942). - Fixed mailto: functionality. - Added mailto: link handling when viewing messages. - Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
2007-10-30Based on some feedback, comment out the newly added LICENSE=xxx for now.martti1-2/+2
I'll re-activate this later when the global license stuff is activated.
2007-10-30Added LICENSE=gnu-gpl-v2martti1-1/+2
2007-10-09Correct SITE.* macro for the squirrelmail-lite's patch file.taca1-2/+2
2007-10-03Update optional patch to support squirrelmail-1.4.11.taca2-8/+13
Since this commmit fixes broken options, I don't bump PKGREVISION now.
2007-10-02Updated mail/squirrelmail to 1.4.11martti4-20/+32
Version 1.4.11 - 29 September 2007 ---------------------------------- - Minimum PHP requirement raised from 4.0.6 to 4.1.0. SquirrelMail has been broken for a while with 4.0.x without anyone noticing, this move merely reflects reality. - Fix broken set_url_var function in functions/html.php (#1729814). - Fix config.pl not detecting auth support correctly (#1727033). - Fix display of X-Priority in message view. - Work around mailers sending broken Date headers with no space after the first comma. - Let POP3 class properly cope with lines starting with a '.'. - Some HTML validation cleanups. - Invalid year in sent_subfolders plugin (#1607380). - Always treat Content-Type case-insensitively (#1732092). - Fix typo: html/plain should be text/html. - Fix en/decode header swith in MDN (#1694687). - Fix compatibility with Windows path in administrator plugin (#1740469). - Fix disabling password encryption in mail_fetch (#1738001). - Fix busy loop and notice when two literals in IMAP fetch (#1739433). - Backported code for site wide SMTP authentication (#1531889). - Fixed issue with compose session not being cleaned after message is saved or sent. - Added ability to detect HTTP_X_FORWARDED_PROTO in get_location(), thanks to Daniel Watts - Fix test for signout.php in the logged in check in is_logged_in() so it cannot be circumvented by manipulating the URL. External plugins might rely on this function guaranteeing that the user is logged in. - Use attachment_dir only at the point where we're actually reading from / writing to the files, do not carry it around in the object. This makes us safer in the event the object is somehow exposed to the outside world. - Better support mailboxes named 'None' (#1598890). - Sort readdir() output in conf.pl (#1755886). - Fix message cache in printer friendly, thanks Tomas Kuliavas. - Made the webmail_top hook work again for plugins that want to change the URI of the "right" frame; plugins have to change the value of the global variable $right_frame_url - Fix issue in darkness theme with extra closing bracket. - No longer store all message composition sessions in the PHP session, since it was not made use of and in rare cases, made sessions too big. - Composition restoration functionality now correctly restores attachments. - Added smtp_auth hook. - Change default Selection List Style to Indented. - Added "preselected" query argument to mailbox list. - Added mailbox_display_buttons hook. - Removed "Include CCs when Forwarding Messages", which had no functionality whatsoever. - Make the Message Details plugin actually show the correct entity when viewing details of attached messages.
2007-09-25Back out previous. Pointed out by uebayasi@ and martti@.hira1-2/+2
2007-09-25mv -> ${MV}.hira1-2/+2
2007-07-04Make it easier to build and install packages "unprivileged", wherejlam1-2/+5
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-05-23Define PATCH files related variables strictly.obache1-5/+8
works well even if define both options or one of the options.
2007-05-22A patch file for squirrelmail-lite option has updated to fix itstaca3-8/+8
minor problem. Bump PKGREVISION.
2007-05-22Add SHA1/RMD160 of squirrelmail-1.4.10a-lite-20070511-patch.taca1-1/+4
2007-05-20Add squirrelmail-japanese and squirrelmail-lite option.taca3-3/+28
These options supersedes ja-squirrelmail package. Bump PKGREVISION.
2007-05-12Applied fix submitted by Ed Gould in PR pkg/36312 to enable build onheinz1-2/+2
Solaris again. On NetBSD, find accepts both "-o" and "-or".
2007-05-10Require at least 1.4.10amartti1-2/+2
2007-05-10Some pkglint -Wall fixes.martti2-13/+16
2007-05-10Updated mail/squirrelmail to 1.4.10amartti3-7/+8
Shortly after the release of SquirrelMail 1.4.10, a regression in the compose form was discovered. Unfortunately the limited disclosure of security patches does not allow for public testing, so this regression went unnoticed. We're sorry for the inconvenience.
2007-05-10Updated mail/squirrelmail to 1.4.10martti4-19/+18
This version, 1.4.10 is a maintenance release, addressing the following problems since 1.4.9a: - Some security fixes (see below) - Small enhancements - A collection of bugfixes and stability enhancements (see ChangeLog for a full list) Security issues =============== This release addresses security issues found since the release of 1.4.9a: There's an ongoing battle to further secure the HTML filter against malicious HTML mail and the browsers that accept almost any malformed piece of HTML. This release contains fixes for the following: - HTML attachments containing "data:" URLs; - Internet Explorer in various versions accepts many permutations of HTML and JavaScript in many charsets. We now properly canonicalize the incoming HTML to us-ascii before applying further filters. IE only. - Request forgery through images. It was possible to include "images" in HTML mails which were in fact GET requests for the compose.php page sending mail. These images are now properly detected, and the compose form will only send mail through a POST request. Thanks to Mikhail Markin, Tomas Kuliavas and Michael Jordon for reporting (parts of) these issues and working with us to get them resolved. These are known as CVE-2007-1262. Further details on SquirrelMail vulnerabilities can be found at the following address: http://www.squirrelmail.org/security/
2007-03-24Prepare for switching to NO_MTREE=yes.joerg1-3/+3