components/php-5_2/php-52.p5m
changeset 3732 0f62cc221c7e
parent 1948 2d1537e7942d
equal deleted inserted replaced
3731:7b09b73a67a4 3732:0f62cc221c7e
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
    24 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
    25 <transform file path=etc/php/.* -> default group bin>
    25 <transform file path=etc/php/.* -> default group bin>
    26 <transform file path=etc/php/.* -> default mode 0644>
    26 <transform file path=etc/php/.* -> default mode 0644>
    27 <transform file path=(etc/php/.*) -> default original_name SUNWphp52:%<1>>
    27 <transform file path=(etc/php/.*) -> default original_name SUNWphp52:%<1>>
    28 <transform file path=etc/php/.* -> default preserve renamenew>
    28 <transform file path=etc/php/.* -> default preserve renamenew>
    29 
       
    30 set name=pkg.fmri value=pkg:/web/[email protected],$(BUILD_VERSION)
    29 set name=pkg.fmri value=pkg:/web/[email protected],$(BUILD_VERSION)
       
    30 set name=pkg.summary value="PHP Server"
    31 set name=pkg.description \
    31 set name=pkg.description \
    32     value="A general-purpose scripting language originally designed for web development to produce dynamic web pages."
    32     value="A general-purpose scripting language originally designed for web development to produce dynamic web pages."
    33 set name=pkg.summary value="PHP Server"
    33 set name=info.classification value=org.opensolaris.category.2008:Development/PHP
    34 set name=info.classification \
       
    35     value="org.opensolaris.category.2008:Development/PHP"
       
    36 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    37 set name=info.source-url \
    34 set name=info.source-url \
    38     value=http://us.php.net/get/php-5.2.17.tar.gz/from/this/mirror
    35     value=http://us.php.net/get/php-5.2.17.tar.gz/from/this/mirror
       
    36 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
    39 set name=org.opensolaris.arc-caseid value=PSARC/2012/067
    37 set name=org.opensolaris.arc-caseid value=PSARC/2012/067
    40 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
    38 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
    41 
       
    42 license php-52.license license='PHP, GPLv2, LGPLv2, Apache v2.0' \
       
    43     com.oracle.info.description="the PHP scripting language" \
       
    44     com.oracle.info.name=php-52 \
       
    45     com.oracle.info.version=5.2.17 \
       
    46     com.oracle.info.tpno=$(TPNO_PHP_5_2)
       
    47 
       
    48 dir path=var/php/5.2/sessions owner=webservd mode=0750
       
    49 file path=etc/php/5.2/conf.d/bz2.ini
    39 file path=etc/php/5.2/conf.d/bz2.ini
    50 file path=etc/php/5.2/conf.d/curl.ini
    40 file path=etc/php/5.2/conf.d/curl.ini
    51 file path=etc/php/5.2/conf.d/ftp.ini
    41 file path=etc/php/5.2/conf.d/ftp.ini
    52 file path=etc/php/5.2/conf.d/gd.ini
    42 file path=etc/php/5.2/conf.d/gd.ini
    53 file path=etc/php/5.2/conf.d/gettext.ini
    43 file path=etc/php/5.2/conf.d/gettext.ini
    76 file path=etc/php/5.2/zts-conf.d/pdo.ini
    66 file path=etc/php/5.2/zts-conf.d/pdo.ini
    77 file path=etc/php/5.2/zts-conf.d/pdo_sqlite.ini
    67 file path=etc/php/5.2/zts-conf.d/pdo_sqlite.ini
    78 file path=etc/php/5.2/zts-conf.d/snmp.ini
    68 file path=etc/php/5.2/zts-conf.d/snmp.ini
    79 file path=etc/php/5.2/zts-conf.d/sqlite.ini
    69 file path=etc/php/5.2/zts-conf.d/sqlite.ini
    80 file path=etc/php/5.2/zts-conf.d/tidy.ini
    70 file path=etc/php/5.2/zts-conf.d/tidy.ini
       
    71 link path=usr/bin/php target=../php/5.2/bin/php mediator=php \
       
    72     mediator-version=5.2
       
    73 link path=usr/bin/php-config target=../php/5.2/bin/php-config mediator=php \
       
    74     mediator-version=5.2
       
    75 link path=usr/bin/phpize target=../php/5.2/bin/phpize mediator=php \
       
    76     mediator-version=5.2
       
    77 link path=usr/php/5.2/bin/configure-webserver7 \
       
    78     target=../samples/scripts/configure-sun-webserver
    81 file path=usr/php/5.2/bin/php
    79 file path=usr/php/5.2/bin/php
    82 file path=usr/php/5.2/bin/php-cgi
    80 file path=usr/php/5.2/bin/php-cgi
    83 file path=usr/php/5.2/bin/php-config
    81 file path=usr/php/5.2/bin/php-config
    84 file path=usr/php/5.2/bin/phpize
    82 file path=usr/php/5.2/bin/phpize
    85 file path=usr/php/5.2/include/php/TSRM/TSRM.h
    83 file path=usr/php/5.2/include/php/TSRM/TSRM.h
   199 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
   197 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
   200 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
   198 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
   201 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
   199 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
   202 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
   200 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
   203 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
   201 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
   204 file \
   202 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
   205     path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
       
   206 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
   203 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
   207 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
   204 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
   208 file \
   205 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
   209     path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
       
   210 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
   206 file path=usr/php/5.2/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
   211 file path=usr/php/5.2/include/php/ext/mbstring/mbstring.h
   207 file path=usr/php/5.2/include/php/ext/mbstring/mbstring.h
   212 file path=usr/php/5.2/include/php/ext/mbstring/oniguruma/oniguruma.h
   208 file path=usr/php/5.2/include/php/ext/mbstring/oniguruma/oniguruma.h
   213 file path=usr/php/5.2/include/php/ext/mbstring/oniguruma/php_onig_compat.h
   209 file path=usr/php/5.2/include/php/ext/mbstring/oniguruma/php_onig_compat.h
   214 file path=usr/php/5.2/include/php/ext/mbstring/php_mbregex.h
   210 file path=usr/php/5.2/include/php/ext/mbstring/php_mbregex.h
   381 file path=usr/php/5.2/zts-modules/pdo.so
   377 file path=usr/php/5.2/zts-modules/pdo.so
   382 file path=usr/php/5.2/zts-modules/pdo_sqlite.so
   378 file path=usr/php/5.2/zts-modules/pdo_sqlite.so
   383 file path=usr/php/5.2/zts-modules/snmp.so
   379 file path=usr/php/5.2/zts-modules/snmp.so
   384 file path=usr/php/5.2/zts-modules/sqlite.so
   380 file path=usr/php/5.2/zts-modules/sqlite.so
   385 file path=usr/php/5.2/zts-modules/tidy.so
   381 file path=usr/php/5.2/zts-modules/tidy.so
   386 link path=usr/php/5.2/bin/configure-webserver7 \
       
   387     target=../samples/scripts/configure-sun-webserver
       
   388 link path=usr/php/bin target=5.2/bin mediator=php mediator-version=5.2
   382 link path=usr/php/bin target=5.2/bin mediator=php mediator-version=5.2
   389 link path=usr/php/include target=5.2/include mediator=php mediator-version=5.2
   383 link path=usr/php/include target=5.2/include mediator=php mediator-version=5.2
   390 link path=usr/php/lib target=5.2/lib mediator=php mediator-version=5.2
   384 link path=usr/php/lib target=5.2/lib mediator=php mediator-version=5.2
   391 link path=usr/php/man target=5.2/man mediator=php mediator-version=5.2
   385 link path=usr/php/man target=5.2/man mediator=php mediator-version=5.2
   392 link path=usr/php/modules target=5.2/modules mediator=php mediator-version=5.2
   386 link path=usr/php/modules target=5.2/modules mediator=php mediator-version=5.2
   393 link path=usr/bin/php target=../php/5.2/bin/php \
   387 dir  path=var/php/5.2/sessions owner=webservd mode=0750
   394     mediator=php mediator-version=5.2
   388 license php-52.license license="PHP, GPLv2, LGPLv2, Apache v2.0" \
   395 link path=usr/bin/php-config target=../php/5.2/bin/php-config \
   389     com.oracle.info.description="the PHP scripting language" \
   396     mediator=php mediator-version=5.2
   390     com.oracle.info.name=php-52 com.oracle.info.tpno=$(TPNO_PHP_5_2) \
   397 link path=usr/bin/phpize target=../php/5.2/bin/phpize \
   391     com.oracle.info.version=5.2.17
   398     mediator=php mediator-version=5.2
   392 
       
   393 # if php5.3's apache module is present then make sure
       
   394 # php5.2's apache module is installed
       
   395 depend type=conditional fmri=web/server/apache-22/module/apache-php52 \
       
   396     predicate=web/server/apache-22/module/apache-php53
   399 
   397 
   400 # Force other php parts onto the disk.
   398 # Force other php parts onto the disk.
   401 # Drag documentation forward because the directory link changes to a
   399 # Drag documentation forward because the directory link changes to a
   402 #     mediated link.
   400 #     mediated link.
   403 depend fmri=pkg:/web/php-52/documentation type=optional
   401 depend type=optional fmri=pkg:/web/php-52/documentation
   404 depend fmri=pkg:/web/php-52/extension/php-apc type=require
   402 depend type=require fmri=pkg:/web/php-52/extension/php-apc
   405 depend fmri=pkg:/web/php-52/extension/php-idn type=require
   403 depend type=require fmri=pkg:/web/php-52/extension/php-idn
   406 depend fmri=pkg:/web/php-52/extension/php-memcache type=require
   404 depend type=require fmri=pkg:/web/php-52/extension/php-memcache
   407 depend fmri=pkg:/web/php-52/extension/php-mysql type=require
   405 depend type=require fmri=pkg:/web/php-52/extension/php-mysql
   408 depend fmri=pkg:/web/php-52/extension/php-pear type=require
   406 depend type=require fmri=pkg:/web/php-52/extension/php-pear
   409 depend fmri=pkg:/web/php-52/extension/php-suhosin type=require
   407 depend type=require fmri=pkg:/web/php-52/extension/php-suhosin
   410 depend fmri=pkg:/web/php-52/extension/php-tcpwrap type=require
   408 depend type=require fmri=pkg:/web/php-52/extension/php-tcpwrap
   411 depend fmri=pkg:/web/php-52/extension/php-xdebug type=require
   409 depend type=require fmri=pkg:/web/php-52/extension/php-xdebug
   412 
   410 
   413 # force web/php-common onto the disk in case this package is installed/updated
   411 # force web/php-common onto the disk in case this package is installed/updated
   414 depend fmri=pkg:/web/php-common type=require
   412 depend type=require fmri=pkg:/web/php-common
   415 
       
   416 # if php5.3's apache module is present then make sure
       
   417 # php5.2's apache module is installed
       
   418 depend type=conditional \
       
   419     predicate=web/server/apache-22/module/apache-php53 \
       
   420          fmri=web/server/apache-22/module/apache-php52