Skip to content

Commit

Permalink
- Added a license file, Better ignores, bumped up the min PEAR instal…
Browse files Browse the repository at this point in the history
…l. Thanks to @h
  • Loading branch information
David Coallier committed Aug 18, 2010
1 parent 8075d43 commit f224cf4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 8 deletions.
32 changes: 32 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// +-----------------------------------------------------------------------+
// | Copyright (c) 2010, David Coallier |
// | All rights reserved. |
// | |
// | Redistribution and use in source and binary forms, with or without |
// | modification, are permitted provided that the following conditions |
// | are met: |
// | |
// | o Redistributions of source code must retain the above copyright |
// | notice, this list of conditions and the following disclaimer. |
// | o Redistributions in binary form must reproduce the above copyright |
// | notice, this list of conditions and the following disclaimer in the |
// | documentation and/or other materials provided with the distribution. |
// | o The names of the authors may not be used to endorse or promote |
// | products derived from this software without specific prior written |
// | permission. |
// | |
// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
// | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
// | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
// | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
// | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// | |
// +-----------------------------------------------------------------------+
// | Author: David Coallier <david@echolibre.com> |
// +-----------------------------------------------------------------------+
4 changes: 2 additions & 2 deletions package.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'docs' => 'doc',
'tests' => 'test'
),
'ignore' => array('package.php', 'package.xml', 'Services_Capsule.tmprj'),
'ignore' => array('package.php', 'package.xml', 'Services_Capsule.tmproj', 'package.xml.old'),
'simpleoutput' => true));
$packagexml->setPackageType('php');
$packagexml->addRelease();
Expand All @@ -26,7 +26,7 @@
$packagexml->setDescription('This package provides developers with a complete set of Capsule CRM web service access ');
$packagexml->setNotes('Initial release');
$packagexml->setPhpDep('5.2.0');
$packagexml->setPearinstallerDep('1.4.0a12');
$packagexml->setPearinstallerDep('1.6.0');
$packagexml->addPackageDepWithChannel('required', 'HTTP_Request2', 'pear.php.net', '0.5.1');
$packagexml->addMaintainer('lead', 'davidc', 'David Coallier', 'davidc@php.net');
$packagexml->setLicense('BSD License', 'http://www.opensource.org/licenses/bsd-license.html');
Expand Down
9 changes: 3 additions & 6 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<active>yes</active>
</lead>
<date>2010-08-18</date>
<time>17:46:33</time>
<time>18:01:18</time>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
Expand Down Expand Up @@ -209,15 +209,12 @@ Initial release
<tasks:replace from="@PEAR-VER@" to="version" type="package-info" />
</file>
</dir> <!-- /tests -->
<file name="package.xml.old" role="data">
<file name="LICENSE" role="data">
<tasks:replace from="@PEAR-VER@" to="version" type="package-info" />
</file>
<file name="README.md" role="data">
<tasks:replace from="@PEAR-VER@" to="version" type="package-info" />
</file>
<file name="Services_Capsule.tmproj" role="data">
<tasks:replace from="@PEAR-VER@" to="version" type="package-info" />
</file>
</dir> <!-- / -->
</contents>
<dependencies>
Expand All @@ -226,7 +223,7 @@ Initial release
<min>5.2.0</min>
</php>
<pearinstaller>
<min>1.4.0a12</min>
<min>1.6.0</min>
</pearinstaller>
<package>
<name>HTTP_Request2</name>
Expand Down

0 comments on commit f224cf4

Please sign in to comment.