1
0
forked from ports/opt

pear: initial import

This commit is contained in:
Simone Rota 2005-11-28 18:06:26 +00:00
parent 57675681db
commit 6341e9d2ac
6 changed files with 173 additions and 0 deletions

125
pear/.footprint Normal file
View File

@ -0,0 +1,125 @@
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
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/Dependency.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/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/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/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/Registry.php
-rw-r--r-- root/root usr/share/pear/php/PEAR/Remote.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/System.php
-rw-r--r-- root/root usr/share/pear/php/pearcmd.php
-rw-r--r-- root/root usr/share/pear/php/peclcmd.php

5
pear/.md5sum Normal file
View File

@ -0,0 +1,5 @@
31e54ce401302065d43888223a0be4d9 Archive_Tar-1.3.1.tgz
8f9ec8253c04350bc01ee7ca941e24b6 Console_Getopt-1.2.tgz
be4300609e4d966a6d68d6ec95942180 PEAR-1.4.5.tgz
cc8fd1657c63868817740b5f1ab34cdb pear-registry.tgz
2077226348e84a268b448fc995adeb42 pear.conf

29
pear/Pkgfile Normal file
View File

@ -0,0 +1,29 @@
# Description: Framework and distribution system PHP
# URL: http://pear.php.net/
# Maintainer: Simone Rota, sip at varlock dot com
# Packager: Simone Rota, sip at varlock dot com
# Depends on: mod_php
name=pear
version=1.4.5
release=1
source=(http://pear.php.net/get/PEAR-$version.tgz \
http://pear.php.net/get/Archive_Tar-1.3.1.tgz \
http://pear.php.net/get/Console_Getopt-1.2.tgz
$name.conf $name-registry.tgz)
build() {
cd PEAR-$version
mkdir -p $PKG/usr/{bin,etc,share/pear/php}
cp -r {PEAR.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
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 mod_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"

BIN
pear/pear-registry.tgz Normal file

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";}