Wed Jul 13 12:22:44 2011 UTC ()
Update squirrelmail package to 1.4.22.

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]


(taca)
diff -r1.5 -r1.6 pkgsrc/mail/squirrelmail/MESSAGE
diff -r1.117 -r1.118 pkgsrc/mail/squirrelmail/Makefile
diff -r1.37 -r1.38 pkgsrc/mail/squirrelmail/PLIST
diff -r1.60 -r1.61 pkgsrc/mail/squirrelmail/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/mail/squirrelmail/MESSAGE (expand / switch to unified diff)

--- pkgsrc/mail/squirrelmail/MESSAGE 2005/07/20 15:42:34 1.5
+++ pkgsrc/mail/squirrelmail/MESSAGE 2011/07/13 12:22:43 1.6
@@ -1,23 +1,27 @@ @@ -1,23 +1,27 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.5 2005/07/20 15:42:34 taca Exp $ 2$NetBSD: MESSAGE,v 1.6 2011/07/13 12:22:43 taca Exp $
3 3
4Please run the SquirrelMail configuration script: 4Please run the SquirrelMail configuration script:
5 5
6 cd ${SMDIR}/config && ./conf.pl 6 cd ${SMDIR}/config && ./conf.pl
7 7
8to customize the SquirrelMail webmail system for your site. 8to customize the SquirrelMail webmail system for your site.
9 9
10You will need to make SquirrelMail accessible through your HTTP server. 10You will need to make SquirrelMail accessible through your HTTP server.
11If you are running Apache and ap-php, then you may either symlink 11If you are running Apache and ap-php, then you may either symlink
12 12
13 ${SMDIR} 13 ${SMDIR}
14 14
15into DocumentRoot, or add the following line to httpd.conf: 15into DocumentRoot, or add the following line to httpd.conf:
16 16
17 Include ${PKG_SYSCONFDIR}/squirrelmail.conf 17 Include ${PKG_SYSCONFDIR}/squirrelmail.conf
18 18
19to make IMAP accounts accessible through: 19to make IMAP accounts accessible through:
20 20
21 http://www.example.com/squirrelmail/ 21 http://www.example.com/squirrelmail/
22 22
 23And please refer Release Notes for important changes:
 24
 25 http://www.example.com/squirrelmail/doc/ReleaseNotes
 26
23=========================================================================== 27===========================================================================

cvs diff -r1.117 -r1.118 pkgsrc/mail/squirrelmail/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/squirrelmail/Makefile 2011/07/13 01:30:34 1.117
+++ pkgsrc/mail/squirrelmail/Makefile 2011/07/13 12:22:43 1.118
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.117 2011/07/13 01:30:34 taca Exp $ 1# $NetBSD: Makefile,v 1.118 2011/07/13 12:22:43 taca Exp $
2 2
3DISTNAME= squirrelmail-1.4.21 3DISTNAME= squirrelmail-webmail-1.4.22
 4PKGNAME= ${DISTNAME:S/-webmail//}
4CATEGORIES= mail www 5CATEGORIES= mail www
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squirrelmail/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
6EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
7 8
8MAINTAINER= taca@NetBSD.org 9MAINTAINER= taca@NetBSD.org
9HOMEPAGE= http://www.squirrelmail.org/ 10HOMEPAGE= http://www.squirrelmail.org/
10COMMENT= PHP webmail package 11COMMENT= PHP webmail package
11LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
12 13
13CONFLICTS= sq-attachment-handlers-[0-9]* 14CONFLICTS= sq-attachment-handlers-[0-9]*
14CONFLICTS+= sq-squirrelspell-[0-9]* 15CONFLICTS+= sq-squirrelspell-[0-9]*
15CONFLICTS+= ja-squirrelspell-[0-9]* 16CONFLICTS+= ja-squirrelspell-[0-9]*
16CONFLICTS+= ja-squirrelmail-[0-9]* 17CONFLICTS+= ja-squirrelmail-[0-9]*

cvs diff -r1.37 -r1.38 pkgsrc/mail/squirrelmail/PLIST (expand / switch to unified diff)

--- pkgsrc/mail/squirrelmail/PLIST 2010/07/24 12:20:33 1.37
+++ pkgsrc/mail/squirrelmail/PLIST 2011/07/13 12:22:43 1.38
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.37 2010/07/24 12:20:33 tron Exp $ 1@comment $NetBSD: PLIST,v 1.38 2011/07/13 12:22:43 taca Exp $
2man/man8/squirrelmail-conf.pl.8 2man/man8/squirrelmail-conf.pl.8
3share/examples/squirrelmail/data/.htaccess 3share/examples/squirrelmail/data/.htaccess
4share/examples/squirrelmail/data/index.php 4share/examples/squirrelmail/data/index.php
5share/examples/squirrelmail/squirrelmail.conf 5share/examples/squirrelmail/squirrelmail.conf
6share/squirrelmail/README 6share/squirrelmail/README
7share/squirrelmail/class/.htaccess 7share/squirrelmail/class/.htaccess
8share/squirrelmail/class/deliver/Deliver.class.php 8share/squirrelmail/class/deliver/Deliver.class.php
9share/squirrelmail/class/deliver/Deliver_IMAP.class.php 9share/squirrelmail/class/deliver/Deliver_IMAP.class.php
10share/squirrelmail/class/deliver/Deliver_SMTP.class.php 10share/squirrelmail/class/deliver/Deliver_SMTP.class.php
11share/squirrelmail/class/deliver/Deliver_SendMail.class.php 11share/squirrelmail/class/deliver/Deliver_SendMail.class.php
12share/squirrelmail/class/deliver/index.php 12share/squirrelmail/class/deliver/index.php
13share/squirrelmail/class/helper/VCard.class.php 13share/squirrelmail/class/helper/VCard.class.php
14share/squirrelmail/class/helper/index.php 14share/squirrelmail/class/helper/index.php
@@ -67,26 +67,27 @@ share/squirrelmail/doc/release_notes_arc @@ -67,26 +67,27 @@ share/squirrelmail/doc/release_notes_arc
67share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.0.txt 67share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.0.txt
68share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.1.txt 68share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.1.txt
69share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.10.txt 69share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.10.txt
70share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.10a.txt 70share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.10a.txt
71share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.11.txt 71share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.11.txt
72share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.12.txt 72share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.12.txt
73share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.13.txt 73share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.13.txt
74share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.15.txt 74share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.15.txt
75share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.16.txt 75share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.16.txt
76share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.17.txt 76share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.17.txt
77share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.18.txt 77share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.18.txt
78share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.19.txt 78share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.19.txt
79share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.20.txt 79share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.20.txt
 80share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.21.txt
80share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.2.txt 81share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.2.txt
81share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.20-RC2.txt 82share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.20-RC2.txt
82share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.20RC1.txt 83share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.20RC1.txt
83share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.3.txt 84share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.3.txt
84share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.3a.txt 85share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.3a.txt
85share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.4.txt 86share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.4.txt
86share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.5.txt 87share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.5.txt
87share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.6.txt 88share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.6.txt
88share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.7.txt 89share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.7.txt
89share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.8.txt 90share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.8.txt
90share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.9.txt 91share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.9.txt
91share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.9a.txt 92share/squirrelmail/doc/release_notes_archive/1.4/Notes-1.4.9a.txt
92share/squirrelmail/doc/russian_apache.txt 93share/squirrelmail/doc/russian_apache.txt

cvs diff -r1.60 -r1.61 pkgsrc/mail/squirrelmail/distinfo (expand / switch to unified diff)

--- pkgsrc/mail/squirrelmail/distinfo 2010/07/24 12:20:33 1.60
+++ pkgsrc/mail/squirrelmail/distinfo 2011/07/13 12:22:44 1.61
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1$NetBSD: distinfo,v 1.60 2010/07/24 12:20:33 tron Exp $ 1$NetBSD: distinfo,v 1.61 2011/07/13 12:22:44 taca Exp $
2 2
3SHA1 (squirrelmail-1.4.21.tar.bz2) = 8a125ceca939fd4dd957491d17263b1857ddff60 3SHA1 (squirrelmail-webmail-1.4.22.tar.bz2) = 46819275be27e9119e9a2fd976d441cee261ea55
4RMD160 (squirrelmail-1.4.21.tar.bz2) = f4eeb97d85c76a037e848217d06aa13a15bfac04 4RMD160 (squirrelmail-webmail-1.4.22.tar.bz2) = 08c2aff84a3750dc6f0704a0105bc42a74966eb0
5Size (squirrelmail-1.4.21.tar.bz2) = 526813 bytes 5Size (squirrelmail-webmail-1.4.22.tar.bz2) = 531360 bytes
6SHA1 (patch-aa) = 4c5556c804c1b728eec87322272abb06edcfcc2a 6SHA1 (patch-aa) = 4c5556c804c1b728eec87322272abb06edcfcc2a
7SHA1 (patch-ab) = 30bf68c730f20e817fbe81d18bc2a95899ee3fd0 7SHA1 (patch-ab) = 30bf68c730f20e817fbe81d18bc2a95899ee3fd0
8SHA1 (patch-ai) = 1c08904ecf074ff3ba7e6042becc0f0771388b9f 8SHA1 (patch-ai) = 1c08904ecf074ff3ba7e6042becc0f0771388b9f
9SHA1 (patch-ca) = deaf791fd6eaf25001b369d505531ae065fe0801 9SHA1 (patch-ca) = deaf791fd6eaf25001b369d505531ae065fe0801