cvs: pear /Net_SMTP package.php package.xml package2.xml

From: Date: Mon, 06 Feb 2006 06:21:54 +0000
Subject: cvs: pear /Net_SMTP package.php package.xml package2.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38015@lists.php.net to get a copy of this message
jon Mon Feb 6 06:21:54 2006 UTC Added files: /pear/Net_SMTP package2.xml Modified files: /pear/Net_SMTP package.php package.xml Log: Updating the package.php utility script to generate package2.xml. This also prepares the package for its 1.2.8 release.

http://cvs.php.net/viewcvs.cgi/pear/Net_SMTP/package.php?r1=1.7&r2=1.8&diff_format=u Index: pear/Net_SMTP/package.php diff -u pear/Net_SMTP/package.php:1.7 pear/Net_SMTP/package.php:1.8 --- pear/Net_SMTP/package.php:1.7 Tue Aug 16 03:44:15 2005 +++ pear/Net_SMTP/package.php Mon Feb 6 06:21:53 2006 @@ -1,48 +1,62 @@ <?php -require_once 'PEAR/PackageFileManager.php'; -require_once 'Console/Getopt.php'; +require_once 'PEAR/PackageFileManager2.php'; +PEAR::setErrorHandling(PEAR_ERROR_DIE); -$version = '1.2.7'; -$notes = <<<EOT -The VRFY command now accepts 252 as a valid response code. (Bug 5083) +$desc = <<<EOT +Provides an implementation of the SMTP protocol using PEAR's Net_Socket class. EOT; -$changelog = <<<EOT -The VRFY command now accepts 252 as a valid response code. (Bug 5083) +$version = '1.2.8'; +$notes = <<<EOT +- The mailFrom() and rcptTo() methods now support additional arbitrary parameters. (Request 6339) +- Upgraded to package.xml version 2 (via package2.xml). +- Updated the license to PHP 3.0.1. EOT; -$package = new PEAR_PackageFileManager(); +$package = new PEAR_PackageFileManager2(); $result = $package->setOptions(array( - 'package' => 'Net_SMTP', - 'summary' => 'Provides an implementation of the SMTP protocol', - 'version' => $version, - 'state' => 'stable', - 'license' => 'PHP License', 'filelistgenerator' => 'cvs', - 'ignore' => array('package.php', 'phpdoc.sh'), - 'notes' => $notes, - 'changelognotes' => $changelog, 'changelogoldtonew' => false, - 'simpleoutput' => true, + 'simpleoutput' => true, 'baseinstalldir' => 'Net', - 'packagedirectory' => '')); + 'packagefile' => 'package2.xml', + 'packagedirectory' => '.')); if (PEAR::isError($result)) { echo $result->getMessage(); die(); } -$package->addMaintainer('jon', 'lead', 'Jon Parise', 'jon@php.net'); +$package->setPackage('Net_SMTP'); +$package->setPackageType('php'); +$package->setSummary('An implementation of the SMTP protocol'); +$package->setDescription($desc); +$package->setChannel('pear.php.net'); +$package->setLicense('PHP License', 'http://www.php.net/license/3_01.txt'); +$package->setAPIVersion('1.0.0'); +$package->setAPIStability('stable'); +$package->setReleaseVersion($version); +$package->setReleaseStability('stable'); +$package->setNotes($notes); +$package->setPhpDep('4.0.5'); +$package->setPearinstallerDep('1.4.3'); +$package->addMaintainer('lead', 'jon', 'Jon Parise', 'jon@php.net'); +$package->addMaintainer('lead', 'chagenbu', 'Chuck Hagenbuch', 'chuck@horde.org'); +$package->addIgnore(array('package.php', 'phpdoc.sh', 'package.xml', 'package2.xml')); +$package->addPackageDepWithChannel('required', 'Net_Socket', 'pear.php.net'); +$package->addPackageDepWithChannel('optional', 'Auth_SASL', 'pear.php.net'); -$package->addDependency('Net_Socket', false, 'has', 'pkg'); -$package->addDependency('Auth_SASL', false, 'has', 'pkg', true); +$package->generateContents(); +$package1 = &$package->exportCompatiblePackageFile1(); if ($_SERVER['argv'][1] == 'commit') { $result = $package->writePackageFile(); + $result = $package1->writePackageFile(); } else { $result = $package->debugPackageFile(); + $result = $package1->debugPackageFile(); } if (PEAR::isError($result)) { http://cvs.php.net/viewcvs.cgi/pear/Net_SMTP/package.xml?r1=1.38&r2=1.39&diff_format=u Index: pear/Net_SMTP/package.xml diff -u pear/Net_SMTP/package.xml:1.38 pear/Net_SMTP/package.xml:1.39 --- pear/Net_SMTP/package.xml:1.38 Mon Aug 22 00:20:18 2005 +++ pear/Net_SMTP/package.xml Mon Feb 6 06:21:53 2006 @@ -1,141 +1,169 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> +<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0"> - <name>Net_SMTP</name> - <summary>Provides an implementation of the SMTP protocol</summary> - <description>Provides an implementation of the SMTP protocol using PEAR's Net_Socket class.</description> - <maintainers> - <maintainer> - <user>chagenbu</user> - <name>Chuck Hagenbuch</name> - <email>chuck@horde.org</email> - <role>lead</role> - </maintainer> - <maintainer> - <user>jon</user> - <name>Jon Parise</name> - <email>jon@php.net</email> - <role>lead</role> - </maintainer> +<package version="1.0" packagerversion="1.4.6"> + <name>Net_SMTP</name> + <summary>An implementation of the SMTP protocol</summary> + <description>Provides an implementation of the SMTP protocol using PEAR&apos;s Net_Socket class. + </description> + <maintainers> + <maintainer> + <user>jon</user> + <name>Jon Parise</name> + <email>jon@php.net</email> + <role>lead</role> + </maintainer> + <maintainer> + <user>chagenbu</user> + <name>Chuck Hagenbuch</name> + <email>chuck@horde.org</email> + <role>lead</role> + </maintainer> </maintainers> - <release> + <release> + <version>1.2.8</version> + <date>2006-02-05</date> + <license>PHP License</license> + <state>stable</state> + <notes>- The mailFrom() and rcptTo() methods now support additional arbitrary parameters. (Request 6339) +- Upgraded to package.xml version 2 (via package2.xml). +- Updated the license to PHP 3.0.1. + </notes> + <deps> + <dep type="php" rel="ge" version="4.0.5" optional="no"/> + <dep type="pkg" rel="has" optional="no">Net_Socket</dep> + <dep type="pkg" rel="has" optional="no">Auth_SASL</dep> + </deps> + <filelist> + <dir name="/" baseinstalldir="Net"> + <dir name="docs"> + <dir name="examples"> + <file role="doc" name="basic.php"/> + </dir> <!-- /docs/examples --> + <file role="doc" name="guide.txt"/> + </dir> <!-- /docs --> + <dir name="tests"> + <file role="test" name="auth.phpt"/> + <file role="test" name="basic.phpt"/> + <file role="test" name="config.php.dist"/> + <file role="test" name="quotedata.phpt"/> + </dir> <!-- /tests --> + <file role="php" name="SMTP.php"/> + </dir> <!-- / --> + </filelist> + </release> + <changelog> + <release> + <version>1.2.8</version> + <date>2006-02-05</date> + <license>PHP License</license> + <state>stable</state> + <notes>- The mailFrom() and rcptTo() methods now support additional arbitrary parameters. (Request 6339) +- Upgraded to package.xml version 2 (via package2.xml). +- Updated the license to PHP 3.0.1. + </notes> + </release> + <release> <version>1.2.7</version> <date>2005-08-21</date> <license>PHP License</license> <state>stable</state> - <notes>The VRFY command now accepts 252 as a valid response code. (Bug 5083)</notes> - <deps> - <dep type="pkg" rel="has" optional="no">Net_Socket</dep> - <dep type="pkg" rel="has" optional="yes">Auth_SASL</dep> - </deps> - <filelist> - <dir baseinstalldir="Net" name="/"> - <dir name="docs"> - <file role="doc" name="guide.txt"/> - <dir name="examples"> - <file role="doc" name="basic.php"/> - </dir> <!-- docs/examples --> - </dir> <!-- docs --> - <dir name="tests"> - <file role="test" name="auth.phpt"/> - <file role="test" name="basic.phpt"/> - <file role="test" name="config.php.dist"/> - <file role="test" name="quotedata.phpt"/> - </dir> <!-- tests --> - <file role="php" name="SMTP.php"/> - </dir> <!-- / --> - </filelist> - </release> - <changelog> - <release> - <version>1.2.7</version> - <date>2005-08-21</date> - <license>PHP License</license> - <state>stable</state> - <notes>The VRFY command now accepts 252 as a valid response code. (Bug 5083)</notes> - </release> - <release> - <version>1.2.6</version> - <date>2004-04-12</date> - <license>PHP License</license> - <state>stable</state> - <notes>The following methods have been renamed for compliance with the PEAR coding standards: send_from() -&gt; sendFrom(), soml_from() -&gt; somlFrom(), saml_from() -&gt; samlFrom(). Backwards-compatible wrappers have been provided.</notes> - </release> - <release> - <version>1.2.5</version> - <date>2004-03-11</date> - <license>PHP License</license> - <state>stable</state> - <notes>The connect() method has grown an optional 'persistent' parameter that will be passed to the Net_Socket::connect() method. Previously, persistent connections will always disabled. 'persistent' defaults to false. + <notes>The VRFY command now accepts 252 as a valid response code. (Bug 5083) + </notes> + </release> + <release> + <version>1.2.6</version> + <date>2004-04-12</date> + <license>PHP License</license> + <state>stable</state> + <notes>The following methods have been renamed for compliance with the PEAR coding standards: send_from() -&gt; sendFrom(), soml_from() -&gt; somlFrom(), saml_from() -&gt; samlFrom(). Backwards-compatible wrappers have been provided. + </notes> + </release> + <release> + <version>1.2.5</version> + <date>2004-03-11</date> + <license>PHP License</license> + <state>stable</state> + <notes>The connect() method has grown an optional &apos;persistent&apos; parameter that will be passed to the Net_Socket::connect() method. Previously, persistent connections will always disabled. &apos;persistent&apos; defaults to false. -Release 1.2.4 was incorrectly packaged. Release 1.2.5 corrects that error. The code itself remains the same.</notes> - </release> - <release> - <version>1.2.4</version> - <date>2004-03-11</date> - <license>PHP License</license> - <state>stable</state> - <notes>The connect() method has grown an optional 'persistent' parameter that will be passed to the Net_Socket::connect() method. Previously, persistent connections will always disabled. 'persistent' defaults to false.</notes> - </release> - <release> - <version>1.2.3</version> - <date>2003-05-11</date> - <state>stable</state> - <notes>Both 235 (Authentication successful) and 503 (Error: already authenticated) are now accepted as valid AUTH responses. +Release 1.2.4 was incorrectly packaged. Release 1.2.5 corrects that error. The code itself remains the same. + </notes> + </release> + <release> + <version>1.2.4</version> + <date>2004-03-11</date> + <license>PHP License</license> + <state>stable</state> + <notes>The connect() method has grown an optional &apos;persistent&apos; parameter that will be passed to the Net_Socket::connect() method. Previously, persistent connections will always disabled. &apos;persistent&apos; defaults to false. + </notes> + </release> + <release> + <version>1.2.3</version> + <date>2003-05-11</date> + <state>stable</state> + <notes>Both 235 (Authentication successful) and 503 (Error: already authenticated) are now accepted as valid AUTH responses. -503 (Error: already authenticated) is now considered a valid EHLO response.</notes> - </release> - <release> - <version>1.2.2</version> - <date>2003-05-02</date> - <state>stable</state> - <notes>Fix a call-time pass-by-reference problem that was raising a warning if call-time pass-by-reference was disabled.</notes> - </release> - <release> - <version>1.2.1</version> - <date>2003-04-26</date> - <state>stable</state> - <notes>The Auth_SASL package is no longer absolutely required, but it will be used if it is available. Otherwise, the authentication methods that depend upon it will be disabled.</notes> - </release> - <release> - <version>1.2.0</version> - <date>2003-04-06</date> - <state>stable</state> - <notes>- Perform data quoting in its own routine: quotedata()</notes> - </release> - <release> - <version>1.1.2</version> - <date>2003-02-17</date> - <state>stable</state> - <notes>- Correctly handle the case where the server's ESMTP response includes a SIZE keyword with no specific value.</notes> - </release> - <release> - <version>1.1.1</version> - <date>2003-01-30</date> - <state>stable</state> - <notes>- Don't enforce a maximum message size if the SIZE parameter is zero.</notes> - </release> - <release> - <version>1.1.0</version> - <date>2003-01-18</date> - <state>stable</state> - <notes>- The SMTP server's SIZE capability is now honored. +503 (Error: already authenticated) is now considered a valid EHLO response. + </notes> + </release> + <release> + <version>1.2.2</version> + <date>2003-05-02</date> + <state>stable</state> + <notes>Fix a call-time pass-by-reference problem that was raising a warning if call-time pass-by-reference was disabled. + </notes> + </release> + <release> + <version>1.2.1</version> + <date>2003-04-26</date> + <state>stable</state> + <notes>The Auth_SASL package is no longer absolutely required, but it will be used if it is available. Otherwise, the authentication methods that depend upon it will be disabled. + </notes> + </release> + <release> + <version>1.2.0</version> + <date>2003-04-06</date> + <state>stable</state> + <notes>- Perform data quoting in its own routine: quotedata() + </notes> + </release> + <release> + <version>1.1.2</version> + <date>2003-02-17</date> + <state>stable</state> + <notes>- Correctly handle the case where the server&apos;s ESMTP response includes a SIZE keyword with no specific value. + </notes> + </release> + <release> + <version>1.1.1</version> + <date>2003-01-30</date> + <state>stable</state> + <notes>- Don&apos;t enforce a maximum message size if the SIZE parameter is zero. + </notes> + </release> + <release> + <version>1.1.0</version> + <date>2003-01-18</date> + <state>stable</state> + <notes>- The SMTP server&apos;s SIZE capability is now honored. - Improved support for SMTP authentication (LOGIN, PLAIN, CRAM-MD5, DIGEST-MD5). - Overhauled the server response parsing system. - Added optional debugging output (enabled via setDebug()). -- A timeout value can now be specified for the socket connection.</notes> - </release> - <release> - <version>1.0.1</version> - <date>2003-01-02</date> - <state>stable</state> - <notes>Corrected an off-by-one bug that corrupted the list of ESMTP capabilities.</notes> - </release> - <release> - <version>1.0</version> - <date>2002-06-11</date> - <state>stable</state> - <notes>Initial release as PEAR package</notes> - </release> - </changelog> +- A timeout value can now be specified for the socket connection. + </notes> + </release> + <release> + <version>1.0.1</version> + <date>2003-01-02</date> + <state>stable</state> + <notes>Corrected an off-by-one bug that corrupted the list of ESMTP capabilities. + </notes> + </release> + <release> + <version>1.0</version> + <date>2002-06-11</date> + <state>stable</state> + <notes>Initial release as PEAR package + </notes> + </release> + </changelog> </package> http://cvs.php.net/viewcvs.cgi/pear/Net_SMTP/package2.xml?view=markup&rev=1.1 Index: pear/Net_SMTP/package2.xml +++ pear/Net_SMTP/package2.xml <?xml version="1.0" encoding="UTF-8"?> <package packagerversion="1.4.6" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> <name>Net_SMTP</name> <channel>pear.php.net</channel> <summary>An implementation of the SMTP protocol</summary> <description>Provides an implementation of the SMTP protocol using PEAR&apos;s Net_Socket class.</description> <lead> <name>Jon Parise</name> <user>jon</user> <email>jon@php.net</email> <active>yes</active> </lead> <lead> <name>Chuck Hagenbuch</name> <user>chagenbu</user> <email>chuck@horde.org</email> <active>yes</active> </lead> <date>2006-02-05</date> <time>22:19:29</time> <version> <release>1.2.8</release> <api>1.0.0</api> </version> <stability> <release>stable</release> <api>stable</api> </stability> <license uri="http://www.php.net/license/3_01.txt">PHP License</license> <notes>- The mailFrom() and rcptTo() methods now support additional arbitrary parameters. (Request 6339) - Upgraded to package.xml version 2 (via package2.xml). - Updated the license to PHP 3.0.1.</notes> <contents> <dir baseinstalldir="Net" name="/"> <dir name="docs"> <dir name="examples"> <file name="basic.php" role="doc" /> </dir> <!-- /docs/examples --> <file name="guide.txt" role="doc" /> </dir> <!-- /docs --> <dir name="tests"> <file name="auth.phpt" role="test" /> <file name="basic.phpt" role="test" /> <file name="config.php.dist" role="test" /> <file name="quotedata.phpt" role="test" /> </dir> <!-- /tests --> <file name="SMTP.php" role="php" /> </dir> <!-- / --> </contents> <dependencies> <required> <php> <min>4.0.5</min> </php> <pearinstaller> <min>1.4.3</min> </pearinstaller> <package> <name>Net_Socket</name> <channel>pear.php.net</channel> </package> </required> <optional> <package> <name>Auth_SASL</name> <channel>pear.php.net</channel> </package> </optional> </dependencies> <phprelease /> <changelog> <release> <version> <release>1.2.8</release> <api>1.0.0</api> </version> <stability> <release>stable</release> <api>stable</api> </stability> <date>2006-02-05</date> <license>PHP License</license> <notes>- The mailFrom() and rcptTo() methods now support additional arbitrary parameters. (Request 6339) - Upgraded to package.xml version 2 (via package2.xml). - Updated the license to PHP 3.0.1.</notes> </release> </changelog> </package>
« previous php.pear.cvs (#38015) next »