--- php-mail-1.2.0.orig/debian/copyright +++ php-mail-1.2.0/debian/copyright @@ -0,0 +1,13 @@ +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/Mail + +Copyright information: + + * Copyright (c) 2002-2007, Richard Heyes + * All rights reserved. + +And licenced under the BSD licence. On Debian systems, this licence can be +found here: /usr/share/common-licenses/BSD + --- php-mail-1.2.0.orig/debian/watch +++ php-mail-1.2.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pear.php.net/package/Mail/download http://download.pear.php.net/package/Mail-([\d.]+)\.tgz --- php-mail-1.2.0.orig/debian/dirs +++ php-mail-1.2.0/debian/dirs @@ -0,0 +1,3 @@ +usr/share/php/ +usr/share/php/Mail/ +usr/share/php/tests/ --- php-mail-1.2.0.orig/debian/rules +++ php-mail-1.2.0/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +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 Mail) +package = php-mail + +include /usr/share/quilt/quilt.make + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + +clean: unpatch + 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.doc.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/Log/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/Mail-${DEB_UPSTREAM_VERSION}.tgz -O php-mail_${DEB_UPSTREAM_VERSION}.orig.tar.gz --- php-mail-1.2.0.orig/debian/control +++ php-mail-1.2.0/debian/control @@ -0,0 +1,24 @@ +Source: php-mail +Section: php +Priority: optional +Maintainer: Debian PHP Maintainers +Uploaders: Thijs Kinkhorst +Build-Depends: debhelper (>= 5.0), quilt +Build-Depends-Indep: php-pear +Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-mail/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-mail/trunk +Homepage: http://pear.php.net/package/Mail +Standards-Version: 3.8.4 + +Package: php-mail +Architecture: all +Depends: php-pear, ${misc:Depends} +Recommends: php-net-smtp +Description: PHP PEAR module for sending email + PEAR's Mail:: package defines the interface for implementing mailers + under the PEAR hierarchy, and provides supporting functions useful + in multiple mailer backends. Currently supported are native PHP mail() + function, sendmail and SMTP. + . + This package also provides a RFC 822 Email address list validation + utility class. --- php-mail-1.2.0.orig/debian/compat +++ php-mail-1.2.0/debian/compat @@ -0,0 +1 @@ +5 --- php-mail-1.2.0.orig/debian/changelog +++ php-mail-1.2.0/debian/changelog @@ -0,0 +1,50 @@ +php-mail (1.2.0-2) unstable; urgency=low + + * Fix bashism in debian/rules (Closes: #581459). + + -- Thijs Kinkhorst Sun, 16 May 2010 13:31:43 +0200 + +php-mail (1.2.0-1) unstable; urgency=low + + * New upstream release. + + Incorporates escapeshellcmd patch. + + Changed licence to BSD (closes: #332613). + * Checked for policy 3.8.4, changed section to php. + + -- Thijs Kinkhorst Sun, 09 May 2010 15:28:00 +0200 + +php-mail (1.1.14-2) unstable; urgency=high + + * Use escapeshellarg instead of escapeshellcmd to escape email addresses + on sendmail.php (Closes: #557121) + - Thanks to Dennis P. NIkolaenko for the report + + -- Raphael Geissert Thu, 19 Nov 2009 12:48:44 -0600 + +php-mail (1.1.14-1) unstable; urgency=low + + [ Martin Lohmeier ] + * new upstream version (Closes: #421841) + * add debian/watch + * add Homepage to debian/control + + [ Thijs Kinkhorst ] + * Make debian/copyright current. + * Make use of modern-day PEAR package building. + + -- Thijs Kinkhorst Sun, 04 May 2008 15:28:29 +0200 + +php-mail (1.1.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. + + -- Adam Conrad Fri, 29 Jul 2005 08:37:35 +1000 + +php-mail (1.1.6-1) unstable; urgency=low + + * Initial release. + + -- Ondřej Surý Thu, 21 Jul 2005 09:45:07 +0200 --- php-mail-1.2.0.orig/debian/README.source +++ php-mail-1.2.0/debian/README.source @@ -0,0 +1,2 @@ +This package has a quilt dependency, but currently no +patches use this. --- php-mail-1.2.0.orig/debian/patches/series +++ php-mail-1.2.0/debian/patches/series @@ -0,0 +1 @@ +# empty