pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Note in the MESSAGE file the path to the PHP CGI binar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97dbb07a8339
branches:  trunk
changeset: 513981:97dbb07a8339
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jun 06 16:42:02 2006 +0000

description:
Note in the MESSAGE file the path to the PHP CGI binary to answer an FAQ.

diffstat:

 lang/php5/MESSAGE  |  13 ++++++++++---
 lang/php5/Makefile |   3 ++-
 www/php4/MESSAGE   |  18 +++++++++++-------
 www/php4/Makefile  |   3 ++-
 4 files changed, 25 insertions(+), 12 deletions(-)

diffs (87 lines):

diff -r ef2d2ef5c7e4 -r 97dbb07a8339 lang/php5/MESSAGE
--- a/lang/php5/MESSAGE Tue Jun 06 16:33:48 2006 +0000
+++ b/lang/php5/MESSAGE Tue Jun 06 16:42:02 2006 +0000
@@ -1,6 +1,13 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.5 2005/12/05 20:50:26 rillig Exp $
+$NetBSD: MESSAGE,v 1.6 2006/06/06 16:42:02 jlam 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
 
-Note php-openssl has been removed as separate package as of 5.0.5nb1, the
-main PHP5 package has it built-in now.
+        ${CGIDIR}/php
+
+or you may install a PHP module for your HTTP server, e.g. ap-php5.
+
+Note that php-openssl is no longer a separate package as of version
+5.0.5nb1 because the main PHP5 package has it built-in now.
 ===========================================================================
diff -r ef2d2ef5c7e4 -r 97dbb07a8339 lang/php5/Makefile
--- a/lang/php5/Makefile        Tue Jun 06 16:33:48 2006 +0000
+++ b/lang/php5/Makefile        Tue Jun 06 16:42:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2006/06/05 17:22:39 minskim Exp $
+# $NetBSD: Makefile,v 1.36 2006/06/06 16:42:02 jlam Exp $
 
 PKGNAME=               php-${PHP_BASE_VERS}
 PKGREVISION=           1
@@ -27,6 +27,7 @@
 
 CGIDIR=                        ${PREFIX}/libexec/cgi-bin
 EGDIR=                 ${PREFIX}/share/examples/php
+MESSAGE_SUBST+=                CGIDIR=${CGIDIR:Q}
 
 CONF_FILES=            ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini
 OWN_DIRS=              ${PREFIX}/${PHP_EXTENSION_DIR}
diff -r ef2d2ef5c7e4 -r 97dbb07a8339 www/php4/MESSAGE
--- a/www/php4/MESSAGE  Tue Jun 06 16:33:48 2006 +0000
+++ b/www/php4/MESSAGE  Tue Jun 06 16:42:02 2006 +0000
@@ -1,18 +1,22 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.10 2005/10/08 16:51:50 jdolecek Exp $
+$NetBSD: MESSAGE,v 1.11 2006/06/06 16:42:02 jlam Exp $
 
 To process PHP scripts, you will need a PHP-enabled HTTP server.  You may
-either configure the HTTP server to use PHP as a CGI program, or install a
-PHP module for your HTTP server, e.g. ap-php.
+either configure the HTTP server to use the PHP CGI binary located in
+
+       ${CGIDIR}/php
+
+or you may install a PHP module for your HTTP server, e.g. ap-php4.
 
 Some additional packages you may wish to install are:
 
        php-dba         DBM database access
        php-iconv       character set conversion
 
-Note that php4-pcre, php4-session and php4-xml are no longer
-separate packages since 4.3.3, the main PHP4 package has them built-in now.
+Note that php4-pcre, php4-session and php4-xml are no longer separate
+packages since version 4.3.3 because the main PHP4 package has them
+built-in now.
 
-Note php-openssl has been removed as separate package as of 4.4.0nb2, the
-main PHP4 package has it built-in now.
+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.
 ===========================================================================
diff -r ef2d2ef5c7e4 -r 97dbb07a8339 www/php4/Makefile
--- a/www/php4/Makefile Tue Jun 06 16:33:48 2006 +0000
+++ b/www/php4/Makefile Tue Jun 06 16:42:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2006/06/05 18:19:55 minskim Exp $
+# $NetBSD: Makefile,v 1.66 2006/06/06 16:42:02 jlam Exp $
 
 PKGNAME=               php-${PHP_BASE_VERS}
 PKGREVISION=           2
@@ -29,6 +29,7 @@
 
 CGIDIR=                        ${PREFIX}/libexec/cgi-bin
 EGDIR=                 ${PREFIX}/share/examples/php
+MESSAGE_SUBST+=                CGIDIR=${CGIDIR:Q}
 
 # On NetBSD ELF platforms, we need to link libgcc.a whole-archive so that
 # certain symbols from the C++ implementation (__get_eh_context, etc.)



Home | Main Index | Thread Index | Old Index