NetBSD Problem Report #22652

Received: (qmail 17952 invoked by uid 605); 31 Aug 2003 16:14:01 -0000
Message-Id: <20030831161357.DF00311152@narn.netbsd.org>
Date: Sun, 31 Aug 2003 16:13:57 +0000 (UTC)
From: adrianp@stindustries.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: adrianp@stindustries.net
To: gnats-bugs@gnats.NetBSD.org
Subject: updated package: mail/squirrelmail
X-Send-Pr-Version: www-1.0

>Number:         22652
>Category:       pkg
>Synopsis:       updated package: mail/squirrelmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 31 16:15:00 +0000 2003
>Closed-Date:    Mon Sep 01 11:52:17 +0000 2003
>Last-Modified:  Mon Sep 01 11:52:17 +0000 2003
>Originator:     Adrian Portelli
>Release:        1.6.1i386
>Organization:
STIndustries
>Environment:
NetBSD otto.stindustries.org.uk 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Tue Apr  8 12:05:52 UTC 2003     autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd-1-6/src/sys/arch/i386/compile/GENERIC i386
>Description:
squirrelmail 1.4.0 is is pkgsrc while 1.4.1 is now available.

I've also modified the install section as we were moving the data directory to a different location on NetBSD but were not copying across all the default files.

From the Changelog

 - Fixes to conf.pl for handling relative dirs outside the SM tree (bug #715119) and 
    the default delete_folder values for Courier-IMAP and UW-IMAP (bug #715550).
  - Fixed problem with \ in passwords/usernames on login, fixes bug #718116.
  - Added lowsrc to the list of untrusted attributes in HTML email.
  - Fixed message highlighting for To, CC and From and
    for RFC1522 headers (bug #719564).
  - Fix for Folders being listed in create/remove/rename operations
    (bugs #725443, #722823, #729225).
  - Fixed incorrect folding inside message-id's.
  - Fix for bad attachment view link (bugs #697381, #729295).
  - Fix comp_in_new in search and addressbook not having right parameters (bug #731768).
  - Fix max attachment filesize off by factor 10 when ini_var set in bytes
    (bug #730742).
  - Fixed language bug in posting on modifying/deleting servers on mail_fetch plugin
    (#742705).
  - Fixed infinite loop in parseAddress on invalid mailadress (#742584).
  - Added Welsh translation.
  - Fixed error with appending sent mail to sent folder when one wasn't set, or user
    preferred not to append the sent mail.
  - Updated plugin documentation.
  - Added Faroese translation.
  - Fix for bug #719619 (xhtml-style css definitions weren't working).
  - Fix bug #722933 where resuming a draft message would lose the reference headers.
  - Fix that sending of read receipts failed when JavaScript on and comp in new off
    (bug #738130).
  - New function: sm_print_r() intended for debugging.  See
    functions/strings.php.
  - Update config_default to use SM_PATH. (bug #766577)
  - Minor misc. performance enhancements.

>How-To-Repeat:
cd pkgsrc/mail/squirrelmail && make show-var VARNAME=DISTNAME

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/squirrelmail/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- Makefile    2003/07/17 21:47:04     1.33
+++ Makefile    2003/08/31 16:09:02
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.33 2003/07/17 21:47:04 grant Exp $

-DISTNAME=      squirrelmail-1.4.0
+DISTNAME=      squirrelmail-1.4.1
 CATEGORIES=    mail www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
 EXTRACT_SUFX=  .tar.bz2
@@ -67,6 +67,8 @@
        ${CP} -R ${WRKSRC}/* ${SMDIR}
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR}
        ${CHMOD} -R a-w ${SMDIR}
+       ${CP} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
+       ${CP} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/

 .include "../../lang/perl5/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/mail/squirrelmail/PLIST,v
retrieving revision 1.11
diff -u -r1.11 PLIST
--- PLIST       2003/04/15 09:25:08     1.11
+++ PLIST       2003/08/31 16:09:02
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2003/04/15 09:25:08 martti Exp $
+@comment $NetBSD$
 share/examples/squirrelmail/squirrelmail.conf
 share/squirrelmail/AUTHORS
 share/squirrelmail/COPYING
@@ -48,6 +48,7 @@
 share/squirrelmail/doc/ReleaseNotes/1.3/Notes-1.3.0.txt
 share/squirrelmail/doc/ReleaseNotes/1.3/Notes-1.3.1.txt
 share/squirrelmail/doc/ReleaseNotes/1.3/Notes-1.3.2.txt
+share/squirrelmail/doc/ReleaseNotes/1.4/Notes-1.4.0.txt
 share/squirrelmail/doc/addressbook.txt
 share/squirrelmail/doc/authentication.txt
 share/squirrelmail/doc/compose.txt
@@ -81,7 +82,6 @@
 share/squirrelmail/functions/imap_general.php
 share/squirrelmail/functions/imap_mailbox.php
 share/squirrelmail/functions/imap_messages.php
-share/squirrelmail/functions/imap_parse.php
 share/squirrelmail/functions/imap_search.php
 share/squirrelmail/functions/imap_utf7_local.php
 share/squirrelmail/functions/index.php
@@ -121,6 +121,15 @@
 share/squirrelmail/help/cs_CZ/options.hlp
 share/squirrelmail/help/cs_CZ/read_mail.hlp
 share/squirrelmail/help/cs_CZ/search.hlp
+share/squirrelmail/help/cy_GB/FAQ.hlp
+share/squirrelmail/help/cy_GB/addresses.hlp
+share/squirrelmail/help/cy_GB/basic.hlp
+share/squirrelmail/help/cy_GB/compose.hlp
+share/squirrelmail/help/cy_GB/folders.hlp
+share/squirrelmail/help/cy_GB/main_folder.hlp
+share/squirrelmail/help/cy_GB/options.hlp
+share/squirrelmail/help/cy_GB/read_mail.hlp
+share/squirrelmail/help/cy_GB/search.hlp
 share/squirrelmail/help/da_DK/FAQ.hlp
 share/squirrelmail/help/da_DK/addresses.hlp
 share/squirrelmail/help/da_DK/basic.hlp
@@ -336,6 +345,8 @@
 share/squirrelmail/locale/ca_ES/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/cs_CZ/LC_MESSAGES/squirrelmail.mo
 share/squirrelmail/locale/cs_CZ/LC_MESSAGES/squirrelmail.po
+share/squirrelmail/locale/cy_GB/LC_MESSAGES/squirrelmail.mo
+share/squirrelmail/locale/cy_GB/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/da_DK/LC_MESSAGES/squirrelmail.mo
 share/squirrelmail/locale/da_DK/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/de_DE/LC_MESSAGES/squirrelmail.mo
@@ -348,9 +359,10 @@
 share/squirrelmail/locale/et_EE/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/fi_FI/LC_MESSAGES/squirrelmail.mo
 share/squirrelmail/locale/fi_FI/LC_MESSAGES/squirrelmail.po
+share/squirrelmail/locale/fo_FO/LC_MESSAGES/squirrelmail.mo
+share/squirrelmail/locale/fo_FO/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/fr_FR/LC_MESSAGES/squirrelmail.mo
 share/squirrelmail/locale/fr_FR/LC_MESSAGES/squirrelmail.po
-share/squirrelmail/locale/he_HE/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/he_IL/LC_MESSAGES/squirrelmail.mo
 share/squirrelmail/locale/he_IL/LC_MESSAGES/squirrelmail.po
 share/squirrelmail/locale/hr_HR/LC_MESSAGES/squirrelmail.mo
@@ -692,10 +704,10 @@
 @dirrm share/squirrelmail/locale/hr_HR
 @dirrm share/squirrelmail/locale/he_IL/LC_MESSAGES
 @dirrm share/squirrelmail/locale/he_IL
-@dirrm share/squirrelmail/locale/he_HE/LC_MESSAGES
-@dirrm share/squirrelmail/locale/he_HE
 @dirrm share/squirrelmail/locale/fr_FR/LC_MESSAGES
 @dirrm share/squirrelmail/locale/fr_FR
+@dirrm share/squirrelmail/locale/fo_FO/LC_MESSAGES
+@dirrm share/squirrelmail/locale/fo_FO
 @dirrm share/squirrelmail/locale/fi_FI/LC_MESSAGES
 @dirrm share/squirrelmail/locale/fi_FI
 @dirrm share/squirrelmail/locale/et_EE/LC_MESSAGES
@@ -708,6 +720,8 @@
 @dirrm share/squirrelmail/locale/de_DE
 @dirrm share/squirrelmail/locale/da_DK/LC_MESSAGES
 @dirrm share/squirrelmail/locale/da_DK
+@dirrm share/squirrelmail/locale/cy_GB/LC_MESSAGES
+@dirrm share/squirrelmail/locale/cy_GB
 @dirrm share/squirrelmail/locale/cs_CZ/LC_MESSAGES
 @dirrm share/squirrelmail/locale/cs_CZ
 @dirrm share/squirrelmail/locale/ca_ES/LC_MESSAGES
@@ -740,11 +754,13 @@
 @dirrm share/squirrelmail/help/en_US
 @dirrm share/squirrelmail/help/de_DE
 @dirrm share/squirrelmail/help/da_DK
+@dirrm share/squirrelmail/help/cy_GB
 @dirrm share/squirrelmail/help/cs_CZ
 @dirrm share/squirrelmail/help/ca_ES
 @dirrm share/squirrelmail/help/bg_BG
 @dirrm share/squirrelmail/help
 @dirrm share/squirrelmail/functions
+@dirrm share/squirrelmail/doc/ReleaseNotes/1.4
 @dirrm share/squirrelmail/doc/ReleaseNotes/1.3
 @dirrm share/squirrelmail/doc/ReleaseNotes/1.2
 @dirrm share/squirrelmail/doc/ReleaseNotes
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/squirrelmail/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- distinfo    2003/04/15 09:25:08     1.13
+++ distinfo    2003/08/31 16:09:02
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.13 2003/04/15 09:25:08 martti Exp $

-SHA1 (squirrelmail-1.4.0.tar.bz2) = 0e416e8fd530fab2762be7c2b6816e36b463309f
-Size (squirrelmail-1.4.0.tar.bz2) = 1668728 bytes
-SHA1 (patch-aa) = cd78d02216a142ffe3cb66c31d26104f062f724e
+SHA1 (squirrelmail-1.4.1.tar.bz2) = eb44e8cfb10e04ec37bf7e265d27a55338430a28
+Size (squirrelmail-1.4.1.tar.bz2) = 1790721 bytes
+SHA1 (patch-aa) = 01fcaee64249ff00d7bb221cae8e7ec571d43530
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/mail/squirrelmail/patches/patch-aa,v
retrieving revision 1.5
diff -u -r1.5 patch-aa
--- patches/patch-aa    2003/04/15 09:25:08     1.5
+++ patches/patch-aa    2003/08/31 16:09:02
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.5 2003/04/15 09:25:08 martti Exp $
+$NetBSD$

---- config/config_default.php.orig     Sat Jan  4 08:01:24 2003
-+++ config/config_default.php  Tue Apr 15 11:31:46 2003
+--- config/config_default.php.orig     Sun Aug 31 16:40:21 2003
++++ config/config_default.php  Sun Aug 31 16:42:14 2003
 @@ -193,7 +193,7 @@
   * false. (Cyrus works fine whether it's true OR false).
   */
@@ -12,10 +12,10 @@
  /**
   * This option controls what character set is used when sending mail
 @@ -220,7 +220,7 @@
-  *   $data_dir = '../data/';
+  *   $data_dir = SM_PATH . 'data/';
   */
  global $data_dir;
--$data_dir = '../data/';
+-$data_dir = SM_PATH . 'data/';
 +$data_dir = '@USER_PREFS_DIR@/';

  /**
>Release-Note:
>Audit-Trail:

From: Martti Kuparinen <martti.kuparinen@iki.fi>
To: adrianp@stindustries.net
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/22652: updated package: mail/squirrelmail
Date: Sun, 31 Aug 2003 20:31:46 +0300

 Isn't the new version dumping core for you? I tried to update the
 package on the same day 1.4.1 was released but never managed to
 make it stable...

 Martti


From: "Adrian Portelli" <adrianp@stindustries.net>
To: "'Martti Kuparinen'" <martti.kuparinen@iki.fi>
Cc: <gnats-bugs@gnats.NetBSD.org>
Subject: RE: pkg/22652: updated package: mail/squirrelmail
Date: Sun, 31 Aug 2003 20:34:50 +0100

 No,

 It's behaving well for me.  I ran it under the pkgsrc version of PHP and
 now I'm running it under a PHP v4.3.3 package I hacked together myself.

 Where is it misbehaving for you ?  It's not exactly 'production' for me
 so I can do some testing.

 Adrian.

 > -----Original Message-----
 > From: Martti Kuparinen [mailto:martti.kuparinen@iki.fi] 
 > Sent: Sunday, 31 August 2003 6:32 PM
 > To: adrianp@stindustries.net
 > Cc: gnats-bugs@gnats.NetBSD.org
 > Subject: Re: pkg/22652: updated package: mail/squirrelmail
 > 
 > 
 > Isn't the new version dumping core for you? I tried to update 
 > the package on the same day 1.4.1 was released but never 
 > managed to make it stable...
 > 
 > Martti
 > 

State-Changed-From-To: open->closed 
State-Changed-By: martti 
State-Changed-When: Mon Sep 1 11:52:03 UTC 2003 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.