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