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