From nobody@FreeBSD.org  Sat Aug 31 14:55:17 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 63EE690D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 31 Aug 2013 14:55:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 51BD025EF
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 31 Aug 2013 14:55:17 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7VEtHUQ083042
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 31 Aug 2013 14:55:17 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7VEtHdr083024;
	Sat, 31 Aug 2013 14:55:17 GMT
	(envelope-from nobody)
Message-Id: <201308311455.r7VEtHdr083024@oldred.freebsd.org>
Date: Sat, 31 Aug 2013 14:55:17 GMT
From: Chenguang Li <horus.li@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fix databases/sqlbuddy build problem caused by the deletion of php5-sqlite
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         181708
>Category:       ports
>Synopsis:       fix databases/sqlbuddy build problem caused by the deletion of php5-sqlite
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 31 15:00:01 UTC 2013
>Closed-Date:    Mon Apr 21 19:11:58 UTC 2014
>Last-Modified:  Mon Apr 21 21:00:00 UTC 2014
>Originator:     Chenguang Li
>Release:        9.1-RELEASE #1 r246142
>Organization:
>Environment:
FreeBSD beta 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r246142: Thu Jan 31 16:08:23 CST 2013     root@beta:/usr/obj/usr/src/sys/BETA  i386
>Description:
With deletion of php5-sqlite, build process of databases/sqlbuddy cannot finish successfully. (Failed with 'Unknown extension sqlite for PHP 5.') The best step to take is to keep PHP at version 5.3.x and use php53-sqlite. Here the patch goes.
>How-To-Repeat:
make -C /usr/ports/databases/sqlbuddy all
>Fix:
patch attached.

Patch attached with submission follows:

--- a/Makefile	2013-08-31 22:40:08.000000000 +0800
+++ b/Makefile	2013-08-31 22:41:27.000000000 +0800
@@ -10,6 +10,7 @@
 MAINTAINER=	horus.li@gmail.com
 COMMENT=	Web based MySQL administration with a set of PHP scripts
 
+DEFAULT_PHP_VER=53
 USE_ZIP=	yes
 NO_BUILD=	yes
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sun Sep 1 13:02:46 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

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

From: Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To: Chenguang Li <horus.li@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/181708: fix databases/sqlbuddy build problem caused by
 the deletion of php5-sqlite
Date: Sun, 1 Sep 2013 16:31:33 +0300

 --Sig_/air9NRgW7h4jiz8Ocd1h=6d
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 
 >  COMMENT=3D	Web based MySQL administration with a set of PHP scripts=20
 > +DEFAULT_PHP_VER=3D53
 
 OPTIONS_DEFINE=3D MYSQL SQLITE
 OPTIONS_DEFAULT=3D        SQLITE
 
 Umm, if it's a "MySQL administration" thingy why is SQLite the default?
 Especially since it doesn't seems to be well supported by upstream
 (from a quick look at their forums).
 
 --=20
 IOnut - Un^d^dregistered ;) FreeBSD "user"
   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
 FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 29597D20
 
 
 --Sig_/air9NRgW7h4jiz8Ocd1h=6d
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.21 (FreeBSD)
 
 iQIcBAEBAgAGBQJSI0HIAAoJELyiEpopWX0gvT8QAKUpMD2bNMNIN9679kkezaMJ
 r2C+Shr647hfTi+xEfvj4/vzgtmobLZ3LMx3dsYAIX0pJhdIYRjfF6QQBsTqggwG
 mK1RzPnHk9HMbdF624IBhNnT8364b82kAQ2+IY2if+kRJL5YYiFUzOYUX+j1F1wC
 XPKkgoqJb/Vin8wwXmC2GRyvFUZKlqFXODvo2dbxg+IimDzGI6kyMSYJmAT4Bnz9
 jJpeqXqEdAY/+VyHaKVnG6g8LVYPtxvuazFUhXIeFt2eQmuI8AWXhZs+DFUId7v3
 JQ/2pETaDZHYfU5M/8w+gFzK6FGi16suOX9aF1xbolzIx+o2PxgHfoF0Dsf4b8hR
 S0ri8wo+huwTRXTYyXEibWKazJknnACN5eLfNn+QlvuW+bGr8HQCW5IIIZz5D4Vr
 HFvsH2IHQ2Gxr8qbXg13+lFIR9tBehv2cIRvpg2uDq1JTDAxavs7epLWsZjMvG15
 88CxkcO9rJ/VThfRVOnzUmvROgZomvtspR9f78xDz0feqNZ3L4gRZOYzUoW/ThpZ
 NF5LbqSFMfgqV9HI0V8vMUskbSuSwnzwcRfi6jjOVFxI5wed/czXtrCtEqSDmoco
 qCMrPCAbqr0vPPw+XDmF+LBsABBiWygnTIumfK7svpMAEiZewPwPdv2oN74zA8U+
 IJhjCHRsvWE6H9NjVsKI
 =pkqo
 -----END PGP SIGNATURE-----
 
 --Sig_/air9NRgW7h4jiz8Ocd1h=6d--
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Sun Sep 1 13:46:43 UTC 2013 
State-Changed-Why:  
Asked maintainer a question. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181708 
Responsible-Changed-From-To: itetcu->freebsd-ports-bugs 
Responsible-Changed-By: tabthorpe 
Responsible-Changed-When: Tue Apr 8 15:01:44 UTC 2014 
Responsible-Changed-Why:  
Reassign to the heap 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/181708: commit references a PR
Date: Mon, 21 Apr 2014 19:02:21 +0000 (UTC)

 Author: marino
 Date: Mon Apr 21 19:02:18 2014
 New Revision: 351703
 URL: http://svnweb.freebsd.org/changeset/ports/351703
 QAT: https://qat.redports.org/buildarchive/r351703/
 
 Log:
   databases/sqlbuddy: Unbreak and stage
   
   The maintainer actually provided a PR to address the breakage long
   before it was marked broken.  itetcu asked him a valid question: Why
   is sqlbuddy defaulting to sqlite when it is primarily a mysql tool?
   The question was never answered and the PR got thrown back on the heap.
   
   The SQLite component is what is missing.  Let's remove sqlite as an
   option to restore the build and stage while here.  It's bumped because
   of the change in default options.
   
   PR:		ports/181708
   submitted by:	maintainer (Chenguang Li)
   modified by:	marino
   MFH:		2014Q2
 
 Modified:
   head/databases/sqlbuddy/Makefile
 
 Modified: head/databases/sqlbuddy/Makefile
 ==============================================================================
 --- head/databases/sqlbuddy/Makefile	Mon Apr 21 18:46:03 2014	(r351702)
 +++ head/databases/sqlbuddy/Makefile	Mon Apr 21 19:02:18 2014	(r351703)
 @@ -3,6 +3,7 @@
  
  PORTNAME=	sqlbuddy
  PORTVERSION=	1.3.3
 +PORTREVISION=	1
  CATEGORIES=	databases www
  MASTER_SITES=	http://www.sqlbuddy.com/download/
  DISTNAME=	${PORTNAME}_1_3_3
 @@ -10,35 +11,20 @@ DISTNAME=	${PORTNAME}_1_3_3
  MAINTAINER=	horus.li@gmail.com
  COMMENT=	Web based MySQL administration with a set of PHP scripts
  
 -BROKEN=		Fails to check-sanity
 -
  USES=		zip
  NO_BUILD=	yes
  
  WRKSRC=		${WRKDIR}/${PORTNAME}
  
 -USE_PHP=	ctype pcre session
 +USE_PHP=	ctype pcre session mysql
  WANT_PHP_WEB=	yes
  
 -OPTIONS_DEFINE=	MYSQL SQLITE
 -OPTIONS_DEFAULT=	SQLITE
 -
  SUB_FILES=	pkg-message
  
 -NO_STAGE=	yes
 -.include <bsd.port.options.mk>
 -
 -.if ${PORT_OPTIONS:MMYSQL}
 -USE_PHP+=	mysql
 -.endif
 -.if ${PORT_OPTIONS:MSQLITE}
 -USE_PHP+=	sqlite
 -.endif
 -
  pre-everything::
  	@${ECHO_MSG} ""
  	@${ECHO_MSG} "NOTE:"
 -	@${ECHO_MSG} "This port suppose you have already installed one or both of these databases supported, "
 +	@${ECHO_MSG} "This port assumes you have already installed a mysql database, "
  	@${ECHO_MSG} "and you want to use SQL Buddy to manage the server."
  	@${ECHO_MSG} "If you are planning to install it/them on this machine later, "
  	@${ECHO_MSG} "you can find it/them at ${PORTSDIR}/databases."
 @@ -47,9 +33,8 @@ pre-everything::
  do-install:
  	@${ECHO_MSG} ""
  	@${ECHO_MSG} "Installing SQL Buddy under ${WWWDIR}/"
 -	@${MKDIR} ${WWWDIR}
 -	@cd ${WRKSRC} && ${CP} -R * ${WWWDIR}
 -	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
 -	@${CAT} ${PKGMESSAGE}
 +	@${MKDIR} ${STAGEDIR}${WWWDIR}
 +	@cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${WWWDIR}
 +	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
  
  .include <bsd.port.mk>
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: marino 
State-Changed-When: Mon Apr 21 19:11:57 UTC 2014 
State-Changed-Why:  
port builds again - but without sqlite as an option 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/181708: commit references a PR
Date: Mon, 21 Apr 2014 20:53:57 +0000 (UTC)

 Author: marino
 Date: Mon Apr 21 20:53:54 2014
 New Revision: 351713
 URL: http://svnweb.freebsd.org/changeset/ports/351713
 QAT: https://qat.redports.org/buildarchive/r351713/
 
 Log:
   MFH: r351703
   
   databases/sqlbuddy: Unbreak and stage
   
   The maintainer actually provided a PR to address the breakage long
   before it was marked broken.  itetcu asked him a valid question: Why
   is sqlbuddy defaulting to sqlite when it is primarily a mysql tool?
   The question was never answered and the PR got thrown back on the heap.
   
   The SQLite component is what is missing.  Let's remove sqlite as an
   option to restore the build and stage while here.  It's bumped because
   of the change in default options.
   
   PR:		ports/181708
   submitted by:	maintainer (Chenguang Li)
   modified by:	marino
   Approved by:	portmgr (antoine)
 
 Modified:
   branches/2014Q2/databases/sqlbuddy/Makefile
 Directory Properties:
   branches/2014Q2/   (props changed)
 
 Modified: branches/2014Q2/databases/sqlbuddy/Makefile
 ==============================================================================
 --- branches/2014Q2/databases/sqlbuddy/Makefile	Mon Apr 21 20:47:50 2014	(r351712)
 +++ branches/2014Q2/databases/sqlbuddy/Makefile	Mon Apr 21 20:53:54 2014	(r351713)
 @@ -3,6 +3,7 @@
  
  PORTNAME=	sqlbuddy
  PORTVERSION=	1.3.3
 +PORTREVISION=	1
  CATEGORIES=	databases www
  MASTER_SITES=	http://www.sqlbuddy.com/download/
  DISTNAME=	${PORTNAME}_1_3_3
 @@ -10,35 +11,20 @@ DISTNAME=	${PORTNAME}_1_3_3
  MAINTAINER=	horus.li@gmail.com
  COMMENT=	Web based MySQL administration with a set of PHP scripts
  
 -BROKEN=		Fails to check-sanity
 -
  USES=		zip
  NO_BUILD=	yes
  
  WRKSRC=		${WRKDIR}/${PORTNAME}
  
 -USE_PHP=	ctype pcre session
 +USE_PHP=	ctype pcre session mysql
  WANT_PHP_WEB=	yes
  
 -OPTIONS_DEFINE=	MYSQL SQLITE
 -OPTIONS_DEFAULT=	SQLITE
 -
  SUB_FILES=	pkg-message
  
 -NO_STAGE=	yes
 -.include <bsd.port.options.mk>
 -
 -.if ${PORT_OPTIONS:MMYSQL}
 -USE_PHP+=	mysql
 -.endif
 -.if ${PORT_OPTIONS:MSQLITE}
 -USE_PHP+=	sqlite
 -.endif
 -
  pre-everything::
  	@${ECHO_MSG} ""
  	@${ECHO_MSG} "NOTE:"
 -	@${ECHO_MSG} "This port suppose you have already installed one or both of these databases supported, "
 +	@${ECHO_MSG} "This port assumes you have already installed a mysql database, "
  	@${ECHO_MSG} "and you want to use SQL Buddy to manage the server."
  	@${ECHO_MSG} "If you are planning to install it/them on this machine later, "
  	@${ECHO_MSG} "you can find it/them at ${PORTSDIR}/databases."
 @@ -47,9 +33,8 @@ pre-everything::
  do-install:
  	@${ECHO_MSG} ""
  	@${ECHO_MSG} "Installing SQL Buddy under ${WWWDIR}/"
 -	@${MKDIR} ${WWWDIR}
 -	@cd ${WRKSRC} && ${CP} -R * ${WWWDIR}
 -	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
 -	@${CAT} ${PKGMESSAGE}
 +	@${MKDIR} ${STAGEDIR}${WWWDIR}
 +	@cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${WWWDIR}
 +	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
  
  .include <bsd.port.mk>
 _______________________________________________
 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:
