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:/service/storage/ndmp@$(PKGVERS)
  34 set name=pkg.description \
  35     value="Network Data Management Protocol Service (user components)"
  36 set name=pkg.summary value="Network Data Management Protocol Service (User)"
  37 set name=info.classification \
  38     value=org.opensolaris.category.2008:System/Services
  39 set name=variant.arch value=$(ARCH)
  40 dir path=lib
  41 dir path=lib/svc
  42 dir path=lib/svc/manifest group=sys
  43 dir path=lib/svc/manifest/system group=sys
  44 dir path=lib/svc/method
  45 dir path=usr group=sys
  46 dir path=usr/include
  47 dir path=usr/lib
  48 $(BUILD64)dir path=usr/lib/$(ARCH64)
  49 dir path=usr/lib/ndmp
  50 dir path=usr/sbin
  51 dir path=usr/share/man
  52 dir path=usr/share/man/man1m
  53 dir path=usr/share/man/man4
  54 file path=lib/svc/manifest/system/ndmp.xml group=sys mode=0444
  55 file path=lib/svc/method/svc-ndmp mode=0555
  56 file path=usr/include/libndmp.h
  57 $(BUILD64)file path=usr/lib/$(ARCH64)/libndmp.so.1
  58 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-lndmp.ln
  59 file path=usr/lib/libndmp.so.1
  60 file path=usr/lib/llib-lndmp
  61 file path=usr/lib/llib-lndmp.ln
  62 file path=usr/lib/ndmp/ndmpd mode=0555
  63 file path=usr/sbin/ndmpadm mode=0555
  64 file path=usr/sbin/ndmpstat mode=0555
  65 file path=usr/share/man/man1m/ndmpadm.1m
  66 file path=usr/share/man/man1m/ndmpd.1m
  67 file path=usr/share/man/man1m/ndmpstat.1m
  68 file path=usr/share/man/man4/ndmp.4
  69 legacy pkg=SUNWndmpr \
  70     desc="Network Data Management Protocol Service (root components)" \
  71     name="Network Data Management Protocol Service (Root)"
  72 legacy pkg=SUNWndmpu \
  73     desc="Network Data Management Protocol Service (user components)" \
  74     name="Network Data Management Protocol Service (User)"
  75 license cr_Sun license=cr_Sun
  76 license lic_OSBL license=lic_OSBL
  77 license lic_OSBL_preamble license=lic_OSBL_preamble
  78 license usr/src/cmd/ndmpd/LICENSE license=usr/src/cmd/ndmpd/LICENSE
  79 $(BUILD64)link path=usr/lib/$(ARCH64)/libndmp.so target=libndmp.so.1
  80 link path=usr/lib/libndmp.so target=libndmp.so.1