cvs: pear /Net_DNS generate_package_xml.php package.xml

From: Date: Wed, 30 Nov 2005 19:15:00 +0000
Subject: cvs: pear /Net_DNS generate_package_xml.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36626@lists.php.net to get a copy of this message
bate Wed Nov 30 14:15:00 2005 EDT Modified files: /pear/Net_DNS generate_package_xml.php package.xml Log: - 1.0.0rc2 release http://cvs.php.net/diff.php/pear/Net_DNS/generate_package_xml.php?r1=1.1&r2=1.2&ty=u Index: pear/Net_DNS/generate_package_xml.php diff -u pear/Net_DNS/generate_package_xml.php:1.1 pear/Net_DNS/generate_package_xml.php:1.2 --- pear/Net_DNS/generate_package_xml.php:1.1 Wed Nov 30 13:52:47 2005 +++ pear/Net_DNS/generate_package_xml.php Wed Nov 30 14:14:59 2005 @@ -1,93 +1,89 @@ -<?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(); +<?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 pending 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(); } \ No newline at end of file http://cvs.php.net/diff.php/pear/Net_DNS/package.xml?r1=1.19&r2=1.20&ty=u Index: pear/Net_DNS/package.xml diff -u pear/Net_DNS/package.xml:1.19 pear/Net_DNS/package.xml:1.20 --- pear/Net_DNS/package.xml:1.19 Wed Nov 30 13:52:47 2005 +++ pear/Net_DNS/package.xml Wed Nov 30 14:14:59 2005 @@ -3,12 +3,8 @@ <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>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> @@ -29,8 +25,8 @@ <date>2005-11-30</date> <license>PHP License 3.01</license> <state>beta</state> - <notes>* Fixed all peding bugs -* Fixed coding styles + <notes>* Fixed all pending bugs +* Fixed coding styles * Added class documentation </notes> <deps> @@ -124,8 +120,8 @@ <date>2005-11-30</date> <license>PHP License 3.01</license> <state>beta</state> - <notes>* Fixed all peding bugs -* Fixed coding styles + <notes>* Fixed all pending bugs +* Fixed coding styles * Added class documentation </notes> </release>

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