Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This commit was manufactured by cvs2svn to create tag 'RELEASE_1_11_3'.

  • Loading branch information...
commit 842a76164f562eb2f10e05542f3265c5984823a2 1 parent 80952e1
PHP SVN authored
Showing with 0 additions and 69 deletions.
  1. +0 −66 package.php
  2. +0 −3  phpdoc.sh
View
66 package.php
@@ -1,66 +0,0 @@
-<?php
-
-require_once 'PEAR/PackageFileManager2.php';
-PEAR::setErrorHandling(PEAR_ERROR_DIE);
-
-$desc = <<<EOT
-The Log package provides an abstracted logging framework. It includes output handlers for log files, databases, syslog, email, Firebug, and the console. It also provides composite and subject-observer logging mechanisms.
-EOT;
-
-$version = '1.11.3';
-$notes = <<<EOT
-- It is now possible to configure the error_log handler's line and timestamp formats. (Bug #14655)
-- Added _extractMessage() support for non-scalar array('message' => ...) values.
-- Spaces in 'win' handler window names are now replaced with underscores.
-- Added a class name format token: %8$s
-EOT;
-
-$package = new PEAR_PackageFileManager2();
-
-$result = $package->setOptions(array(
- 'filelistgenerator' => 'cvs',
- 'changelogoldtonew' => false,
- 'simpleoutput' => true,
- 'baseinstalldir' => '/',
- 'packagefile' => 'package.xml',
- 'packagedirectory' => '.'));
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-
-$package->setPackage('Log');
-$package->setPackageType('php');
-$package->setSummary('Logging Framework');
-$package->setDescription($desc);
-$package->setChannel('pear.php.net');
-$package->setLicense('MIT License', 'http://www.opensource.org/licenses/mit-license.php');
-$package->setAPIVersion('1.0.0');
-$package->setAPIStability('stable');
-$package->setReleaseVersion($version);
-$package->setReleaseStability('stable');
-$package->setNotes($notes);
-$package->setPhpDep('4.3.0');
-$package->setPearinstallerDep('1.4.3');
-$package->addMaintainer('lead', 'jon', 'Jon Parise', 'jon@php.net');
-$package->addMaintainer('lead', 'chagenbu', 'Chuck Hagenbuch', 'chuck@horde.org');
-$package->addMaintainer('lead', 'yunosh', 'Jan Schneider', 'jan@horde.org');
-$package->addIgnore(array('package.php', 'phpdoc.sh', 'package.xml'));
-$package->addPackageDepWithChannel('optional', 'DB', 'pear.php.net', '1.3');
-$package->addPackageDepWithChannel('optional', 'MDB2', 'pear.php.net', '2.0.0RC1');
-$package->addPackageDepWithChannel('optional', 'Mail', 'pear.php.net');
-$package->addExtensionDep('optional', 'sqlite');
-
-$package->generateContents();
-
-if ($_SERVER['argv'][1] == 'commit') {
- $result = $package->writePackageFile();
-} else {
- $result = $package->debugPackageFile();
-}
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
View
3  phpdoc.sh
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-phpdoc -f Log.php -d Log -t docs/api -p -ti "Log Package API" -dn Log -dc Log -ed examples -i CVS/*
Please sign in to comment.
Something went wrong with that request. Please try again.