--- php-interbase-5.3.5.orig/debian/copyright +++ php-interbase-5.3.5/debian/copyright @@ -0,0 +1,69 @@ +This package was debianized by Ondřej Surý on +Wed, 22 Mar 2006 15:04:08 +0100 + +It was downloaded from http://www.php.net/downloads.php + +Upstream Authors: Jouni Ahto + Andrew Avdeev + Ard Biesheuvel + +This extension is distributed under the terms of the PHP License, +version 3.01, as follows below. + +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2008 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. + +-------------------------------------------------------------------- --- php-interbase-5.3.5.orig/debian/php5-interbase.preinst +++ php-interbase-5.3.5/debian/php5-interbase.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ -L /usr/share/doc/php5-interbase ]; then + # We must be upgrading from a version that was previously + # built from the php5 source package + rm -f /usr/share/doc/php5-interbase +fi + +exit 0 --- php-interbase-5.3.5.orig/debian/changelog +++ php-interbase-5.3.5/debian/changelog @@ -0,0 +1,66 @@ +php-interbase (5.3.5-0ubuntu1) natty; urgency=low + + * New upstream version against 5.3.5. + + -- Chuck Short Tue, 22 Feb 2011 10:40:10 -0500 + +php-interbase (5.3.3-0ubuntu1) maverick; urgency=low + + * New upstream version against 5.3.3. + + -- Chuck Short Tue, 03 Aug 2010 11:28:36 -0400 + +php-interbase (5.3.2-0ubuntu1) lucid; urgency=low + + * New upstream version against 5.3.2. + + -- Chuck Short Tue, 16 Mar 2010 10:19:18 -0400 + +php-interbase (5.3.1-0ubuntu1) lucid; urgency=low + + * New upstream version against php 5.3.1. + + -- Chuck Short Tue, 02 Mar 2010 14:45:15 -0500 + +php-interbase (5.2.6-0ubuntu1) intrepid; urgency=low + + * New upstream release against php 5.2.6. + * debian/compat: + - Bump compatibility to 5. + * debian/control: + - Build depend on debhelper (>= 5), firebird2.1-dev and + php5-dev (>= 5.2.6). + - Remove Uploaders field. + * debian/rules: + - Install interbase.ini into /etc/php5/conf.d directory. + * debian/copyright: + - Update copyright details. + * debian/po, php5-interbase.{config,prerm,postinst,templates}: + - Remove them, no longer needed since PHP 5.1.6. + + -- Luca Falavigna Thu, 05 Jun 2008 19:10:49 +0200 + +php-interbase (5.2.5-0ubuntu1) hardy; urgency=low + + * New upstream release + * Do not build php4-interbase anymore (LP: #135695) + * debian/control: + - Remove package php4-interbase + - removed Build-Depends on php4-dev + - Build-Depend on firebird2.0-dev instead of firebird2-dev, + because it FTBFS with the latter + - Standards-Version 3.7.3 + - Add Homepage field + - DebianMaintainerField + * debian/po/POTFILES.in: removed php4-interbase.templates + * Removed debian/php4-* + * Executed debconf-updatepo (according to lintian) + + -- Daniel Hahler Thu, 14 Feb 2008 01:11:10 +0100 + +php-interbase (5.1.2-1) unstable; urgency=low + + * Initial release of out-of-tree build for both php4 and php5 + (Closes: #301864, #321672) + + -- Ondřej Surý Fri, 14 Apr 2006 14:32:14 +0200 --- php-interbase-5.3.5.orig/debian/compat +++ php-interbase-5.3.5/debian/compat @@ -0,0 +1 @@ +5 --- php-interbase-5.3.5.orig/debian/control +++ php-interbase-5.3.5/debian/control @@ -0,0 +1,20 @@ +Source: php-interbase +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian PHP Maintainers +Build-Depends: debhelper (>= 5), firebird2.1-dev, php5-dev (>= 5.2.6) +Standards-Version: 3.7.3 +Homepage: http://php.net/ + +Package: php5-interbase +Architecture: any +Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends} +Description: interbase/firebird module for php5 + This package provides a module for interbase/firebird functions in PHP scripts. + . + PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed + from C, Java and Perl with a couple of unique PHP-specific features thrown + in. The goal of the language is to allow web developers to write + dynamically generated pages quickly. + --- php-interbase-5.3.5.orig/debian/interbase.ini +++ php-interbase-5.3.5/debian/interbase.ini @@ -0,0 +1,2 @@ +# configuration for php Interbase module +extension=interbase.so --- php-interbase-5.3.5.orig/debian/rules +++ php-interbase-5.3.5/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# This has to be exported to make some magic below work. +export DH_OPTIONS + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +SOURCE_VERSION = $(shell dpkg-parsechangelog | grep ^Version | sed "s/Version: //") + +CFLAGS = -O2 -Wall -fno-strict-aliasing + +# Enable IEEE-conformant floating point math on alphas (not the default) +ifeq (alpha-linux-gnu,$(DEB_HOST_GNU_TYPE)) + CFLAGS += -mieee +endif + +ifeq ($(DEB_HOST_GNU_TYPE), $(findstring $(DEB_HOST_GNU_TYPE), ia64-linux-gnu powerpc64-linux-gnu)) + CFLAGS += -g +else + CFLAGS += -gstabs +endif + +build: build-php5-stamp +build-php5-stamp: configure-php5-stamp + dh_testdir + # Add here commands to compile the package. + cd build-php5 && $(MAKE) CFLAGS="$(CFLAGS)" + + touch build-php5-stamp + +configure: configure-php5-stamp +configure-php5-stamp: + dh_testdir + rm -rf build-php5 && mkdir build-php5 + cp config.m4 *.c *.h interbase.dsp build-php5/ + -cd build-php5 && phpize5 + cd build-php5 && ./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \ + --prefix=/usr \ + --with-php-config=/usr/bin/php-config5 \ + --disable-rpath \ + --disable-static \ + --with-interbase=shared,/usr + + touch configure-php5-stamp + +clean: + dh_testdir + dh_testroot + rm -f configure-php5-stamp + rm -f build-php5-stamp + rm -f install-stamp + + # Add here commands to clean up after the build process. + rm -rf build-php5 + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/php[45]-interbase. + (ext=`/usr/bin/php-config5 --extension-dir`;mkdir -p debian/php5-interbase/$${ext};install -m 644 -o root -g root build-php5/modules/interbase.so debian/php5-interbase/$${ext}/interbase.so;) + mkdir -p debian/php5-interbase/etc/php5/conf.d + install -m 644 debian/interbase.ini debian/php5-interbase/etc/php5/conf.d/interbase.ini + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: + +# Build architecture-dependent files here. +binary-arch: DH_OPTIONS= +binary-arch: build install + # Need this version of debhelper for DH_OPTIONS to work. + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs + + dh_installchangelogs + dh_strip + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-interbase.substvars + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure --- php-interbase-5.3.5.orig/debian/watch +++ php-interbase-5.3.5/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.php.net/downloads.php /get/php-(5\.[0-9\.]*)\.tar\.gz/from/a/mirror