pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www Retire PHP 4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2a72511f6c38
branches: trunk
changeset: 571298:2a72511f6c38
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Feb 10 18:08:33 2010 +0000
description:
Retire PHP 4.
diffstat:
www/Makefile | 3 +-
www/php4/DESCR | 5 -
www/php4/MESSAGE | 26 -----
www/php4/Makefile | 68 --------------
www/php4/Makefile.common | 36 -------
www/php4/Makefile.php | 69 ---------------
www/php4/PLIST | 211 ----------------------------------------------
www/php4/buildlink3.mk | 13 --
www/php4/distinfo | 18 ---
www/php4/files/pear.sh | 30 ------
www/php4/patches/patch-aa | 33 -------
www/php4/patches/patch-ab | 15 ---
www/php4/patches/patch-ac | 19 ----
www/php4/patches/patch-ad | 19 ----
www/php4/patches/patch-ag | 24 -----
www/php4/patches/patch-ah | 21 ----
www/php4/patches/patch-ai | 11 --
www/php4/patches/patch-aj | 28 ------
www/php4/patches/patch-ak | 27 -----
www/php4/patches/patch-ap | 12 --
www/php4/patches/patch-at | 11 --
www/php4/patches/patch-au | 22 ----
www/php4/patches/patch-av | 38 --------
23 files changed, 1 insertions(+), 758 deletions(-)
diffs (truncated from 861 to 300 lines):
diff -r 071c01949094 -r 2a72511f6c38 www/Makefile
--- a/www/Makefile Wed Feb 10 18:06:40 2010 +0000
+++ b/www/Makefile Wed Feb 10 18:08:33 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.698 2010/02/10 17:59:27 joerg Exp $
+# $NetBSD: Makefile,v 1.699 2010/02/10 18:08:33 joerg Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -440,7 +440,6 @@
SUBDIR+= php-apc
SUBDIR+= php-curl
SUBDIR+= php-eaccelerator
-SUBDIR+= php4
#SUBDIR+= plone # only contains Makefile fragments
SUBDIR+= plone25
SUBDIR+= plone3
diff -r 071c01949094 -r 2a72511f6c38 www/php4/DESCR
--- a/www/php4/DESCR Wed Feb 10 18:06:40 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PHP is an HTML-embedded scripting language. It is modular, with
-some object-oriented features. Much of its syntax is borrowed from
-C, Java and Perl with a couple of unique PHP-specific features
-thrown in. The language is designed to allow web developers to
-write dynamically generated pages quickly.
diff -r 071c01949094 -r 2a72511f6c38 www/php4/MESSAGE
--- a/www/php4/MESSAGE Wed Feb 10 18:06:40 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-===========================================================================
-$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
-
- ${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 version 4.3.3 because the main PHP4 package has them
-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.
-
-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 071c01949094 -r 2a72511f6c38 www/php4/Makefile
--- a/www/php4/Makefile Wed Feb 10 18:06:40 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-# $NetBSD: Makefile,v 1.83 2010/01/17 12:02:50 wiz Exp $
-
-PKGNAME= php-${PHP_BASE_VERS}
-PKGREVISION= 1
-CATEGORIES+= lang
-COMMENT= HTML-embedded scripting language
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-CONFLICTS+= ap-php-4.0.3pl1
-
-# PHP uses libtool inconsistently for CGI/CLI build; don't sanify for now
-LIBTOOL_OVERRIDE= # empty
-USE_TOOLS+= gmake lex
-
-PKG_OPTIONS_REQUIRED_GROUPS+= sapi
-PKG_OPTIONS_GROUP.sapi= cgi fastcgi
-PKG_SUGGESTED_OPTIONS+= cgi
-
-.include "Makefile.php"
-
-.if !empty(PKG_OPTIONS:Mcgi)
-CONFIGURE_ARGS+= --enable-discard-path
-CONFIGURE_ARGS+= --enable-force-cgi-redirect
-.endif
-
-.if !empty(PKG_OPTIONS:Mfastcgi)
-CONFIGURE_ARGS+= --enable-fastcgi
-.endif
-
-CGIDIR= ${PREFIX}/libexec/cgi-bin
-EGDIR= ${PREFIX}/share/examples/php
-MESSAGE_SUBST+= CGIDIR=${CGIDIR:Q}
-
-MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
-
-# On NetBSD ELF platforms, we need to link libgcc.a whole-archive so that
-# certain symbols from the C++ implementation (__get_eh_context, etc.)
-# referenced by DSOs written in C++ will resolve correctly. We need to
-# prefix the linker flags "-whole-archive -lgcc -no-whole-archive" with
-# "-Wl," to force all of the flags to be passed down to the linker through
-# libtool without change.
-#
-.if ${OPSYS} == "NetBSD" && ${OBJECT_FMT} == "ELF"
-MAKE_ENV+= LINK_LIBGCC_LDFLAGS=${LINK_ALL_LIBGCC_HACK:Q}
-.endif
-
-# Ensure we export symbols in the linked shared object.
-LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
-MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:Q}
-
-CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini
-OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR}
-
-post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php \
- ${DESTDIR:Q}${PREFIX:Q}/bin/php
- ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
- ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1/php.1
- ${INSTALL_DATA_DIR} ${DESTDIR:Q}${CGIDIR:Q}
- ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php ${DESTDIR:Q}${CGIDIR:Q}
- ${INSTALL_DATA_DIR} ${DESTDIR:Q}${EGDIR:Q}
- cd ${WRKSRC}; ${INSTALL_DATA} php.ini-dist php.ini-recommended \
- ${DESTDIR:Q}${EGDIR:Q}
- ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/share/php
- ${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR:Q}${PREFIX:Q}/share/php
-
-.include "../../mk/bsd.pkg.mk"
diff -r 071c01949094 -r 2a72511f6c38 www/php4/Makefile.common
--- a/www/php4/Makefile.common Wed Feb 10 18:06:40 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-# $NetBSD: Makefile.common,v 1.59 2008/08/23 12:57:20 obache Exp $
-
-DISTNAME?= php-${PHP_DIST_VERS}
-CATEGORIES+= www php4
-
-.if !defined(PECL_VERSION)
-MASTER_SITES?= http://www.php.net/distributions/ \
- http://php3.de/distributions/
-EXTRACT_SUFX?= .tar.bz2
-.endif
-
-MAINTAINER?= jdolecek%NetBSD.org@localhost
-HOMEPAGE?= http://www.php.net/
-
-# Version numbering scheme:
-#
-# PHP_DIST_VERS version number on the php distfile
-# PHP_BASE_VERS pkgsrc-mangled version number (convert pl -> .)
-#
-PHP_DIST_VERS= 4.4.9
-PHP_BASE_VERS= ${PHP_DIST_VERS}
-
-DISTFILES?= ${PHP_DISTFILE}
-PHP_DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
-
-# Location of installed PHP4 loadable modules under ${PREFIX}.
-# This is derived from the value of `php-config --extension-dir`.
-# The number for the last part of the path represents a specific version
-# of the Zend API.
-#
-PHP_EXTENSION_DIR= lib/php/20020429
-PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q}
-
-PKG_SYSCONFVAR?= php
-
-.include "../../mk/bsd.prefs.mk"
diff -r 071c01949094 -r 2a72511f6c38 www/php4/Makefile.php
--- a/www/php4/Makefile.php Wed Feb 10 18:06:40 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-# $NetBSD: Makefile.php,v 1.40 2008/08/17 18:29:33 adrianp Exp $
-
-.include "../../www/php4/Makefile.common"
-
-# revision of the core PHP interpreter package
-DISTINFO_FILE= ${.CURDIR}/../../www/php4/distinfo
-PATCHDIR= ${.CURDIR}/../../www/php4/patches
-
-USE_LIBTOOL= YES
-USE_LANGUAGES= c c++
-GNU_CONFIGURE= YES
-
-CONFIGURE_ARGS+= --without-mysql
-CONFIGURE_ARGS+= --without-iconv
-CONFIGURE_ARGS+= --without-pear
-
-CONFIGURE_ARGS+= --disable-posix
-
-CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+= --with-exec-dir=${PREFIX}/libexec/php4
-
-.include "../../mk/bsd.prefs.mk"
-
-CONFIGURE_ARGS+= --with-regex=system
-
-# Support for linking some PHP4 extensions statically into the php CGI and
-# into the apache mod_php.so DSO.
-#
-# PHP4_CONFIGURE_ARGS should contain GNU configure options, a complete
-# list of which may be found at:
-#
-# http://www.php.net/manual/en/install.configure.php
-#
-# Note that this is generally not needed as many of the extensions (mysql,
-# pgsql) may be dynamically loaded, and are separately packaged in pkgsrc.
-#
-PHP4_CONFIGURE_ARGS?= # empty
-CONFIGURE_ARGS+= ${PHP4_CONFIGURE_ARGS}
-
-CONFIGURE_ENV+= ac_cv_lib_pam_pam_start=no
-CONFIGURE_ENV+= EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"
-
-# Note: This expression is the same as ${PKGBASE}, but the latter is
-# not defined yet, so we cannot use it here.
-PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
-PKG_SUPPORTED_OPTIONS+= inet6 ssl
-PKG_SUGGESTED_OPTIONS+= ssl
-
-SUBST_CLASSES+= ini
-SUBST_STAGE.ini= post-patch
-SUBST_FILES.ini= php.ini-dist
-SUBST_FILES.ini+= php.ini-recommended
-SUBST_SED.ini= -e "s|\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g"
-SUBST_MESSAGE.ini= Fixing default ini files.
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+= --enable-ipv6
-.else
-CONFIGURE_ARGS+= --disable-ipv6
-.endif
-
-.if !empty(PKG_OPTIONS:Mssl)
-. include "../../security/openssl/buildlink3.mk"
-CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
-.else
-CONFIGURE_ARGS+= --without-openssl
-.endif
diff -r 071c01949094 -r 2a72511f6c38 www/php4/PLIST
--- a/www/php4/PLIST Wed Feb 10 18:06:40 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,211 +0,0 @@
-@comment $NetBSD: PLIST,v 1.18 2009/06/14 22:00:30 joerg Exp $
-bin/php
-bin/php-config
-bin/phpize
-include/php/TSRM/TSRM.h
-include/php/TSRM/acconfig.h
-include/php/TSRM/readdir.h
-include/php/TSRM/tsrm_config.h
-include/php/TSRM/tsrm_config.nw.h
-include/php/TSRM/tsrm_config.w32.h
-include/php/TSRM/tsrm_config_common.h
-include/php/TSRM/tsrm_nw.h
-include/php/TSRM/tsrm_strtok_r.h
-include/php/TSRM/tsrm_virtual_cwd.h
-include/php/TSRM/tsrm_win32.h
-include/php/Zend/FlexLexer.h
-include/php/Zend/acconfig.h
-include/php/Zend/zend.h
-include/php/Zend/zend_API.h
-include/php/Zend/zend_alloc.h
-include/php/Zend/zend_builtin_functions.h
-include/php/Zend/zend_compile.h
-include/php/Zend/zend_config.h
-include/php/Zend/zend_config.w32.h
-include/php/Zend/zend_constants.h
-include/php/Zend/zend_dynamic_array.h
-include/php/Zend/zend_errors.h
-include/php/Zend/zend_execute.h
-include/php/Zend/zend_execute_globals.h
-include/php/Zend/zend_execute_locks.h
-include/php/Zend/zend_extensions.h
-include/php/Zend/zend_fast_cache.h
-include/php/Zend/zend_globals.h
-include/php/Zend/zend_globals_macros.h
-include/php/Zend/zend_hash.h
-include/php/Zend/zend_highlight.h
-include/php/Zend/zend_indent.h
-include/php/Zend/zend_ini.h
-include/php/Zend/zend_ini_parser.h
-include/php/Zend/zend_ini_scanner.h
-include/php/Zend/zend_istdiostream.h
-include/php/Zend/zend_language_parser.h
-include/php/Zend/zend_language_scanner.h
-include/php/Zend/zend_list.h
-include/php/Zend/zend_llist.h
-include/php/Zend/zend_modules.h
-include/php/Zend/zend_multibyte.h
-include/php/Zend/zend_multiply.h
-include/php/Zend/zend_operators.h
-include/php/Zend/zend_ptr_stack.h
-include/php/Zend/zend_qsort.h
-include/php/Zend/zend_stack.h
-include/php/Zend/zend_static_allocator.h
-include/php/Zend/zend_strtod.h
-include/php/Zend/zend_types.h
Home |
Main Index |
Thread Index |
Old Index