1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2014 Garrett D'Amore <garrett@damore.org>
14# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
15#
16
17set name=pkg.fmri value=pkg:/system/man@0.5.11,5.11-0.155.53
18set name=pkg.description value="utilities for display and formatting of reference manual pages"
19set name=pkg.summary value="Reference Manual Pages Tools"
20set name=info.classification value="org.opensolaris.category.2008:System/Text Tools"
21set name=variant.arch value=i386
22dir group=bin mode=0755 owner=root path=usr/bin
23dir group=sys mode=0755 owner=root path=usr/share
24dir group=bin mode=0755 owner=root path=usr/share/man
25dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1
26dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1m
27dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man5
28file NOHASH group=bin mode=0555 owner=root path=usr/bin/man
29file NOHASH group=bin mode=0555 owner=root path=usr/bin/mandoc
30file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/apropos.1
31file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/man.1
32file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/mandoc.1
33file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/catman.1m
34file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man5/eqn.5
35file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man5/man.5
36file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man5/mandoc_char.5
37file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man5/mandoc_roff.5
38file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man5/mdoc.5
39file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man5/tbl.5
40hardlink path=usr/bin/apropos target=../../usr/bin/man
41hardlink path=usr/bin/catman target=../../usr/bin/man
42hardlink path=usr/bin/whatis target=../../usr/bin/man
43hardlink path=usr/lib/makewhatis target=../../usr/bin/man
44license lic_CDDL license=lic_CDDL
45license usr/src/cmd/man/THIRDPARTYLICENSE license=usr/src/cmd/man/THIRDPARTYLICENSE
46license usr/src/cmd/mandoc/THIRDPARTYLICENSE license=usr/src/cmd/mandoc/THIRDPARTYLICENSE
47link path=usr/man target=./share/man
48link facet.doc.man=true path=usr/share/man/man1/whatis.1 target=apropos.1
49# arguably we also need lp, for man -t support, but really we don't
50# want to make this mandatory, so we don't express the dependency here.
51# gzcat/bzcat are used for displaying compressed manpages.  However,
52# as we don't format such pages this way by default, lets leave the
53# dependency out.
54#depend fmri=compress/bzip2 type=require
55#depend fmri=compress/gzip type=require
56# less is the default (per user environment) pager.  We really should just
57# import this into illumos-gate.
58depend fmri=text/less type=require
59#
60# CDDL HEADER START
61#
62# The contents of this file are subject to the terms of the
63# Common Development and Distribution License (the "License").
64# You may not use this file except in compliance with the License.
65#
66# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
67# or http://www.opensolaris.org/os/licensing.
68# See the License for the specific language governing permissions
69# and limitations under the License.
70#
71# When distributing Covered Code, include this CDDL HEADER in each
72# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
73# If applicable, add the following below this CDDL HEADER, with the
74# fields enclosed by brackets "[]" replaced with your own identifying
75# information: Portions Copyright [yyyy] [name of copyright owner]
76#
77# CDDL HEADER END
78#
79
80#
81# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
82#
83
84#
85# These actions represent settings which should appear in every package.
86#
87
88#
89# Name the consolidation this package came from.
90#
91set name=org.opensolaris.consolidation value=osnet
92
93#
94# Indicate that the package was published in a zones aware
95# fashion.
96#
97set name=variant.opensolaris.zone value=global value=nonglobal
98#
99# CDDL HEADER START
100#
101# The contents of this file are subject to the terms of the
102# Common Development and Distribution License (the "License").
103# You may not use this file except in compliance with the License.
104#
105# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
106# or http://www.opensolaris.org/os/licensing.
107# See the License for the specific language governing permissions
108# and limitations under the License.
109#
110# When distributing Covered Code, include this CDDL HEADER in each
111# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
112# If applicable, add the following below this CDDL HEADER, with the
113# fields enclosed by brackets "[]" replaced with your own identifying
114# information: Portions Copyright [yyyy] [name of copyright owner]
115#
116# CDDL HEADER END
117#
118
119#
120# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
121# Use is subject to license terms.
122#
123
124#
125# Only publish packages for the currently specified architecture
126#
127# This is somewhat nonintuitive.  In English:
128#
129#	For any action of type "set",
130#	if the "name" property matches the regex "variant.arch",
131#	and *every* occurrence of the "value" property does not match
132#		$ARCH, then don't publish it.
133#
134# ...in other words, if *any* occurrence of "value" matches i386,
135# then the negative lookahead assertion in the regex will fail, and we
136# won't abort based on the action.
137#
138
139#
140# Catch don't-publish settings from manifest-embedded transforms
141#
142#
143# CDDL HEADER START
144#
145# The contents of this file are subject to the terms of the
146# Common Development and Distribution License (the "License").
147# You may not use this file except in compliance with the License.
148#
149# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
150# or http://www.opensolaris.org/os/licensing.
151# See the License for the specific language governing permissions
152# and limitations under the License.
153#
154# When distributing Covered Code, include this CDDL HEADER in each
155# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156# If applicable, add the following below this CDDL HEADER, with the
157# fields enclosed by brackets "[]" replaced with your own identifying
158# information: Portions Copyright [yyyy] [name of copyright owner]
159#
160# CDDL HEADER END
161#
162
163#
164# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
165#
166
167#
168# This file and its contents are supplied under the terms of the
169# Common Development and Distribution License ("CDDL"), version 1.0.
170# You may only use this file in accordance with the terms of version
171# 1.0 of the CDDL.
172#
173# A full copy of the text of the CDDL should have accompanied this
174# source.  A copy of the CDDL is also available via the Internet
175# at http://www.illumos.org/license/CDDL.
176#
177
178# Copyright 2011, Richard Lowe
179
180# Manual pages are documentation, and more specifically 'man' documentation
181#
182# CDDL HEADER START
183#
184# The contents of this file are subject to the terms of the
185# Common Development and Distribution License (the "License").
186# You may not use this file except in compliance with the License.
187#
188# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
189# or http://www.opensolaris.org/os/licensing.
190# See the License for the specific language governing permissions
191# and limitations under the License.
192#
193# When distributing Covered Code, include this CDDL HEADER in each
194# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
195# If applicable, add the following below this CDDL HEADER, with the
196# fields enclosed by brackets "[]" replaced with your own identifying
197# information: Portions Copyright [yyyy] [name of copyright owner]
198#
199# CDDL HEADER END
200#
201
202#
203# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
204# Copyright 2011, Richard Lowe
205#
206
207#
208# For kernel/drv, set .conf files to mode 0644.  Assume all other
209# files there are drivers, and give them mode 0755 and reboot-needed.
210#
211# The (?<!r) construct in the reboot-needed transform is a negative
212# lookbehind assertion: it says "only match this regex if the
213# previously matched text does NOT match regex r."  So it will match
214# all files in the various kernel trees, except for .conf files.
215#
216
217
218#
219# Non-global zones should not have content in kernel, usr/kernel (and
220# other kernel dirs) or in boot/.
221#
222
223
224#
225# shared objects should generally have mode 0755
226#
227
228#
229# Catch some of the collections of largely read-only files
230#
231
232
233#
234# For what's left, go with root:bin 0644, +x for directories
235#
236
237#
238# Default values for legacy actions
239#
240#
241# CDDL HEADER START
242#
243# The contents of this file are subject to the terms of the
244# Common Development and Distribution License (the "License").
245# You may not use this file except in compliance with the License.
246#
247# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
248# or http://www.opensolaris.org/os/licensing.
249# See the License for the specific language governing permissions
250# and limitations under the License.
251#
252# When distributing Covered Code, include this CDDL HEADER in each
253# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
254# If applicable, add the following below this CDDL HEADER, with the
255# fields enclosed by brackets "[]" replaced with your own identifying
256# information: Portions Copyright [yyyy] [name of copyright owner]
257#
258# CDDL HEADER END
259#
260
261#
262# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
263#
264
265#
266# Pull out the license paths for staging in the proto area.  Ignore
267# those with no path separators, as that indicates a file kept in
268# $SRC/pkg/license_files, rather than alongside the associated source.
269#
270
271#
272# Ordering is important here, and the last line wins.
273#
274# The default of "current" is provided by the calling environment,
275# rather than a print operation.
276#
277depend fmri=consolidation/osnet/osnet-incorporation type=require
278