cvs: pear /Net_DNS DNS.php generate_package_xml.php package.xml
| From: | Marco Kaiser | Date: | Wed, 30 Nov 2005 18:52:50 +0000 |
| Subject: | cvs: pear /Net_DNS DNS.php generate_package_xml.php package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36623@lists.php.net to get a copy of this message | ||
bate Wed Nov 30 13:52:50 2005 EDT
Added files:
/pear/Net_DNS generate_package_xml.php
Modified files:
/pear/Net_DNS DNS.php package.xml
Log:
changed license to php license 3.01 and fixed package header
added package build script
http://cvs.php.net/diff.php/pear/Net_DNS/DNS.php?r1=1.11&r2=1.12&ty=u Index: pear/Net_DNS/DNS.php diff -u pear/Net_DNS/DNS.php:1.11 pear/Net_DNS/DNS.php:1.12 --- pear/Net_DNS/DNS.php:1.11 Tue Nov 22 07:50:51 2005 +++ pear/Net_DNS/DNS.php Wed Nov 30 13:52:47 2005 @@ -1,45 +1,44 @@ <?php -/* - * Module written/ported by Eric Kilfoil <eric@ypass.net> - * - * This is the copyright notice from the PERL Net::DNS module: - * - * Copyright (c) 1997-2000 Michael Fuhr. All rights reserved. This - * program is free software; you can redistribute it and/or modify it - * under the same terms as Perl itself. - * - * The majority of this is _NOT_ my code. I simply ported it from the - * PERL Net::DNS module. - * - * The author of the Net::DNS module is Michael Fuhr <mike@fuhr.org> - * http://www.fuhr.org/~mfuhr/perldns/ - * - * I _DO_ maintain this code, and Miachael Fuhr has nothing to with the - * porting of this code to PHP. Any questions directly related to this - * class library should be directed to me. - * - * I'll be setting up a CVS repository for this class soon. The more - * emails i get concerning this, the more apt i am to do it. - * - * License Information: - * - * Net_DNS: A resolver library for PHP - * Copyright (c) 2002-2003 Eric Kilfoil eric@ypass.net - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ +/** +* Class to provide IPv4 calculations +* +* Module written/ported by Eric Kilfoil <eric@ypass.net> +* +* This is the copyright notice from the PERL Net::DNS module: +* +* Copyright (c) 1997-2000 Michael Fuhr. All rights reserved. This +* program is free software; you can redistribute it and/or modify it +* under the same terms as Perl itself. +* +* The majority of this is _NOT_ my code. I simply ported it from the +* PERL Net::DNS module. +* +* The author of the Net::DNS module is Michael Fuhr <mike@fuhr.org> +* http://www.fuhr.org/~mfuhr/perldns/ +* +* Michael Fuhr has nothing to with the porting of this code to PHP. +* Any questions directly related to this class library should be directed +* to the maintainer. +* +* +* PHP versions 4 and 5 +* +* LICENSE: This source file is subject to version 3.01 of the PHP license +* that is available through the world-wide-web at the following URI: +* http://www.php.net/license/3_01.txt. If you did not receive a copy of +* the PHP License and are unable to obtain it through the web, please +* send a note to license@php.net so we can mail you a copy immediately. +* +* @category Net +* @package Net_IPv4 +* @author Eric Kilfoil <edk@ypass.net> +* @author Marco Kaiser <bate@php.net> +* @author Florian Anderiasch <fa@php.net> +* @copyright 1997-2005 The PHP Group +* @license http://www.php.net/license/3_01.txt PHP License 3.01 +* @version CVS: $Id: DNS.php,v 1.12 2005/11/30 18:52:47 bate Exp $ +* @link http://pear.php.net/package/Net_DNS +*/ /* Include information {{{ */ http://cvs.php.net/diff.php/pear/Net_DNS/package.xml?r1=1.18&r2=1.19&ty=u Index: pear/Net_DNS/package.xml diff -u pear/Net_DNS/package.xml:1.18 pear/Net_DNS/package.xml:1.19 --- pear/Net_DNS/package.xml:1.18 Tue Nov 22 07:43:07 2005 +++ pear/Net_DNS/package.xml Wed Nov 30 13:52:47 2005 @@ -1,212 +1,133 @@ -<?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"> -<!-- do not use the "Type" attribute here, that one is only for - generated package.xml files --> -<package version="1.0"> - <name>Net_DNS</name> - <summary>Resolver library used to communicate with a DNS server</summary> - <description> - A resolver library used to communicate with a name server to perform DNS queries, zone transfers, dynamic DNS updates, etc. Creates an object hierarchy from a DNS server's response, which allows you to view all of the information given by the DNS server. It bypasses the system's resolver library and communicates directly with the server. - </description> - <maintainers> - <maintainer> - <user>bate</user> - <name>Marco Kaiser</name> - <email>bate@php.net</email> - <role>lead</role> - </maintainer> - <maintainer> - <user>cox</user> - <name>Tomas V.V.Cox</name> - <email>cox@idecnet.com</email> - <role>contributor</role> - </maintainer> +<package version="1.0" packagerversion="1.4.5"> + <name>Net_DNS</name> + <summary>Resolver library used to communicate with a DNS server.</summary> + <description>A resolver library used to communicate with a name server to perform DNS queries, +zone transfers, dynamic DNS updates, etc. + +Creates an object hierarchy from a DNS server response, which allows you to +view all of the information given by the DNS server. It bypasses the system +resolver library and communicates directly with the server. + </description> + <maintainers> + <maintainer> + <user>bate</user> + <name>Marco Kaiser</name> + <email>bate@php.net</email> + <role>lead</role> + </maintainer> + <maintainer> + <user>fa</user> + <name>Florian Anderiasch</name> + <email>fa@php.net</email> + <role>developer</role> + </maintainer> </maintainers> - <release> + <release> + <version>1.0.0rc2</version> + <date>2005-11-30</date> + <license>PHP License 3.01</license> + <state>beta</state> + <notes>* Fixed all peding bugs +* Fixed coding styles +* Added class documentation + </notes> + <deps> + <dep type="php" rel="ge" version="4.2" optional="no"/> + <dep type="ext" rel="has" optional="no">mhash</dep> + </deps> + <filelist> + <dir name="/" baseinstalldir="Net"> + <dir name="DNS"> + <dir name="RR"> + <file role="php" name="A.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="AAAA.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="CNAME.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="HINFO.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="MX.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="NAPTR.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="NS.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="PTR.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="SOA.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="SRV.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="TSIG.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="TXT.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + </dir> <!-- /DNS/RR --> + <file role="php" name="Header.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="Packet.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="Question.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="Resolver.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="RR.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + </dir> <!-- /DNS --> + <file role="php" name="DNS.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + </dir> <!-- / --> + </filelist> + </release> + <changelog> + <release> <version>1.0.0rc2</version> - <date>2005-05-07</date> - <license>LGPL 2.1</license> + <date>2005-11-30</date> + <license>PHP License 3.01</license> <state>beta</state> - <notes> -Fixed bug with sockets extension making all queries fail + <notes>* Fixed all peding bugs +* Fixed coding styles +* Added class documentation </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - <file role="php">AAAA.php</file> - <file role="php">HINFO.php</file> - <file role="php">NAPTR.php</file> - <file role="php">SRV.php</file> - <file role="php">TXT.php</file> - </dir> - </dir> - </dir> - </filelist> - <deps> - <dep type="php" rel="ge" version="4.2"/> - <dep type="ext" rel="has">mhash</dep> - </deps> - </release> - <changelog> - <release> - <version>1.0.0rc1</version> - <date>2005-04-17</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -Fixed all pending bugs -Ensured php5 compatibility - </notes> - </release> - <release> - <version>1.00b2</version> - <date>2003-06-10</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -- More RR types supported: AAAA, HINFO, NAPTR, SRV, and TXT (Sara Goleman). -- Fixed bug 23812 (as well as other unreported bugs) -- Added capability for extracting arbritrary lables from a packet (Sara Goleman). - </notes> - </release> - - <release> - <version>1.00b1</version> - <date>2003-02-24</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -- Tested with PHP 4.3.0 -- Should have no warnings under with maximum error_reporting setting -- Fixed bug: did not understand name server responses using the one-answer zone transfer format -- Fixed more problems with PHP warning about uninitialized variables - -Note that the interface to the axfr function has changed. Software relying on the old (buggy) style of axfr queries will need to be updated to call axfr_old() instead of axfr(). The new axfr() function will not return a DNS packet, but an array of RRs ONLY. - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - <release> - <version>0.03</version> - <date>2002-08-15</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -Now has stable support of DNS queries, socket handling, and packet parsing/generating. Any problems at this point should be considered bugs and should be reported ASAP. Running this code with E_ALL should be acceptable -- any warnings generated should be submitted to eric@ypass.net. - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - <release> - <version>0.02</version> - <date>2002-08-15</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> - Supports TSIG signed DNS packets for generating DNS update packets (re: rfc2485) - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - <release> - <version>0.01</version> - <date>2002-05-14</date> - <license>LGPL 2.1</license> - <state>devel</state> - <notes> - Currently only supports A, CNAME, NS, PTR, MX, and SOA records. - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - </changelog> + </release> + </changelog> </package> http://cvs.php.net/co.php/pear/Net_DNS/generate_package_xml.php?r=1.1&p=1 Index: pear/Net_DNS/generate_package_xml.php +++ pear/Net_DNS/generate_package_xml.php <?php require_once 'PEAR/PackageFileManager.php'; $pkg = new PEAR_PackageFileManager(); $build = (isset($argv[1]) && strcmp($argv[1], 'build')!==false) ? true : false; /** * directory settings */ $cvsdir = dirname(__FILE__); $packagedir = &$cvsdir; /** * package configuration */ $category = 'Net'; $package = 'Net_DNS'; $version = '1.0.0rc2'; $state = 'beta'; $summary = 'Resolver library used to communicate with a DNS server.'; $description = <<<EOT A resolver library used to communicate with a name server to perform DNS queries, zone transfers, dynamic DNS updates, etc. Creates an object hierarchy from a DNS server response, which allows you to view all of the information given by the DNS server. It bypasses the system resolver library and communicates directly with the server. EOT; $notes = <<<EOT * Fixed all peding bugs * Fixed coding styles * Added class documentation EOT; $e = $pkg->setOptions(array( 'simpleoutput' => true, 'baseinstalldir' => $category, 'summary' => $summary, 'description' => $description, 'version' => $version, 'license' => 'PHP License 3.01', 'packagedirectory' => $packagedir, 'pathtopackagefile' => $packagedir, 'state' => $state, 'filelistgenerator' => 'cvs', 'notes' => $notes, 'package' => $package, 'dir_roles' => array( 'docs' => 'doc' ), 'ignore' => array( '*.xml', '*.tgz', 'generate_package*', ), )); if (PEAR::isError($e)) { echo $e->getMessage(); exit; } $e = $pkg->addMaintainer('bate', 'lead', 'Marco Kaiser', 'bate@php.net'); $e = $pkg->addMaintainer('fa', 'developer', 'Florian Anderiasch', 'fa@php.net'); //$e = $pkg->addMaintainer('ekilfoil', 'lead', 'Eric Kilfoil', 'eric@ypass.net', 'no'); if (PEAR::isError($e)) { echo $e->getMessage(); exit; } $e = $pkg->addDependency('php', '4.2', 'ge', 'php'); $e = $pkg->addDependency('mhash', null, 'has', 'ext'); $e = $pkg->addGlobalReplacement('package-info', '@package_version@', 'version'); $e = $pkg->addGlobalReplacement('pear-config', '@data_dir@', 'data_dir'); if (PEAR::isError($e)) { echo $e->getMessage(); exit; } if ($build) { $e = $pkg->writePackageFile(); } else { $e = $pkg->debugPackageFile(); }
http://cvs.php.net/diff.php/pear/Net_DNS/DNS.php?r1=1.11&r2=1.12&ty=u Index: pear/Net_DNS/DNS.php diff -u pear/Net_DNS/DNS.php:1.11 pear/Net_DNS/DNS.php:1.12 --- pear/Net_DNS/DNS.php:1.11 Tue Nov 22 07:50:51 2005 +++ pear/Net_DNS/DNS.php Wed Nov 30 13:52:47 2005 @@ -1,45 +1,44 @@ <?php -/* - * Module written/ported by Eric Kilfoil <eric@ypass.net> - * - * This is the copyright notice from the PERL Net::DNS module: - * - * Copyright (c) 1997-2000 Michael Fuhr. All rights reserved. This - * program is free software; you can redistribute it and/or modify it - * under the same terms as Perl itself. - * - * The majority of this is _NOT_ my code. I simply ported it from the - * PERL Net::DNS module. - * - * The author of the Net::DNS module is Michael Fuhr <mike@fuhr.org> - * http://www.fuhr.org/~mfuhr/perldns/ - * - * I _DO_ maintain this code, and Miachael Fuhr has nothing to with the - * porting of this code to PHP. Any questions directly related to this - * class library should be directed to me. - * - * I'll be setting up a CVS repository for this class soon. The more - * emails i get concerning this, the more apt i am to do it. - * - * License Information: - * - * Net_DNS: A resolver library for PHP - * Copyright (c) 2002-2003 Eric Kilfoil eric@ypass.net - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ +/** +* Class to provide IPv4 calculations +* +* Module written/ported by Eric Kilfoil <eric@ypass.net> +* +* This is the copyright notice from the PERL Net::DNS module: +* +* Copyright (c) 1997-2000 Michael Fuhr. All rights reserved. This +* program is free software; you can redistribute it and/or modify it +* under the same terms as Perl itself. +* +* The majority of this is _NOT_ my code. I simply ported it from the +* PERL Net::DNS module. +* +* The author of the Net::DNS module is Michael Fuhr <mike@fuhr.org> +* http://www.fuhr.org/~mfuhr/perldns/ +* +* Michael Fuhr has nothing to with the porting of this code to PHP. +* Any questions directly related to this class library should be directed +* to the maintainer. +* +* +* PHP versions 4 and 5 +* +* LICENSE: This source file is subject to version 3.01 of the PHP license +* that is available through the world-wide-web at the following URI: +* http://www.php.net/license/3_01.txt. If you did not receive a copy of +* the PHP License and are unable to obtain it through the web, please +* send a note to license@php.net so we can mail you a copy immediately. +* +* @category Net +* @package Net_IPv4 +* @author Eric Kilfoil <edk@ypass.net> +* @author Marco Kaiser <bate@php.net> +* @author Florian Anderiasch <fa@php.net> +* @copyright 1997-2005 The PHP Group +* @license http://www.php.net/license/3_01.txt PHP License 3.01 +* @version CVS: $Id: DNS.php,v 1.12 2005/11/30 18:52:47 bate Exp $ +* @link http://pear.php.net/package/Net_DNS +*/ /* Include information {{{ */ http://cvs.php.net/diff.php/pear/Net_DNS/package.xml?r1=1.18&r2=1.19&ty=u Index: pear/Net_DNS/package.xml diff -u pear/Net_DNS/package.xml:1.18 pear/Net_DNS/package.xml:1.19 --- pear/Net_DNS/package.xml:1.18 Tue Nov 22 07:43:07 2005 +++ pear/Net_DNS/package.xml Wed Nov 30 13:52:47 2005 @@ -1,212 +1,133 @@ -<?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"> -<!-- do not use the "Type" attribute here, that one is only for - generated package.xml files --> -<package version="1.0"> - <name>Net_DNS</name> - <summary>Resolver library used to communicate with a DNS server</summary> - <description> - A resolver library used to communicate with a name server to perform DNS queries, zone transfers, dynamic DNS updates, etc. Creates an object hierarchy from a DNS server's response, which allows you to view all of the information given by the DNS server. It bypasses the system's resolver library and communicates directly with the server. - </description> - <maintainers> - <maintainer> - <user>bate</user> - <name>Marco Kaiser</name> - <email>bate@php.net</email> - <role>lead</role> - </maintainer> - <maintainer> - <user>cox</user> - <name>Tomas V.V.Cox</name> - <email>cox@idecnet.com</email> - <role>contributor</role> - </maintainer> +<package version="1.0" packagerversion="1.4.5"> + <name>Net_DNS</name> + <summary>Resolver library used to communicate with a DNS server.</summary> + <description>A resolver library used to communicate with a name server to perform DNS queries, +zone transfers, dynamic DNS updates, etc. + +Creates an object hierarchy from a DNS server response, which allows you to +view all of the information given by the DNS server. It bypasses the system +resolver library and communicates directly with the server. + </description> + <maintainers> + <maintainer> + <user>bate</user> + <name>Marco Kaiser</name> + <email>bate@php.net</email> + <role>lead</role> + </maintainer> + <maintainer> + <user>fa</user> + <name>Florian Anderiasch</name> + <email>fa@php.net</email> + <role>developer</role> + </maintainer> </maintainers> - <release> + <release> + <version>1.0.0rc2</version> + <date>2005-11-30</date> + <license>PHP License 3.01</license> + <state>beta</state> + <notes>* Fixed all peding bugs +* Fixed coding styles +* Added class documentation + </notes> + <deps> + <dep type="php" rel="ge" version="4.2" optional="no"/> + <dep type="ext" rel="has" optional="no">mhash</dep> + </deps> + <filelist> + <dir name="/" baseinstalldir="Net"> + <dir name="DNS"> + <dir name="RR"> + <file role="php" name="A.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="AAAA.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="CNAME.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="HINFO.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="MX.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="NAPTR.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="NS.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="PTR.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="SOA.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="SRV.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="TSIG.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="TXT.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + </dir> <!-- /DNS/RR --> + <file role="php" name="Header.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="Packet.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="Question.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="Resolver.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + <file role="php" name="RR.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + </dir> <!-- /DNS --> + <file role="php" name="DNS.php"> + <replace type="package-info" from="@package_version@" to="version"/> + <replace type="pear-config" from="@data_dir@" to="data_dir"/> + </file> + </dir> <!-- / --> + </filelist> + </release> + <changelog> + <release> <version>1.0.0rc2</version> - <date>2005-05-07</date> - <license>LGPL 2.1</license> + <date>2005-11-30</date> + <license>PHP License 3.01</license> <state>beta</state> - <notes> -Fixed bug with sockets extension making all queries fail + <notes>* Fixed all peding bugs +* Fixed coding styles +* Added class documentation </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - <file role="php">AAAA.php</file> - <file role="php">HINFO.php</file> - <file role="php">NAPTR.php</file> - <file role="php">SRV.php</file> - <file role="php">TXT.php</file> - </dir> - </dir> - </dir> - </filelist> - <deps> - <dep type="php" rel="ge" version="4.2"/> - <dep type="ext" rel="has">mhash</dep> - </deps> - </release> - <changelog> - <release> - <version>1.0.0rc1</version> - <date>2005-04-17</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -Fixed all pending bugs -Ensured php5 compatibility - </notes> - </release> - <release> - <version>1.00b2</version> - <date>2003-06-10</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -- More RR types supported: AAAA, HINFO, NAPTR, SRV, and TXT (Sara Goleman). -- Fixed bug 23812 (as well as other unreported bugs) -- Added capability for extracting arbritrary lables from a packet (Sara Goleman). - </notes> - </release> - - <release> - <version>1.00b1</version> - <date>2003-02-24</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -- Tested with PHP 4.3.0 -- Should have no warnings under with maximum error_reporting setting -- Fixed bug: did not understand name server responses using the one-answer zone transfer format -- Fixed more problems with PHP warning about uninitialized variables - -Note that the interface to the axfr function has changed. Software relying on the old (buggy) style of axfr queries will need to be updated to call axfr_old() instead of axfr(). The new axfr() function will not return a DNS packet, but an array of RRs ONLY. - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - <release> - <version>0.03</version> - <date>2002-08-15</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> -Now has stable support of DNS queries, socket handling, and packet parsing/generating. Any problems at this point should be considered bugs and should be reported ASAP. Running this code with E_ALL should be acceptable -- any warnings generated should be submitted to eric@ypass.net. - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - <release> - <version>0.02</version> - <date>2002-08-15</date> - <license>LGPL 2.1</license> - <state>beta</state> - <notes> - Supports TSIG signed DNS packets for generating DNS update packets (re: rfc2485) - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - <file role="php">TSIG.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - <release> - <version>0.01</version> - <date>2002-05-14</date> - <license>LGPL 2.1</license> - <state>devel</state> - <notes> - Currently only supports A, CNAME, NS, PTR, MX, and SOA records. - </notes> - <filelist> - <dir name="/" baseinstalldir="Net"> - <file role="php">DNS.php</file> - <dir name="DNS"> - <file role="php">Packet.php</file> - <file role="php">Header.php</file> - <file role="php">Question.php</file> - <file role="php">Resolver.php</file> - <file role="php">RR.php</file> - <dir name="RR"> - <file role="php">A.php</file> - <file role="php">NS.php</file> - <file role="php">CNAME.php</file> - <file role="php">MX.php</file> - <file role="php">SOA.php</file> - <file role="php">PTR.php</file> - </dir> - </dir> - </dir> - </filelist> - </release> - </changelog> + </release> + </changelog> </package> http://cvs.php.net/co.php/pear/Net_DNS/generate_package_xml.php?r=1.1&p=1 Index: pear/Net_DNS/generate_package_xml.php +++ pear/Net_DNS/generate_package_xml.php <?php require_once 'PEAR/PackageFileManager.php'; $pkg = new PEAR_PackageFileManager(); $build = (isset($argv[1]) && strcmp($argv[1], 'build')!==false) ? true : false; /** * directory settings */ $cvsdir = dirname(__FILE__); $packagedir = &$cvsdir; /** * package configuration */ $category = 'Net'; $package = 'Net_DNS'; $version = '1.0.0rc2'; $state = 'beta'; $summary = 'Resolver library used to communicate with a DNS server.'; $description = <<<EOT A resolver library used to communicate with a name server to perform DNS queries, zone transfers, dynamic DNS updates, etc. Creates an object hierarchy from a DNS server response, which allows you to view all of the information given by the DNS server. It bypasses the system resolver library and communicates directly with the server. EOT; $notes = <<<EOT * Fixed all peding bugs * Fixed coding styles * Added class documentation EOT; $e = $pkg->setOptions(array( 'simpleoutput' => true, 'baseinstalldir' => $category, 'summary' => $summary, 'description' => $description, 'version' => $version, 'license' => 'PHP License 3.01', 'packagedirectory' => $packagedir, 'pathtopackagefile' => $packagedir, 'state' => $state, 'filelistgenerator' => 'cvs', 'notes' => $notes, 'package' => $package, 'dir_roles' => array( 'docs' => 'doc' ), 'ignore' => array( '*.xml', '*.tgz', 'generate_package*', ), )); if (PEAR::isError($e)) { echo $e->getMessage(); exit; } $e = $pkg->addMaintainer('bate', 'lead', 'Marco Kaiser', 'bate@php.net'); $e = $pkg->addMaintainer('fa', 'developer', 'Florian Anderiasch', 'fa@php.net'); //$e = $pkg->addMaintainer('ekilfoil', 'lead', 'Eric Kilfoil', 'eric@ypass.net', 'no'); if (PEAR::isError($e)) { echo $e->getMessage(); exit; } $e = $pkg->addDependency('php', '4.2', 'ge', 'php'); $e = $pkg->addDependency('mhash', null, 'has', 'ext'); $e = $pkg->addGlobalReplacement('package-info', '@package_version@', 'version'); $e = $pkg->addGlobalReplacement('pear-config', '@data_dir@', 'data_dir'); if (PEAR::isError($e)) { echo $e->getMessage(); exit; } if ($build) { $e = $pkg->writePackageFile(); } else { $e = $pkg->debugPackageFile(); }