[Pkg-php-commits] r897 - in pear: . php-mdb2-driver-mysql php-mdb2-driver-mysql/trunk php-mdb2-driver-mysql/trunk/debian

Mark Hershberger mah-guest at alioth.debian.org
Thu Sep 20 22:16:44 UTC 2007


tags 441642 pending
thanks

Author: mah-guest
Date: 2007-09-20 22:16:43 +0000 (Thu, 20 Sep 2007)
New Revision: 897

Added:
   pear/php-mdb2-driver-mysql/
   pear/php-mdb2-driver-mysql/branches/
   pear/php-mdb2-driver-mysql/tags/
   pear/php-mdb2-driver-mysql/trunk/
   pear/php-mdb2-driver-mysql/trunk/debian/
   pear/php-mdb2-driver-mysql/trunk/debian/changelog
   pear/php-mdb2-driver-mysql/trunk/debian/compat
   pear/php-mdb2-driver-mysql/trunk/debian/control
   pear/php-mdb2-driver-mysql/trunk/debian/copyright
   pear/php-mdb2-driver-mysql/trunk/debian/rules
   pear/php-mdb2-driver-mysql/trunk/debian/svn-deblayout
   pear/php-mdb2-driver-mysql/trunk/debian/watch
Log:
initial commit

Added: pear/php-mdb2-driver-mysql/trunk/debian/changelog
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/changelog	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/changelog	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1,12 @@
+php-mdb2-driver-mysql (1.4.1-2) unstable; urgency=low
+
+  * Switch to pkg-php svn templates.
+
+ -- Mark A. Hershberger <mhershberger at intrahealth.org>  Thu, 20 Sep 2007 18:03:39 -0400
+
+php-mdb2-driver-mysql (1.4.1-1) unstable; urgency=low
+
+  * Initial Release  (Closes: #441642).
+
+ -- Mark A. Hershberger <mhershberger at intrahealth.org>  Thu, 13 Sep 2007 16:15:07 -0400
+

Added: pear/php-mdb2-driver-mysql/trunk/debian/compat
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/compat	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/compat	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1 @@
+5

Added: pear/php-mdb2-driver-mysql/trunk/debian/control
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/control	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/control	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1,25 @@
+Source: php-mdb2-driver-mysql
+Section: web
+Priority: optional
+Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.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/php-mdb2-driver-mysql/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-mdb2-driver-mysql/trunk
+XS-Homepage: http://pear.php.net/package/MDB2-Driver-mysql
+Standards-Version: 3.7.2
+
+Package: php-mdb2-driver-mysql
+Architecture: all
+Depends: php-pear (>=5.2.0-8), php-mdb2 (>=2.4.1-3)
+Description: PHP PEAR module to provide a MySQL driver for MDB2
+ PEAR MDB2 is a merge of the PEAR DB and Metabase php database a
+ 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:
+ .
+ This package provides the MySQL package for MDB2
\ No newline at end of file

Added: pear/php-mdb2-driver-mysql/trunk/debian/copyright
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/copyright	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/copyright	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1,50 @@
+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>
+
+The upstream authors are
+    Lukas Kahwe Smith <smith at pooteeweet.org>
+    Lorenzo Alberton <l.alberton at quipo.it>
+
+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.                                          |
+// +----------------------------------------------------------------------+

Added: pear/php-mdb2-driver-mysql/trunk/debian/rules
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/rules	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/rules	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
+
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls |grep MDB2_Driver_mysql)
+package = php-mdb2-driver-mysql
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	if [ -f $(pear_pkg)/package.xml ]; then \
+		rm $(pear_pkg)/package.xml; \
+	fi
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/package.
+	cp package.xml $(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;
+	rm -rf debian/$(package)/usr/share/php/.depdblock;
+	rm -rf debian/$(package)/usr/share/php/.depdb;
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
+	rm -rf debian/$(package)/tmp
+
+	# remove duplicated files, these files are in /usr/share/doc/package
+	rm -rf debian/$(package)/usr/share/php/docs;
+	rm -rf debian/$(package)/usr/share/php/tests;
+	rm -rf debian/$(package)/usr/share/php/data/MDB2_Driver_mysql
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs 
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+
+get-orig-source:
+	wget http://download.pear.php.net/package/MDB2_Driver_mysql-${DEB_UPSTREAM_VERSION}.tgz -O php-mdb2-driver-mysql_${DEB_UPSTREAM_VERSION}.orig.tar.gz


Property changes on: pear/php-mdb2-driver-mysql/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: pear/php-mdb2-driver-mysql/trunk/debian/svn-deblayout
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/svn-deblayout	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/svn-deblayout	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1,3 @@
+origDir=../../upstream
+buildArea=../../build-area
+

Added: pear/php-mdb2-driver-mysql/trunk/debian/watch
===================================================================
--- pear/php-mdb2-driver-mysql/trunk/debian/watch	                        (rev 0)
+++ pear/php-mdb2-driver-mysql/trunk/debian/watch	2007-09-20 22:16:43 UTC (rev 897)
@@ -0,0 +1,3 @@
+version=3
+http://pear.php.net/package/MDB2_Driver_mysql http://download.pear.php.net/package/MDB2_Driver_mysql-([\d.RC]+).tgz
+




More information about the Pkg-php-commits mailing list