[Pkg-php-commits] r1191 - in pear: . php-mdb2-driver-pgsql php-mdb2-driver-pgsql/trunk php-mdb2-driver-pgsql/trunk/debian

Mark Hershberger mah-guest at alioth.debian.org
Fri Jan 9 02:33:11 UTC 2009


tags 510900 pending
thanks

Author: mah-guest
Date: 2009-01-09 02:33:10 +0000 (Fri, 09 Jan 2009)
New Revision: 1191

Added:
   pear/php-mdb2-driver-pgsql/
   pear/php-mdb2-driver-pgsql/branches/
   pear/php-mdb2-driver-pgsql/tags/
   pear/php-mdb2-driver-pgsql/trunk/
   pear/php-mdb2-driver-pgsql/trunk/debian/
   pear/php-mdb2-driver-pgsql/trunk/debian/changelog
   pear/php-mdb2-driver-pgsql/trunk/debian/compat
   pear/php-mdb2-driver-pgsql/trunk/debian/control
   pear/php-mdb2-driver-pgsql/trunk/debian/copyright
   pear/php-mdb2-driver-pgsql/trunk/debian/rules
   pear/php-mdb2-driver-pgsql/trunk/debian/svn-deblayout
   pear/php-mdb2-driver-pgsql/trunk/debian/watch
Log:
initial attempt at build


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

Added: pear/php-mdb2-driver-pgsql/trunk/debian/changelog
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/changelog	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/changelog	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1,6 @@
+php-mdb2-driver-pgsql (1.4.1-1) unstable; urgency=low
+
+  * Initial Release  (Closes: #510900).
+
+ -- Mark A. Hershberger <mhershberger at intrahealth.org>  Sat, 29 Nov 2008 19:41:00 +0100
+

Added: pear/php-mdb2-driver-pgsql/trunk/debian/compat
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/compat	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/compat	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1 @@
+5

Added: pear/php-mdb2-driver-pgsql/trunk/debian/control
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/control	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/control	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1,24 @@
+Source: php-mdb2-driver-pgsql
+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
+Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-mdb2-driver-pgsql/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-mdb2-driver-pgsql/trunk
+Homepage: http://pear.php.net/package/MDB2_Driver_pgsql
+Standards-Version: 3.8.0
+
+Package: php-mdb2-driver-mysql
+Architecture: all
+Depends: php-pear (>=5.2.0-8), php-mdb2 (>=2.4.1-1), php5-pgsql
+Description: PHP PEAR module to provide a PostgreSQL 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.
+ .
+ This package provides the PostgreSQL package for MDB2.

Added: pear/php-mdb2-driver-pgsql/trunk/debian/copyright
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/copyright	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/copyright	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1,51 @@
+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
+    Lorenzo Alberton <l.alberton at quipo.it>
+    Lukas Kahwe Smith <smith at pooteeweet.org>
+    Nathan Fredrickson
+
+It was downloaded from http://pear.php.net/package/MDB2_Driver_pgsql
+
+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-pgsql/trunk/debian/rules
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/rules	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/rules	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1,79 @@
+#!/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_pgsql)
+package = php-mdb2-driver-pgsql
+
+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 -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/data
+	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_pgsql
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: 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
+


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

Added: pear/php-mdb2-driver-pgsql/trunk/debian/svn-deblayout
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/svn-deblayout	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/svn-deblayout	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1,3 @@
+origDir=../../upstream
+buildArea=../../build-area
+

Added: pear/php-mdb2-driver-pgsql/trunk/debian/watch
===================================================================
--- pear/php-mdb2-driver-pgsql/trunk/debian/watch	                        (rev 0)
+++ pear/php-mdb2-driver-pgsql/trunk/debian/watch	2009-01-09 02:33:10 UTC (rev 1191)
@@ -0,0 +1,3 @@
+version=3
+http://pear.php.net/package/MDB2_Driver_pgsql http://download.pear.php.net/package/MDB2_Driver_pgsql-([\d.RC]+).tgz
+




More information about the Pkg-php-commits mailing list