set default timezone, fails otherwise with php 5.3
[logging-log4php.git] / package-config.php
1 <?php
2 /**
3 * Licensed to the Apache Software Foundation (ASF) under one or more
4 * contributor license agreements. See the NOTICE file distributed with
5 * this work for additional information regarding copyright ownership.
6 * The ASF licenses this file to You under the Apache License, Version 2.0
7 * (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 // parse pom.xml to get version in sync
20 preg_match("/<version>(.+?)(-(\w+))?<\/version>/", file_get_contents("../../pom.xml"), $pom_version);
21
22 $name = 'log4php';
23 $summary = 'log4Php is a PHP port of log4j framework';
24 $version = $pom_version[1].(empty($pom_version[3]) ? '' : $pom_version[3]);
25 $versionBuild = 'b1';
26 $apiVersion = '2.0.0';
27 $state = empty($pom_version[3]) ? 'stable' : 'snapshot';
28 $apiStability = 'stable';
29
30 $description = <<<EOT
31 log4Php is a PHP port of log4j framework. It supports XML configuration,
32 logging to files, stdout/err, syslog, socket, configurable output layouts
33 and logging levels.
34 EOT;
35
36 $notes = 'Please see CHANGELOG and changes.xml!';
37
38 $options = array(
39 'license' => 'Apache License 2.0',
40 //'filelistgenerator' => 'svn',
41 'ignore' => array('package.php', 'package-config.php'),
42 'simpleoutput' => true,
43 'baseinstalldir' => '/',
44 'packagedirectory' => '.',
45 'dir_roles' => array(
46 'examples' => 'doc',
47 ),
48 'exceptions' => array(
49 'changes.xml' => 'doc',
50 'CHANGELOG' => 'doc',
51 'LICENSE' => 'doc',
52 'README' => 'doc',
53 ),
54 );
55
56 $license = array(
57 'name' => 'Apache License 2.0',
58 'url' => 'http://www.apache.org/licenses/LICENSE-2.0'
59 );
60
61 $maintainer = array();
62 $maintainer[] = array(
63 'role' => 'lead',
64 'handle' => 'kurdalen',
65 'name' => 'Knut Urdalen',
66 'email' => 'kurdalen@apache.org',
67 'active' => 'yes'
68 );
69 $maintainer[] = array(
70 'role' => 'lead',
71 'handle' => 'grobmeier',
72 'name' => 'Christian Grobmeier',
73 'email' => 'grobmeier@apache.org',
74 'active' => 'yes'
75 );
76 $maintainer[] = array(
77 'role' => 'developer',
78 'handle' => 'chammers',
79 'name' => 'Christian Hammers',
80 'email' => 'chammers@apache.org',
81 'active' => 'yes'
82 );
83
84 $dependency = array();
85
86 $channel = 'pear.php.net';
87 $require = array(
88 'php' => '5.2.0',
89 'pear_installer' => '1.8.0',
90 );