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