diff options
Diffstat (limited to 'usr/src/pkgdefs/SUNWscmr')
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/Makefile | 35 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/depend | 48 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/pkginfo.tmpl | 48 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/postinstall | 41 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/prototype_com | 57 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/prototype_i386 | 49 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/prototype_sparc | 46 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWscmr/space | 25 |
8 files changed, 349 insertions, 0 deletions
diff --git a/usr/src/pkgdefs/SUNWscmr/Makefile b/usr/src/pkgdefs/SUNWscmr/Makefile new file mode 100644 index 0000000000..335783722a --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/Makefile @@ -0,0 +1,35 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# + +include ../Makefile.com + +DATAFILES += i.manifest r.manifest + +.KEEP_STATE: + +all: $(FILES) depend postinstall +install: all pkg + +include ../Makefile.targ diff --git a/usr/src/pkgdefs/SUNWscmr/depend b/usr/src/pkgdefs/SUNWscmr/depend new file mode 100644 index 0000000000..987feabc99 --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/depend @@ -0,0 +1,48 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# This package information file defines software dependencies associated +# with the pkg. You can define three types of pkg dependencies with this file: +# P indicates a prerequisite for installation +# I indicates an incompatible package +# R indicates a reverse dependency +# <pkg.abbr> see pkginfo(4), PKG parameter +# <name> see pkginfo(4), NAME parameter +# <version> see pkginfo(4), VERSION parameter +# <arch> see pkginfo(4), ARCH parameter +# <type> <pkg.abbr> <name> +# (<arch>)<version> +# (<arch>)<version> +# ... +# <type> <pkg.abbr> <name> +# ... +P SUNWcar Core Architecture, (Root) +P SUNWcakr Core Solaris Kernel Architecture (Root) +P SUNWkvm Core Architecture, (Kvm) +P SUNWcsr Core Solaris, (Root) +P SUNWckr Core Solaris Kernel (Root) +P SUNWcnetr Core Solaris Network Infrastructure (Root) +P SUNWcsu Core Solaris, (Usr) +P SUNWcsd Core Solaris Devices +P SUNWcsl Core Solaris Libraries diff --git a/usr/src/pkgdefs/SUNWscmr/pkginfo.tmpl b/usr/src/pkgdefs/SUNWscmr/pkginfo.tmpl new file mode 100644 index 0000000000..fc294c2878 --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/pkginfo.tmpl @@ -0,0 +1,48 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# +# This required package information file describes characteristics of the +# package, such as package abbreviation, full package name, package version, +# and package architecture. +# +PKG="SUNWscmr" +NAME="Sun StorageTek Availability Suite Cache Management (root)" +ARCH="ISA" +CATEGORY="system" +BASEDIR=/ +SUNW_PKGVERS="1.0" +SUNW_PKGTYPE="root" +CLASSES="manifest none" +DESC="Storage Cache Management of read-only bitmap volumes" +SUNW_PRODNAME="SunOS" +SUNW_PRODVERS="RELEASE/VERSION" +VERSION="ONVERS,REV=0.0.0" +VENDOR="Sun Microsystems, Inc." +HOTLINE="Please contact your local service provider" +EMAIL="" +MAXINST="1000" +SUNW_PKG_ALLZONES="true" +SUNW_PKG_HOLLOW="true" +SUNW_PKG_THISZONE="false" diff --git a/usr/src/pkgdefs/SUNWscmr/postinstall b/usr/src/pkgdefs/SUNWscmr/postinstall new file mode 100644 index 0000000000..e561976ae2 --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/postinstall @@ -0,0 +1,41 @@ +#!/sbin/sh +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# + +########################## SET GLOBAL VARIABLES ###################### + +# set path +PATH=usr/sadm/bin:/usr/bin:/usr/sbin:/sbin/sh +export PATH + +# set Upgrade script +UPGR_SCRIPT=/tmp/upgr.$PKGINST + +######################### MAIN UPGRADE PROCESSING #################### + +if [ -f $UPGR_SCRIPT ]; then + sh $UPGR_SCRIPT & +fi + +exit 0 diff --git a/usr/src/pkgdefs/SUNWscmr/prototype_com b/usr/src/pkgdefs/SUNWscmr/prototype_com new file mode 100644 index 0000000000..4e859e067a --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/prototype_com @@ -0,0 +1,57 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# This required package information file contains a list of package contents. +# The 'pkgmk' command uses this file to identify the contents of a package +# and their location on the development machine when building the package. +# Can be created via a text editor or through use of the 'pkgproto' command. + +#!include <filename> # include another 'prototype' file +#!default <mode> <owner> <group> # default used if not specified on entry +#!<param>=<value> # puts parameter in pkg environment + +# packaging files +i pkginfo +i copyright +i depend +i postinstall +i space +i i.manifest +i r.manifest + +d none etc 0755 root sys +f none etc/dscfg_format=etc/dscfg_format 0744 root sys + +d none lib 0755 root bin +d none lib/svc 0755 root bin +d none lib/svc/method 0755 root bin +f none lib/svc/method/svc-scm=etc/init.d/scm 0744 root bin + +d none kernel 0755 root sys +d none kernel/kmdb 755 root sys + +d none var 0755 root sys +d none var/svc 0755 root sys +d none var/svc/manifest 0755 root sys +d none var/svc/manifest/system 0755 root sys +f manifest var/svc/manifest/system/nws_scm.xml=usr/lib/nws_scm.xml 0444 root sys diff --git a/usr/src/pkgdefs/SUNWscmr/prototype_i386 b/usr/src/pkgdefs/SUNWscmr/prototype_i386 new file mode 100644 index 0000000000..a6eb7db545 --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/prototype_i386 @@ -0,0 +1,49 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# This required package information file contains a list of package contents. +# The 'pkgmk' command uses this file to identify the contents of a package +# and their location on the development machine when building the package. +# Can be created via a text editor or through use of the 'pkgproto' command. + +#!search <pathname pathname ...> # where to find pkg objects +#!include <filename> # include another 'prototype' file +#!default <mode> <owner> <group> # default used if not specified on entry +#!<param>=<value> # puts parameter in pkg environment + +# +# Include ISA independent files (prototype_com) +# +!include prototype_com +# +# +# List files which are Intel specific here +# +# source locations relative to the prototype file +# +d none kernel/kmdb/amd64 755 root sys +f none kernel/kmdb/amd64/nsctl 555 root sys +f none kernel/kmdb/nsctl 555 root sys +f none kernel/kmdb/amd64/sdbc 555 root sys +f none kernel/kmdb/sdbc 555 root sys diff --git a/usr/src/pkgdefs/SUNWscmr/prototype_sparc b/usr/src/pkgdefs/SUNWscmr/prototype_sparc new file mode 100644 index 0000000000..b3b054f06f --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/prototype_sparc @@ -0,0 +1,46 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# This required package information file contains a list of package contents. +# The 'pkgmk' command uses this file to identify the contents of a package +# and their location on the development machine when building the package. +# Can be created via a text editor or through use of the 'pkgproto' command. + +#!search <pathname pathname ...> # where to find pkg objects +#!include <filename> # include another 'prototype' file +#!default <mode> <owner> <group> # default used if not specified on entry +#!<param>=<value> # puts parameter in pkg environment +# +# Include ISA independent files (prototype_com) +# +!include prototype_com +# +# +# List files which are SPARC specific here +# +# source locations relative to the prototype file +# +d none kernel/kmdb/sparcv9 0755 root sys +f none kernel/kmdb/sparcv9/nsctl 0555 root sys +f none kernel/kmdb/sparcv9/sdbc 0555 root sys diff --git a/usr/src/pkgdefs/SUNWscmr/space b/usr/src/pkgdefs/SUNWscmr/space new file mode 100644 index 0000000000..060ccba04e --- /dev/null +++ b/usr/src/pkgdefs/SUNWscmr/space @@ -0,0 +1,25 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# path blocks inodes +etc/ 1 1 |