This repository has been archived by the owner on Sep 10, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Init repo with PHP bundles from Neard
Create template files (.nrd) for future Neard release
- Loading branch information
crazy-max
committed
Dec 7, 2015
0 parents
commit 2a248fb
Showing
10,334 changed files
with
1,842,925 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Eclipse | ||
.settings | ||
.settings/* | ||
.buildpath | ||
.project | ||
.jsdtscope | ||
*.launch | ||
|
||
# Ant | ||
build.properties | ||
build.xml | ||
|
||
# Neard | ||
.dev | ||
.dev/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changelog | ||
|
||
## r1 (2015/12/07) | ||
|
||
This release works since **[Neard 1.0.13](https://github.com/crazy-max/neard/releases/tag/v1.0.13)** | ||
|
||
* Init repo with PHP bundles from [Neard](https://github.com/crazy-max/neard) | ||
* Create template files (.nrd) for future Neard release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
This a sub-repo of [Neard project](https://github.com/crazy-max/neard) involving PHP binary bundles. | ||
|
||
## Download | ||
|
||
* [5.2.17-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.2.17-r1.zip) | ||
* [5.3.13-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.3.13-r1.zip) (default bundle on Neard) | ||
* [5.3.28-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.3.28-r1.zip) | ||
* [5.3.29-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.3.29-r1.zip) | ||
* [5.4.16-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.4.16-r1.zip) | ||
* [5.4.26-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.4.26-r1.zip) | ||
* [5.4.30-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.4.30-r1.zip) | ||
* [5.4.31-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.4.31-r1.zip) | ||
* [5.4.40-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.4.40-r1.zip) | ||
* [5.5.10-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.5.10-r1.zip) | ||
* [5.5.14-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.5.14-r1.zip) | ||
* [5.5.16-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.5.16-r1.zip) | ||
* [5.5.24-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.5.24-r1.zip) | ||
* [5.6.0-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.6.0-r1.zip) | ||
* [5.6.8-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.6.8-r1.zip) | ||
* [5.6.14-r1](https://github.com/crazy-max/neard-bin-php/releases/download/r1/neard-php-5.6.14-r1.zip) | ||
|
||
## Installation | ||
|
||
* Download and install [Neard](https://github.com/crazy-max/neard). | ||
* Download one of the available PHP bundles. | ||
* Extract archive in `neard\bin\php\`. | ||
|
||
Directory structure : | ||
``` | ||
[-] neard | ||
| [-] bin | ||
| | [-] php | ||
| | | [-] php5.3.13 | ||
| | | neard.conf | ||
| | | [-] php5.6.14 | ||
| | | neard.conf | ||
``` | ||
|
||
## Issues | ||
|
||
Issues must be reported on [Neard repository](https://github.com/crazy-max/neard/issues).<br /> | ||
Please read [Found a bug?](https://github.com/crazy-max/neard#found-a-bug) section before reporting an issue. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
-------------------------------------------------------------------- | ||
The PHP License, version 3.01 | ||
Copyright (c) 1999 - 2010 The PHP Group. All rights reserved. | ||
-------------------------------------------------------------------- | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, is permitted provided that the following conditions | ||
are met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
2. 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. | ||
|
||
3. The name "PHP" must not be used to endorse or promote products | ||
derived from this software without prior written permission. For | ||
written permission, please contact [email protected]. | ||
|
||
4. Products derived from this software may not be called "PHP", nor | ||
may "PHP" appear in their name, without prior written permission | ||
from [email protected]. You may indicate that your software works in | ||
conjunction with PHP by saying "Foo for PHP" instead of calling | ||
it "PHP Foo" or "phpfoo" | ||
|
||
5. The PHP Group may publish revised and/or new versions of the | ||
license from time to time. Each version will be given a | ||
distinguishing version number. | ||
Once covered code has been published under a particular version | ||
of the license, you may always continue to use it under the terms | ||
of that version. You may also choose to use such covered code | ||
under the terms of any subsequent version of the license | ||
published by the PHP Group. No one other than the PHP Group has | ||
the right to modify the terms applicable to covered code created | ||
under this License. | ||
|
||
6. Redistributions of any form whatsoever must retain the following | ||
acknowledgment: | ||
"This product includes PHP software, freely available from | ||
<http://www.php.net/software/>". | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND | ||
ANY EXPRESSED 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 PHP | ||
DEVELOPMENT TEAM OR ITS 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. | ||
|
||
-------------------------------------------------------------------- | ||
|
||
This software consists of voluntary contributions made by many | ||
individuals on behalf of the PHP Group. | ||
|
||
The PHP Group can be contacted via Email at [email protected]. | ||
|
||
For more information on the PHP Group and the PHP project, | ||
please see <http://www.php.net>. | ||
|
||
PHP includes the Zend Engine, freely available at | ||
<http://www.zend.com>. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
phpVersion = "5.2.17" | ||
phpCliExe = "php.exe" | ||
phpCliSilentExe = "php-win.exe" | ||
phpConf = "php.ini" | ||
phpPearExe = "pear/pear.bat" | ||
|
||
apache22 = "php5apache2_2.dll" | ||
|
||
bundleRelease = "@RELEASE_VERSION@" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<!-- | ||
$Id: package.dtd,v 1.38 2005-11-12 02:23:07 cellog Exp $ | ||
|
||
This is the PEAR package description, version 1.0. | ||
It should be used with the informal public identifier: | ||
|
||
"-//PHP Group//DTD PEAR Package 1.0//EN//XML" | ||
|
||
Copyright (c) 1997-2005 The PHP Group | ||
|
||
This source file is subject to version 3.00 of the PHP license, | ||
that is bundled with this package in the file LICENSE, and is | ||
available at through the world-wide-web at | ||
http://www.php.net/license/3_0.txt. | ||
If you did not receive a copy of the PHP license and are unable to | ||
obtain it through the world-wide-web, please send a note to | ||
[email protected] so we can mail you a copy immediately. | ||
|
||
Authors: | ||
Stig S. Bakken <[email protected]> | ||
Gregory Beaver <[email protected]> | ||
|
||
--> | ||
<!ENTITY % NUMBER "CDATA"> | ||
<!ELEMENT package (name,summary,description,license?,maintainers,release,changelog?)> | ||
<!ATTLIST package type (source|binary|empty) "empty" | ||
version CDATA #REQUIRED | ||
packagerversion CDATA #IMPLIED> | ||
|
||
<!ELEMENT name (#PCDATA)> | ||
|
||
<!ELEMENT summary (#PCDATA)> | ||
|
||
<!ELEMENT license (#PCDATA)> | ||
|
||
<!ELEMENT description (#PCDATA)> | ||
|
||
<!ELEMENT maintainers (maintainer)+> | ||
|
||
<!ELEMENT maintainer (user|role|name|email)+> | ||
|
||
<!ELEMENT user (#PCDATA)> | ||
|
||
<!ELEMENT role (#PCDATA)> | ||
|
||
<!ELEMENT email (#PCDATA)> | ||
|
||
<!ELEMENT changelog (release)+> | ||
|
||
<!ELEMENT release (version,date,license,state,notes,warnings?,provides*,deps?,configureoptions?,filelist?)> | ||
|
||
<!ELEMENT version (#PCDATA)> | ||
|
||
<!ELEMENT date (#PCDATA)> | ||
|
||
<!ELEMENT state (#PCDATA)> | ||
|
||
<!ELEMENT notes (#PCDATA)> | ||
|
||
<!ELEMENT warnings (#PCDATA)> | ||
|
||
<!ELEMENT deps (dep*)> | ||
|
||
<!ELEMENT dep (#PCDATA)> | ||
<!ATTLIST dep type (pkg|ext|php) #REQUIRED | ||
rel (has|eq|lt|le|gt|ge) #IMPLIED | ||
version CDATA #IMPLIED | ||
optional (yes|no) 'no'> | ||
|
||
<!ELEMENT configureoptions (configureoption)+> | ||
|
||
<!ELEMENT configureoption EMPTY> | ||
<!ATTLIST configureoption name CDATA #REQUIRED | ||
default CDATA #IMPLIED | ||
prompt CDATA #REQUIRED> | ||
|
||
<!ELEMENT provides EMPTY> | ||
<!ATTLIST provides type (ext|prog|class|function|feature|api) #REQUIRED | ||
name CDATA #REQUIRED | ||
extends CDATA #IMPLIED> | ||
<!ELEMENT filelist (dir|file)+> | ||
|
||
<!ELEMENT dir (dir|file)+> | ||
<!ATTLIST dir name CDATA #REQUIRED | ||
role (php|ext|src|test|doc|data|script) 'php' | ||
baseinstalldir CDATA #IMPLIED> | ||
|
||
<!ELEMENT file (replace*)> | ||
<!ATTLIST file role (php|ext|src|test|doc|data|script) 'php' | ||
debug (na|on|off) 'na' | ||
format CDATA #IMPLIED | ||
baseinstalldir CDATA #IMPLIED | ||
platform CDATA #IMPLIED | ||
md5sum CDATA #IMPLIED | ||
name CDATA #REQUIRED | ||
install-as CDATA #IMPLIED> | ||
|
||
<!ELEMENT replace EMPTY> | ||
<!ATTLIST replace type (php-const|pear-config|package-info) #REQUIRED | ||
from CDATA #REQUIRED | ||
to CDATA #REQUIRED> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
Summary: PEAR: @summary@ | ||
Name: @rpm_package@ | ||
Version: @version@ | ||
Release: 1 | ||
License: @release_license@ | ||
Group: Development/Libraries | ||
Source: http://@master_server@/get/@package@-%{version}.tgz | ||
BuildRoot: %{_tmppath}/%{name}-root | ||
URL: http://@master_server@/package/@package@ | ||
Prefix: %{_prefix} | ||
BuildArchitectures: @arch@ | ||
@extra_headers@ | ||
|
||
%description | ||
@description@ | ||
|
||
%prep | ||
rm -rf %{buildroot}/* | ||
%setup -c -T | ||
# XXX Source files location is missing here in pear cmd | ||
pear -v -c %{buildroot}/pearrc \ | ||
-d php_dir=%{_libdir}/php/pear \ | ||
-d doc_dir=/docs \ | ||
-d bin_dir=%{_bindir} \ | ||
-d data_dir=%{_libdir}/php/pear/data \ | ||
-d test_dir=%{_libdir}/php/pear/tests \ | ||
-d ext_dir=%{_libdir} \@extra_config@ | ||
-s | ||
|
||
%build | ||
echo BuildRoot=%{buildroot} | ||
|
||
%postun | ||
# if refcount = 0 then package has been removed (not upgraded) | ||
if [ "$1" -eq "0" ]; then | ||
pear uninstall --nodeps -r @possible_channel@@package@ | ||
rm @rpm_xml_dir@/@[email protected] | ||
fi | ||
|
||
|
||
%post | ||
# if refcount = 2 then package has been upgraded | ||
if [ "$1" -ge "2" ]; then | ||
pear upgrade --nodeps -r @rpm_xml_dir@/@[email protected] | ||
else | ||
pear install --nodeps -r @rpm_xml_dir@/@[email protected] | ||
fi | ||
|
||
%install | ||
pear -c %{buildroot}/pearrc install --nodeps -R %{buildroot} \ | ||
$RPM_SOURCE_DIR/@package@-%{version}.tgz | ||
rm %{buildroot}/pearrc | ||
rm %{buildroot}/%{_libdir}/php/pear/.filemap | ||
rm %{buildroot}/%{_libdir}/php/pear/.lock | ||
rm -rf %{buildroot}/%{_libdir}/php/pear/.registry | ||
if [ "@doc_files@" != "" ]; then | ||
mv %{buildroot}/docs/@package@/* . | ||
rm -rf %{buildroot}/docs | ||
fi | ||
mkdir -p %{buildroot}@rpm_xml_dir@ | ||
tar -xzf $RPM_SOURCE_DIR/@package@-%{version}.tgz package@[email protected] | ||
cp -p package@[email protected] %{buildroot}@rpm_xml_dir@/@[email protected] | ||
|
||
#rm -rf %{buildroot}/* | ||
#pear -q install -R %{buildroot} -n package@[email protected] | ||
#mkdir -p %{buildroot}@rpm_xml_dir@ | ||
#cp -p package@[email protected] %{buildroot}@rpm_xml_dir@/@[email protected] | ||
|
||
%files | ||
%defattr(-,root,root) | ||
%doc @doc_files@ | ||
/ |
Oops, something went wrong.