--- php-db-1.7.13.orig/debian/dirs +++ php-db-1.7.13/debian/dirs @@ -0,0 +1,3 @@ +usr/share/php/ +usr/share/php/DB/ +usr/share/php/tests/ --- php-db-1.7.13.orig/debian/watch +++ php-db-1.7.13/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pear.php.net/package/DB http://download.pear.php.net/package/DB-([\d.RC]+).tgz --- php-db-1.7.13.orig/debian/changelog +++ php-db-1.7.13/debian/changelog @@ -0,0 +1,73 @@ +php-db (1.7.13-1ubuntu3) hardy; urgency=low + + * debian/compat: if I change debhelper to be <6 I should change + debian/compat too..Thanks Thijs + + -- Stephan Hermann Fri, 25 Jan 2008 20:33:06 +0100 + +php-db (1.7.13-1ubuntu2) hardy; urgency=low + + The "This is a bad Morning" Upload + * debian/control: Updated Maintainer field according to spec + + -- Stephan Hermann Thu, 24 Jan 2008 09:59:34 +0100 + +php-db (1.7.13-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable + * debian/control: + - build-dep debhelper: decreased version number from 6 to 5, we don't have + debhelper >=6 in our archives + - added php-pear as build-dep + + -- Stephan Hermann Thu, 24 Jan 2008 09:47:41 +0100 + +php-db (1.7.13-1) unstable; urgency=low + + [ Martin Lohmeier ] + * New upstream release. + + Fixes parsing of postgresql FETCH (Closes: #357098) + + Fixes @package_version@ variable (Closes: #384269). + * Updated to PHP License 3.01 as upstream did (Closes: #332608) + * Add debian/watch file. + * Add Vcs-Svn field to debian/control. + * Updated to debhelper 6. + * Updated to standard version 3.7.3. + * Add Homepage to debian/control. + * New build system using PEAR. + + [ Thijs Kinkhorst ] + * Even newer upstream release. + * Cleanup packaging. + * Do not install tests, these are not really relevant in the binary + package (Closes: #457437). + * Update package description. + + -- Thijs Kinkhorst Sun, 20 Jan 2008 18:25:25 +0100 + +php-db (1.7.6-2ubuntu1) hardy; urgency=low + + * debian/rules: + - Fix bashism (fixes FTBFS). + * debian/control: + - Modify Maintainer value to match DebianMaintainerField spec. + + -- Michael Bienia Sat, 22 Dec 2007 13:08:18 +0100 + +php-db (1.7.6-2) unstable; urgency=low + + * Need to replace php4-pear (<< 4:4.4.0-0), yes the epoch matters. + * Update debian/copyright to make sure the license is correct, the + Debian maintainers are mentioned, the upstream copyright holder + is mentioned and the upstream location is quoted. + * Clean up some lintian warnings about the description and some + scripts that were not made executable. + + -- Adam Conrad Fri, 29 Jul 2005 08:36:42 +1000 + +php-db (1.7.6-1) unstable; urgency=low + + * Initial release. + + -- Ondřej Surý Thu, 21 Jul 2005 09:45:07 +0200 + --- php-db-1.7.13.orig/debian/copyright +++ php-db-1.7.13/debian/copyright @@ -0,0 +1,76 @@ +This package was debianized by Ondrej Sury and is currently +maintained by the Debian PHP Maintainers + +It was downloaded from http://pear.php.net/package/DB + +The upstream copyright is held by The PHP Group, and the source is under +the PHP License, version 3.01, the complete text of which follows: + +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2006 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. 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. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED 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 PHP +DEVELOPMENT TEAM OR ITS 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. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + +PHP includes the Zend Engine, freely available at +. --- php-db-1.7.13.orig/debian/docs +++ php-db-1.7.13/debian/docs @@ -0,0 +1 @@ +DB-*/doc/* --- php-db-1.7.13.orig/debian/rules +++ php-db-1.7.13/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +# 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 DB) +package = php-db + +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/DB/misc; + +# 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/DB-${DEB_UPSTREAM_VERSION}.tgz -O php-db_${DEB_UPSTREAM_VERSION}.orig.tar.gz --- php-db-1.7.13.orig/debian/control +++ php-db-1.7.13/debian/control @@ -0,0 +1,46 @@ +Source: php-db +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian PHP Maintainers +Uploaders: Thijs Kinkhorst +Build-Depends: debhelper (>= 5), php-pear +Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-db/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-db/trunk +Homepage: http://pear.php.net/package/DB +Standards-Version: 3.7.3 + +Package: php-db +Architecture: all +Depends: php-pear +Replaces: php4-pear (<< 4:4.4.0-0) +Description: PHP PEAR Database Abstraction Layer + DB is a database abstraction layer providing: + * an OO-style query API + * portability features that make programs written for one DBMS work + with other DBMS's + * a DSN (data source name) format for specifying database servers + * prepare/execute (bind) emulation for databases that don't support it + natively + * a result object for each query response + * portable error codes + * sequence emulation + * sequential and non-sequential row fetching as well as bulk fetching + * formats fetched rows as associative arrays, ordered arrays or objects + * row limit support + * transactions support + * table information interface + * DocBook and phpDocumentor API documentation + . + DB layers itself on top of PHP's existing database extensions. + . + Drivers for the following extensions pass the complete test suite and + provide interchangeability when all of the database's portability + options are enabled: + fbsql, ibase, informix, msql, mssql, + mysql, mysqli, oci8, odbc, pgsql, + sqlite and sybase. + . + There is also a driver for the dbase extension, but it can't be used + interchangeably because dbase doesn't support many standard DBMS + features. --- php-db-1.7.13.orig/debian/compat +++ php-db-1.7.13/debian/compat @@ -0,0 +1 @@ +5