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 \ |
24 set name=pkg.fmri \ |
25 value=pkg:/web/server/apache-22/module/[email protected],$(BUILD_VERSION) |
25 value=pkg:/web/server/apache-22/module/[email protected],$(BUILD_VERSION) |
26 set name=pkg.summary value="PHP Server for Apache Web Server" |
26 set name=pkg.summary value="PHP Server for Apache Web Server" |
27 set name=info.classification value="org.opensolaris.category.2008:Web Services/Application and Web Servers" |
27 set name=info.classification \ |
|
28 value="org.opensolaris.category.2008:Web Services/Application and Web Servers" |
28 set name=info.source-url \ |
29 set name=info.source-url \ |
29 value=http://us.php.net/get/php-5.2.17.tar.gz/from/this/mirror |
30 value=http://us.php.net/get/php-5.2.17.tar.gz/from/this/mirror |
30 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
31 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
31 set name=org.opensolaris.arc-caseid value=PSARC/2012/067 |
32 set name=org.opensolaris.arc-caseid value=PSARC/2012/067 |
32 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
33 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
33 |
34 dir path=etc |
34 license apache-php52.license license='PHP, GPLv2, LGPLv2, Apache v2.0' \ |
35 dir path=etc/apache2 |
35 com.oracle.info.description="the PHP 5.2 module for the Apache web server" \ |
36 dir path=etc/apache2/2.2 |
36 com.oracle.info.name=apache-php52 \ |
37 dir path=etc/apache2/2.2/conf.d |
37 com.oracle.info.version=5.2.17 \ |
38 dir path=etc/apache2/2.2/conf.d/php |
38 com.oracle.info.tpno=$(TPNO_PHP_5_2) |
39 link path=etc/apache2/2.2/conf.d/php/php.conf target=php5.2.conf mediator=php \ |
39 |
40 mediator-version=5.2 |
40 dir path=etc |
|
41 dir path=etc/apache2 |
|
42 dir path=etc/apache2/2.2 |
|
43 dir path=etc/apache2/2.2/conf.d |
|
44 dir path=etc/apache2/2.2/conf.d/php |
|
45 dir path=usr |
|
46 dir path=usr/apache2 |
|
47 dir path=usr/apache2/2.2 |
|
48 dir path=usr/apache2/2.2/libexec |
|
49 file path=etc/apache2/2.2/conf.d/php/php5.2.conf mode=0644 \ |
41 file path=etc/apache2/2.2/conf.d/php/php5.2.conf mode=0644 \ |
50 original_name=SUNWapch22-php52:etc/apache2/2.2/conf.d/php5.2.conf \ |
42 original_name=SUNWapch22-php52:etc/apache2/2.2/conf.d/php5.2.conf \ |
51 preserve=renamenew |
43 preserve=renamenew |
52 link path=etc/apache2/2.2/conf.d/php/php.conf target=php5.2.conf \ |
44 dir path=usr |
53 mediator=php mediator-version=5.2 |
45 dir path=usr/apache2 |
|
46 dir path=usr/apache2/2.2 |
|
47 dir path=usr/apache2/2.2/libexec |
54 # |
48 # |
55 # Once this is integrated and in the IPS repo we can remove |
49 # Once this is integrated and in the IPS repo we can remove |
56 # these pkg.linted.pkglint.dupaction010.2=true |
50 # these pkg.linted.pkglint.dupaction010.2=true |
57 # mod_php5.so is legacy and will not be provided in future versions. |
51 # mod_php5.so is legacy and will not be provided in future versions. |
58 # |
52 # |
59 file path=usr/apache2/2.2/libexec/mod_php5.2.so \ |
53 file path=usr/apache2/2.2/libexec/mod_php5.2.so \ |
60 pkg.linted.pkglint.dupaction001.1=true |
54 pkg.linted.pkglint.dupaction001.1=true |
61 link path=usr/apache2/2.2/libexec/mod_php5.so target=mod_php5.2.so \ |
55 link path=usr/apache2/2.2/libexec/mod_php5.so target=mod_php5.2.so \ |
62 pkg.linted.pkglint.dupaction010.2=true |
56 pkg.linted.pkglint.dupaction010.2=true |
|
57 license apache-php52.license license="PHP, GPLv2, LGPLv2, Apache v2.0" \ |
|
58 com.oracle.info.description="the PHP 5.2 module for the Apache web server" \ |
|
59 com.oracle.info.name=apache-php52 com.oracle.info.tpno=$(TPNO_PHP_5_2) \ |
|
60 com.oracle.info.version=5.2.17 |
63 |
61 |
64 # depend on apache-php5 because this content came from there |
62 # depend on apache-php5 because this content came from there |
65 depend fmri=web/server/apache-22/module/[email protected] \ |
63 depend type=optional \ |
66 type=optional |
64 fmri=web/server/apache-22/module/[email protected] |
67 # need generic dependency on PHP itself |
65 # need generic dependency on PHP itself |
68 depend fmri=web/[email protected] type=require |
66 depend type=require fmri=web/[email protected] |