components/mysql-common/mysql-common.p5m
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 17 Feb 2014 23:01:48 -0800
changeset 1718 5a3e08904211
parent 1541 b62d499c009a
child 3732 0f62cc221c7e
permissions -rw-r--r--
Added tag s12-42 for changeset dbabd9d8efe3
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
#
1205
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 444
diff changeset
    21
# Copyright (c) 2011, 2013, 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
1541
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
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
1541
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    28
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
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)
1541
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    31
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    32
license mysql.license license=Oracle
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    33
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
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
1541
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
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
1541
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    40
# optionally depend on mysql-51 to bring it forward if already installed
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    41
depend fmri=database/[email protected],5.12-5.12.0.0.0.35.0 type=optional
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    42
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    43
# mysql common SMF config
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    44
file Solaris/mysql-auth path=etc/security/auth_attr.d/mysql
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    45
file Solaris/mysql-prof path=etc/security/prof_attr.d/mysql
b62d499c009a PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Akhil Mohan <akhil.mohan@oracle.com>
parents: 1225
diff changeset
    46