Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 15:33:02 +0100
From:      olli hauer <ohauer@gmx.de>
To:        Ion-Mihai Tetcu <itetcu@FreeBSD.org>
Cc:        svn-ports-all@freebsd.org, Beat Gaetzi <beat@FreeBSD.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r310314 - in head/ports-mgmt/tinderbox-devel: . files
Message-ID:  <50F2C59E.3030606@gmx.de>
In-Reply-To: <201301131048.r0DAmVkn012514@svn.freebsd.org>
References:  <201301131048.r0DAmVkn012514@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-01-13 11:48, Ion-Mihai Tetcu wrote:
> Author: itetcu
> Date: Sun Jan 13 10:48:31 2013
> New Revision: 310314
> URL: http://svnweb.freebsd.org/changeset/ports/310314
> 
> Log:
>   - update to 4.0.0.b2
>   - convert to OPTIONSng
>   - drop local patches incorporated upstream
>   
>   Submitted by:	beat@


I thought tinderbox use now pdo instead pear (maybe README should also adjusted)

lib/db-mysql.sh:export DB_OPT_PREREQS="databases/php5-mysql@php5-mysql-* databases/php5-pdo_mysql@php5-pdo_mysql-*"
lib/db-pgsql.sh:export DB_OPT_PREREQS="databases/php5-pgsql@php5-pgsql-* databases/php5-pdo_pgsql@php5-pdo_pgsql-*"
lib/db-sqlite.sh:export DB_OPT_PREREQS="databases/php5-pdo_sqlite@php5-pdo_sqlite-*"

I'm running tinderbox for over a year now with the following changes (pear -> pdo_...)

Index: Makefile
===================================================================
--- Makefile    (revision 310320)
+++ Makefile    (working copy)
@@ -62,16 +62,14 @@
 .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 +77,7 @@

 .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+=  sqlite pdo_sqlite
 .endif
 RUN_DEPENDS+=  p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
 .endif
@@ -123,8 +120,6 @@
    ${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?50F2C59E.3030606>