pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/php4 Remove PEAR from the default PHP install
details: https://anonhg.NetBSD.org/pkgsrc/rev/07ed4c1f12c0
branches: trunk
changeset: 528497:07ed4c1f12c0
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sat May 05 21:35:05 2007 +0000
description:
Remove PEAR from the default PHP install
diffstat:
www/php4/MESSAGE | 6 +-
www/php4/Makefile | 17 +---
www/php4/Makefile.php | 3 +-
www/php4/PLIST | 230 +---------------------------------------------
www/php4/distinfo | 4 +-
www/php4/patches/patch-al | 10 --
www/php4/patches/patch-ao | 13 --
7 files changed, 12 insertions(+), 271 deletions(-)
diffs (truncated from 387 to 300 lines):
diff -r d5820345e232 -r 07ed4c1f12c0 www/php4/MESSAGE
--- a/www/php4/MESSAGE Sat May 05 21:34:07 2007 +0000
+++ b/www/php4/MESSAGE Sat May 05 21:35:05 2007 +0000
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.11 2006/06/06 16:42:02 jlam Exp $
+$NetBSD: MESSAGE,v 1.12 2007/05/05 21:35:05 adrianp Exp $
To process PHP scripts, you will need a PHP-enabled HTTP server. You may
either configure the HTTP server to use the PHP CGI binary located in
@@ -19,4 +19,8 @@
Note that php-openssl is no longer a separate package as of version
4.4.0nb2 because the main PHP4 package has it built-in now.
+
+As of version 4.4.6nb1 PEAR is no longer installed by default with the
+php package. In order to use PEAR packages with PHP you will need to
+install the lang/pear package.
===========================================================================
diff -r d5820345e232 -r 07ed4c1f12c0 www/php4/Makefile
--- a/www/php4/Makefile Sat May 05 21:34:07 2007 +0000
+++ b/www/php4/Makefile Sat May 05 21:35:05 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.75 2007/03/03 13:19:52 adrianp Exp $
+# $NetBSD: Makefile,v 1.76 2007/05/05 21:35:05 adrianp Exp $
PKGNAME= php-${PHP_BASE_VERS}
+PKGREVISION= 1
CATEGORIES+= lang
COMMENT= HTML-embedded scripting language
@@ -47,19 +48,6 @@
CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini
OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR}
-USE_TOOLS+= gzcat
-
-SUBST_CLASSES= pear
-SUBST_STAGE.pear= pre-install
-SUBST_FILES.pear= ${WRKDIR}/pear.sh
-SUBST_SED.pear= -e "s|@php_bin@|${PREFIX}/bin/php|g"
-SUBST_SED.pear+= -e "s|@php_dir@|${PREFIX}/lib/php|g"
-SUBST_SED.pear+= -e "s|@SH@|${SH}|g"
-SUBST_MESSAGE.pear= Fixing pear installation script.
-
-post-extract:
- ${CP} ${FILESDIR}/pear.sh ${WRKDIR}
-
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php
${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/${PKGMANDIR}/man1/php.1
@@ -69,6 +57,5 @@
cd ${WRKSRC}; ${INSTALL_DATA} php.ini-dist php.ini-recommended ${EGDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/php
${INSTALL_DATA} ${WRKSRC}/php.gif ${PREFIX}/share/php
- ${INSTALL_SCRIPT} ${WRKDIR}/pear.sh ${PREFIX}/bin/pear
.include "../../mk/bsd.pkg.mk"
diff -r d5820345e232 -r 07ed4c1f12c0 www/php4/Makefile.php
--- a/www/php4/Makefile.php Sat May 05 21:34:07 2007 +0000
+++ b/www/php4/Makefile.php Sat May 05 21:35:05 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.36 2006/10/20 22:10:33 jdolecek Exp $
+# $NetBSD: Makefile.php,v 1.37 2007/05/05 21:35:05 adrianp Exp $
.include "../../www/php4/Makefile.common"
@@ -13,6 +13,7 @@
CONFIGURE_ARGS+= --without-mysql
CONFIGURE_ARGS+= --without-iconv
+CONFIGURE_ARGS+= --without-pear
CONFIGURE_ARGS+= --disable-posix
diff -r d5820345e232 -r 07ed4c1f12c0 www/php4/PLIST
--- a/www/php4/PLIST Sat May 05 21:34:07 2007 +0000
+++ b/www/php4/PLIST Sat May 05 21:35:05 2007 +0000
@@ -1,11 +1,7 @@
-@comment $NetBSD: PLIST,v 1.16 2007/03/03 13:19:53 adrianp Exp $
-bin/pear
-bin/peardev
-bin/pecl
+@comment $NetBSD: PLIST,v 1.17 2007/05/05 21:35:05 adrianp Exp $
bin/php
bin/php-config
bin/phpize
-etc/pear.conf
include/php/TSRM/TSRM.h
include/php/TSRM/acconfig.h
include/php/TSRM/readdir.h
@@ -195,117 +191,6 @@
include/php/regex/regex2.h
include/php/regex/regex_extra.h
include/php/regex/utils.h
-lib/php/.channels/.alias/pear.txt
-lib/php/.channels/.alias/pecl.txt
-lib/php/.channels/__uri.reg
-lib/php/.channels/pear.php.net.reg
-lib/php/.channels/pecl.php.net.reg
-lib/php/.depdb
-lib/php/.depdblock
-lib/php/.filemap
-lib/php/.lock
-@exec ${MKDIR} %D/lib/php/.registry/.channel.__uri
-@exec ${MKDIR} %D/lib/php/.registry/.channel.pecl.php.net
-lib/php/.registry/archive_tar.reg
-lib/php/.registry/console_getopt.reg
-lib/php/.registry/html_template_it.reg
-lib/php/.registry/net_useragent_detect.reg
-lib/php/.registry/pear.reg
-lib/php/.registry/structures_graph.reg
-@exec ${MKDIR} %D/lib/php/20020429
-lib/php/Archive/Tar.php
-lib/php/Console/Getopt.php
-lib/php/HTML/Template/IT.php
-lib/php/HTML/Template/ITX.php
-lib/php/HTML/Template/IT_Error.php
-lib/php/Net/UserAgent/Detect.php
-lib/php/OS/Guess.php
-lib/php/PEAR.php
-lib/php/PEAR/Autoloader.php
-lib/php/PEAR/Builder.php
-lib/php/PEAR/ChannelFile.php
-lib/php/PEAR/ChannelFile/Parser.php
-lib/php/PEAR/Command.php
-lib/php/PEAR/Command/Auth.php
-lib/php/PEAR/Command/Auth.xml
-lib/php/PEAR/Command/Build.php
-lib/php/PEAR/Command/Build.xml
-lib/php/PEAR/Command/Channels.php
-lib/php/PEAR/Command/Channels.xml
-lib/php/PEAR/Command/Common.php
-lib/php/PEAR/Command/Config.php
-lib/php/PEAR/Command/Config.xml
-lib/php/PEAR/Command/Install.php
-lib/php/PEAR/Command/Install.xml
-lib/php/PEAR/Command/Mirror.php
-lib/php/PEAR/Command/Mirror.xml
-lib/php/PEAR/Command/Package.php
-lib/php/PEAR/Command/Package.xml
-lib/php/PEAR/Command/Pickle.php
-lib/php/PEAR/Command/Pickle.xml
-lib/php/PEAR/Command/Registry.php
-lib/php/PEAR/Command/Registry.xml
-lib/php/PEAR/Command/Remote.php
-lib/php/PEAR/Command/Remote.xml
-lib/php/PEAR/Command/Test.php
-lib/php/PEAR/Command/Test.xml
-lib/php/PEAR/Common.php
-lib/php/PEAR/Config.php
-lib/php/PEAR/Dependency.php
-lib/php/PEAR/Dependency2.php
-lib/php/PEAR/DependencyDB.php
-lib/php/PEAR/Downloader.php
-lib/php/PEAR/Downloader/Package.php
-lib/php/PEAR/ErrorStack.php
-lib/php/PEAR/Exception.php
-lib/php/PEAR/Frontend.php
-lib/php/PEAR/Frontend/CLI.php
-lib/php/PEAR/Installer.php
-lib/php/PEAR/Installer/Role.php
-lib/php/PEAR/Installer/Role/Common.php
-lib/php/PEAR/Installer/Role/Data.php
-lib/php/PEAR/Installer/Role/Data.xml
-lib/php/PEAR/Installer/Role/Doc.php
-lib/php/PEAR/Installer/Role/Doc.xml
-lib/php/PEAR/Installer/Role/Ext.php
-lib/php/PEAR/Installer/Role/Ext.xml
-lib/php/PEAR/Installer/Role/Php.php
-lib/php/PEAR/Installer/Role/Php.xml
-lib/php/PEAR/Installer/Role/Script.php
-lib/php/PEAR/Installer/Role/Script.xml
-lib/php/PEAR/Installer/Role/Src.php
-lib/php/PEAR/Installer/Role/Src.xml
-lib/php/PEAR/Installer/Role/Test.php
-lib/php/PEAR/Installer/Role/Test.xml
-lib/php/PEAR/PackageFile.php
-lib/php/PEAR/PackageFile/Generator/v1.php
-lib/php/PEAR/PackageFile/Generator/v2.php
-lib/php/PEAR/PackageFile/Parser/v1.php
-lib/php/PEAR/PackageFile/Parser/v2.php
-lib/php/PEAR/PackageFile/v1.php
-lib/php/PEAR/PackageFile/v2.php
-lib/php/PEAR/PackageFile/v2/Validator.php
-lib/php/PEAR/PackageFile/v2/rw.php
-lib/php/PEAR/Packager.php
-lib/php/PEAR/REST.php
-lib/php/PEAR/REST/10.php
-lib/php/PEAR/REST/11.php
-lib/php/PEAR/Registry.php
-lib/php/PEAR/Remote.php
-lib/php/PEAR/RunTest.php
-lib/php/PEAR/Task/Common.php
-lib/php/PEAR/Task/Postinstallscript.php
-lib/php/PEAR/Task/Postinstallscript/rw.php
-lib/php/PEAR/Task/Replace.php
-lib/php/PEAR/Task/Replace/rw.php
-lib/php/PEAR/Task/Unixeol.php
-lib/php/PEAR/Task/Unixeol/rw.php
-lib/php/PEAR/Task/Windowseol.php
-lib/php/PEAR/Task/Windowseol/rw.php
-lib/php/PEAR/Validate.php
-lib/php/PEAR/Validator/PECL.php
-lib/php/PEAR/XMLParser.php
-lib/php/System.php
lib/php/build/Makefile.global
lib/php/build/acinclude.m4
lib/php/build/config.guess
@@ -316,61 +201,7 @@
lib/php/build/phpize.m4
lib/php/build/scan_makefile_in.awk
lib/php/build/shtool
-lib/php/data/PEAR/package.dtd
-lib/php/data/PEAR/template.spec
-lib/php/data/Structures_Graph/LICENSE
-lib/php/data/Structures_Graph/package.sh
-lib/php/data/Structures_Graph/publish.sh
-lib/php/data/Structures_Graph/genpackage.xml.pl
-lib/php/doc/Archive_Tar/docs/Archive_Tar.txt
-lib/php/doc/HTML_Template_IT/examples/sample_it.php
-lib/php/doc/HTML_Template_IT/examples/templates/main.tpl.htm
-lib/php/doc/PEAR/README
-lib/php/doc/PEAR/INSTALL
-lib/php/doc/Structures_Graph/docs/html/media/stylesheet.css
-lib/php/doc/Structures_Graph/docs/html/media/banner.css
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Node.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/tutorial_Structures_Graph.pkg.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_AcyclicTest_php.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_TopologicalSorter_php.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Node_php.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_php.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph.html
-lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_AcyclicTest.html
-lib/php/doc/Structures_Graph/docs/html/elementindex.html
-lib/php/doc/Structures_Graph/docs/html/elementindex_Structures_Graph.html
-lib/php/doc/Structures_Graph/docs/html/errors.html
-lib/php/doc/Structures_Graph/docs/html/index.html
-lib/php/doc/Structures_Graph/docs/html/li_Structures_Graph.html
-lib/php/doc/Structures_Graph/docs/html/packages.html
-lib/php/doc/Structures_Graph/docs/html/todolist.html
-lib/php/doc/Structures_Graph/docs/html/classtrees_Structures_Graph.html
-lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
-lib/php/doc/Structures_Graph/docs/generate.sh
-lib/php/pearcmd.php
-lib/php/peclcmd.php
-lib/php/test/HTML_Template_IT/tests/Console_TestListener.php
-lib/php/test/HTML_Template_IT/tests/ITX_api_testcase.php
-lib/php/test/HTML_Template_IT/tests/ITX_usage_testcase.php
-lib/php/test/HTML_Template_IT/tests/IT_api_testcase.php
-lib/php/test/HTML_Template_IT/tests/IT_usage_testcase.php
-lib/php/test/HTML_Template_IT/tests/templates/__include.html
-lib/php/test/HTML_Template_IT/tests/templates/addblock.html
-lib/php/test/HTML_Template_IT/tests/templates/blockiteration.html
-lib/php/test/HTML_Template_IT/tests/templates/blocks.html
-lib/php/test/HTML_Template_IT/tests/templates/globals.html
-lib/php/test/HTML_Template_IT/tests/templates/include.html
-lib/php/test/HTML_Template_IT/tests/templates/loadtemplatefile.html
-lib/php/test/HTML_Template_IT/tests/templates/replaceblock.html
-lib/php/test/HTML_Template_IT/tests/test.php
-lib/php/test/Structures_Graph/tests/testCase/BasicGraph.php
-lib/php/test/Structures_Graph/tests/README
-lib/php/test/Structures_Graph/tests/all-tests.php
-lib/php/Structures/Graph/Manipulator/AcyclicTest.php
-lib/php/Structures/Graph/Manipulator/TopologicalSorter.php
-lib/php/Structures/Graph/Node.php
-lib/php/Structures/Graph.php
+@exec ${MKDIR} %D/lib/php/20020429
libexec/cgi-bin/php
man/man1/php-config.1
man/man1/php.1
@@ -380,65 +211,8 @@
share/php/php.gif
@dirrm share/php
@dirrm share/examples/php
-@dirrm lib/php/data/Structures_Graph
-@dirrm lib/php/data/PEAR
-@dirrm lib/php/data
-@dirrm lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph
-@dirrm lib/php/doc/Structures_Graph/docs/tutorials
-@dirrm lib/php/doc/Structures_Graph/docs/html/media
-@dirrm lib/php/doc/Structures_Graph/docs/html/Structures_Graph
-@dirrm lib/php/doc/Structures_Graph/docs/html
-@dirrm lib/php/doc/Structures_Graph/docs
-@dirrm lib/php/doc/Structures_Graph
-@dirrm lib/php/doc/HTML_Template_IT/examples/templates
-@dirrm lib/php/doc/HTML_Template_IT/examples
-@dirrm lib/php/doc/HTML_Template_IT
-@dirrm lib/php/doc/Archive_Tar/docs
-@dirrm lib/php/doc/Archive_Tar
-@dirrm lib/php/doc/PEAR
-@dirrm lib/php/doc
-@dirrm lib/php/test/HTML_Template_IT/tests/templates
-@dirrm lib/php/test/HTML_Template_IT/tests
-@dirrm lib/php/test/HTML_Template_IT
-@dirrm lib/php/test/Structures_Graph/tests/testCase
-@dirrm lib/php/test/Structures_Graph/tests
-@dirrm lib/php/test/Structures_Graph
-@dirrm lib/php/test
Home |
Main Index |
Thread Index |
Old Index