components/php-5_2/php-mysql.p5m
author Gabriel Carrillo <Gabriel.Carrillo@Oracle.COM>
Thu, 03 May 2012 10:09:44 -0700
branchs11-sru
changeset 2274 cdf332a6c5f1
parent 465 48a8e911990f
child 609 775168282b2f
permissions -rw-r--r--
Added tag S11SRU7_05 for changeset f05fa0c3ac62

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
#

set name=pkg.fmri value=pkg:/web/php-52/extension/[email protected],$(BUILD_VERSION)
set name=pkg.summary value="MySQL extension module for PHP"
set name=info.classification \
    value="org.opensolaris.category.2008:Development/PHP"
set name=info.upstream-url value=http://www.php.net/
set name=info.source-url value=http://us.php.net/get/php-5.2.17.tar.gz/from/this/mirror
set name=org.opensolaris.arc-caseid \
    value=LSARC/2008/538
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license php-mysql.license license='PHP, LGPLv2'

dir path=etc
dir path=etc/php
dir path=etc/php/5.2
dir path=etc/php/5.2/conf.d
dir path=etc/php/5.2/zts-conf.d
dir path=usr
dir path=usr/php
dir path=usr/php/5.2
dir path=usr/php/5.2/modules
dir path=usr/php/5.2/zts-modules
file path=etc/php/5.2/conf.d/mysql.ini mode=0644 preserve=renamenew \
    original_name=SUNWphp52-mysql:etc/php/5.2/conf.d/mysql.ini
file path=etc/php/5.2/conf.d/mysqli.ini mode=0644 preserve=renamenew \
    original_name=SUNWphp52-mysql:etc/php/5.2/conf.d/mysqli.ini
file path=etc/php/5.2/conf.d/pdo_mysql.ini mode=0644 preserve=renamenew \
    original_name=SUNWphp52-mysql:etc/php/5.2/conf.d/pdo_mysql.ini
file path=etc/php/5.2/zts-conf.d/mysql.ini mode=0644 preserve=renamenew \
    original_name=SUNWphp52-mysql:etc/php/5.2/zts-conf.d/mysql.ini
file path=etc/php/5.2/zts-conf.d/mysqli.ini mode=0644 preserve=renamenew \
    original_name=SUNWphp52-mysql:etc/php/5.2/zts-conf.d/mysqli.ini
file path=etc/php/5.2/zts-conf.d/pdo_mysql.ini mode=0644 preserve=renamenew \
    original_name=SUNWphp52-mysql:etc/php/5.2/zts-conf.d/pdo_mysql.ini
file path=usr/php/5.2/modules/mysql.so
file path=usr/php/5.2/modules/mysqli.so
file path=usr/php/5.2/modules/pdo_mysql.so
file path=usr/php/5.2/zts-modules/mysql.so
file path=usr/php/5.2/zts-modules/mysqli.so
file path=usr/php/5.2/zts-modules/pdo_mysql.so

legacy pkg=SUNWphp52u-mysql \
    name="MySQL extension module for PHP" \
    desc="PHP-MySQL extension to connect MySQL database from PHP(5.2)"
legacy pkg=SUNWphp52r-mysql \
    name="MySQL extension module for PHP (Root)" \
    desc="PHP-MySQL extension to connect MySQL database from PHP(5.2) (Root)"

# need generic dependency on PHP itself
depend fmri=web/[email protected] type=require