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