Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 21:18:25 +0100 (CET)
From:      Martin Matuska <martin@tradex.sk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62659: [NEW PORT] databases/adodb4
Message-ID:  <20040210201825.E1815AD3D@mail.tradex.sk>
Resent-Message-ID: <200402102020.i1AKKFKa030921@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62659
>Category:       ports
>Synopsis:       [NEW PORT] databases/adodb4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 10 12:20:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
	Port of ADOdb ver 4.11
	http://php.weblogs.com/ADODB
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	databases/adodb4
#	databases/adodb4/Makefile
#	databases/adodb4/distinfo
#	databases/adodb4/pkg-descr
#	databases/adodb4/pkg-plist
#	databases/adodb4/pkg-message
#
echo c - databases/adodb4
mkdir -p databases/adodb4 > /dev/null 2>&1
echo x - databases/adodb4/Makefile
sed 's/^X//' >databases/adodb4/Makefile << 'END-of-databases/adodb4/Makefile'
X# New ports collection makefile for: adodb4
X# Date created:		10 Feb 2004
X# Whom:			martin@tradex.sk
X#
X# $FreeBSD$
X#
X
XPORTNAME=	adodb
XPORTVERSION=	4.11
XCATEGORIES=	databases www
XMASTER_SITES=	http://phplens.com/lens/dl/
XDISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	martin@tradex.sk
XCOMMENT=	Database library for PHP4
X
X.if defined(WITH_APACHE2)
XRUN_DEPENDS=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
X.else
XRUN_DEPENDS=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
X.endif
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XNO_BUILD=	YES
X
XADODB_DIR=	share/adodb
XPLIST_SUB=	ADODB_DIR=${ADODB_DIR}
X
X.if defined(WITH_TESTS)
XPLIST_SUB+=	TESTS=
X.else
XPLIST_SUB+=	TESTS="@comment "
X.endif
X
XDOCS=	docs-adodb.htm docs-datadict.htm docs-perf.htm docs-session.htm \
X	license.txt old-changelog.htm readme.htm readme.txt tips_portable_sql.htm \
X	tute.htm
X
XICONS=	adodb.gif adodb.png adodb2.gif adodb2.png
X
XBASE=	adodb-csvlib.inc.php adodb-datadict.inc.php adodb-error.inc.php \
X	adodb-errorhandler.inc.php adodb-errorpear.inc.php adodb-exceptions.inc.php \
X	adodb-iterator.inc.php adodb-lib.inc.php adodb-pager.inc.php \
X	adodb-pear.inc.php adodb-perf.inc.php adodb-php4.inc.php adodb-time.inc.php \
X	adodb-xmlschema.inc.php adodb-xmlschema.zip adodb.inc.php \
X	pivottable.inc.php rsfilter.inc.php server.php toexport.inc.php tohtml.inc.php
X
XDATADICT=datadict-access.inc.php datadict-db2.inc.php datadict-generic.inc.php \
X	datadict-ibase.inc.php datadict-informix.inc.php datadict-mssql.inc.php \
X	datadict-mysql.inc.php datadict-oci8.inc.php datadict-postgres.inc.php \
X	datadict-sybase.inc.php
X
XDRIVERS=adodb-access.inc.php adodb-ado.inc.php adodb-ado_access.inc.php \
X	adodb-ado_mssql.inc.php adodb-borland_ibase.inc.php adodb-csv.inc.php \
X	adodb-db2.inc.php adodb-fbsql.inc.php adodb-firebird.inc.php \
X	adodb-ibase.inc.php adodb-informix.inc.php adodb-informix72.inc.php \
X	adodb-mssql.inc.php adodb-mssqlpo.inc.php adodb-mysql.inc.php \
X	adodb-mysqli.inc.php adodb-mysqlt.inc.php adodb-oci8.inc.php \
X	adodb-oci805.inc.php adodb-oci8po.inc.php adodb-odbc.inc.php \
X	adodb-odbc_mssql.inc.php adodb-odbc_oracle.inc.php adodb-oracle.inc.php \
X	adodb-postgres.inc.php adodb-postgres64.inc.php adodb-postgres7.inc.php \
X	adodb-proxy.inc.php adodb-sapdb.inc.php adodb-sqlanywhere.inc.php \
X	adodb-sqlite.inc.php adodb-sybase.inc.php adodb-vfp.inc.php
X
XLANG=	adodb-ca.inc.php adodb-cn.inc.php adodb-cz.inc.php \
X	adodb-de.inc.php adodb-en.inc.php adodb-es.inc.php \
X	adodb-fr.inc.php adodb-it.inc.php adodb-pt-br.inc.php \
X	adodb-ru1251.inc.php adodb-sv.inc.php
X
XPERF=	perf-db2.inc.php perf-informix.inc.php perf-mssql.inc.php \
X	perf-mysql.inc.php perf-oci8.inc.php perf-postgres.inc.php
X
XSESSION=adodb-compress-bzip2.php adodb-compress-gzip.php \
X	adodb-cryptsession.php adodb-encrypt-mcrypt.php adodb-encrypt-md5.php \
X	adodb-encrypt-secret.php adodb-sess.txt adodb-session-clob.php \
X	adodb-session.php adodb-sessions.mysql.sql crypt.inc.php \
X	adodb-sessions.oracle.clob.sql adodb-sessions.oracle.sql \
X	old/adodb-cryptsession.php old/adodb-session-clob.php \
X	old/adodb-session.php old/crypt.inc.php
X
XTESTS=	benchmark.php client.php test-datadict.php test.php test2.php \
X	test3.php test4.php test5.php test_rs_array.php testcache.php \
X	testdatabases.inc.php testgenid.php testmssql.php testoci8.php \
X	testoci8cursor.php testpaging.php testpear.php testsessions.php \
X	time.php tmssql.php xmlschema.xml
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/${ADODB_DIR} ${PREFIX}/${ADODB_DIR}/datadict \
X		${PREFIX}/${ADODB_DIR}/drivers ${PREFIX}/${ADODB_DIR}/lang \
X		${PREFIX}/${ADODB_DIR}/perf ${PREFIX}/${ADODB_DIR}/session/old
X.for FILE in ${BASE}
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${ADODB_DIR}/${FILE}
X.endfor
X.for FILE in ${DATADICT}
X	${INSTALL_DATA} ${WRKSRC}/datadict/${FILE} ${PREFIX}/${ADODB_DIR}/datadict/${FILE}
X.endfor
X.for FILE in ${DRIVERS}
X	${INSTALL_DATA} ${WRKSRC}/drivers/${FILE} ${PREFIX}/${ADODB_DIR}/drivers/${FILE}
X.endfor
X.for FILE in ${LANG}
X	${INSTALL_DATA} ${WRKSRC}/lang/${FILE} ${PREFIX}/${ADODB_DIR}/lang/${FILE}
X.endfor
X.for FILE in ${PERF}
X	${INSTALL_DATA} ${WRKSRC}/perf/${FILE} ${PREFIX}/${ADODB_DIR}/perf/${FILE}
X.endfor
X.for FILE in ${SESSION}
X	${INSTALL_DATA} ${WRKSRC}/session/${FILE} ${PREFIX}/${ADODB_DIR}/session/${FILE}
X.endfor
X
X.if defined(WITH_TESTS)
X	@${MKDIR} ${PREFIX}/${ADODB_DIR}/tests
X.for FILE in ${TESTS}
X	${INSTALL_DATA} ${WRKSRC}/tests/${FILE} ${PREFIX}/${ADODB_DIR}/tests
X.endfor
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR} ${DOCSDIR}/cute_icons_for_site
X.for FILE in ${DOCS}
X	${INSTALL_MAN} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
X.endfor
X.for FILE in ${ICONS}
X	${INSTALL_MAN} ${WRKSRC}/cute_icons_for_site/${FILE} ${DOCSDIR}/cute_icons_for_site/${FILE}
X.endfor
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-databases/adodb4/Makefile
echo x - databases/adodb4/distinfo
sed 's/^X//' >databases/adodb4/distinfo << 'END-of-databases/adodb4/distinfo'
XMD5 (adodb411.tgz) = e6e632b06f72b1c43f41951cf19b2384
END-of-databases/adodb4/distinfo
echo x - databases/adodb4/pkg-descr
sed 's/^X//' >databases/adodb4/pkg-descr << 'END-of-databases/adodb4/pkg-descr'
X"PHP's database access functions are not standardised. This creates a need 
Xfor a database class library to hide the differences between the different 
Xdatabase API's (encapsulate the differences) so we can easily switch databases."
X
X"We currently support MySQL, PostgreSQL, Interbase, Firebird, Informix, 
XOracle, MS SQL 7, Foxpro, Access, ADO, Sybase, FrontBase, DB2, SAP DB, 
XSQLite and generic ODBC."
X
XADOdb Library for PHP Manual, Introduction,
XV4.10 12 Jan 2003 (c) 2000-2004 John Lim (jlim#natsoft.com)
X
XWWW: http://php.weblogs.com/adodb/
X
X- Martin Matuska
Xmartin@tradex.sk
END-of-databases/adodb4/pkg-descr
echo x - databases/adodb4/pkg-plist
sed 's/^X//' >databases/adodb4/pkg-plist << 'END-of-databases/adodb4/pkg-plist'
X%%ADODB_DIR%%/adodb-csvlib.inc.php
X%%ADODB_DIR%%/adodb-datadict.inc.php
X%%ADODB_DIR%%/adodb-error.inc.php
X%%ADODB_DIR%%/adodb-errorhandler.inc.php
X%%ADODB_DIR%%/adodb-errorpear.inc.php
X%%ADODB_DIR%%/adodb-exceptions.inc.php
X%%ADODB_DIR%%/adodb-iterator.inc.php
X%%ADODB_DIR%%/adodb-lib.inc.php
X%%ADODB_DIR%%/adodb-pager.inc.php
X%%ADODB_DIR%%/adodb-pear.inc.php
X%%ADODB_DIR%%/adodb-perf.inc.php
X%%ADODB_DIR%%/adodb-php4.inc.php
X%%ADODB_DIR%%/adodb-time.inc.php
X%%ADODB_DIR%%/adodb-xmlschema.inc.php
X%%ADODB_DIR%%/adodb-xmlschema.zip
X%%ADODB_DIR%%/adodb.inc.php
X%%ADODB_DIR%%/pivottable.inc.php
X%%ADODB_DIR%%/rsfilter.inc.php
X%%ADODB_DIR%%/server.php
X%%ADODB_DIR%%/toexport.inc.php
X%%ADODB_DIR%%/tohtml.inc.php
X%%ADODB_DIR%%/datadict/datadict-access.inc.php
X%%ADODB_DIR%%/datadict/datadict-db2.inc.php
X%%ADODB_DIR%%/datadict/datadict-generic.inc.php
X%%ADODB_DIR%%/datadict/datadict-ibase.inc.php
X%%ADODB_DIR%%/datadict/datadict-informix.inc.php
X%%ADODB_DIR%%/datadict/datadict-mssql.inc.php
X%%ADODB_DIR%%/datadict/datadict-mysql.inc.php
X%%ADODB_DIR%%/datadict/datadict-oci8.inc.php
X%%ADODB_DIR%%/datadict/datadict-postgres.inc.php
X%%ADODB_DIR%%/datadict/datadict-sybase.inc.php
X%%ADODB_DIR%%/drivers/adodb-access.inc.php
X%%ADODB_DIR%%/drivers/adodb-ado.inc.php
X%%ADODB_DIR%%/drivers/adodb-ado_access.inc.php
X%%ADODB_DIR%%/drivers/adodb-ado_mssql.inc.php
X%%ADODB_DIR%%/drivers/adodb-borland_ibase.inc.php
X%%ADODB_DIR%%/drivers/adodb-csv.inc.php
X%%ADODB_DIR%%/drivers/adodb-db2.inc.php
X%%ADODB_DIR%%/drivers/adodb-fbsql.inc.php
X%%ADODB_DIR%%/drivers/adodb-firebird.inc.php
X%%ADODB_DIR%%/drivers/adodb-ibase.inc.php
X%%ADODB_DIR%%/drivers/adodb-informix.inc.php
X%%ADODB_DIR%%/drivers/adodb-informix72.inc.php
X%%ADODB_DIR%%/drivers/adodb-mssql.inc.php
X%%ADODB_DIR%%/drivers/adodb-mssqlpo.inc.php
X%%ADODB_DIR%%/drivers/adodb-mysql.inc.php
X%%ADODB_DIR%%/drivers/adodb-mysqli.inc.php
X%%ADODB_DIR%%/drivers/adodb-mysqlt.inc.php
X%%ADODB_DIR%%/drivers/adodb-oci8.inc.php
X%%ADODB_DIR%%/drivers/adodb-oci805.inc.php
X%%ADODB_DIR%%/drivers/adodb-oci8po.inc.php
X%%ADODB_DIR%%/drivers/adodb-odbc.inc.php
X%%ADODB_DIR%%/drivers/adodb-odbc_mssql.inc.php
X%%ADODB_DIR%%/drivers/adodb-odbc_oracle.inc.php
X%%ADODB_DIR%%/drivers/adodb-oracle.inc.php
X%%ADODB_DIR%%/drivers/adodb-postgres.inc.php
X%%ADODB_DIR%%/drivers/adodb-postgres64.inc.php
X%%ADODB_DIR%%/drivers/adodb-postgres7.inc.php
X%%ADODB_DIR%%/drivers/adodb-proxy.inc.php
X%%ADODB_DIR%%/drivers/adodb-sapdb.inc.php
X%%ADODB_DIR%%/drivers/adodb-sqlanywhere.inc.php
X%%ADODB_DIR%%/drivers/adodb-sqlite.inc.php
X%%ADODB_DIR%%/drivers/adodb-sybase.inc.php
X%%ADODB_DIR%%/drivers/adodb-vfp.inc.php
X%%ADODB_DIR%%/lang/adodb-ca.inc.php
X%%ADODB_DIR%%/lang/adodb-cn.inc.php
X%%ADODB_DIR%%/lang/adodb-cz.inc.php
X%%ADODB_DIR%%/lang/adodb-de.inc.php
X%%ADODB_DIR%%/lang/adodb-en.inc.php
X%%ADODB_DIR%%/lang/adodb-es.inc.php
X%%ADODB_DIR%%/lang/adodb-fr.inc.php
X%%ADODB_DIR%%/lang/adodb-it.inc.php
X%%ADODB_DIR%%/lang/adodb-pt-br.inc.php
X%%ADODB_DIR%%/lang/adodb-ru1251.inc.php
X%%ADODB_DIR%%/lang/adodb-sv.inc.php
X%%ADODB_DIR%%/perf/perf-db2.inc.php
X%%ADODB_DIR%%/perf/perf-informix.inc.php
X%%ADODB_DIR%%/perf/perf-mssql.inc.php
X%%ADODB_DIR%%/perf/perf-mysql.inc.php
X%%ADODB_DIR%%/perf/perf-oci8.inc.php
X%%ADODB_DIR%%/perf/perf-postgres.inc.php
X%%ADODB_DIR%%/session/adodb-compress-bzip2.php
X%%ADODB_DIR%%/session/adodb-compress-gzip.php
X%%ADODB_DIR%%/session/adodb-cryptsession.php
X%%ADODB_DIR%%/session/adodb-encrypt-mcrypt.php
X%%ADODB_DIR%%/session/adodb-encrypt-md5.php
X%%ADODB_DIR%%/session/adodb-encrypt-secret.php
X%%ADODB_DIR%%/session/adodb-sess.txt
X%%ADODB_DIR%%/session/adodb-session-clob.php
X%%ADODB_DIR%%/session/adodb-session.php
X%%ADODB_DIR%%/session/adodb-sessions.mysql.sql
X%%ADODB_DIR%%/session/adodb-sessions.oracle.clob.sql
X%%ADODB_DIR%%/session/adodb-sessions.oracle.sql
X%%ADODB_DIR%%/session/crypt.inc.php
X%%ADODB_DIR%%/session/old/adodb-cryptsession.php
X%%ADODB_DIR%%/session/old/adodb-session-clob.php
X%%ADODB_DIR%%/session/old/adodb-session.php
X%%ADODB_DIR%%/session/old/crypt.inc.php
X%%TESTS%%%%ADODB_DIR%%/tests/benchmark.php
X%%TESTS%%%%ADODB_DIR%%/tests/client.php
X%%TESTS%%%%ADODB_DIR%%/tests/test-datadict.php
X%%TESTS%%%%ADODB_DIR%%/tests/test.php
X%%TESTS%%%%ADODB_DIR%%/tests/test2.php
X%%TESTS%%%%ADODB_DIR%%/tests/test3.php
X%%TESTS%%%%ADODB_DIR%%/tests/test4.php
X%%TESTS%%%%ADODB_DIR%%/tests/test5.php
X%%TESTS%%%%ADODB_DIR%%/tests/test_rs_array.php
X%%TESTS%%%%ADODB_DIR%%/tests/testcache.php
X%%TESTS%%%%ADODB_DIR%%/tests/testdatabases.inc.php
X%%TESTS%%%%ADODB_DIR%%/tests/testgenid.php
X%%TESTS%%%%ADODB_DIR%%/tests/testmssql.php
X%%TESTS%%%%ADODB_DIR%%/tests/testoci8.php
X%%TESTS%%%%ADODB_DIR%%/tests/testoci8cursor.php
X%%TESTS%%%%ADODB_DIR%%/tests/testpaging.php
X%%TESTS%%%%ADODB_DIR%%/tests/testpear.php
X%%TESTS%%%%ADODB_DIR%%/tests/testsessions.php
X%%TESTS%%%%ADODB_DIR%%/tests/time.php
X%%TESTS%%%%ADODB_DIR%%/tests/tmssql.php
X%%TESTS%%%%ADODB_DIR%%/tests/xmlschema.xml
X%%PORTDOCS%%%%DOCSDIR%%/docs-adodb.htm
X%%PORTDOCS%%%%DOCSDIR%%/docs-datadict.htm
X%%PORTDOCS%%%%DOCSDIR%%/docs-perf.htm
X%%PORTDOCS%%%%DOCSDIR%%/docs-session.htm
X%%PORTDOCS%%%%DOCSDIR%%/license.txt
X%%PORTDOCS%%%%DOCSDIR%%/old-changelog.htm
X%%PORTDOCS%%%%DOCSDIR%%/readme.htm
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%%%DOCSDIR%%/tips_portable_sql.htm
X%%PORTDOCS%%%%DOCSDIR%%/tute.htm
X%%PORTDOCS%%%%DOCSDIR%%/cute_icons_for_site/adodb.gif
X%%PORTDOCS%%%%DOCSDIR%%/cute_icons_for_site/adodb.png
X%%PORTDOCS%%%%DOCSDIR%%/cute_icons_for_site/adodb2.gif
X%%PORTDOCS%%%%DOCSDIR%%/cute_icons_for_site/adodb2.png
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/cute_icons_for_site
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%ADODB_DIR%%/datadict
X@dirrm %%ADODB_DIR%%/drivers
X@dirrm %%ADODB_DIR%%/lang
X@dirrm %%ADODB_DIR%%/perf
X@dirrm %%ADODB_DIR%%/session/old
X@dirrm %%ADODB_DIR%%/session
X%%TESTS%%@dirrm %%ADODB_DIR%%/tests
X@dirrm %%ADODB_DIR%%
END-of-databases/adodb4/pkg-plist
echo x - databases/adodb4/pkg-message
sed 's/^X//' >databases/adodb4/pkg-message << 'END-of-databases/adodb4/pkg-message'
X
XYou can add the ADOdb path (default: /usr/local/share/adodb) 
Xto the "include_path=" directive in your php.ini
END-of-databases/adodb4/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



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