1
0
forked from ports/opt

pear: rescued from orphans and updated to 1.9.4

This commit is contained in:
Jose V Beneyto 2013-02-14 17:59:30 +01:00
parent 32f9b8cad8
commit 1125de70b3
6 changed files with 194 additions and 0 deletions

140
pear/.footprint Normal file
View File

@ -0,0 +1,140 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pear
-rwxr-xr-x root/root usr/bin/pecl
drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/pear.conf
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/pear/
drwxr-xr-x root/root usr/share/pear/php/
drwxr-xr-x root/root usr/share/pear/php/.registry/
-rw-r--r-- root/root usr/share/pear/php/.registry/archive_tar.reg
-rw-r--r-- root/root usr/share/pear/php/.registry/console_getopt.reg
-rw-r--r-- root/root usr/share/pear/php/.registry/pear.reg
-rw-r--r-- root/root usr/share/pear/php/.registry/structures_graph.reg
-rw-r--r-- root/root usr/share/pear/php/.registry/xml_util.reg
drwxr-xr-x root/root usr/share/pear/php/Archive/
-rw-r--r-- root/root usr/share/pear/php/Archive/Tar.php
drwxr-xr-x root/root usr/share/pear/php/Console/
-rw-r--r-- root/root usr/share/pear/php/Console/Getopt.php
drwxr-xr-x root/root usr/share/pear/php/OS/
-rw-r--r-- root/root usr/share/pear/php/OS/Guess.php
-rw-r--r-- root/root usr/share/pear/php/PEAR.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Autoloader.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Builder.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/ChannelFile.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/ChannelFile/
-rw-r--r-- root/root usr/share/pear/php/PEAR/ChannelFile/Parser.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Command/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Auth.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Auth.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Build.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Build.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Channels.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Channels.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Common.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Config.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Config.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Install.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Install.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Mirror.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Mirror.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Package.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Package.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Pickle.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Pickle.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Registry.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Registry.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Remote.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Remote.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Test.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Command/Test.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Common.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Config.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Dependency2.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/DependencyDB.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Downloader.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Downloader/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Downloader/Package.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/ErrorStack.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Exception.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/FixPHP5PEARWarnings.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Frontend.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Frontend/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Frontend/CLI.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Installer/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Installer/Role/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Cfg.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Cfg.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Common.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Data.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Data.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Doc.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Doc.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Ext.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Ext.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Php.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Php.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Script.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Script.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Src.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Src.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Test.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Test.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Www.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Installer/Role/Www.xml
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/PackageFile/
drwxr-xr-x root/root usr/share/pear/php/PEAR/PackageFile/Generator/
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/Generator/v1.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/Generator/v2.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/PackageFile/Parser/
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/Parser/v1.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/Parser/v2.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/v1.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/v2.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/PackageFile/v2/
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/v2/Validator.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/PackageFile/v2/rw.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Packager.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/REST.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/REST/
-rw-r--r-- root/root usr/share/pear/php/PEAR/REST/10.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/REST/11.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/REST/13.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Registry.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/RunTest.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Task/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Common.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Postinstallscript.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Task/Postinstallscript/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Postinstallscript/rw.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Replace.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Task/Replace/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Replace/rw.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Unixeol.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Task/Unixeol/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Unixeol/rw.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Windowseol.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Task/Windowseol/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Task/Windowseol/rw.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Validate.php
drwxr-xr-x root/root usr/share/pear/php/PEAR/Validator/
-rw-r--r-- root/root usr/share/pear/php/PEAR/Validator/PECL.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/XMLParser.php
-rw-r--r-- root/root usr/share/pear/php/PEAR5.php
drwxr-xr-x root/root usr/share/pear/php/Structures/
-rw-r--r-- root/root usr/share/pear/php/Structures/Graph.php
drwxr-xr-x root/root usr/share/pear/php/Structures/Graph/
drwxr-xr-x root/root usr/share/pear/php/Structures/Graph/Manipulator/
-rw-r--r-- root/root usr/share/pear/php/Structures/Graph/Manipulator/AcyclicTest.php
-rw-r--r-- root/root usr/share/pear/php/Structures/Graph/Manipulator/TopologicalSorter.php
-rw-r--r-- root/root usr/share/pear/php/Structures/Graph/Node.php
-rw-r--r-- root/root usr/share/pear/php/System.php
-rw-r--r-- root/root usr/share/pear/php/Util.php
-rw-r--r-- root/root usr/share/pear/php/pearcmd.php
-rw-r--r-- root/root usr/share/pear/php/peclcmd.php

7
pear/.md5sum Normal file
View File

@ -0,0 +1,7 @@
ae0c95a03db7dbc723f7d50523029ce5 Archive_Tar-1.3.11.tgz
310b39cf091b9a0abf398bead60f3f8d Console_Getopt-1.3.1.tgz
c52b09758e851235e6a93a2c1e1a8ee9 PEAR-1.9.4.tgz
b99c5e9ac348a2e81515ba16deb7ded3 Structures_Graph-1.0.4.tgz
b8d4efcdb11b308b179f7bb63043284f XML_Util-1.2.1.tgz
f33a3c52ffb782bb71e773e98853434d pear-1.9.4-registry.tar.xz
89d8c7b185ba1fec1fc23e11c92b19de pear.conf

33
pear/Pkgfile Normal file
View File

@ -0,0 +1,33 @@
# Description: Framework and distribution system PHP
# URL: http://pear.php.net/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Antti Nykanen, aon at iki dot fi
# Depends on: php
name=pear
version=1.9.4
release=1
source=(http://pear.php.net/get/PEAR-$version.tgz \
http://pear.php.net/get/Archive_Tar-1.3.11.tgz \
http://pear.php.net/get/Console_Getopt-1.3.1.tgz \
http://pear.php.net/get/Structures_Graph-1.0.4.tgz \
http://pear.php.net/get/XML_Util-1.2.1.tgz \
$name.conf $name-$version-registry.tar.xz)
build() {
cd PEAR-$version
mkdir -p $PKG/usr/{bin,etc,share/pear/php}
cp -r {PEAR{,5}.php,System.php,PEAR,OS} $PKG/usr/share/pear/php
cp -r ../Archive*/Archive $PKG/usr/share/pear/php
cp -r ../Console*/Console $PKG/usr/share/pear/php
cp -r ../Structures*/Structures $PKG/usr/share/pear/php
cp -r ../XML*/Util.php $PKG/usr/share/pear/php
install -m 644 scripts/*.php $PKG/usr/share/pear/php
sed -i 's|@php_bin@|/usr/bin/php|g' scripts/{pear.sh,pecl.sh}
sed -i 's|@php_dir@|/usr/share/pear/php|g' scripts/{pear.sh,pecl.sh}
install -m 755 scripts/pear.sh $PKG/usr/bin/pear
install -m 755 scripts/pecl.sh $PKG/usr/bin/pecl
install -m 644 ../$name.conf $PKG/usr/etc
cp -r ../.registry $PKG/usr/share/pear/php
}

12
pear/README Normal file
View File

@ -0,0 +1,12 @@
README file for pear
post install
Starting from php 5.1.0 we provide pear as a
separate package. The php package does not
longer set/imply the pear include dir, so add
or edit the include_path in /etc/php.ini
example:
include_path = ".:/usr/share/pear/php"

Binary file not shown.

2
pear/pear.conf Normal file
View File

@ -0,0 +1,2 @@
#PEAR_Config 0.9
a:7:{s:7:"php_dir";s:19:"/usr/share/pear/php";s:8:"data_dir";s:20:"/usr/share/pear/data";s:7:"ext_dir";s:19:"/usr/share/pear/ext";s:7:"doc_dir";s:20:"/usr/share/pear/docs";s:8:"test_dir";s:21:"/usr/share/pear/tests";s:9:"cache_dir";s:21:"/usr/share/pear/cache";s:7:"bin_dir";s:15:"/usr/share/pear";}