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