Skip site navigation (1)Skip section navigation (2)
Date:      8 Jul 2001 13:22:13 -0000
From:      "Andre Goeree" <abgoeree@uwnet.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28811: Update port: databases/adodb
Message-ID:  <20010708132213.5115.qmail@mandark.attica.home>

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

>Number:         28811
>Category:       ports
>Synopsis:       Update port: databases/adodb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 06:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Maintainer
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mandark.attica.home 4.3-STABLE FreeBSD 4.3-STABLE #4: Tue Jul 3 21:40:50 CEST 2001 toor@mandark.attica.home:/usr/obj/usr/src/sys/CUSTOM i386

>Description:

Modified files:
	Makefile	Install docs in ${PREFIX}/share/doc/adodb
	pkg-plist	Update the above changes

	pkg-comment	A better comment
	pkg-desc	A better description

Notes:
Although pkg-plist is modified I did not bump the revision:
No functional change, only some docs have been moved, removed some 
files that should not be installed in the first place.
If however a revision bump is necessary, please drop a line.

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ago/etc/cvsroot/ports/databases/adodb/Makefile,v
retrieving revision 1.3
retrieving revision 1.7
diff -u -r1.3 -r1.7
--- Makefile	2001/07/04 22:45:18	1.3
+++ Makefile	2001/07/07 22:24:08	1.7
@@ -20,9 +20,19 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	YES
 
+ADODB_DIR=	share/doc/apache/php/adodb
+
+post-patch:
+	${PERL} -pi -e 's!^readme\.htm!${PREFIX}/${ADODB_DIR}/readme\.htm!' \
+		${WRKSRC}/readme.txt
+	${PERL} -pi -e 's!^tute\.htm!${PREFIX}/${ADODB_DIR}/tute\.htm!' \
+		${WRKSRC}/readme.txt
+
 do-install:
-	${RM} -f ${WRKSRC}/*.orig
-	${MKDIR} ${PREFIX}/share/doc/apache/php/adodb
-	${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/share/doc/apache/php/adodb
+	${MKDIR} ${PREFIX}/share/doc/adodb
+	${MKDIR} ${PREFIX}/${ADODB_DIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/adodb
+	${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/${ADODB_DIR}
+	${INSTALL_DATA} ${WRKSRC}/*.htm ${PREFIX}/${ADODB_DIR}
 
 .include <bsd.port.mk>
Index: pkg-comment
===================================================================
RCS file: /home/ago/etc/cvsroot/ports/databases/adodb/pkg-comment,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pkg-comment	2001/06/29 10:32:50	1.1
+++ pkg-comment	2001/07/07 19:32:03	1.2
@@ -1 +1 @@
-Standardized database access for PHP4
+A high quality database library for PHP4
Index: pkg-descr
===================================================================
RCS file: /home/ago/etc/cvsroot/ports/databases/adodb/pkg-descr,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -r1.1 -r1.3
--- pkg-descr	2001/06/29 10:32:50	1.1
+++ pkg-descr	2001/07/07 22:23:30	1.3
@@ -1,21 +1,32 @@
-PHP's database access functions are not standardized.
-Every database extension uses a different and incompatibile API.
-This creates a need for a database class library to hide the differences
-between the different databases (encapsulate the differences) so we can
-easily switch databases.
-
 ADODB stands for Active Data Objects Data Base.
+
+ADODB currently supports: 
+	MySQL, PostgreSQL, Interbase, Oracle, MS SQL 7
+	Foxpro, Access, ADO, Sybase and generic ODBC.
+
+Unique Features of ADODB:
+
+* Easy for Windows programmers to adapt to because many of the conventions 
+  are similar to Microsoft's ADO.
 
-ADODB currently supports: MySQL, PostgreSQL, Interbase, Oracle, MS SQL 7,
-Foxpro, Access, ADO, Sybase and generic ODBC.
-The Sybase and PostgreSQL drivers are community contributions.
-The developers of ABODB hope more people will contribute drivers to support
-more databases.
+* Unlike other PHP database classes which focus only on select statements
+  ADODB provides support code to handle inserts and updates which can be
+  adapted to multiple databases quickly. Methods are provided for date
+  handling, string concatenation and string quoting characters for 
+  differing databases.
 
-Feature requests and bug reports can be emailed to jlim@natsoft.com.my or
-posted to http://php.weblogs.com/discuss/msgReader$96.
+* A metatype system is built in so that types such as CHAR, TEXT and STRING
+  are equivalent in different databases.
 
+* Easy to port because all the database dependant code are stored in stub
+  functions. You do not need to port the core logic of the classes.
+
+* PHP4 session support. You can store your session information using ADODB
+  for true portability and scalability. See adodb-session.php for more 
+  information.
+
 WWW: http://php.weblogs.com/ADODB
+
+-- Andre
+abgoeree@uwnet.nl
 
---
-Andre Goeree <abgoeree@uwnet.nl>
Index: pkg-plist
===================================================================
RCS file: /home/ago/etc/cvsroot/ports/databases/adodb/pkg-plist,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pkg-plist	2001/07/04 22:45:18	1.3
+++ pkg-plist	2001/07/07 20:50:53	1.4
@@ -1,9 +1,10 @@
+share/doc/adodb/license.txt
+share/doc/adodb/readme.txt
 share/doc/apache/php/adodb/adodb-access.inc.php
 share/doc/apache/php/adodb/adodb-ado.inc.php
 share/doc/apache/php/adodb/adodb-ado_access.inc.php
 share/doc/apache/php/adodb/adodb-ado_mssql.inc.php
 share/doc/apache/php/adodb/adodb-csv.inc.php
-share/doc/apache/php/adodb/adodb-d.apj
 share/doc/apache/php/adodb/adodb-db2.inc.php
 share/doc/apache/php/adodb/adodb-fbsql.inc.php
 share/doc/apache/php/adodb/adodb-ibase.inc.php
@@ -22,9 +23,7 @@
 share/doc/apache/php/adodb/adodb.inc.php
 share/doc/apache/php/adodb/benchmark.php
 share/doc/apache/php/adodb/client.php
-share/doc/apache/php/adodb/license.txt
 share/doc/apache/php/adodb/readme.htm
-share/doc/apache/php/adodb/readme.txt
 share/doc/apache/php/adodb/server.php
 share/doc/apache/php/adodb/test.php
 share/doc/apache/php/adodb/test2.php
@@ -33,6 +32,6 @@
 share/doc/apache/php/adodb/testdatabases.inc.php
 share/doc/apache/php/adodb/tohtml.inc.php
 share/doc/apache/php/adodb/tute.htm
-share/doc/apache/php/adodb/vssver.scc
 @dirrm share/doc/apache/php/adodb
 @dirrm share/doc/apache/php
+@dirrm share/doc/adodb
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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