From nobody@FreeBSD.org  Wed Oct 18 13:37:16 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C964416A407
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Oct 2006 13:37:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 946FB43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Oct 2006 13:37:16 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9IDbCTu028870
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Oct 2006 13:37:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k9IDbBPd028869;
	Wed, 18 Oct 2006 13:37:12 GMT
	(envelope-from nobody)
Message-Id: <200610181337.k9IDbBPd028869@www.freebsd.org>
Date: Wed, 18 Oct 2006 13:37:12 GMT
From: Greg Grothj<ggroth@gregs-garage.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wrong dependency versions listed for sugarcrm port
X-Send-Pr-Version: www-3.0

>Number:         104534
>Category:       ports
>Synopsis:       wrong dependency versions listed for deskutils/sugarcrm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 18 13:40:15 GMT 2006
>Closed-Date:    Wed Dec 27 23:48:14 GMT 2006
>Last-Modified:  Wed Dec 27 23:50:08 GMT 2006
>Originator:     Greg Grothj
>Release:        6.1
>Organization:
>Environment:
>Description:
from the following url:  

http://www.freebsd.org/cgi/ports.cgi?query=sugarcrm&stype=all

sugarcrm-3.5.1 

"Requires: expat-2.0.0_1, fontconfig-2.3.2_6,1, freetype2-2.2.1_1, jpeg-6b_4, libdrm-2.0.2, libiconv-1.9.2_2, libxml2-2.6.26, mysql-client-5.0.24a_1, php5-5.1.6_2, php5-gd-5.1.6_2, php5-mysql-5.1.6_2, php5-pcre-5.1.6_2, php5-session-5.1.6_2, php5-xml-5.1.6_2, pkg-config-0.21, png-1.2.12_1, t1lib-5.1.0_1,1, xorg-libraries-6.9.0"

After many hours of trying to get the port to install, I spent a lot of
time digging around the help forums at sugarcrm.com, there I discovered
that version 3.5.1 is incompatible with mysql 5+ because of issues of
reserved keywords used as table names.  This issue has been corrected in
sugarcrm 4+

Also from the forums:
All versions of sugarcrm are incompatible with php 5, and will only install
with php 4.


>How-To-Repeat:
Try to install the port using mysql 5 & php 5
>Fix:
Update the port to include version 4+ of sugarcrm, change documentation to
display that port is only compatible with php4.
>Release-Note:
>Audit-Trail:
Class-Changed-From-To: doc-bug->sw-bug 
Class-Changed-By: linimon 
Class-Changed-When: Wed Oct 18 15:30:40 UTC 2006 
Class-Changed-Why:  
Make this a ports PR. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Oct 18 15:30:40 UTC 2006 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=104534 
State-Changed-From-To: open->feedback 
State-Changed-By: stefan 
State-Changed-When: Sun Oct 22 12:06:40 UTC 2006 
State-Changed-Why:  


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

From: Stefan Walter <sw@gegenunendlich.de>
To: nick@foobar.org
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/104534: wrong dependency versions listed for deskutils/sugarcrm
Date: Sun, 22 Oct 2006 14:11:06 +0200

 Dear maintainer of deskutils/sugarcrm,
 
 a problem report has been submitted and is waiting for you to look at it
 at the following URL:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/104534
 
 Regards,
 Stefan

From: Nick Hilliard <nick@foobar.org>
To: Stefan Walter <sw@gegenunendlich.de>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/104534: wrong dependency versions listed for deskutils/sugarcrm
Date: Sun, 22 Oct 2006 14:21:56 +0100

 > a problem report has been submitted and is waiting for you to look at it
 > at the following URL:
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/104534
 
 Yes, aware of this.  Will deal with it shortly.
 
 Nick
State-Changed-From-To: feedback->open 
State-Changed-By: stefan 
State-Changed-When: Sun Oct 22 16:16:58 UTC 2006 
State-Changed-Why:  
Maintainer's feedback received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104534 
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sun Oct 22 18:54:22 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104534 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Sun Oct 22 18:56:20 UTC 2006 
State-Changed-Why:  
Do you agree with the following patch for now ? If not, please provide a better 
one ASAP, else this port will ship broken on 6.2-RELEASE. 

Index: Makefile 
=================================================================== 
RCS file: /home/pcvs/ports/deskutils/sugarcrm/Makefile,v 
retrieving revision 1.6 
diff -u -r1.6 Makefile 
--- Makefile    25 Aug 2006 21:24:10 -0000      1.6 
+++ Makefile    22 Oct 2006 18:56:01 -0000 
@@ -6,6 +6,7 @@ 

PORTNAME=      sugarcrm 
PORTVERSION=   3.5.1 
+PORTREVISON=   1 
CATEGORIES=    deskutils www 
MASTER_SITES=  ${SCRM_DISPATCHER}/sugarcrm/SugarOSArchive/SugarSuiteDownloadArchive/:src  
${SCRM_DISPATCHER}/sugardocs/Manuals/v3.5Manuals/:userdoc  
@@ -19,7 +20,8 @@ 
MAINTAINER=    nick@foobar.org 
COMMENT=       A web based customer relationship management suite 

-USE_PHP=       gd mysql session pcre xml 
+DEFAULT_PHP_VER=4 
+IGNORE_WITH_PHP=5 
USE_PHP=       gd mysql session pcre xml 
USE_ZIP=       yes 
NO_BUILD=      yes 


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

From: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
To: Greg Groth <ggroth@gregs-garage.com>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/104534: wrong dependency versions listed for
 deskutils/sugarcrm
Date: Mon, 23 Oct 2006 16:40:33 +0300

 --Sig_Z0drLSZtD3TW8YrnSEPu6BE
 Content-Type: multipart/mixed; boundary=MP_oxKx8J7ZLwayun7p9KATwbG
 
 --MP_oxKx8J7ZLwayun7p9KATwbG
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 On Mon, 23 Oct 2006 08:21:03 -0500
 Greg Groth <ggroth@gregs-garage.com> wrote:
 
 > On 10/22/2006 1:57 PM, Ion-Mihai Tetcu wrote:
 > > Synopsis: wrong dependency versions listed for deskutils/sugarcrm
 
  [ ... ]
 
 > I'm not sure I'm proceeding correctly here or not, this is the first=20
 > time I've submitted a bug report.  Also, I'm not a programmer, so I'm=20
 > not exactly sure what this patch does.  From looking at it though, it=20
 > would seem that it identifies the php version, which is a good thing=20
 > (thank you).  However, it appears that there is still no check for
 > the version of MySQL being used.  SugarCRM 3.5.1 won't work with
 > MySQL 5+ because of there being table names using reserved keywords.
 > According to the SugarCRM forums, this has been corrected in SugarCRM
 > 4+, but SugarCRM 3.5.1 can only be built on MySQL 4.x.
 
 Ok, I missed the  MySQL thing. See attach patch.
 
 --=20
 IOnut - Un^d^dregistered ;) FreeBSD "user"
   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
 
 Ferengi Rule of Acquisition #223:
 	Beware the man who doesn't make time for oo-mox.
 		-- ST: Legends of the Ferengi
 
 
 
 --MP_oxKx8J7ZLwayun7p9KATwbG
 Content-Type: text/x-patch; name=sugarcrm.diff
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=sugarcrm.diff
 
 ? sugarcrm.diff
 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /home/pcvs/ports/deskutils/sugarcrm/Makefile,v
 retrieving revision 1.6
 diff -u -r1.6 Makefile
 --- Makefile	25 Aug 2006 21:24:10 -0000	1.6
 +++ Makefile	23 Oct 2006 13:37:55 -0000
 @@ -6,6 +6,7 @@
 =20
  PORTNAME=3D	sugarcrm
  PORTVERSION=3D	3.5.1
 +PORTREVISON=3D	1
  CATEGORIES=3D	deskutils www
  MASTER_SITES=3D	${SCRM_DISPATCHER}/sugarcrm/SugarOSArchive/SugarSuiteDownl=
 oadArchive/:src \
  		${SCRM_DISPATCHER}/sugardocs/Manuals/v3.5Manuals/:userdoc \
 @@ -19,7 +20,10 @@
  MAINTAINER=3D	nick@foobar.org
  COMMENT=3D	A web based customer relationship management suite
 =20
 -USE_PHP=3D	gd mysql session pcre xml
 +DEFAULT_PHP_VER=3D4
 +IGNORE_WITH_PHP=3D5
 +DEFAULT_MYSQL_VER=3D	41
 +IGNORE_WITH_MYSQL=3D	50 51
  USE_PHP=3D	gd mysql session pcre xml
  USE_ZIP=3D	yes
  NO_BUILD=3D	yes
 
 --MP_oxKx8J7ZLwayun7p9KATwbG--
 
 --Sig_Z0drLSZtD3TW8YrnSEPu6BE
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (FreeBSD)
 
 iD8DBQFFPMZRBX6fi0k6KXsRAuYZAJsEAC4+A4SnOz9Lu9MUvxNmkPI1nACgonR5
 praP+FZweQOTDPgBN3/6O6E=
 =u7c2
 -----END PGP SIGNATURE-----
 
 --Sig_Z0drLSZtD3TW8YrnSEPu6BE--
State-Changed-From-To: feedback->closed 
State-Changed-By: itetcu 
State-Changed-When: Wed Dec 27 23:48:05 UTC 2006 
State-Changed-Why:  
Commited, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/104534: commit references a PR
Date: Wed, 27 Dec 2006 23:47:59 +0000 (UTC)

 itetcu      2006-12-27 23:47:52 UTC
 
   FreeBSD ports repository
 
   Modified files:
     deskutils/sugarcrm   Makefile 
   Log:
   Restrict to php4 / mysql4 else 3.x version doesnt work. At lest mysql problem
   should be corrected in 4.x version.
   
   PR:             ports/104534
   Submitted by:   Greg Grothj
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.8       +5 -1      ports/deskutils/sugarcrm/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
