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 2012 Nexenta Systems, Inc. All rights reserved.
  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:/system/network/http-cache-accelerator@$(PKGVERS)
  34 set name=pkg.description \
  35     value="components to enable the network cache and accelerator"
  36 set name=pkg.summary value="Solaris Network Cache and Accelerator"
  37 set name=info.classification value=org.opensolaris.category.2008:System/Core
  38 set name=variant.arch value=$(ARCH)
  39 dir path=etc group=sys
  40 dir path=etc/init.d group=sys
  41 dir path=etc/nca group=sys
  42 dir path=etc/rc0.d group=sys
  43 dir path=etc/rc1.d group=sys
  44 dir path=etc/rc2.d group=sys
  45 dir path=etc/rcS.d group=sys
  46 dir path=etc/sock2path.d group=sys
  47 dir path=kernel group=sys
  48 dir path=kernel/drv group=sys
  49 dir path=kernel/drv/$(ARCH64) group=sys
  50 dir path=kernel/strmod group=sys
  51 dir path=kernel/strmod/$(ARCH64) group=sys
  52 dir path=usr group=sys
  53 dir path=usr/bin
  54 dir path=usr/lib
  55 dir path=usr/lib/$(ARCH64)
  56 dir path=usr/lib/inet
  57 dir path=usr/share/man
  58 dir path=usr/share/man/man1
  59 dir path=usr/share/man/man1m
  60 dir path=usr/share/man/man4
  61 driver name=nca
  62 file path=etc/init.d/ncakmod group=sys mode=0744 \
  63     original_name=SUNWnca:etc/init.d/ncakmod preserve=true
  64 file path=etc/init.d/ncalogd group=sys mode=0744 \
  65     original_name=SUNWnca:etc/init.d/ncalogd preserve=true
  66 file path=etc/nca/nca.if group=sys original_name=SUNWnca:etc/nca/nca.if \
  67     preserve=true
  68 file path=etc/nca/ncakmod.conf group=sys \
  69     original_name=SUNWnca:etc/nca/ncakmod.conf preserve=true
  70 file path=etc/nca/ncalogd.conf group=sys \
  71     original_name=SUNWnca:etc/nca/ncalogd.conf preserve=true
  72 file path=etc/nca/ncaport.conf group=sys \
  73     original_name=SUNWnca:etc/nca/ncaport.conf preserve=true
  74 file path=etc/sock2path.d/system%2Fnetwork%2Fhttp%2Fcache%2Faccelerator \
  75     group=sys
  76 file path=kernel/drv/$(ARCH64)/nca group=sys
  77 $(i386_ONLY)file path=kernel/drv/nca group=sys
  78 file path=kernel/drv/nca.conf group=sys
  79 file path=usr/bin/ncab2clf mode=0555
  80 file path=usr/lib/$(ARCH64)/ncad_addr.so.1
  81 file path=usr/lib/inet/ncaconfd mode=0555
  82 file path=usr/lib/ncad_addr.so.1
  83 file path=usr/share/man/man1/nca.1
  84 file path=usr/share/man/man1/ncab2clf.1
  85 file path=usr/share/man/man1/ncakmod.1
  86 file path=usr/share/man/man1m/ncaconfd.1m
  87 file path=usr/share/man/man4/nca.if.4
  88 file path=usr/share/man/man4/ncad_addr.4
  89 file path=usr/share/man/man4/ncakmod.conf.4
  90 file path=usr/share/man/man4/ncalogd.conf.4
  91 file path=usr/share/man/man4/ncaport.conf.4
  92 hardlink path=etc/rc0.d/K34ncalogd target=../../etc/init.d/ncalogd
  93 hardlink path=etc/rc1.d/K34ncalogd target=../../etc/init.d/ncalogd
  94 hardlink path=etc/rc2.d/S42ncakmod target=../../etc/init.d/ncakmod
  95 hardlink path=etc/rc2.d/S94ncalogd target=../../etc/init.d/ncalogd
  96 hardlink path=etc/rcS.d/K34ncalogd target=../../etc/init.d/ncalogd
  97 hardlink path=kernel/strmod/$(ARCH64)/nca \
  98     target=../../../kernel/drv/$(ARCH64)/nca
  99 $(i386_ONLY)hardlink path=kernel/strmod/nca target=../../kernel/drv/nca
 100 legacy pkg=SUNWncar \
 101     desc="core components to enable the network cache and accelerator" \
 102     name="Solaris Network Cache and Accelerator (Root)"
 103 legacy pkg=SUNWncau \
 104     desc="components to enable the network cache and accelerator" \
 105     name="Solaris Network Cache and Accelerator (Usr)"
 106 license cr_Sun license=cr_Sun
 107 license lic_CDDL license=lic_CDDL
 108 link path=usr/lib/$(ARCH64)/ncad_addr.so target=./ncad_addr.so.1
 109 link path=usr/lib/ncad_addr.so target=./ncad_addr.so.1
 110 link path=usr/share/man/man1/snca.1 target=nca.1