xref: /titanic_41/usr/src/pkg/manifests/storage-avs-remote-mirror.mf (revision ea394cb00fd96864e34d2841b4a22357b621c78f)
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 2010 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# This package will install successfully into any zone, global or
29# non-global.  The files, directories, links, and hardlinks, however,
30# will only be installed into the global zone.
31#
32<include hollow_zone_pkg>
33set name=pkg.fmri value=pkg:/storage/avs/remote-mirror@$(PKGVERS)
34set name=pkg.description \
35    value="Remote Mirror copy software provides replication across IP networks"
36set name=pkg.summary value="Sun StorageTek Availability Suite Remote Mirror"
37set name=info.classification value=org.opensolaris.category.2008:System/Hardware
38set name=variant.arch value=$(ARCH)
39set name=variant.opensolaris.zone value=global value=nonglobal
40dir path=etc group=sys
41dir path=etc/init.d group=sys
42dir path=kernel group=sys
43dir path=kernel/kmdb group=sys
44dir path=kernel/kmdb/$(ARCH64) group=sys
45dir path=lib
46dir path=lib/svc
47dir path=lib/svc/method
48dir path=usr group=sys
49dir path=usr/bin
50dir path=usr/cluster group=sys
51dir path=usr/cluster/lib
52dir path=usr/cluster/lib/dscfg
53dir path=usr/cluster/lib/dscfg/start
54dir path=usr/cluster/lib/dscfg/stop
55dir path=usr/cluster/sbin group=other
56dir path=usr/kernel group=sys
57dir path=usr/kernel/drv group=sys
58dir path=usr/kernel/drv/$(ARCH64) group=sys
59dir path=usr/kernel/misc group=sys
60dir path=usr/kernel/misc/$(ARCH64) group=sys
61dir path=usr/lib
62dir path=usr/lib/mdb group=sys
63dir path=usr/lib/mdb/kvm group=sys
64dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
65dir path=usr/sbin
66dir path=var group=sys
67dir path=var/svc group=sys
68dir path=var/svc/manifest group=sys
69dir path=var/svc/manifest/system group=sys
70driver name=rdc devlink=type=ddi_pseudo;name=rdc\t\D perms="* 0666 root sys" \
71    privs=sys_config privs=sys_devices
72file path=etc/init.d/rdc mode=0744
73file path=etc/init.d/rdc.cluster mode=0744
74file path=etc/init.d/rdcfinish mode=0744
75file path=kernel/kmdb/$(ARCH64)/rdc group=sys mode=0555 reboot-needed=true
76$(i386_ONLY)file path=kernel/kmdb/rdc group=sys mode=0555 reboot-needed=true
77file path=usr/bin/sndradm mode=0555
78file path=usr/bin/sndrboot mode=0555
79file path=usr/bin/sndrd mode=0555
80file path=usr/bin/sndrsyncd mode=0555
81file path=usr/cluster/sbin/rdc mode=0744
82file path=usr/kernel/drv/$(ARCH64)/rdc group=sys
83file path=usr/kernel/drv/$(ARCH64)/rdcsrv group=sys
84file path=usr/kernel/drv/$(ARCH64)/rdcstub group=sys
85$(i386_ONLY)file path=usr/kernel/drv/rdc group=sys
86file path=usr/kernel/drv/rdc.conf group=sys \
87    original_name=SUNWrdc:usr/kernel/drv/rdc.conf preserve=true
88$(i386_ONLY)file path=usr/kernel/drv/rdcsrv group=sys
89$(i386_ONLY)file path=usr/kernel/drv/rdcstub group=sys
90file path=usr/lib/librdc.so.1
91file path=usr/lib/mdb/kvm/$(ARCH64)/rdc.so group=sys mode=0555
92$(i386_ONLY)file path=usr/lib/mdb/kvm/rdc.so group=sys mode=0555
93file path=var/svc/manifest/system/nws_rdc.xml group=sys mode=0444
94file path=var/svc/manifest/system/nws_rdcsyncd.xml group=sys mode=0444
95hardlink path=lib/svc/method/svc-rdc target=../../../etc/init.d/rdc
96hardlink path=lib/svc/method/svc-rdcsyncd target=../../../etc/init.d/rdcfinish
97hardlink path=usr/kernel/misc/$(ARCH64)/rdcsrv target=../../drv/$(ARCH64)/rdcsrv
98hardlink path=usr/kernel/misc/$(ARCH64)/rdcstub \
99    target=../../drv/$(ARCH64)/rdcstub
100$(i386_ONLY)hardlink path=usr/kernel/misc/rdcsrv target=../drv/rdcsrv
101$(i386_ONLY)hardlink path=usr/kernel/misc/rdcstub target=../drv/rdcstub
102hardlink path=usr/lib/sndrd target=../bin/sndrd
103hardlink path=usr/lib/sndrsyncd target=../bin/sndrsyncd
104hardlink path=usr/sbin/sndradm target=../bin/sndradm
105hardlink path=usr/sbin/sndrboot target=../bin/sndrboot
106legacy pkg=SUNWrdcr arch=$(ARCH) category=system \
107    desc="Remote Mirror copy software provides replication across IP networks" \
108    hotline="Please contact your local service provider" \
109    name="Sun StorageTek Availability Suite Remote Mirror (root)" \
110    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
111legacy pkg=SUNWrdcu arch=$(ARCH) category=system \
112    desc="Remote Mirror copy software provides replication across IP networks" \
113    hotline="Please contact your local service provider" \
114    name="Sun StorageTek Availability Suite Remote Mirror (usr)" \
115    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
116license cr_Sun license=cr_Sun
117license lic_CDDL license=lic_CDDL
118link path=usr/cluster/lib/dscfg/start/10rdc target=../../../sbin/rdc
119link path=usr/cluster/lib/dscfg/stop/15rdc target=../../../sbin/rdc
120depend fmri=driver/storage/sv type=require
121