Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 22:43:24 +0000 (UTC)
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310411 - head/ports-mgmt/tinderbox-devel
Message-ID:  <201301142243.r0EMhOqd059996@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Mon Jan 14 22:43:23 2013
New Revision: 310411
URL: http://svnweb.freebsd.org/changeset/ports/310411

Log:
  - Tinderbox 4 uses PDO instead of MDB2 for the WebUI [1]
  - Remove replacement of obsolete set_rcvar [1]
  - Use sqlite3 PHP extension as sqlite is no longer available in PHP 5.4
  - Bump PORTREVISION
  
  Submitted by:	ohauer [1]
  Approved by:	itetcu (maintainer)

Modified:
  head/ports-mgmt/tinderbox-devel/Makefile

Modified: head/ports-mgmt/tinderbox-devel/Makefile
==============================================================================
--- head/ports-mgmt/tinderbox-devel/Makefile	Mon Jan 14 22:41:54 2013	(r310410)
+++ head/ports-mgmt/tinderbox-devel/Makefile	Mon Jan 14 22:43:23 2013	(r310411)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tinderbox
 DISTVERSION=	4.0.0.b2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://tinderbox.marcuscom.com/ \
@@ -62,16 +63,14 @@ PLIST_SUB+=	WEBUI="@comment "
 .if ${PORT_OPTIONS:MPGSQL}
 USE_PGSQL=	yes
 .if defined(WEBUI)
-RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
-USE_PHP+=	pgsql
+USE_PHP+=	pgsql pdo_pgsql
 .endif
 RUN_DEPENDS+=	p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
 .endif
 
 .if ${PORT_OPTIONS:MMYSQL}
 .if defined(WEBUI)
-RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
-USE_PHP+=	mysql
+USE_PHP+=	mysql pdo_mysql
 .endif
 USE_MYSQL=	yes
 RUN_DEPENDS+=	p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
@@ -79,8 +78,7 @@ RUN_DEPENDS+=	p5-DBD-mysql>=0:${PORTSDIR
 
 .if ${PORT_OPTIONS:MSQLITE}
 .if defined(WEBUI)
-RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/sqlite.php:${PORTSDIR}/databases/pear-MDB2_Driver_sqlite
-USE_PHP+=	sqlite
+USE_PHP+=	sqlite3 pdo_sqlite
 .endif
 RUN_DEPENDS+=	p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
 .endif
@@ -123,8 +121,6 @@ post-patch:
 	${REINPLACE_CMD} -e 's/^if \[ `id -u` != 0 \]; then/if false; then/' \
 		${WRKSRC}/tc
 .endif
-	${REINPLACE_CMD} -e 's/.set_rcvar./tinderd_enable/' \
-		${WRKSRC}/etc/rc.d/tinderd
 	@cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \;
 
 do-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301142243.r0EMhOqd059996>