1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26#
27# The default for payload-bearing actions in this package is to appear in the
28# global zone only.  See the include file for greater detail, as well as
29# information about overriding the defaults.
30#
31<include global_zone_only_component>
32set name=pkg.fmri value=pkg:/system/kernel/power@$(PKGVERS)
33set name=pkg.summary value="Power Management binaries"
34set name=pkg.description value="Power Management binaries"
35set name=info.classification \
36    value="org.opensolaris.category.2008:System/Administration and Configuration"
37set name=variant.arch value=$(ARCH)
38dir  path=etc group=sys
39dir  path=etc/default group=sys
40file path=etc/default/power group=sys
41file path=etc/power.conf group=sys original_name=SUNWpm:etc/power.conf \
42    preserve=true
43dir  path=lib
44dir  path=lib/svc
45dir  path=lib/svc/manifest group=sys
46dir  path=lib/svc/manifest/system group=sys
47file path=lib/svc/manifest/system/power.xml group=sys mode=0444
48dir  path=lib/svc/method
49file path=lib/svc/method/svc-power mode=0555
50dir  path=usr group=sys
51dir  path=usr/bin
52file path=usr/bin/sys-suspend mode=4555
53dir  path=usr/kernel group=sys
54dir  path=usr/kernel/drv group=sys
55dir  path=usr/kernel/drv/$(ARCH64) group=sys
56file path=usr/kernel/drv/$(ARCH64)/pm group=sys
57file path=usr/kernel/drv/pm.conf group=sys
58dir  path=usr/lib
59dir  path=usr/lib/power group=sys
60file path=usr/lib/power/powerd mode=0555
61dir  path=usr/sbin
62file path=usr/sbin/pmconfig mode=4555
63dir  path=usr/share/man
64dir  path=usr/share/man/man1
65file path=usr/share/man/man1/sys-suspend.1
66dir  path=usr/share/man/man4d
67file path=usr/share/man/man4d/pm.4d
68dir  path=usr/share/man/man5
69file path=usr/share/man/man5/power.conf.5
70dir  path=usr/share/man/man8
71file path=usr/share/man/man8/pmconfig.8
72file path=usr/share/man/man8/powerd.8
73driver name=pm perms="* 0666 root sys"
74legacy pkg=SUNWpmr desc="Power Management config file and rc script" \
75    name="Power Management config file and rc script"
76legacy pkg=SUNWpmu desc="Power Management binaries" \
77    name="Power Management binaries"
78license cr_Sun license=cr_Sun
79license lic_CDDL license=lic_CDDL
80