changeset 11027:331e3aa86967 onnv_128

6885330 print package refactoring
author Gowtham Thommandra <Gowtham.Thommandra@Sun.COM>
date Tue, 10 Nov 2009 12:13:02 +0530
parents e8e10df16a8f
children 9c19063d1903
files usr/src/cmd/print/bsd-sysv-commands/rfc1179.xml usr/src/pkgdefs/Makefile usr/src/pkgdefs/SUNWlp-cmds/Makefile usr/src/pkgdefs/SUNWlp-cmds/pkginfo.tmpl usr/src/pkgdefs/SUNWlp-cmds/prototype_com usr/src/pkgdefs/SUNWlp-cmds/prototype_i386 usr/src/pkgdefs/SUNWlp-cmds/prototype_sparc usr/src/pkgdefs/SUNWlpr-cmds/Makefile usr/src/pkgdefs/SUNWlpr-cmds/pkginfo.tmpl usr/src/pkgdefs/SUNWlpr-cmds/prototype_com usr/src/pkgdefs/SUNWlpr-cmds/prototype_i386 usr/src/pkgdefs/SUNWlpr-cmds/prototype_sparc usr/src/pkgdefs/SUNWpcr/Makefile usr/src/pkgdefs/SUNWpcr/pkginfo.tmpl usr/src/pkgdefs/SUNWpcr/postinstall.tmpl usr/src/pkgdefs/SUNWpcr/preremove usr/src/pkgdefs/SUNWpcr/prototype_com usr/src/pkgdefs/SUNWpcr/prototype_i386 usr/src/pkgdefs/SUNWpcr/prototype_sparc usr/src/pkgdefs/SUNWpcu/Makefile usr/src/pkgdefs/SUNWpcu/prototype_com usr/src/pkgdefs/SUNWppm/Makefile usr/src/pkgdefs/SUNWppmr/Makefile usr/src/pkgdefs/SUNWppmr/depend usr/src/pkgdefs/SUNWppmr/pkginfo.tmpl usr/src/pkgdefs/SUNWppmr/postinstall usr/src/pkgdefs/SUNWppmr/preinstall usr/src/pkgdefs/SUNWppmr/prototype_com usr/src/pkgdefs/SUNWppmr/prototype_i386 usr/src/pkgdefs/SUNWppmr/prototype_sparc usr/src/pkgdefs/SUNWpsr/depend usr/src/pkgdefs/SUNWpsr/postinstall usr/src/pkgdefs/SUNWpsr/preinstall usr/src/pkgdefs/SUNWpsr/prototype_com usr/src/pkgdefs/SUNWpsu/prototype_com usr/src/pkgdefs/SUNWscplp/depend
diffstat 36 files changed, 446 insertions(+), 1044 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/print/bsd-sysv-commands/rfc1179.xml	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/cmd/print/bsd-sysv-commands/rfc1179.xml	Tue Nov 10 12:13:02 2009 +0530
@@ -30,7 +30,7 @@
 	file.
 -->
 
-<service_bundle type='manifest' name='SUNWpcr:rfc1179'>
+<service_bundle type='manifest' name='SUNWpsr:rfc1179'>
 
 <service
     name='application/print/rfc1179'
--- a/usr/src/pkgdefs/Makefile	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/Makefile	Tue Nov 10 12:13:02 2009 +0530
@@ -333,8 +333,6 @@
 	SUNWllc \
 	SUNWllcr\
 	SUNWlldap \
-	SUNWlp-cmds \
-	SUNWlpr-cmds \
 	SUNWkey  \
 	SUNWloc  \
 	SUNWluxop \
@@ -386,7 +384,6 @@
 	SUNWpcmci  \
 	SUNWpcmcu  \
 	SUNWpcmem \
-	SUNWpcr	\
 	SUNWpcser \
 	SUNWpcu	\
 	SUNWpcwl \
@@ -404,6 +401,7 @@
 	SUNWpoolr \
 	SUNWpowertop \
 	SUNWppm \
+	SUNWppmr \
 	SUNWpppd \
 	SUNWpppdu \
 	SUNWpppdr \
--- a/usr/src/pkgdefs/SUNWlp-cmds/Makefile	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-#
-# 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.
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-include ../Makefile.com
-
-DATAFILES += depend
-CLEANFILES += action
-
-ACTION=grep SUNWpapi depend > /dev/null || \
-	( chmod 666 depend; \
-	echo "P SUNWpapi      Free Standards Group Open Printing API" >> depend; \
-	chmod 444 depend );
-
-.KEEP_STATE:
-
-all: $(FILES) action
-install: all pkg
-
-# action is a pseudotarget denoting completed work on the depend file
-action: depend
-	$(ACTION)
-	touch $@
-
-include ../Makefile.targ
-include ../Makefile.prtarg
--- a/usr/src/pkgdefs/SUNWlp-cmds/pkginfo.tmpl	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWlp-cmds"
-NAME="System V LP commands"
-ARCH="ISA"
-VERSION="ONVERS,REV=0.0.0"
-SUNW_PRODNAME="SunOS"
-SUNW_PRODVERS="RELEASE/VERSION"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="System V LP commands using the FSG OpenPrinting API (PAPI)"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#PSTAMP="<developer defined>"
-#INTONLY="<developer defined>"
--- a/usr/src/pkgdefs/SUNWlp-cmds/prototype_com	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-#
-#
-# 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.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-#
-# 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
-
-# packaging files
-i pkginfo
-i copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWpapi-lp-cmds
-#
-d none usr 755 root sys
-d none usr/bin 755 root bin
-s none usr/bin/cancel=../sbin/print-service
-s none usr/bin/disable=../sbin/print-service
-s none usr/bin/enable=../sbin/print-service
-s none usr/bin/lp=../sbin/print-service
-s none usr/bin/lpstat=../sbin/print-service
-d none usr/sbin 755 root bin
-s none usr/sbin/accept=./print-service
-s none usr/sbin/lpmove=./print-service
-s none usr/sbin/reject=./print-service
--- a/usr/src/pkgdefs/SUNWlp-cmds/prototype_i386	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-#
-# 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 I386 specific here
-#
-# source locations relative to the prototype file
-#
-#
-# SUNWpapi-lp-cmds
-#
--- a/usr/src/pkgdefs/SUNWlp-cmds/prototype_sparc	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-#
-# 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
-#
-#
-# SUNWpapi-lp-cmds
-#
--- a/usr/src/pkgdefs/SUNWlpr-cmds/Makefile	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-#
-# 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.
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-include ../Makefile.com
-
-DATAFILES += depend
-CLEANFILES += action
-
-ACTION=grep SUNWpapi depend > /dev/null || \
-	( chmod 666 depend; \
-	echo "P SUNWpapi      Free Standards Group Open Printing API" >> depend; \
-	chmod 444 depend );
-
-.KEEP_STATE:
-
-all: $(FILES) action
-install: all pkg
-
-# action is a pseudotarget denoting completed work on the depend file
-action: depend
-	$(ACTION)
-	touch $@
-
-include ../Makefile.targ
-include ../Makefile.prtarg
--- a/usr/src/pkgdefs/SUNWlpr-cmds/pkginfo.tmpl	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWlpr-cmds"
-NAME="Berkeley LPR commands"
-ARCH="ISA"
-VERSION="ONVERS,REV=0.0.0"
-SUNW_PRODNAME="SunOS"
-SUNW_PRODVERS="RELEASE/VERSION"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Berkeley LPR commands using the FSG OpenPrinting API (PAPI)"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#PSTAMP="<developer defined>"
-#INTONLY="<developer defined>"
--- a/usr/src/pkgdefs/SUNWlpr-cmds/prototype_com	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-#
-# 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.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-#
-# 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
-
-# packaging files
-i pkginfo
-i copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWpapi-lpr-cmds
-#
-d none usr 755 root sys
-d none usr/bin 755 root bin 
-s none usr/bin/lpc=../sbin/print-service
-s none usr/bin/lpq=../sbin/print-service
-s none usr/bin/lpr=../sbin/print-service
-s none usr/bin/lprm=../sbin/print-service
--- a/usr/src/pkgdefs/SUNWlpr-cmds/prototype_i386	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-#
-# 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 I386 specific here
-#
-# source locations relative to the prototype file
-#
-#
-# SUNWpapi-lpr-cmds
-#
--- a/usr/src/pkgdefs/SUNWlpr-cmds/prototype_sparc	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-#
-# 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
-#
-#
-# SUNWpapi-lpr-cmds
-#
--- a/usr/src/pkgdefs/SUNWpcr/Makefile	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (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 2004 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
-
-include ../Makefile.com
-
-TMPLFILES += postinstall
-DATAFILES += i.manifest r.manifest i.preserve depend
-
-ACTION=grep SUNWlpr depend > /dev/null || \
-	( chmod 666 depend; \
-	echo "I SUNWlpr	LP Print Service, (root)" >> depend; \
-	chmod 444 depend );
-
-.KEEP_STATE:
-
-all: $(FILES) action
-
-install: all pkg
-
-# action is a pseudotarget denoting completed work on the depend file
-action: depend
-	$(ACTION)
-	touch $@
-
-include ../Makefile.targ
-include ../Makefile.prtarg
--- a/usr/src/pkgdefs/SUNWpcr/pkginfo.tmpl	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-#
-# 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 2006 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWpcr"
-NAME="Solaris Print - Client, (root)"
-ARCH="ISA"
-# this should be changed to ONVERS when ON catches up to the version number
-VERSION="13.1,REV=0.0.0"
-SUNW_PRODNAME="SunOS"
-SUNW_PRODVERS="RELEASE/VERSION"
-SUNW_PKGTYPE="root"
-MAXINST="1000"
-CATEGORY="system"
-DESC="client configuration files and utilities for the print service"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none preserve manifest"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#PSTAMP="<developer defined>"
-#INTONLY="<developer defined>"
--- a/usr/src/pkgdefs/SUNWpcr/postinstall.tmpl	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,112 +0,0 @@
-#/bin/sh
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-# 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.
-#
-
-#    Deconfigure the old SAF Listeners
-#
-PMTAB=$BASEDIR/etc/saf/tcp/_pmtab
-if [ -f $PMTAB ] ; then
-    sed -e '/^lp:/D' -e '/^lpd:/D' -e '/^0:/D' $PMTAB >/tmp/t.$$
-    cp /tmp/t.$$ $PMTAB
-fi
-
-#    Convert the old LP configuration for Client use
-#
-PCONF=$BASEDIR/etc/printers.conf
-LP_DIR=$BASEDIR/etc/lp
-
-egrep -v -c -e "^#" ${PCONF} 2>/dev/null 1>/dev/null
-STATUS=$?
-
-if [ -d ${LP_DIR} -a ${STATUS} -ne 0 ] ; then
-    # get the default printer
-    if [ -f ${LP_DIR}/default ] ; then
-        DEFAULT=`cat ${LP_DIR}/default`
-        #echo "Default: ${DEFAULT}"
-    fi    
-
-    cat <<EOF >/tmp/p.$$
-#
-#        Printers.conf derived from converted LP configuration data
-#        during package installation.  All future updates should be
-#        performed using lpadmin(1M) or lpset(1M)
-#
-EOF
-
-    if [ -d ${LP_DIR}/printers ] ; then
-        cd ${LP_DIR}/printers
-        for PRINTER in * ; do
-            if [ "${PRINTER}" = "*" ] ; then
-                continue
-            fi
-
-            #echo "Convert: ${PRINTER}"
-
-            DEVICE=`grep Device: ${PRINTER}/configuration 2>/dev/null`
-            STATUS=$?
-            DEVICE=`echo ${DEVICE} | sed -e "s/^Device: //"`
-            if [ $STATUS -eq 0 ] ; then
-                ADDR="`uname -n`,${PRINTER},Solaris:"
-                #echo "	is local (${ADDR})"
-            fi
-
-            REMOTE=`grep Remote: ${PRINTER}/configuration 2>/dev/null`
-            STATUS=$?
-            REMOTE=`echo ${REMOTE} | sed -e "s/^Remote: //"`
-            if [ $STATUS -eq 0 ] ; then
-                if [ `echo ${REMOTE} | grep -c \!` -ne 0 ] ; then
-                    ADDR=`echo $REMOTE | sed -e 's/\!/,/g'`
-                else
-                    ADDR="${REMOTE},${PRINTER}"
-                fi
-                #echo "	is remote (${ADDR})"
-                # remove the remote printer config directory, there is no going
-                # back
-                rm -rf ${PRINTER} 2>/dev/null
-            fi
-
-            if [ -n "${ADDR}" ] ; then
-                if [ -n "${DEFAULT}" -a "${DEFAULT}" = "${PRINTER}" ]; then
-                    echo "${PRINTER}|_default:\\" >>/tmp/p.$$
-                else
-                    echo "${PRINTER}:\\" >>/tmp/p.$$
-                fi
-                echo "	:bsdaddr=${ADDR}:" >>/tmp/p.$$
-            fi
-        done
-    fi
-    cp /tmp/p.$$ ${PCONF}
-fi
-
-# This works around the problem of legacy cleanup service removal until
-# r.manifest is fixed to work on alternate pkg root.
-if [ "${PKG_INSTALL_ROOT:-/}" != "/" ] ; then
-        echo "/usr/sbin/svccfg delete -f svc:/application/print/cleanup 2>/dev/null" >> \
-            $BASEDIR/var/svc/profile/upgrade
-fi
-
-
-exit 0
--- a/usr/src/pkgdefs/SUNWpcr/preremove	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-#!/bin/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 2007 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-
-# Remove ppdmgr created cache files
-/bin/rm -f $BASEDIR/var/lp/ppd/caches/*
-/bin/rm -f $BASEDIR/var/lp/ppd/ppdcache
-
-exit 0
--- a/usr/src/pkgdefs/SUNWpcr/prototype_com	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-#
-# 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 2007 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-# 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
-
-# packaging files
-i pkginfo
-i copyright
-i depend
-i postinstall
-i preremove
-i i.preserve
-i i.manifest
-i r.manifest
-#
-# SUNWpcr - Solaris Print root files
-#
-d none etc 0755 root sys
-e preserve etc/printers.conf 0644 root sys
-d none var 755 root sys
-d none var/svc 755 root sys
-d none var/svc/manifest 755 root sys
-d none var/svc/manifest/application 755 root sys
-d none var/svc/manifest/application/print 755 root sys
-f manifest var/svc/manifest/application/print/rfc1179.xml 0444 root sys
-d none var/spool 755 root bin
-d none var/spool/print 0755 root lp
-d none var/lp 775 lp lp
-d none var/lp/ppd 755 root lp
-d none var/lp/ppd/caches 755 root lp
-f none var/lp/ppd/manufaliases 444 root lp
--- a/usr/src/pkgdefs/SUNWpcr/prototype_i386	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (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 (c) 1990-93 Sun Microsystems, Inc.
-#		All Rights Reserved
-#
-#	ident	"%Z%%M%	%I%	%E% SMI"
-#
-# 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 I386 specific here
-#
-# source locations relative to the prototype file
-#
-#
-# SUNWpcr
-#
--- a/usr/src/pkgdefs/SUNWpcr/prototype_sparc	Mon Nov 09 23:34:30 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (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 (c) 1990-93 Sun Microsystems, Inc.
-#		All Rights Reserved
-#
-#	ident	"%Z%%M%	%I%	%E% SMI"
-#
-# 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
-#
-#
-# SUNWpcr
-#
--- a/usr/src/pkgdefs/SUNWpcu/Makefile	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpcu/Makefile	Tue Nov 10 12:13:02 2009 +0530
@@ -19,10 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
 #
 
 include ../Makefile.com
@@ -30,10 +29,8 @@
 TMPLFILES += preremove
 DATAFILES += depend
 
-ACTION=grep SUNWpcr depend > /dev/null || \
+ACTION=grep SUNWlpu depend > /dev/null || \
 	( chmod 666 depend; \
-	echo "P SUNWpcr       Solaris Print - Client, (root)" >> depend; \
-	echo "P SUNWpapi      Free Standards Group Open Printing API" >> depend; \
 	echo "P SUNWperl584core SUNWperl584core Perl 5.8.4 (core)" >> depend; \
 	echo "I SUNWlpu       LP Print Service, (usr)" >> depend; \
 	chmod 444 depend );
--- a/usr/src/pkgdefs/SUNWpcu/prototype_com	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpcu/prototype_com	Tue Nov 10 12:13:02 2009 +0530
@@ -42,9 +42,6 @@
 #
 d none usr 0755 root sys
 d none usr/bin 0755 root bin
-f none usr/bin/lpget 0511 root lp
-f none usr/bin/lpset 4511 root lp
-f none usr/bin/lptest 555 root lp
 s none usr/bin/desktop-print-management=../sbin/print-service
 f none usr/bin/desktop-print-management-applet 0555 root bin
 s none usr/bin/desktop-print-management-prefs=../sbin/print-service
@@ -54,14 +51,6 @@
 f none usr/lib/lp/bin/desktop-print-management-applet 0555 root bin
 f none usr/lib/lp/bin/desktop-print-management-prefs 0555 root bin
 f none usr/lib/lp/bin/desktop-print-management 0555 root bin
-f none usr/lib/libprint.so.2 0755 root bin
-s none usr/lib/libprint.so=./libprint.so.2
-d none usr/lib/print 0755 root lp
-f none usr/lib/print/Makefile.yp 0444 root lp
-f none usr/lib/print/in.lpd 0555 root bin
-f none usr/lib/print/conv_fix 0555 root lp
-f none usr/lib/print/conv_lp 0555 root lp
-f none usr/lib/print/conv_lpd 0555 root lp
 d none usr/sbin 0755 root bin
 s none usr/sbin/lpadmin=./print-service
 f none usr/sbin/print-service 0555 root bin
@@ -72,4 +61,17 @@
 d none usr/share/gnome 755 root other
 d none usr/share/gnome/autostart 755 root bin
 f none usr/share/gnome/autostart/desktop-print-management-applet.desktop 444 root bin
-
+#	lp-cmds
+s none usr/bin/cancel=../sbin/print-service
+s none usr/bin/disable=../sbin/print-service
+s none usr/bin/enable=../sbin/print-service
+s none usr/bin/lp=../sbin/print-service
+s none usr/bin/lpstat=../sbin/print-service
+s none usr/sbin/accept=./print-service
+s none usr/sbin/lpmove=./print-service
+s none usr/sbin/reject=./print-service
+# lpr-cmds
+s none usr/bin/lpc=../sbin/print-service
+s none usr/bin/lpq=../sbin/print-service
+s none usr/bin/lpr=../sbin/print-service
+s none usr/bin/lprm=../sbin/print-service
--- a/usr/src/pkgdefs/SUNWppm/Makefile	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWppm/Makefile	Tue Nov 10 12:13:02 2009 +0530
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# 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.
@@ -19,11 +18,8 @@
 #
 # CDDL HEADER END
 #
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
 #
 
 include ../Makefile.com
@@ -32,7 +28,7 @@
 
 ACTION= \
 	( chmod 666 depend; \
-	echo "P SUNWpcu		Solaris Print - Client, (usr)" >> depend; \
+	echo "P SUNWpsu		Solaris Print - LP Server, (usr)" >> depend; \
 	echo "P SUNWrcmdc	Remote Network Client Commands" >> depend; \
 	chmod 444 depend );
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/Makefile	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,36 @@
+#
+# 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.com
+
+DATAFILES += i.manifest r.manifest
+
+.KEEP_STATE:
+
+all: $(FILES)
+install: all pkg
+
+include ../Makefile.targ
+include ../Makefile.prtarg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/depend	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,53 @@
+#
+# 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
+#
+# 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
+P SUNWcslr	Core Solaris Libraries (Root)
+I SUNWlpr	LP Print Service, (root)
+P SUNWppm	Solaris Print Manager
+P SUNWpsr	Solaris Print - LP Server, (root)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/pkginfo.tmpl	Tue Nov 10 12:13:02 2009 +0530
@@ -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.
+#
+#
+
+#
+# This required package information file describes characteristics of the
+# package, such as package abbreviation, full package name, package version,
+# and package architecture.
+#
+PKG=SUNWppmr
+NAME="Solaris Print Manager (Root)"
+ARCH="ISA"
+VERSION="ONVERS,REV=0.0.0"
+SUNW_PRODNAME="SunOS"
+SUNW_PRODVERS="RELEASE/VERSION"
+SUNW_PKGTYPE="root"
+MAXINST=1000
+CATEGORY=system
+DESC="Graphical tool for managing printers under Solaris."
+VENDOR=Sun Microsystems, Inc.
+HOTLINE=Please contact your local service provider
+EMAIL=
+CLASSES="none manifest"
+BASEDIR=/
+SUNW_PKGVERS="1.0"
+SUNW_PKG_ALLZONES="true"
+SUNW_PKG_HOLLOW="false"
+SUNW_PKG_THISZONE="false"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/postinstall	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,62 @@
+#
+# 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.
+#
+#
+
+#
+# If appropriate, enable this service.
+#
+BASEPREFIX=`echo $BASEDIR | sed "s/\//_/g"`
+
+PPDFILENAME=`echo sunwppmr_ppd_cache_update"$BASEPREFIX" | cut -c 1-256`
+PPDTMPFILE=/tmp/$PPDFILENAME
+if [ -f $PPDTMPFILE ] ; then
+
+	# Enable the ppd-cache-update service.
+	echo "/usr/sbin/svcadm enable application/print/ppd-cache-update" >> \
+	    $BASEDIR/var/svc/profile/upgrade
+
+	# Ensure pre-existing printer configuration files with an
+	# old system PPD file delivery location are updated to
+	# reflect the newest location of PPD files.
+	NEW_PATH=/usr/share/ppd
+	if [ -d $NEW_PATH ] ; then
+		OLD_PATH=/usr/lib/lp/model/ppd/system
+		PNTRS=$BASEDIR/etc/lp/printers
+		for f in `/bin/find $PNTRS -name configuration 2>/dev/null` ; do
+		    /bin/grep ${OLD_PATH} ${f} >/dev/null 2>&1
+			if [ $? -eq 0 ] ; then
+				/bin/sed \
+		    -e "s;${OLD_PATH}/foomatic;${NEW_PATH}/SUNWfoomatic;g" \
+		    -e "s;${OLD_PATH}/gimp;${NEW_PATH}/SUNWgimp;g" \
+                    -e "s;${OLD_PATH}/hpijs;${NEW_PATH}/SUNWhpijs;g" \
+		    ${f} >/tmp/lp.$$
+				/bin/mv -f /tmp/lp.$$ ${f}
+			fi
+		done
+		rm $PPDTMPFILE
+	fi
+fi
+
+exit 0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/preinstall	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,45 @@
+#
+# 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.
+#
+#
+
+if [ "$UPDATE" = "yes" ]; then
+	BASEPREFIX=`echo $BASEDIR | sed "s/\//_/g"`
+
+	MANIFESTDIR="$BASEDIR/var/svc/manifest/application/print"
+	PPDFILENAME=`echo sunwppmr_ppd_cache_update"$BASEPREFIX" | cut -c 1-256`
+	PPDTMPFILE=/tmp/$PPDFILENAME
+
+	if [ -f $PPDTMPFILE ] ; then
+		rm $PPDTMPFILE
+	fi
+
+	#
+	# If we are upgrading a system with ppd-cache-update service already
+	# installed, then don't take any action in postinstall script.
+	#
+	if [ ! -f $MANIFESTDIR/ppd-cache-update.xml ] ; then
+		touch $PPDTMPFILE
+	fi
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/prototype_com	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,59 @@
+#
+# 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.
+#
+
+# 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
+#!default 0711 root bin
+
+# packaging files
+i pkginfo
+i copyright
+i depend
+
+#
+# source locations relative to the prototype file
+#
+# SUNWppmr
+#
+
+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/ppd-cache-update 0555 root bin
+d none var 755 root sys
+d none var/lp 775 lp lp
+d none var/lp/ppd 755 root lp
+d none var/lp/ppd/caches 755 root lp
+d none var/svc 755 root sys
+d none var/svc/manifest 755 root sys
+d none var/svc/manifest/application 755 root sys
+d none var/svc/manifest/application/print 755 root sys
+f manifest var/svc/manifest/application/print/ppd-cache-update.xml 0444 root sys
+f none var/lp/ppd/manufaliases 444 root lp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/prototype_i386	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,47 @@
+#
+# 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.
+#
+# 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 I386 specific here
+#
+# source locations relative to the prototype file
+#
+#
+# SUNWppmr
+#
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/pkgdefs/SUNWppmr/prototype_sparc	Tue Nov 10 12:13:02 2009 +0530
@@ -0,0 +1,47 @@
+#
+# 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.
+#
+# 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
+#
+#
+# SUNWppmr
+#
--- a/usr/src/pkgdefs/SUNWpsr/depend	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpsr/depend	Tue Nov 10 12:13:02 2009 +0530
@@ -48,6 +48,4 @@
 P SUNWcsd	Core Solaris Devices
 P SUNWcsl	Core Solaris Libraries
 P SUNWcslr	Core Solaris Libraries (Root)
-P SUNWpcr	Solaris Print - Client, (root)
-P SUNWppm	Solaris Print Manager
 I SUNWlpr	LP Print Service, (root)
--- a/usr/src/pkgdefs/SUNWpsr/postinstall	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpsr/postinstall	Tue Nov 10 12:13:02 2009 +0530
@@ -19,10 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
 #
 
 #
@@ -37,34 +36,4 @@
 	rm $LPTMPFILE
 fi
 
-PPDFILENAME=`echo sunwpsr_ppd_cache_update"$BASEPREFIX" | cut -c 1-256`
-PPDTMPFILE=/tmp/$PPDFILENAME
-if [ -f $PPDTMPFILE ] ; then
-
-	# Enable the ppd-cache-update service.
-	echo "/usr/sbin/svcadm enable application/print/ppd-cache-update" >> \
-	    $BASEDIR/var/svc/profile/upgrade
-
-	# Ensure pre-existing printer configuration files with an
-	# old system PPD file delivery location are updated to
-	# reflect the newest location of PPD files.
-	NEW_PATH=/usr/share/ppd
-	if [ -d $NEW_PATH ] ; then
-		OLD_PATH=/usr/lib/lp/model/ppd/system
-		PNTRS=$BASEDIR/etc/lp/printers
-		for f in `/bin/find $PNTRS -name configuration 2>/dev/null` ; do
-		    /bin/grep ${OLD_PATH} ${f} >/dev/null 2>&1
-			if [ $? -eq 0 ] ; then
-				/bin/sed \
-		    -e "s;${OLD_PATH}/foomatic;${NEW_PATH}/SUNWfoomatic;g" \
-		    -e "s;${OLD_PATH}/gimp;${NEW_PATH}/SUNWgimp;g" \
-                    -e "s;${OLD_PATH}/hpijs;${NEW_PATH}/SUNWhpijs;g" \
-		    ${f} >/tmp/lp.$$
-				/bin/mv -f /tmp/lp.$$ ${f}
-			fi
-		done
-		rm $PPDTMPFILE
-	fi
-fi
-
 exit 0
--- a/usr/src/pkgdefs/SUNWpsr/preinstall	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpsr/preinstall	Tue Nov 10 12:13:02 2009 +0530
@@ -19,10 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
 #
 
 if [ "$UPDATE" = "yes" ]; then
@@ -30,16 +29,11 @@
 
 	MANIFESTDIR="$BASEDIR/var/svc/manifest/application/print"
 	LPFILENAME=`echo sunwpsr_lpsched"$BASEPREFIX" | cut -c 1-256`
-	PPDFILENAME=`echo sunwpsr_ppd_cache_update"$BASEPREFIX" | cut -c 1-256`
 	LPTMPFILE=/tmp/$LPFILENAME
-	PPDTMPFILE=/tmp/$PPDFILENAME
 
 	if [ -f $LPTMPFILE ] ; then
 		rm $LPTMPFILE
 	fi
-	if [ -f $PPDTMPFILE ] ; then
-		rm $PPDTMPFILE
-	fi
 
 	#
 	# If we are upgrading a system with smf(5) already installed, then we
@@ -54,11 +48,4 @@
 		fi
 	fi
 
-	#
-	# If we are upgrading a system with ppd-cache-update service already
-	# installed, then don't take any action in postinstall script.
-	#
-	if [ ! -f $MANIFESTDIR/ppd-cache-update.xml ] ; then
-		touch $PPDTMPFILE
-	fi
 fi
--- a/usr/src/pkgdefs/SUNWpsr/prototype_com	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpsr/prototype_com	Tue Nov 10 12:13:02 2009 +0530
@@ -20,11 +20,9 @@
 #
 
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 #
 # This required package information file contains a list of package contents.
 # The 'pkgmk' command uses this file to identify the contents of a package
@@ -59,8 +57,6 @@
 d none var/svc/manifest/application 755 root sys
 d none var/svc/manifest/application/print 755 root sys
 f manifest var/svc/manifest/application/print/server.xml 0444 root sys
-#	Manifest for updating the ppdcache
-f manifest var/svc/manifest/application/print/ppd-cache-update.xml 0444 root sys
 #	LP configuation
 d none etc 755 root sys
 d none etc/lp 775 lp lp
@@ -68,9 +64,9 @@
 d none etc/lp/forms 775 lp lp
 d none etc/lp/interfaces 775 lp lp
 s none etc/lp/logs=../../var/lp/logs
+d none etc/lp/ppd 775 lp lp
 d none etc/lp/printers 775 lp lp
 d none etc/lp/pwheels 775 lp lp
-d none etc/lp/ppd 775 lp lp
 #	filter descriptions
 d none etc/lp/fd 755 root lp
 f none etc/lp/fd/download.fd 644 root lp
@@ -108,6 +104,8 @@
 d none lib/svc 0755 root bin
 d none lib/svc/method 0755 root bin
 f none lib/svc/method/print-svc 0555 root bin
-#
-#	Method for updating the ppdcache
-f none lib/svc/method/ppd-cache-update 0555 root bin
+
+#	Solaris Print - Client (root)
+e preserve etc/printers.conf 0644 root sys
+f manifest var/svc/manifest/application/print/rfc1179.xml 0444 root sys
+d none var/spool/print 0755 root lp
--- a/usr/src/pkgdefs/SUNWpsu/prototype_com	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWpsu/prototype_com	Tue Nov 10 12:13:02 2009 +0530
@@ -19,10 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
 #
 # This required package information file contains a list of package contents.
 # The 'pkgmk' command uses this file to identify the contents of a package
@@ -246,3 +245,15 @@
 l none usr/share/lib/terminfo/a/att593eps=../../../../../usr/share/lib/terminfo/5/593eps
 l none usr/share/lib/terminfo/a/att593hp=../../../../../usr/share/lib/terminfo/5/593hp
 l none usr/share/lib/terminfo/a/att593ibm=../../../../../usr/share/lib/terminfo/5/593ibm
+#	Solaris Print - Client (usr)
+d none usr/bin 0755 root bin
+f none usr/bin/lpget 0511 root lp
+f none usr/bin/lpset 4511 root lp
+f none usr/bin/lptest 555 root lp
+f none usr/lib/libprint.so.2 0755 root bin
+s none usr/lib/libprint.so=./libprint.so.2
+f none usr/lib/print/Makefile.yp 0444 root lp
+f none usr/lib/print/in.lpd 0555 root bin
+f none usr/lib/print/conv_fix 0555 root lp
+f none usr/lib/print/conv_lp 0555 root lp
+f none usr/lib/print/conv_lpd 0555 root lp
--- a/usr/src/pkgdefs/SUNWscplp/depend	Mon Nov 09 23:34:30 2009 -0700
+++ b/usr/src/pkgdefs/SUNWscplp/depend	Tue Nov 10 12:13:02 2009 +0530
@@ -49,5 +49,5 @@
 P SUNWcsd	Core Solaris Devices
 P SUNWcsl	Core Solaris Libraries
 P SUNWcslr	Core Solaris Libraries (Root)
-P SUNWpcr	Solaris Print - Client, (root)
+P SUNWpsr	Solaris Print - LP Server, (root)
 P SUNWpcu	Solaris Print - Client, (Usr)