components/mysql-common/mysql-common.p5m
author Laasya Moduludu <laasya.moduludu@oracle.com>
Thu, 09 Jan 2014 22:44:58 -0800
branchs11-update
changeset 2890 47c675945a45
parent 444 components/mysql-5-1/mysql-common.p5m@a2a87847a213
child 3734 24181f5eb463
permissions -rw-r--r--
PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1 16904709 Add MySQL 5.5 to Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
444
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     1
#
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     2
# CDDL HEADER START
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     3
#
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     7
#
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    11
# and limitations under the License.
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    12
#
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    18
#
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    19
# CDDL HEADER END
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    20
#
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    21
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
444
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    22
#
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    23
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    24
set name=pkg.fmri value=pkg:/database/mysql-common@$(COMPONENT_VERSION),$(BUILD_VERSION)
444
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    25
set name=pkg.summary value="MySQL Database Management System (Base)"
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    26
set name=info.classification \
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    27
    value=org.opensolaris.category.2008:Development/Databases
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    28
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    29
set name=org.opensolaris.arc-caseid value=PSARC/2013/333
444
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    30
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    31
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    32
license mysql.license license=Oracle
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    33
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    34
# mysql user account and group setup
444
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    35
group groupname=mysql gid=70
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    36
444
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    37
user username=mysql ftpuser=false gcos-field="MySQL Reserved UID" group=mysql \
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    38
    password=NP uid=70
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    39
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    40
# optionally depend on mysql-51 to bring it forward if already installed
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    41
depend fmri=database/[email protected],5.11-0.175.2.0.0.31.0 type=optional
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    42
# mysql common SMF config
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    43
file Solaris/mysql-auth path=etc/security/auth_attr.d/mysql
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    44
file Solaris/mysql-prof path=etc/security/prof_attr.d/mysql
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    45
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    46