[Pkg-php-commits] r893 - in pear: . php-mdb2 php-mdb2/trunk php-mdb2/trunk/debian

Mark Hershberger mah-guest at alioth.debian.org
Thu Sep 20 20:46:48 UTC 2007


tags 441637 pending
thanks

Author: mah-guest
Date: 2007-09-20 20:46:48 +0000 (Thu, 20 Sep 2007)
New Revision: 893

Added:
   pear/php-mdb2/
   pear/php-mdb2/branches/
   pear/php-mdb2/tags/
   pear/php-mdb2/trunk/
   pear/php-mdb2/trunk/debian/
   pear/php-mdb2/trunk/debian/changelog
Modified:
   pear/php-mdb2/trunk/debian/control
   pear/php-mdb2/trunk/debian/copyright
   pear/php-mdb2/trunk/debian/rules
   pear/php-mdb2/trunk/debian/watch
Log:
Initial commit of php-mdb2 to svn


Copied: pear/php-mdb2/trunk/debian (from rev 882, pear/skeleton/debian)


Property changes on: pear/php-mdb2/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: pear/php-mdb2/trunk/debian/changelog
===================================================================
--- pear/php-mdb2/trunk/debian/changelog	                        (rev 0)
+++ pear/php-mdb2/trunk/debian/changelog	2007-09-20 20:46:48 UTC (rev 893)
@@ -0,0 +1,13 @@
+php-mdb2 (2.4.1-2) unstable; urgency=low
+
+  * Goes into pkg-php svn repository.
+  * Switch to pkg-php template from dh-make-pear template.
+
+ -- Mark A. Hershberger <mhershberger at intrahealth.org>  Thu, 20 Sep 2007 16:30:43 -0400
+
+php-mdb2 (2.4.1-1) unstable; urgency=low
+
+  * Initial Release. (Closes: 441637)
+
+ -- Mark A. Hershberger <mhershberger at intrahealth.org>  Thu, 13 Sep 2007 14:51:39 -0400
+

Modified: pear/php-mdb2/trunk/debian/control
===================================================================
--- pear/skeleton/debian/control	2007-09-20 00:45:45 UTC (rev 882)
+++ pear/php-mdb2/trunk/debian/control	2007-09-20 20:46:48 UTC (rev 893)
@@ -1,16 +1,49 @@
-Source: MODULE_NAME
+Source: php-mdb2
 Section: web
 Priority: optional
 Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
-Uploaders: Ondrej Surý <ondrej at sury.org>
+Uploaders: Mark A. Hershberger <mhershberger at intrahealth.org>
 Build-Depends: debhelper (>= 5) 
 Build-Depends-Indep: php-pear
-XS-Vcs-Svn: svn://svn.debian.org/pkg-php/pear/MODULE_NAME/trunk
-XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/MODULE_NAME/trunk
+XS-Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-mdb2/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-mdb2/trunk
+XS-Homepage: http://pear.php.net/package/MDB2
 Standards-Version: 3.7.2
 
-Package: MODULE_NAME
+Package: php-mdb2
 Architecture: all
-Depends: php-pear
-Description: PHP PEAR module FIXME
- FIXME
+Depends: php-pear (>=5.2.0-8)
+Description: PHP PEAR module to provide a common API for supported RDBMS
+ PEAR MDB2 is a merge of the PEAR DB and Metabase php database 
+ abstraction layers.
+ .
+ It provides a common API for all supported RDBMS. The main difference
+ to most other DB abstraction packages is that MDB2 goes much further
+ to ensure portability. MDB2 provides most of its many features
+ optionally that can be used to construct portable SQL statements:
+ .
+  * Object-Oriented API
+  * A DSN (data source name) or array format for specifying database 
+    servers
+  * Datatype abstraction and on demand datatype conversion
+  * Various optional fetch modes to fix portability issues
+  * Portable error codes
+  * Sequential and non sequential row fetching as well as bulk fetching
+  * Ability to make buffered and unbuffered queries
+  * Ordered array and associative array for the fetched rows
+  * Prepare/execute (bind) named and unnamed placeholder emulation
+  * Sequence/autoincrement emulation
+  * Replace emulation
+  * Limited sub select emulation
+  * Row limit emulation
+  * Transactions/savepoint support
+  * Large Object support
+  * Index/Unique Key/Primary Key support
+  * Pattern matching abstraction
+  * Module framework to load advanced functionality on demand
+  * Ability to read the information schema
+  * RDBMS management methods (creating, dropping, altering)
+  * Reverse engineering schemas from an existing database
+  * SQL function call abstraction
+  * Full integration into the PEAR Framework
+  * PHPDoc API documentation

Modified: pear/php-mdb2/trunk/debian/copyright
===================================================================
--- pear/skeleton/debian/copyright	2007-09-20 00:45:45 UTC (rev 882)
+++ pear/php-mdb2/trunk/debian/copyright	2007-09-20 20:46:48 UTC (rev 893)
@@ -1,5 +1,46 @@
-This package was debianized by NAME EMAIL and is currently
-maintained by the Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
+This package was debianized by Mark A. Hershberger
+<mhershberger at intrahealth.org> and is currently maintained by the
+Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
 
-It was downloaded from http://pear.php.net/package/MODULE_NAME
+It was downloaded from http://pear.php.net/package/MDB2
 
+Following is the (BSD-style) MDB2 copyright:
+
+// +----------------------------------------------------------------------+
+// | Copyright (c) 1998-2006 Manuel Lemos, Tomas V.V.Cox,                 |
+// | Stig. S. Bakken, Lukas Smith                                         |
+// | All rights reserved.                                                 |
+// +----------------------------------------------------------------------+
+// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
+// | API as well as database abstraction for PHP applications.            |
+// | This LICENSE is in the BSD license style.                            |
+// |                                                                      |
+// | Redistribution and use in source and binary forms, with or without   |
+// | modification, are permitted provided that the following conditions   |
+// | are met:                                                             |
+// |                                                                      |
+// | Redistributions of source code must retain the above copyright       |
+// | notice, this list of conditions and the following disclaimer.        |
+// |                                                                      |
+// | Redistributions in binary form must reproduce the above copyright    |
+// | notice, this list of conditions and the following disclaimer in the  |
+// | documentation and/or other materials provided with the distribution. |
+// |                                                                      |
+// | Neither the name of Manuel Lemos, Tomas V.V.Cox, Stig. S. Bakken,    |
+// | Lukas Smith nor the names of his contributors may be used to endorse |
+// | or promote products derived from this software without specific prior|
+// | written permission.                                                  |
+// |                                                                      |
+// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  |
+// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT    |
+// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS    |
+// | FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE      |
+// | REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,          |
+// | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
+// | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS|
+// |  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  |
+// | AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT          |
+// | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY|
+// | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE          |
+// | POSSIBILITY OF SUCH DAMAGE.                                          |
+// +----------------------------------------------------------------------+
\ No newline at end of file

Modified: pear/php-mdb2/trunk/debian/rules
===================================================================
--- pear/skeleton/debian/rules	2007-09-20 00:45:45 UTC (rev 882)
+++ pear/php-mdb2/trunk/debian/rules	2007-09-20 20:46:48 UTC (rev 893)
@@ -10,8 +10,8 @@
 DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
 
 PEAR ?= /usr/bin/pear
-pear_pkg = $(shell ls |grep MODULE_NAME)
-package = MODULE_NAME
+pear_pkg = $(shell ls |grep MDB2)
+package = php-mdb2
 
 configure: configure-stamp
 configure-stamp:
@@ -40,7 +40,7 @@
 
 	# Add here commands to install the package into debian/package.
 	cp package.xml $(pear_pkg)/package.xml;
-	$(PEAR) install -n -R debian/$(package) $(pear_pkg)/package.xml;
+	$(PEAR) install -f -n -R debian/$(package) $(pear_pkg)/package.xml;
 	rm -f debian/$(package)/usr/share/php/.filemap;
 	rm -f debian/$(package)/usr/share/php/.lock;
 	rm -rf debian/$(package)/usr/share/php/.channels;
@@ -76,4 +76,4 @@
 .PHONY: build clean binary-indep binary-arch binary install configure
 
 get-orig-source:
-	wget http://download.pear.php.net/package/MODULE_NAME-${DEB_UPSTREAM_VERSION}.tgz -O php-FIXME_${DEB_UPSTREAM_VERSION}.orig.tar.gz
+	wget http://download.pear.php.net/package/MDB2-${DEB_UPSTREAM_VERSION}.tgz -O php-mdb2_${DEB_UPSTREAM_VERSION}.orig.tar.gz

Modified: pear/php-mdb2/trunk/debian/watch
===================================================================
--- pear/skeleton/debian/watch	2007-09-20 00:45:45 UTC (rev 882)
+++ pear/php-mdb2/trunk/debian/watch	2007-09-20 20:46:48 UTC (rev 893)
@@ -1,2 +1,2 @@
 version=3
-http://pear.php.net/package/MODULE_NAME http://download.pear.php.net/package/MODULE_NAME-([\d.RC]+).tgz
+http://pear.php.net/package/MDB2 http://download.pear.php.net/package/MDB2-([\d.RC]+).tgz




More information about the Pkg-php-commits mailing list