components/mysql-common/mysql-common.p5m
author John Beck <John.Beck@Oracle.COM>
Tue, 03 Feb 2015 13:01:27 -0800
branchs11-update
changeset 3734 24181f5eb463
parent 2890 47c675945a45
permissions -rw-r--r--
20440737 pkgfmt all Userland pkg(5) manifests
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
#
3734
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    21
# Copyright (c) 2011, 2015, 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
3734
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    24
set name=pkg.fmri \
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    25
    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
    26
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
    27
set name=info.classification \
a2a87847a213 7068640 Move MySQL 5.1 from SFW to Userland
Sunanda Menon <Sunanda.Menon@Sun.COM>
parents:
diff changeset
    28
    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
    29
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
    30
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
    31
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
    32
# 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
    33
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
    34
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
    35
3734
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    36
# mysql user account and group setup
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    37
group groupname=mysql gid=70
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    38
user username=mysql ftpuser=false gcos-field="MySQL Reserved UID" group=mysql \
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    39
    password=NP uid=70
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    40
license mysql.license license=Oracle
2890
47c675945a45 PSARC 2013/333 Update MySQL to 5.5; EOF MySQL 5.1
Laasya Moduludu <laasya.moduludu@oracle.com>
parents: 444
diff changeset
    41
3734
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    42
# optionally depend on mysql-51 to bring it forward if already installed
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    43
depend type=optional fmri=database/[email protected],5.11-0.175.2.0.0.31.0
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    44
24181f5eb463 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2890
diff changeset
    45