--- php-mdb2-driver-mysql-1.5.0b2.orig/debian/changelog +++ php-mdb2-driver-mysql-1.5.0b2/debian/changelog @@ -0,0 +1,24 @@ +php-mdb2-driver-mysql (1.5.0b2-1) unstable; urgency=low + + [ Mark A. Hershberger ] + * Upgrade to upstream version. (Closes: #520897) + + [ Vincent Bernat ] + * Bump Standards-Version to 3.8.1. No changes required. + * Change section to php. + + -- Mark A. Hershberger Fri, 24 Apr 2009 15:19:11 -0400 + +php-mdb2-driver-mysql (1.4.1-2) unstable; urgency=low + + * Fix the version of php-mdb2 that the package depends on. + (Closes: #510327) + + -- Mark A. Hershberger Mon, 05 Jan 2009 14:27:21 -0500 + +php-mdb2-driver-mysql (1.4.1-1) unstable; urgency=low + + * Initial Release (Closes: #441642). + + -- Mark A. Hershberger Sat, 29 Nov 2008 19:41:00 +0100 + --- php-mdb2-driver-mysql-1.5.0b2.orig/debian/rules +++ php-mdb2-driver-mysql-1.5.0b2/debian/rules @@ -0,0 +1,81 @@ +#!/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 -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_mysql + +# 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 + +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 --- php-mdb2-driver-mysql-1.5.0b2.orig/debian/compat +++ php-mdb2-driver-mysql-1.5.0b2/debian/compat @@ -0,0 +1 @@ +5 --- php-mdb2-driver-mysql-1.5.0b2.orig/debian/watch +++ php-mdb2-driver-mysql-1.5.0b2/debian/watch @@ -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 + --- php-mdb2-driver-mysql-1.5.0b2.orig/debian/copyright +++ php-mdb2-driver-mysql-1.5.0b2/debian/copyright @@ -0,0 +1,50 @@ +This package was debianized by Mark A. Hershberger + and is currently maintained by the +Debian PHP Maintainers + +The upstream authors are + Lukas Kahwe Smith + Lorenzo Alberton + +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. | +// +----------------------------------------------------------------------+ --- php-mdb2-driver-mysql-1.5.0b2.orig/debian/control +++ php-mdb2-driver-mysql-1.5.0b2/debian/control @@ -0,0 +1,21 @@ +Source: php-mdb2-driver-mysql +Section: php +Priority: optional +Maintainer: Debian PHP Maintainers +Uploaders: Mark A. Hershberger , Vincent Bernat +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: php-pear +Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-mdb2-driver-mysql/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-mdb2-driver-mysql/trunk +Homepage: http://pear.php.net/package/MDB2_Driver_mysql +Standards-Version: 3.8.1 + +Package: php-mdb2-driver-mysql +Architecture: all +Depends: php-pear (>=5.2.0-8), php-mdb2 (>=2.5.0b2-1), php5-mysql +Description: PHP PEAR module to provide a MySQL driver for MDB2 + MDB2 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 MySQL package for MDB2. --- php-mdb2-driver-mysql-1.5.0b2.orig/debian/svn-deblayout +++ php-mdb2-driver-mysql-1.5.0b2/debian/svn-deblayout @@ -0,0 +1,3 @@ +origDir=../../upstream +buildArea=../../build-area +