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 # Copyright 2014 Andrew Stormont.
  25 #
  26 
  27 #
  28 # The default for payload-bearing actions in this package is to appear in the
  29 # global zone only.  See the include file for greater detail, as well as
  30 # information about overriding the defaults.
  31 #
  32 <include global_zone_only_component>
  33 set name=pkg.fmri value=pkg:/storage/avs/remote-mirror@$(PKGVERS)
  34 set name=pkg.description \
  35     value="Remote Mirror copy software provides replication across IP networks"
  36 set name=pkg.summary value="Sun StorageTek Availability Suite Remote Mirror"
  37 set name=info.classification \
  38     value=org.opensolaris.category.2008:System/Hardware
  39 set name=variant.arch value=$(ARCH)
  40 dir path=etc group=sys
  41 dir path=etc/init.d group=sys
  42 dir path=kernel group=sys
  43 dir path=kernel/kmdb group=sys
  44 dir path=kernel/kmdb/$(ARCH64) group=sys
  45 dir path=lib
  46 dir path=lib/svc
  47 dir path=lib/svc/manifest group=sys
  48 dir path=lib/svc/manifest/system group=sys
  49 dir path=lib/svc/method
  50 dir path=usr group=sys
  51 dir path=usr/bin
  52 dir path=usr/cluster group=sys
  53 dir path=usr/cluster/lib
  54 dir path=usr/cluster/lib/dscfg
  55 dir path=usr/cluster/lib/dscfg/start
  56 dir path=usr/cluster/lib/dscfg/stop
  57 dir path=usr/cluster/sbin group=other
  58 dir path=usr/kernel group=sys
  59 dir path=usr/kernel/drv group=sys
  60 dir path=usr/kernel/drv/$(ARCH64) group=sys
  61 dir path=usr/kernel/misc group=sys
  62 dir path=usr/kernel/misc/$(ARCH64) group=sys
  63 dir path=usr/lib
  64 dir path=usr/lib/mdb group=sys
  65 dir path=usr/lib/mdb/kvm group=sys
  66 $(BUILD64)dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
  67 dir path=usr/sbin
  68 dir path=usr/share/man
  69 dir path=usr/share/man/man1m
  70 dir path=usr/share/man/man4
  71 driver name=rdc devlink=type=ddi_pseudo;name=rdc\t\D perms="* 0666 root sys" \
  72     privs=sys_config privs=sys_devices
  73 file path=etc/init.d/rdc mode=0744
  74 file path=etc/init.d/rdc.cluster mode=0744
  75 file path=etc/init.d/rdcfinish mode=0744
  76 file path=kernel/kmdb/$(ARCH64)/rdc group=sys mode=0555
  77 $(i386_ONLY)file path=kernel/kmdb/rdc group=sys mode=0555
  78 file path=lib/svc/manifest/system/nws_rdc.xml group=sys mode=0444
  79 file path=lib/svc/manifest/system/nws_rdcsyncd.xml group=sys mode=0444
  80 file path=usr/bin/sndradm mode=0555
  81 file path=usr/bin/sndrboot mode=0555
  82 file path=usr/bin/sndrd mode=0555
  83 file path=usr/bin/sndrsyncd mode=0555
  84 file path=usr/cluster/sbin/rdc mode=0744
  85 file path=usr/kernel/drv/$(ARCH64)/rdc group=sys
  86 file path=usr/kernel/drv/$(ARCH64)/rdcsrv group=sys
  87 file path=usr/kernel/drv/$(ARCH64)/rdcstub group=sys
  88 $(i386_ONLY)file path=usr/kernel/drv/rdc group=sys
  89 file path=usr/kernel/drv/rdc.conf group=sys \
  90     original_name=SUNWrdc:usr/kernel/drv/rdc.conf preserve=true
  91 $(i386_ONLY)file path=usr/kernel/drv/rdcsrv group=sys
  92 $(i386_ONLY)file path=usr/kernel/drv/rdcstub group=sys
  93 file path=usr/lib/librdc.so.1
  94 $(BUILD64)file path=usr/lib/mdb/kvm/$(ARCH64)/rdc.so group=sys mode=0555
  95 $(i386_ONLY)file path=usr/lib/mdb/kvm/rdc.so group=sys mode=0555
  96 file path=usr/share/man/man1m/sndradm.1m
  97 file path=usr/share/man/man1m/sndrd.1m
  98 file path=usr/share/man/man1m/sndrsyncd.1m
  99 file path=usr/share/man/man4/rdc.cf.4
 100 file path=usr/share/man/man4/sndr.4
 101 hardlink path=lib/svc/method/svc-rdc target=../../../etc/init.d/rdc
 102 hardlink path=lib/svc/method/svc-rdcsyncd target=../../../etc/init.d/rdcfinish
 103 hardlink path=usr/kernel/misc/$(ARCH64)/rdcsrv \
 104     target=../../drv/$(ARCH64)/rdcsrv
 105 hardlink path=usr/kernel/misc/$(ARCH64)/rdcstub \
 106     target=../../drv/$(ARCH64)/rdcstub
 107 $(i386_ONLY)hardlink path=usr/kernel/misc/rdcsrv target=../drv/rdcsrv
 108 $(i386_ONLY)hardlink path=usr/kernel/misc/rdcstub target=../drv/rdcstub
 109 hardlink path=usr/lib/sndrd target=../bin/sndrd
 110 hardlink path=usr/lib/sndrsyncd target=../bin/sndrsyncd
 111 hardlink path=usr/sbin/sndradm target=../bin/sndradm
 112 hardlink path=usr/sbin/sndrboot target=../bin/sndrboot
 113 legacy pkg=SUNWrdcr \
 114     desc="Remote Mirror copy software provides replication across IP networks" \
 115     name="Sun StorageTek Availability Suite Remote Mirror (root)"
 116 legacy pkg=SUNWrdcu \
 117     desc="Remote Mirror copy software provides replication across IP networks" \
 118     name="Sun StorageTek Availability Suite Remote Mirror (usr)"
 119 license cr_Sun license=cr_Sun
 120 license lic_CDDL license=lic_CDDL
 121 link path=usr/cluster/lib/dscfg/start/10rdc target=../../../sbin/rdc
 122 link path=usr/cluster/lib/dscfg/stop/15rdc target=../../../sbin/rdc