debian/0000775000000000000000000000000012301344252007164 5ustar debian/changelog0000664000000000000000000001564312301344243011047 0ustar php-imap (5.4.6-0ubuntu5) trusty; urgency=low * Install ini file in correct location with PHP 5.5. Thanks to Johannes Ballmann (LP: #1243568). -- Leo Iannacone Thu, 20 Feb 2014 10:19:21 +0100 php-imap (5.4.6-0ubuntu4) trusty; urgency=medium * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit arches). -- Robie Basak Wed, 19 Feb 2014 08:22:31 +0000 php-imap (5.4.6-0ubuntu3) saucy; urgency=low * Build with -g on aarch64-linux-gnu, not (pre-DWARF) -gstabs. -- Colin Watson Tue, 15 Oct 2013 12:33:46 +0100 php-imap (5.4.6-0ubuntu2) saucy; urgency=low * Rebuild for PHP 5.5. -- Colin Watson Tue, 16 Jul 2013 08:55:28 +0100 php-imap (5.4.6-0ubuntu1) quantal; urgency=low * New upstream release. (LP: #1039911) * d/p/kolab.patch - Dropped, Kolab 3.0 has moved away from php and imap apparently. -- Clint Byrum Sat, 22 Sep 2012 06:07:40 -0700 php-imap (5.3.5-0ubuntu2) oneiric; urgency=low * debian/control: added libkrb5-dev, pkg-config as build-deb (LP: #756107) -- Stephan Adig Tue, 20 Sep 2011 15:15:29 +0000 php-imap (5.3.5-0ubuntu1) natty; urgency=low * New upstream version based on 5.3.5 * Bump standards to 3.9.1. -- Chuck Short Tue, 22 Feb 2011 10:34:06 -0500 php-imap (5.3.3-0ubuntu1) maverick; urgency=low * New upstream version based on 5.3.3. * Add kolab patches: + debian/control, debian/rules: Add quilt + debian/patches/kolab.patch. -- Chuck Short Tue, 03 Aug 2010 10:57:39 -0400 php-imap (5.3.2-0ubuntu3) maverick; urgency=low * debian/imap.ini: Fix deprecated comment. (LP: #540214) * Convert to Debian Source Format 3.0 (quilt). * Bump Standards Version to 3.8.4 * Remove un-needed debian/README.source -- Andrew Starr-Bochicchio Thu, 10 Jun 2010 12:47:23 -0400 php-imap (5.3.2-0ubuntu2) lucid; urgency=low * debian/control: Fix FTBFS by adding libpcre3-dev as a build dep. (LP: #550278) -- Chuck Short Mon, 29 Mar 2010 08:18:35 -0400 php-imap (5.3.2-0ubuntu1) lucid; urgency=low * New upstream version based on 5.3.2. -- Chuck Short Tue, 16 Mar 2010 10:12:48 -0400 php-imap (5.3.1-0ubuntu1) lucid; urgency=low * New upstream version based on php 5.3.1. -- Chuck Short Tue, 02 Mar 2010 14:48:57 -0500 php-imap (5.2.6-0ubuntu7) lucid; urgency=low * Add quilt support. * SECURITY UPDATE: unsafe usage of deprecated imap functions (LP: #485973) - add debian/patches/CVE-2008-2829.diff, patch taken from Debian - CVE-2008-2829 * Bump Standards-Version to 3.8.3. -- Devid Antonio Filoni Wed, 06 Jan 2010 17:40:37 +0100 php-imap (5.2.6-0ubuntu6) karmic; urgency=low * No-change rebuild against libkrb5-3 -- Steve Langasek Wed, 14 Oct 2009 09:24:03 +0000 php-imap (5.2.6-0ubuntu5) jaunty; urgency=low * Build-depend against libc-client2007b-dev. -- Luca Falavigna Mon, 22 Dec 2008 10:12:06 +0000 php-imap (5.2.6-0ubuntu4) jaunty; urgency=low * Switch to libc-client2007d-dev build-dependency. -- Luca Falavigna Fri, 14 Nov 2008 20:41:54 +0100 php-imap (5.2.6-0ubuntu3) intrepid; urgency=low * Switch to libc-client2007b-dev build-dependency. * Bump Standards-Version to 3.8.0. -- Luca Falavigna Wed, 20 Aug 2008 18:53:30 +0200 php-imap (5.2.6-0ubuntu2) intrepid; urgency=low * debian/rules: Fix FTBFS due to libtool changes (LP: #259006) -- Chuck Short Mon, 18 Aug 2008 13:38:57 -0400 php-imap (5.2.6-0ubuntu1) intrepid; urgency=low * New upstream release against php 5.2.6 (LP: #237031). * 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 imap.ini into /etc/php5/conf.d (LP: #157379). * debian/copyright: - Update copyright details. * debian/po, php5-imap.{config,prerm,postinst,templates}: - Remove them, no longer needed since PHP 5.1.6. -- Luca Falavigna Thu, 05 Jun 2008 18:33:32 +0200 php-imap (5.2.3-0ubuntu3) hardy; urgency=low * Rebuild for libc-client2006j2 -> libc-client2007 transition (LP: #192415). * debian/control: change Build-Dep on libc-client-dev to libc-client2007-dev -- Andrea Colangelo Sat, 16 Feb 2008 18:17:04 +0100 php-imap (5.2.3-0ubuntu2) hardy; urgency=low * Rebuild against new libc-client -- Luca Falavigna Sat, 05 Jan 2008 18:54:24 +0100 php-imap (5.2.3-0ubuntu1) gutsy; urgency=low * New upstream version. * Removed obsolete php4 files -- Rick Clark Tue, 26 Jun 2007 11:51:25 -0400 php-imap (5.1.2-1ubuntu1) feisty; urgency=low * Don't build a php4 module anymore. * debian/control: Change Maintainer/XSBC-Original-Maintainer field. -- Michael Bienia Tue, 13 Mar 2007 19:21:52 +0100 php-imap (5.1.2-1build1) feisty; urgency=low * Rebuild to depend against phpapi-20060613 -- Vassilis Pandis Mon, 25 Dec 2006 16:44:31 +0200 php-imap (5.1.2-1) unstable; urgency=low * New upstream release, fixing ANOTHER crash in imap_mail_compose(), this time when composing multipart, multiboundary, emails. -- Adam Conrad Wed, 18 Jan 2006 16:47:34 +1100 php-imap (5.1.1-2) unstable; urgency=low * Include Daniel Nylander's Swedish debconf translation (closes: #330757) * Make lintian shut up about bashisms, by replacing "-a" with "] && [" -- Adam Conrad Sun, 8 Jan 2006 15:30:56 +1100 php-imap (5.1.1-1) unstable; urgency=low * New upstream release, fixing yet another crash in imap_mail_compose(). * Bump php5-dev build-dep to (>= 5.1.1) to ensure we get the new phpapi. -- Adam Conrad Sun, 8 Jan 2006 02:46:00 +1100 php-imap (5.0.5-1) unstable; urgency=low * New upstream release, fixing a possible crash in imap_mail_compose(). -- Adam Conrad Mon, 12 Sep 2005 19:19:30 +1000 php-imap (5.0.4-1) unstable; urgency=low * Initial release, making up for removing imap from the php[45] sources. * Use the config.m4 from the php4 version of the imap extension, because the php4 "phpize" can't cope with one of the tests in the php5 version. * Use a dirty dpkg-gencontrol hack to make sure php4-imap has an epoch. * Make sure we get our docs in our own doc directory, instead of dumping them in /usr/share/doc/php[45]-common, in case we're upgrading. * Use the new php-config[45] --phpapi option, and build-depend on new enough versions of php[45]-dev to make sure we have it available to us. -- Adam Conrad Fri, 29 Jul 2005 14:47:11 +1000 debian/control0000664000000000000000000000145212027330075010574 0ustar Source: php-imap Section: web Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Debian PHP Maintainers Build-Depends: debhelper (>= 5), libc-client2007e-dev, php5-dev (>= 5.3.3), libpcre3-dev, quilt, libkrb5-dev, pkg-config Standards-Version: 3.9.1 Package: php5-imap Architecture: any Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends} Description: IMAP module for php5 This package provides a module for IMAP 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. debian/rules0000775000000000000000000000577112301344170010255 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/quilt/quilt.make # 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 aarch64-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 imap.dsp php_imap.c php_imap.h build-php5/ #libtool fix 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-imap=shared,/usr \ --with-kerberos=/usr \ --with-imap-ssl PHP_OPENSSL="yes" 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-imap. (ext=`/usr/bin/php-config5 --extension-dir`;mkdir -p debian/php5-imap/$${ext};install -m 644 -o root -g root build-php5/modules/imap.so debian/php5-imap/$${ext}/imap.so;) mkdir -p debian/php5-imap/etc/php5/mods-available install -m 644 debian/imap.ini debian/php5-imap/etc/php5/mods-available/imap.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-imap.substvars dh_gencontrol dh_md5sums dh_builddeb binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install configure debian/watch0000664000000000000000000000013112027330075010213 0ustar version=2 http://www.php.net/downloads.php /get/php-(5\.[0-9\.]*)\.tar\.gz/from/a/mirror debian/compat0000664000000000000000000000000212027330075010365 0ustar 5 debian/patches/0000775000000000000000000000000012027334054010617 5ustar debian/imap.ini0000664000000000000000000000006612027330075010620 0ustar ; configuration for php Imap module extension=imap.so debian/copyright0000664000000000000000000000666512027330075011137 0ustar This package was debianized by Adam Conrad on Fri, 29 Jul 2005 15:19:18 +1000 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.0, as follows below. -------------------------------------------------------------------- The PHP License, Version 3.0 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, 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 . debian/source/0000775000000000000000000000000012027334054010470 5ustar debian/source/format0000664000000000000000000000001412027330075011675 0ustar 3.0 (quilt) debian/php5-imap.preinst0000664000000000000000000000032512027330075012375 0ustar #!/bin/sh set -e #DEBHELPER# if [ -L /usr/share/doc/php5-imap ]; then # We must be upgrading from a version that was previously # built from the php5 source package rm -f /usr/share/doc/php5-imap fi exit 0