8166 put sharemgr panel in a separate package
authorDavid Powell <David.Powell@sun.com>
Tue, 14 Apr 2009 17:43:25 -0700
changeset 281 80481fe28fe8
parent 280 f3268fe7d57a
child 282 fdae7ad420be
8166 put sharemgr panel in a separate package
usr/src/pkgdefs/OSOLvpin-sharemgr/Makefile
usr/src/pkgdefs/OSOLvpin-sharemgr/copyright
usr/src/pkgdefs/OSOLvpin-sharemgr/pkginfo
usr/src/pkgdefs/OSOLvpin-sharemgr/prototype_com
usr/src/pkgdefs/OSOLvpin-sharemgr/prototype_i386
usr/src/pkgdefs/OSOLvpin-sharemgr/prototype_sparc
usr/src/pkgdefs/OSOLvpin/prototype_com
usr/src/pkgdefs/publish.ksh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/OSOLvpin-sharemgr/Makefile	Tue Apr 14 17:43:25 2009 -0700
@@ -0,0 +1,31 @@
+#
+# 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 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+
+include ../Makefile.env
+
+install: all pkg
+
+include ../Makefile.targ
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/OSOLvpin-sharemgr/copyright	Tue Apr 14 17:43:25 2009 -0700
@@ -0,0 +1,24 @@
+
+Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+Use is subject to license terms.
+
+--------------------------------------------------------------------
+
+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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/OSOLvpin-sharemgr/pkginfo	Tue Apr 14 17:43:25 2009 -0700
@@ -0,0 +1,41 @@
+#
+# 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 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+PKG="OSOLvpin-sharemgr"
+NAME="Visual Panels Sharemgr Panel"
+ARCH="ISA"
+VERSION="1.0.0"
+MAXINST="1000"
+CATEGORY="system"
+DESC="Visual Panels Sharemgr Panel"
+VENDOR="http://www.opensolaris.org/os/project/vpanels/"
+HOTLINE="[email protected]"
+EMAIL="[email protected]"
+CLASSES="none"
+BASEDIR="/"
+SUNW_PKGVERS="1.0"
+SUNW_PRODNAME=SunOS
+SUNW_PKGTYPE=root
+SUNW_PRODVERS=5.11/vpanels-gate
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/OSOLvpin-sharemgr/prototype_com	Tue Apr 14 17:43:25 2009 -0700
@@ -0,0 +1,51 @@
+#
+# 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 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+
+# packaging files
+i pkginfo
+i copyright
+
+d none etc 755 root sys
+d none etc/cacao 755 root sys
+d none etc/cacao/instances 755 root sys
+d none etc/cacao/instances/default 755 root sys
+d none etc/cacao/instances/default/modules 755 root sys
+f none etc/cacao/instances/default/modules/org.opensolaris.os.vp.panels.sharemgr.server.module.SharemgrModule.xml 644 root sys
+
+d none usr/lib 755 root bin
+f none usr/lib/libshare_jni.so.1 755 root bin
+
+# Technically these jars aren't public, but these locations are referenced by
+# the Indiana hooks.
+d none usr/share/lib 755 root sys
+d none usr/share/lib/java 755 root sys
+s none usr/share/lib/java/vpanels-panels-sharemgr.jar=../../vpanels/panel/vpanels-panels-sharemgr.jar 755 root sys
+
+d none usr/share/vpanels 755 root sys
+d none usr/share/vpanels/panel 755 root sys
+f none usr/share/vpanels/panel/vpanels-panels-sharemgr.jar 644 root sys
+d none usr/share/vpanels/panels 755 root sys
+f none usr/share/vpanels/panels/sharemgr.xml 444 root sys
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/OSOLvpin-sharemgr/prototype_i386	Tue Apr 14 17:43:25 2009 -0700
@@ -0,0 +1,27 @@
+#
+# 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 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+
+!include prototype_com
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/OSOLvpin-sharemgr/prototype_sparc	Tue Apr 14 17:43:25 2009 -0700
@@ -0,0 +1,27 @@
+#
+# 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 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+
+!include prototype_com
--- a/usr/src/pkgdefs/OSOLvpin/prototype_com	Tue Apr 14 12:38:31 2009 -0400
+++ b/usr/src/pkgdefs/OSOLvpin/prototype_com	Tue Apr 14 17:43:25 2009 -0700
@@ -33,7 +33,6 @@
 d none etc/cacao/instances 755 root sys
 d none etc/cacao/instances/default 755 root sys
 d none etc/cacao/instances/default/modules 755 root sys
-f none etc/cacao/instances/default/modules/org.opensolaris.os.vp.panels.sharemgr.server.module.SharemgrModule.xml 644 root sys
 f none etc/cacao/instances/default/modules/org.opensolaris.os.vp.panels.time.server.module.TimeModule.xml 644 root sys
 f none etc/cacao/instances/default/modules/org.opensolaris.os.vp.server.module.main.VisualPanelsModule.xml 644 root sys
 f none etc/cacao/instances/default/modules/org.opensolaris.os.vp.server.module.proxy.ProxyModule.xml 644 root sys
@@ -67,7 +66,6 @@
 d none usr/share/lib 755 root sys
 d none usr/share/lib/java 755 root sys
 s none usr/share/lib/java/vpanels-client.jar=../../vpanels/vpanels-client.jar 755 root sys
-s none usr/share/lib/java/vpanels-panels-sharemgr.jar=../../vpanels/panel/vpanels-panels-sharemgr.jar 755 root sys
 s none usr/share/lib/java/vpanels-panels-smf.jar=../../vpanels/panel/vpanels-panels-smf.jar 755 root sys
 d none usr/share/lib/xml 755 root sys
 d none usr/share/lib/xml/dtd 755 root sys
@@ -77,12 +75,10 @@
 f none usr/share/vpanels/TimingFramework-1.0.jar 644 root sys
 d none usr/share/vpanels/panel 755 root sys
 f none usr/share/vpanels/panel/vpanels-panels-coreadm.jar 644 root sys
-f none usr/share/vpanels/panel/vpanels-panels-sharemgr.jar 644 root sys
 f none usr/share/vpanels/panel/vpanels-panels-smf.jar 644 root sys
 f none usr/share/vpanels/panel/vpanels-panels-time.jar 644 root sys
 d none usr/share/vpanels/panels 755 root sys
 f none usr/share/vpanels/panels/coreadm.xml 444 root sys
-f none usr/share/vpanels/panels/sharemgr.xml 444 root sys
 f none usr/share/vpanels/panels/smf.xml 444 root sys
 f none usr/share/vpanels/panels/time.xml 444 root sys
 f none usr/share/vpanels/scf-common.jar 644 root sys
--- a/usr/src/pkgdefs/publish.ksh	Tue Apr 14 12:38:31 2009 -0400
+++ b/usr/src/pkgdefs/publish.ksh	Tue Apr 14 17:43:25 2009 -0700
@@ -69,3 +69,9 @@
 pkgsend add depend type=require fmri=pkg:/SUNWapch22m-php52
 pkgsend import OSOLvpin-apache
 pkgsend close
+
+eval `pkgsend open pkg:/OSOLvpanels-sharemgr@$VERSION`
+pkgsend add set name=classification value="Applications/Configuration and Preferences"
+pkgsend add depend type=require fmri=pkg:/OSOLvpanels@$VERSION
+pkgsend import OSOLvpin-sharemgr
+pkgsend close