--- php-db-1.7.6.orig/debian/docs +++ php-db-1.7.6/debian/docs @@ -0,0 +1 @@ +doc/* --- php-db-1.7.6.orig/debian/changelog +++ php-db-1.7.6/debian/changelog @@ -0,0 +1,25 @@ +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.6.orig/debian/control +++ php-db-1.7.6/debian/control @@ -0,0 +1,48 @@ +Source: php-db +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian PHP Maintainers +Uploaders: Adam Conrad , Ondřej Surý +Build-Depends: debhelper (>= 4.0) +Standards-Version: 3.6.2 + +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 DB'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. + . + DB is compatible with both PHP 4 and PHP 5. --- php-db-1.7.6.orig/debian/copyright +++ php-db-1.7.6/debian/copyright @@ -0,0 +1,77 @@ +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.0, the complete text of which follows: + +-------------------------------------------------------------------- + The PHP License, version 3.0 +Copyright (c) 1999 - 2004 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, 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 . + +This product includes the Zend Engine, freely available at +. + --- php-db-1.7.6.orig/debian/compat +++ php-db-1.7.6/debian/compat @@ -0,0 +1 @@ +4 --- php-db-1.7.6.orig/debian/dirs +++ php-db-1.7.6/debian/dirs @@ -0,0 +1,3 @@ +usr/share/php/ +usr/share/php/DB/ +usr/share/php/tests/ --- php-db-1.7.6.orig/debian/rules +++ php-db-1.7.6/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +source=$(shell dpkg-parsechangelog | grep '^Source: ' | sed -e 's/^Source: //') + +build: + # Nothing to do here + +clean: + dh_testdir + dh_testroot + dh_clean + +binary: binary-arch binary-indep + # Nothing to do here + +binary-arch: + # Nothing to do here + +binary-indep: + dh_testdir + dh_installdirs + + # Custom package actions + cp DB.php debian/$(source)/usr/share/php/ + cp DB/* debian/$(source)/usr/share/php/DB/ + cp -r tests/* debian/$(source)/usr/share/php/tests/ + chmod 755 debian/$(source)/usr/share/php/tests/run.cvs debian/$(source)/usr/share/php/tests/driver/run.cvs + + # Rest of the debhelper scripts + dh_testroot + dh_installchangelogs + dh_installdocs + dh_fixperms + dh_compress + dh_gencontrol + dh_md5sums + dh_builddeb +.PHONY: binary binary-arch binary-indep build clean