--- php-mcrypt-5.3.5.orig/debian/mcrypt.ini +++ php-mcrypt-5.3.5/debian/mcrypt.ini @@ -0,0 +1,2 @@ +; configuration for php MCrypt module +extension=mcrypt.so --- php-mcrypt-5.3.5.orig/debian/php5-mcrypt.preinst +++ php-mcrypt-5.3.5/debian/php5-mcrypt.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ -L /usr/share/doc/php5-mcrypt ]; then + # We must be upgrading from a version that was previously + # built from the php5 source package + rm -f /usr/share/doc/php5-mcrypt +fi + +exit 0 --- php-mcrypt-5.3.5.orig/debian/copyright +++ php-mcrypt-5.3.5/debian/copyright @@ -0,0 +1,67 @@ +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: The PHP group at www.php.net + +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-mcrypt-5.3.5.orig/debian/changelog +++ php-mcrypt-5.3.5/debian/changelog @@ -0,0 +1,87 @@ +php-mcrypt (5.3.5-0ubuntu1) natty; urgency=low + + * New upstream version release against 5.3.5. + + -- Chuck Short Tue, 22 Feb 2011 10:42:56 -0500 + +php-mcrypt (5.3.3-0ubuntu2) maverick; urgency=low + + * debian/rules: Fix FTBFS. + + -- Chuck Short Fri, 13 Aug 2010 07:52:23 -0500 + +php-mcrypt (5.3.3-0ubuntu1) maverick; urgency=low + + * New upstream release against PHP 5.3.3. + + -- Chuck Short Tue, 03 Aug 2010 11:25:17 -0400 + +php-mcrypt (5.3.2-0ubuntu2) maverick; urgency=low + + * debian/mcrypt.ini Use the correct comment notation (LP: #540208) + + -- Mirsal Ennaime Fri, 07 May 2010 22:28:57 +0200 + +php-mcrypt (5.3.2-0ubuntu1) lucid; urgency=low + + * New upstream realse against PHP 5.3.2. + + -- Chuck Short Tue, 16 Mar 2010 10:25:52 -0400 + +php-mcrypt (5.3.1-0ubuntu1) lucid; urgency=low + + * New upstream release against PHP 5.3.1 + + -- Chuck Short Tue, 02 Mar 2010 14:40:36 -0500 + +php-mcrypt (5.2.6-0ubuntu2) intrepid; urgency=low + + * debian/rules: put some configuration variables from new libtool in + build-php5/config.m4 to fix a FTBFS against libtool 2.2. + + -- Luca Falavigna Sat, 13 Sep 2008 20:18:31 +0200 + +php-mcrypt (5.2.6-0ubuntu1) intrepid; urgency=low + + * New upstream release against php 5.2.6 (LP: #237008). + * debian/compat: + - Bump compatibility to 5. + * debian/control: + - Build depend on debhelper (>= 5) and php5-dev (>= 5.2.6). + - Remove Uploaders field. + - Bump Standards-Version to 3.7.3. + * debian/rules: + - Install mcrypt.ini into /etc/php5/conf.d directory. + * debian/copyright: + - Update copyright details. + * debian/po, php5-mcrypt.{config,prerm,postinst,templates}: + - Remove them, no longer needed since PHP 5.1.6. + + -- Luca Falavigna Thu, 05 Jun 2008 18:14:47 +0200 + +php-mcrypt (5.2.3-0ubuntu1) gutsy; urgency=low + + * New upstream release + * Removed obsolete php4 files + + -- Rick Clark Mon, 25 Jun 2007 15:55:48 -0400 + +php-mcrypt (5.1.2-1ubuntu1) feisty; urgency=low + + * Don't build a php4 module anymore. + * debian/control: Change Maintainer/XSBC-Original-Maintainer field. + + -- Michael Bienia Wed, 14 Mar 2007 14:41:07 +0100 + +php-mcrypt (5.1.2-1build1) feisty; urgency=low + + * Rebuild to depend upon phpapi-20060613 + + -- Vassilis Pandis Mon, 25 Dec 2006 16:56:25 +0200 + +php-mcrypt (5.1.2-1) unstable; urgency=low + + * Initial release. (Closes: #321933) + * Use 3.01 version of PHP license. + + -- Ondřej Surý Wed, 22 Mar 2006 15:10:44 +0100 --- php-mcrypt-5.3.5.orig/debian/compat +++ php-mcrypt-5.3.5/debian/compat @@ -0,0 +1 @@ +5 --- php-mcrypt-5.3.5.orig/debian/control +++ php-mcrypt-5.3.5/debian/control @@ -0,0 +1,20 @@ +Source: php-mcrypt +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian PHP Maintainers +Uploaders: Adam Conrad , Ondřej Surý , Christian Bayle +Build-Depends: debhelper (>= 5), libmcrypt-dev, php5-dev (>= 5.3.3) +Standards-Version: 3.7.3 + +Package: php5-mcrypt +Architecture: any +Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends} +Description: MCrypt module for php5 + This package provides a module for MCrypt 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-mcrypt-5.3.5.orig/debian/rules +++ php-mcrypt-5.3.5/debian/rules @@ -0,0 +1,102 @@ +#!/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 mcrypt.dsp mcrypt.c php_mcrypt.h php_mcrypt_filter.h mcrypt_filter.c build-php5/ + cat /usr/share/aclocal/ltsugar.m4 >> build-php5/config.m4 + cat /usr/share/aclocal/ltversion.m4 >> build-php5/config.m4 + cat /usr/share/aclocal/lt~obsolete.m4 >> build-php5/config.m4 + cat /usr/share/aclocal/ltoptions.m4 >> build-php5/config.m4 + cat /usr/share/aclocal/libtool.m4 >> build-php5/config.m4 + -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-mcrypt=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/php5-mcrypt. + (ext=`/usr/bin/php-config5 --extension-dir`;mkdir -p debian/php5-mcrypt/$${ext};install -m 644 -o root -g root build-php5/modules/mcrypt.so debian/php5-mcrypt/$${ext}/mcrypt.so;) + mkdir -p debian/php5-mcrypt/etc/php5/conf.d + install -m 644 debian/mcrypt.ini debian/php5-mcrypt/etc/php5/conf.d/mcrypt.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-mcrypt.substvars + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure --- php-mcrypt-5.3.5.orig/debian/watch +++ php-mcrypt-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