author | John Beck <John.Beck@Oracle.COM> |
Tue, 03 Feb 2015 13:01:27 -0800 | |
branch | s11-update |
changeset 3734 | 24181f5eb463 |
parent 3661 | 47545fb8aed4 |
permissions | -rw-r--r-- |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
1 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
3 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
7 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
12 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
18 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
20 |
# |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
21 |
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
22 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
23 |
|
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
24 |
set name=pkg.fmri \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
25 |
value=pkg:/web/server/apache-22/module/[email protected],$(BUILD_VERSION) |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
26 |
set name=pkg.summary value="PHP Server for Apache Web Server" |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
27 |
set name=info.classification \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
28 |
value="org.opensolaris.category.2008:Web Services/Application and Web Servers" |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
29 |
set name=info.source-url \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
30 |
value=http://us.php.net/get/php-5.2.17.tar.gz/from/this/mirror |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
31 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
32 |
set name=org.opensolaris.arc-caseid value=PSARC/2012/067 |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
33 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
34 |
dir path=etc |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
35 |
dir path=etc/apache2 |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
36 |
dir path=etc/apache2/2.2 |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
37 |
dir path=etc/apache2/2.2/conf.d |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
38 |
dir path=etc/apache2/2.2/conf.d/php |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
39 |
link path=etc/apache2/2.2/conf.d/php/php.conf target=php5.2.conf mediator=php \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
mediator-version=5.2 |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
41 |
file path=etc/apache2/2.2/conf.d/php/php5.2.conf mode=0644 \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
42 |
original_name=SUNWapch22-php52:etc/apache2/2.2/conf.d/php5.2.conf \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
43 |
preserve=renamenew |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
44 |
dir path=usr |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
45 |
dir path=usr/apache2 |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
46 |
dir path=usr/apache2/2.2 |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
47 |
dir path=usr/apache2/2.2/libexec |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
48 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
49 |
# Once this is integrated and in the IPS repo we can remove |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
50 |
# these pkg.linted.pkglint.dupaction010.2=true |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
51 |
# mod_php5.so is legacy and will not be provided in future versions. |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
52 |
# |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
53 |
file path=usr/apache2/2.2/libexec/mod_php5.2.so \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
54 |
pkg.linted.pkglint.dupaction001.1=true |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
55 |
link path=usr/apache2/2.2/libexec/mod_php5.so target=mod_php5.2.so \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
56 |
pkg.linted.pkglint.dupaction010.2=true |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
57 |
license apache-php52.license license="PHP, GPLv2, LGPLv2, Apache v2.0" \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
58 |
com.oracle.info.description="the PHP 5.2 module for the Apache web server" \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
59 |
com.oracle.info.name=apache-php52 com.oracle.info.tpno=$(TPNO_PHP_5_2) \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
60 |
com.oracle.info.version=5.2.17 |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
61 |
|
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
62 |
# depend on apache-php5 because this content came from there |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
63 |
depend type=optional \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
64 |
fmri=web/server/apache-22/module/[email protected] |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
65 |
# need generic dependency on PHP itself |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
66 |
depend type=require fmri=web/[email protected] |