From adamw@adamw.org  Sun Aug 26 20:26:49 2012
Return-Path: <adamw@adamw.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id ABF541065670
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Aug 2012 20:26:49 +0000 (UTC)
	(envelope-from adamw@adamw.org)
Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150])
	by mx1.freebsd.org (Postfix) with ESMTP id 83EF28FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Aug 2012 20:26:49 +0000 (UTC)
Received: by apnoea.adamw.org (Postfix, from userid 1002)
	id A91D94574D; Sun, 26 Aug 2012 16:26:48 -0400 (EDT)
Message-Id: <20120826202648.A91D94574D@apnoea.adamw.org>
Date: Sun, 26 Aug 2012 16:26:48 -0400 (EDT)
From: Adam Weinberger <adamw@FreeBSD.org>
Reply-To: Adam Weinberger <adamw@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] mark mail/squirrelmail broken with php-5.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         171094
>Category:       ports
>Synopsis:       [patch] mark mail/squirrelmail broken with php-5.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tabthorpe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 26 20:30:05 UTC 2012
>Closed-Date:    Fri Sep 07 18:18:07 UTC 2012
>Last-Modified:  Fri Sep  7 18:20:02 UTC 2012
>Originator:     Adam Weinberger
>Release:        FreeBSD 9.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD apnoea.adamw.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sat Aug 25 18:46:02 EDT 2012 root@apnoea.adamw.org:/usr/obj/usr/src/sys/PEEP i386


	
>Description:

squirrelmail-stable (1.4.22) is known to be incompatible with php-5.4. The
website says it's fixed (to some degree) in snapshots, but it's been well
over a year since 1.4.22 was released. Until the next version of sm gets
released, or unless the php-5.4 fixes are backported, I'd suggest marking
the squirrelmail port as incompatible with php-5.4 to prevent unnecessary
head-scratching and hair-clawing.

The attached patch simply marks the port as not working with php-5.4.
>How-To-Repeat:
	
>Fix:

	

--- sq_php54.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 303206)
+++ Makefile	(working copy)
@@ -20,6 +20,7 @@
 
 USE_PHP=	session mhash gettext mbstring pcre openssl xml
 WANT_PHP_WEB=	yes
+IGNORE_WITH_PHP=5	# known incompatibilities with php-5.4, use 5.3 for now; see WWW
 
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
--- sq_php54.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tabthorpe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Aug 26 20:30:24 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171094 
State-Changed-From-To: open->closed 
State-Changed-By: tabthorpe 
State-Changed-When: Fri Sep 7 18:18:04 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171094 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/171094: commit references a PR
Date: Fri,  7 Sep 2012 18:17:13 +0000 (UTC)

 Author: tabthorpe
 Date: Fri Sep  7 18:16:57 2012
 New Revision: 303815
 URL: http://svn.freebsd.org/changeset/ports/303815
 
 Log:
   - Mark IGNORE_WITH_PHP=5
   - There is a known compatibility issue with php-5.4, use php-5.3 instead
   
   PR:		ports/171094
   Submitted by:	adamw
 
 Modified:
   head/mail/squirrelmail/Makefile
 
 Modified: head/mail/squirrelmail/Makefile
 ==============================================================================
 --- head/mail/squirrelmail/Makefile	Fri Sep  7 18:11:22 2012	(r303814)
 +++ head/mail/squirrelmail/Makefile	Fri Sep  7 18:16:57 2012	(r303815)
 @@ -20,6 +20,7 @@ COMMENT=	A webmail system which accesses
  
  USE_PHP=	session mhash gettext mbstring pcre openssl xml
  WANT_PHP_WEB=	yes
 +IGNORE_WITH_PHP=5 # known incompatibilities with php-5.4, use 5.3 for now
  
  USE_BZIP2=	yes
  USE_GETTEXT=	yes
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
