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 26set name=pkg.fmri value=pkg:/service/storage/virus-scan@0.5.11,5.11-0.155.53 27set name=pkg.description value="Virus Scan Service Kernel Root Components" 28set name=pkg.summary value="Virus Scan Service Kernel" 29set name=info.classification value=org.opensolaris.category.2008:System/Services 30set name=variant.arch value=i386 31dir group=sys mode=0755 owner=root path=kernel variant.opensolaris.zone=global 32dir group=sys mode=0755 owner=root path=kernel/drv variant.opensolaris.zone=global 33dir group=sys mode=0755 owner=root path=kernel/drv/amd64 variant.opensolaris.zone=global 34dir group=bin mode=0755 owner=root path=lib 35dir group=bin mode=0755 owner=root path=lib/svc 36dir group=sys mode=0755 owner=root path=lib/svc/manifest 37dir group=sys mode=0755 owner=root path=lib/svc/manifest/system 38dir group=sys mode=0755 owner=root path=lib/svc/manifest/system/filesystem 39dir group=sys mode=0755 owner=root path=usr 40dir group=bin mode=0755 owner=root path=usr/lib 41dir group=sys mode=0755 owner=root path=usr/lib/devfsadm 42dir group=sys mode=0755 owner=root path=usr/lib/devfsadm/linkmod 43dir group=bin mode=0755 owner=root path=usr/lib/vscan 44dir group=bin mode=0755 owner=root path=usr/sbin 45dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1m 46driver name=vscan perms="* 0640 root sys" 47file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/vscan reboot-needed=true variant.opensolaris.zone=global 48file NOHASH group=sys mode=0644 owner=root path=kernel/drv/vscan.conf variant.opensolaris.zone=global 49file NOHASH group=sys mode=0444 owner=root path=lib/svc/manifest/system/filesystem/vscan.xml restart_fmri=svc:/system/manifest-import:default 50file NOHASH group=sys mode=0755 owner=root path=usr/lib/devfsadm/linkmod/SUNW_vscan_link.so 51file NOHASH group=bin mode=0755 owner=root path=usr/lib/vscan/libvscan.so.1 52file NOHASH group=bin mode=0555 owner=root path=usr/lib/vscan/vscand 53file NOHASH group=bin mode=0555 owner=root path=usr/sbin/vscanadm 54file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/vscanadm.1m 55file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/vscand.1m 56legacy arch=i386 category=system desc="Virus Scan Service Kernel Root Components" hotline="Please contact your local service provider" name="Virus Scan Service Kernel (Root)" pkg=SUNWvscankr vendor=Illumos version=11.11,REV=2009.11.11 57legacy arch=i386 category=system desc="Virus Scan Service Root Components" hotline="Please contact your local service provider" name="Virus Scan Service (Root)" pkg=SUNWvscanr vendor=Illumos version=11.11,REV=2009.11.11 58legacy arch=i386 category=system desc="Virus Scan Service Usr Components" hotline="Please contact your local service provider" name="Virus Scan Service (Usr)" pkg=SUNWvscanu vendor=Illumos version=11.11,REV=2009.11.11 59license cr_Sun license=cr_Sun 60license lic_CDDL license=lic_CDDL 61link path=usr/lib/vscan/libvscan.so target=libvscan.so.1 62# 63# CDDL HEADER START 64# 65# The contents of this file are subject to the terms of the 66# Common Development and Distribution License (the "License"). 67# You may not use this file except in compliance with the License. 68# 69# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 70# or http://www.opensolaris.org/os/licensing. 71# See the License for the specific language governing permissions 72# and limitations under the License. 73# 74# When distributing Covered Code, include this CDDL HEADER in each 75# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 76# If applicable, add the following below this CDDL HEADER, with the 77# fields enclosed by brackets "[]" replaced with your own identifying 78# information: Portions Copyright [yyyy] [name of copyright owner] 79# 80# CDDL HEADER END 81# 82 83# 84# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 85# 86 87# 88# These actions represent settings which should appear in every package. 89# 90 91# 92# Name the consolidation this package came from. 93# 94set name=org.opensolaris.consolidation value=osnet 95 96# 97# Indicate that the package was published in a zones aware 98# fashion. 99# 100set name=variant.opensolaris.zone value=global value=nonglobal 101# 102# CDDL HEADER START 103# 104# The contents of this file are subject to the terms of the 105# Common Development and Distribution License (the "License"). 106# You may not use this file except in compliance with the License. 107# 108# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 109# or http://www.opensolaris.org/os/licensing. 110# See the License for the specific language governing permissions 111# and limitations under the License. 112# 113# When distributing Covered Code, include this CDDL HEADER in each 114# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 115# If applicable, add the following below this CDDL HEADER, with the 116# fields enclosed by brackets "[]" replaced with your own identifying 117# information: Portions Copyright [yyyy] [name of copyright owner] 118# 119# CDDL HEADER END 120# 121 122# 123# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 124# Use is subject to license terms. 125# 126 127# 128# Only publish packages for the currently specified architecture 129# 130# This is somewhat nonintuitive. In English: 131# 132# For any action of type "set", 133# if the "name" property matches the regex "variant.arch", 134# and *every* occurrence of the "value" property does not match 135# $ARCH, then don't publish it. 136# 137# ...in other words, if *any* occurrence of "value" matches i386, 138# then the negative lookahead assertion in the regex will fail, and we 139# won't abort based on the action. 140# 141 142# 143# Catch don't-publish settings from manifest-embedded transforms 144# 145# 146# CDDL HEADER START 147# 148# The contents of this file are subject to the terms of the 149# Common Development and Distribution License (the "License"). 150# You may not use this file except in compliance with the License. 151# 152# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 153# or http://www.opensolaris.org/os/licensing. 154# See the License for the specific language governing permissions 155# and limitations under the License. 156# 157# When distributing Covered Code, include this CDDL HEADER in each 158# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 159# If applicable, add the following below this CDDL HEADER, with the 160# fields enclosed by brackets "[]" replaced with your own identifying 161# information: Portions Copyright [yyyy] [name of copyright owner] 162# 163# CDDL HEADER END 164# 165 166# 167# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 168# 169 170# 171# This file and its contents are supplied under the terms of the 172# Common Development and Distribution License ("CDDL"), version 1.0. 173# You may only use this file in accordance with the terms of version 174# 1.0 of the CDDL. 175# 176# A full copy of the text of the CDDL should have accompanied this 177# source. A copy of the CDDL is also available via the Internet 178# at http://www.illumos.org/license/CDDL. 179# 180 181# Copyright 2011, Richard Lowe 182 183# Manual pages are documentation, and more specifically 'man' documentation 184# 185# CDDL HEADER START 186# 187# The contents of this file are subject to the terms of the 188# Common Development and Distribution License (the "License"). 189# You may not use this file except in compliance with the License. 190# 191# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 192# or http://www.opensolaris.org/os/licensing. 193# See the License for the specific language governing permissions 194# and limitations under the License. 195# 196# When distributing Covered Code, include this CDDL HEADER in each 197# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 198# If applicable, add the following below this CDDL HEADER, with the 199# fields enclosed by brackets "[]" replaced with your own identifying 200# information: Portions Copyright [yyyy] [name of copyright owner] 201# 202# CDDL HEADER END 203# 204 205# 206# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 207# Copyright 2011, Richard Lowe 208# 209 210# 211# For kernel/drv, set .conf files to mode 0644. Assume all other 212# files there are drivers, and give them mode 0755 and reboot-needed. 213# 214# The (?<!r) construct in the reboot-needed transform is a negative 215# lookbehind assertion: it says "only match this regex if the 216# previously matched text does NOT match regex r." So it will match 217# all files in the various kernel trees, except for .conf files. 218# 219 220 221# 222# Non-global zones should not have content in kernel, usr/kernel (and 223# other kernel dirs) or in boot/. 224# 225 226 227# 228# shared objects should generally have mode 0755 229# 230 231# 232# Catch some of the collections of largely read-only files 233# 234 235 236# 237# For what's left, go with root:bin 0644, +x for directories 238# 239 240# 241# Default values for legacy actions 242# 243# 244# CDDL HEADER START 245# 246# The contents of this file are subject to the terms of the 247# Common Development and Distribution License (the "License"). 248# You may not use this file except in compliance with the License. 249# 250# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 251# or http://www.opensolaris.org/os/licensing. 252# See the License for the specific language governing permissions 253# and limitations under the License. 254# 255# When distributing Covered Code, include this CDDL HEADER in each 256# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 257# If applicable, add the following below this CDDL HEADER, with the 258# fields enclosed by brackets "[]" replaced with your own identifying 259# information: Portions Copyright [yyyy] [name of copyright owner] 260# 261# CDDL HEADER END 262# 263 264# 265# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 266# 267 268# 269# Pull out the license paths for staging in the proto area. Ignore 270# those with no path separators, as that indicates a file kept in 271# $SRC/pkg/license_files, rather than alongside the associated source. 272# 273 274# 275# Ordering is important here, and the last line wins. 276# 277# The default of "current" is provided by the calling environment, 278# rather than a print operation. 279# 280depend fmri=consolidation/osnet/osnet-incorporation type=require 281depend fmri=__TBD pkg.debug.depend.file=doorfs pkg.debug.depend.path=kernel/sys/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/sys/amd64 pkg.debug.depend.path=platform/i86pc/kernel/sys/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/sys/amd64 pkg.debug.depend.path=usr/kernel/sys/amd64 pkg.debug.depend.reason=kernel/drv/amd64/vscan pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global 282depend fmri=__TBD pkg.debug.depend.file=libbsm.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/lib/vscan/vscand pkg.debug.depend.type=elf type=require 283depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/lib/vscan/vscand pkg.debug.depend.type=elf type=require 284depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/sbin/vscanadm pkg.debug.depend.type=elf type=require 285depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/devfsadm/linkmod/SUNW_vscan_link.so pkg.debug.depend.type=elf type=require 286depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/vscan/libvscan.so.1 pkg.debug.depend.type=elf type=require 287depend fmri=__TBD pkg.debug.depend.file=libdevinfo.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/devfsadm/linkmod/SUNW_vscan_link.so pkg.debug.depend.type=elf type=require 288depend fmri=__TBD pkg.debug.depend.file=libm.so.2 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/vscan/libvscan.so.1 pkg.debug.depend.type=elf type=require 289depend fmri=__TBD pkg.debug.depend.file=libnsl.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/lib/vscan/vscand pkg.debug.depend.type=elf type=require 290depend fmri=__TBD pkg.debug.depend.file=libnsl.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/vscan/libvscan.so.1 pkg.debug.depend.type=elf type=require 291depend fmri=__TBD pkg.debug.depend.file=libscf.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/vscan/libvscan.so.1 pkg.debug.depend.type=elf type=require 292depend fmri=__TBD pkg.debug.depend.file=libsecdb.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/lib/vscan/vscand pkg.debug.depend.type=elf type=require 293depend fmri=__TBD pkg.debug.depend.file=libsecdb.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/vscan/libvscan.so.1 pkg.debug.depend.type=elf type=require 294depend fmri=__TBD pkg.debug.depend.file=libsocket.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/lib/vscan/vscand pkg.debug.depend.type=elf type=require 295depend fmri=__TBD pkg.debug.depend.file=libumem.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/lib/vscan pkg.debug.depend.reason=usr/lib/vscan/vscand pkg.debug.depend.type=elf type=require 296depend fmri=__TBD pkg.debug.depend.file=local-fs.xml pkg.debug.depend.path=lib/svc/manifest/system/filesystem pkg.debug.depend.reason=lib/svc/manifest/system/filesystem/vscan.xml pkg.debug.depend.type=smf_manifest type=require 297depend fmri=__TBD pkg.debug.depend.file=sockfs pkg.debug.depend.path=kernel/fs/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/fs/amd64 pkg.debug.depend.path=platform/i86pc/kernel/fs/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/fs/amd64 pkg.debug.depend.path=usr/kernel/fs/amd64 pkg.debug.depend.reason=kernel/drv/amd64/vscan pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global 298set name=org.opensolaris.smf.fmri value=svc:/system/filesystem/vscan value=svc:/system/filesystem/vscan:icap 299