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 2013 Garrett D'Amore <garrett@damore.org>
  25 #
  26 
  27 set name=pkg.fmri value=pkg:/service/storage/removable-media@$(PKGVERS)
  28 set name=pkg.description value="Storage media management library"
  29 set name=pkg.summary value="Storage media management library"
  30 set name=info.classification \
  31     value=org.opensolaris.category.2008:System/Libraries
  32 set name=variant.arch value=$(ARCH)
  33 dir path=lib
  34 dir path=lib/svc
  35 dir path=lib/svc/manifest group=sys
  36 dir path=lib/svc/manifest/network group=sys
  37 dir path=lib/svc/manifest/network/rpc group=sys
  38 dir path=usr group=sys
  39 dir path=usr/lib
  40 dir path=usr/lib/$(ARCH64)
  41 dir path=usr/lib/smedia
  42 dir path=usr/lib/smedia/$(ARCH64)
  43 dir path=usr/share/man/man1m
  44 file path=lib/svc/manifest/network/rpc/smserver.xml group=sys mode=0444
  45 file path=usr/lib/$(ARCH64)/libsmedia.so.1
  46 file path=usr/lib/$(ARCH64)/llib-lsmedia.ln
  47 file path=usr/lib/libsmedia.so.1
  48 file path=usr/lib/llib-lsmedia
  49 file path=usr/lib/llib-lsmedia.ln
  50 file path=usr/lib/smedia/$(ARCH64)/sm_blkdev.so.1 mode=0555
  51 file path=usr/lib/smedia/$(ARCH64)/sm_fd.so.1 mode=0555
  52 file path=usr/lib/smedia/$(ARCH64)/sm_scsi.so.1 mode=0555
  53 file path=usr/lib/smedia/rpc.smserverd mode=0555
  54 file path=usr/lib/smedia/sm_blkdev.so.1 mode=0555
  55 file path=usr/lib/smedia/sm_fd.so.1 mode=0555
  56 file path=usr/lib/smedia/sm_scsi.so.1 mode=0555
  57 file path=usr/share/man/man1m/rpc.smserverd.1m
  58 legacy pkg=SUNWsmedia desc="Storage media management library" \
  59     name="Storage media management library"
  60 legacy pkg=SUNWsmediar desc="Storage media management library (Root)" \
  61     name="Storage media management library (Root)"
  62 license cr_Sun license=cr_Sun
  63 license lic_CDDL license=lic_CDDL
  64 link path=usr/lib/$(ARCH64)/libsmedia.so target=./libsmedia.so.1
  65 link path=usr/lib/libsmedia.so target=./libsmedia.so.1