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) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 set name=pkg.fmri value=pkg:/web/server/apache-22/module/apache-php53@$(COMPONENT_VERSION),$(BUILD_VERSION) |
24 set name=pkg.fmri \ |
|
25 value=pkg:/web/server/apache-22/module/apache-php53@$(COMPONENT_VERSION),$(BUILD_VERSION) |
25 set name=pkg.summary value="PHP Server for Apache Web Server" |
26 set name=pkg.summary value="PHP Server for Apache Web Server" |
26 set name=info.classification value="org.opensolaris.category.2008:Web Services/Application and Web Servers" |
27 set name=info.classification \ |
27 set name=info.source-url value=http://us.php.net/get/php-$(COMPONENT_VERSION).tar.gz/from/this/mirror |
28 value="org.opensolaris.category.2008:Web Services/Application and Web Servers" |
|
29 set name=info.source-url \ |
|
30 value=http://us.php.net/get/php-$(COMPONENT_VERSION).tar.gz/from/this/mirror |
28 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
31 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
29 set name=org.opensolaris.arc-caseid value=PSARC/2012/067 |
32 set name=org.opensolaris.arc-caseid value=PSARC/2012/067 |
30 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
33 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
31 |
34 link path=etc/apache2/2.2/conf.d/php/php.conf target=php5.3.conf mediator=php \ |
32 license apache-php53.license license='PHP, GPLv2, LGPLv2, Apache v2.0' \ |
35 mediator-version=5.3 |
|
36 file path=etc/apache2/2.2/conf.d/php/php5.3.conf mode=0644 preserve=renamenew |
|
37 file path=usr/apache2/2.2/libexec/mod_php5.3.so |
|
38 license apache-php53.license license="PHP, GPLv2, LGPLv2, Apache v2.0" \ |
33 com.oracle.info.description="the PHP module for the Apache web server" \ |
39 com.oracle.info.description="the PHP module for the Apache web server" \ |
34 com.oracle.info.name=apache-php53 \ |
40 com.oracle.info.name=apache-php53 com.oracle.info.tpno=$(TPNO_PHP_5_3) \ |
35 com.oracle.info.version=$(COMPONENT_VERSION) \ |
41 com.oracle.info.version=$(COMPONENT_VERSION) |
36 com.oracle.info.tpno=$(TPNO_PHP_5_3) |
|
37 |
|
38 file path=etc/apache2/2.2/conf.d/php/php5.3.conf mode=0644 preserve=renamenew |
|
39 link path=etc/apache2/2.2/conf.d/php/php.conf target=php5.3.conf \ |
|
40 mediator=php mediator-version=5.3 |
|
41 file path=usr/apache2/2.2/libexec/mod_php5.3.so |
|
42 |
|
43 # need generic dependency on PHP itself |
|
44 depend fmri=web/php-53@$(COMPONENT_VERSION) type=require |
|
45 |
42 |
46 # if php5.2 apache is present drag forward because php.conf files |
43 # if php5.2 apache is present drag forward because php.conf files |
47 # move around |
44 # move around |
48 depend \ |
45 depend type=optional \ |
49 fmri=pkg:/web/server/apache-22/module/[email protected] \ |
46 fmri=pkg:/web/server/apache-22/module/[email protected] |
50 type=optional |
47 |
|
48 # need generic dependency on PHP itself |
|
49 depend type=require fmri=web/php-53@$(COMPONENT_VERSION) |