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

From: Date: Thu, 11 Mar 2004 15:07:51 +0000
Subject: Re: cvs: pear /Net_SMTP package.php package.xml
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17306@lists.php.net to get a copy of this message
Hi Jon, This should have baseinstalldir = 'Net', this is why the installation was to the wrong location. I'll ponder and see if there is an easy way to verify that a package namesake ends up in the right place in PEAR_PackageFileManager (i.e. Net_SMTP should install Net/SMTP.php). This kind of warning would be very useful, obviously Greg Jon Parise wrote:
jon Thu Mar 11 03:16:58 2004 EDT
  Added files:                     /pear/Net_SMTP	package.php 
  Modified files:                  /pear/Net_SMTP	package.xml   Log:
Adding a package.php script for generating the package.xml file. The latter has been updated based on the output of the former. ------------------------------------------------------------------------ http://cvs.php.net/diff.php/pear/Net_SMTP/package.xml?r1=1.30&r2=1.31&ty=u Index: pear/Net_SMTP/package.xml diff -u pear/Net_SMTP/package.xml:1.30 pear/Net_SMTP/package.xml:1.31 --- pear/Net_SMTP/package.xml:1.30 Wed Mar 10 20:38:11 2004 +++ pear/Net_SMTP/package.xml Thu Mar 11 03:16:56 2004 @@ -3,149 +3,115 @@ <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> - <license>PHP License</license> + <description>Provides an implementation of the SMTP protocol using PEAR's Net_Socket class.</description> <maintainers>
     <maintainer>
       <user>chagenbu</user>
-      <role>lead</role>
       <name>Chuck Hagenbuch</name>
       <email>chuck@horde.org</email>
+      <role>lead</role>
     </maintainer>
     <maintainer>
       <user>jon</user>
-      <role>lead</role>
       <name>Jon Parise</name>
       <email>jon@php.net</email>
+      <role>lead</role>
     </maintainer>
</maintainers> <release>
     <version>1.2.4</version>
-    <date>2004-03-10</date>
-    <notes>
-It's now possible to request a persistent socket connection when calling the connect() method.
-    </notes>
+    <date>2004-03-11</date>
+    <license>PHP License</license>
     <state>stable</state>
-    <filelist>
-      <file role="php" baseinstalldir="Net">SMTP.php</file>
-    </filelist>
+    <notes>It's now possible to request a persistent socket connection when calling the connect() method.</notes>
     <deps>
-      <dep type="pkg" rel="has">Net_Socket</dep>
+      <dep type="pkg" rel="has" optional="no">Net_Socket</dep>
       <dep type="pkg" rel="has" optional="yes">Auth_SASL</dep>
     </deps>
+    <filelist>
+      <dir baseinstalldir="/" 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"/>
+       </dir> <!-- tests -->
+       <file role="php" name="SMTP.php"/>
+      </dir> <!-- / -->
+    </filelist>
</release> <changelog>
     <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  parameter that will be passed to the Net_Socket::connect() method.  Previously, persistent connections will always disabled.   defaults to false.</notes>
+    </release>
+    <release>
       <version>1.2.3</version>
       <date>2003-05-11</date>
-      <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>
       <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has" optional="yes">Auth_SASL</dep>
-      </deps>
+      <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>
-      <notes>
-Fix a call-time pass-by-reference problem that was raising a warning if call-time pass-by-reference was disabled.
-      </notes>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has" optional="yes">Auth_SASL</dep>
-      </deps>
+      <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>
-      <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>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has" optional="yes">Auth_SASL</dep>
-      </deps>
+      <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>
-      <notes>
-- Perform data quoting in its own routine: quotedata()
-      </notes>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has">Auth_SASL</dep>
-      </deps>
+      <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>
-      <notes>
-- Correctly handle the case where the server's ESMTP response includes a SIZE keyword with no specific value.
-      </notes>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has">Auth_SASL</dep>
-      </deps>
+      <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>
-      <notes>
-- Don't enforce a maximum message size if the SIZE parameter is zero.
-      </notes>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has">Auth_SASL</dep>
-      </deps>
+      <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>
-      <notes>
-- The SMTP server's SIZE capability is now honored.
+      <state>stable</state>
+      <notes>- The SMTP server'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>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-        <dep type="pkg" rel="has">Auth_SASL</dep>
-      </deps>
+- A timeout value can now be specified for the socket connection.</notes>
     </release>
     <release>
       <version>1.0.1</version>
       <date>2003-01-02</date>
-      <notes>
-Corrected an off-by-one bug that corrupted the list of ESMTP capabilities.
-      </notes>
-      <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-      </deps>
+      <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>
-      <notes>Initial release as PEAR package</notes>
       <state>stable</state>
-      <deps>
-        <dep type="pkg" rel="has">Net_Socket</dep>
-      </deps>
+      <notes>Initial release as PEAR package</notes>
     </release>
</changelog> </package> http://cvs.php.net/co.php/pear/Net_SMTP/package.php?r=1.1&p=1 Index: pear/Net_SMTP/package.php +++ pear/Net_SMTP/package.php <?php require_once 'PEAR/PackageFileManager.php'; require_once 'Console/Getopt.php'; $version = '1.2.4'; $notes = <<<EOT It's now possible to request a persistent socket connection when calling the connect() method. EOT; $changelog = <<<EOT 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. EOT; $package = new PEAR_PackageFileManager(); $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,
    'baseinstalldir'    => '/',
    'packagedirectory'  => ''));
if (PEAR::isError($result)) {
    echo $result->getMessage();
    die();
} $package->addMaintainer('jon', 'lead', 'Jon Parise', 'jon@php.net'); $package->addDependency('Net_Socket', false, 'has', 'pkg'); $package->addDependency('Auth_SASL', false, 'has', 'pkg', true); if ($_SERVER['argv'][1] == 'commit') {
    $result = $package->writePackageFile();
} else {
    $result = $package->debugPackageFile();
} if (PEAR::isError($result)) {
    echo $result->getMessage();
    die();
}


« previous php.pear.cvs (#17306) next »