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