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.
58#
59# CDDL HEADER START
60#
61# The contents of this file are subject to the terms of the
62# Common Development and Distribution License (the "License").
63# You may not use this file except in compliance with the License.
64#
65# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
66# or http://www.opensolaris.org/os/licensing.
67# See the License for the specific language governing permissions
68# and limitations under the License.
69#
70# When distributing Covered Code, include this CDDL HEADER in each
71# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
72# If applicable, add the following below this CDDL HEADER, with the
73# fields enclosed by brackets "[]" replaced with your own identifying
74# information: Portions Copyright [yyyy] [name of copyright owner]
75#
76# CDDL HEADER END
77#
78
79#
80# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
81#
82
83#
84# These actions represent settings which should appear in every package.
85#
86
87#
88# Name the consolidation this package came from.
89#
90set name=org.opensolaris.consolidation value=osnet
91
92#
93# Indicate that the package was published in a zones aware
94# fashion.
95#
96set name=variant.opensolaris.zone value=global value=nonglobal
97#
98# CDDL HEADER START
99#
100# The contents of this file are subject to the terms of the
101# Common Development and Distribution License (the "License").
102# You may not use this file except in compliance with the License.
103#
104# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
105# or http://www.opensolaris.org/os/licensing.
106# See the License for the specific language governing permissions
107# and limitations under the License.
108#
109# When distributing Covered Code, include this CDDL HEADER in each
110# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
111# If applicable, add the following below this CDDL HEADER, with the
112# fields enclosed by brackets "[]" replaced with your own identifying
113# information: Portions Copyright [yyyy] [name of copyright owner]
114#
115# CDDL HEADER END
116#
117
118#
119# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
120# Use is subject to license terms.
121#
122
123#
124# Only publish packages for the currently specified architecture
125#
126# This is somewhat nonintuitive.  In English:
127#
128#	For any action of type "set",
129#	if the "name" property matches the regex "variant.arch",
130#	and *every* occurrence of the "value" property does not match
131#		$ARCH, then don't publish it.
132#
133# ...in other words, if *any* occurrence of "value" matches i386,
134# then the negative lookahead assertion in the regex will fail, and we
135# won't abort based on the action.
136#
137
138#
139# Catch don't-publish settings from manifest-embedded transforms
140#
141#
142# CDDL HEADER START
143#
144# The contents of this file are subject to the terms of the
145# Common Development and Distribution License (the "License").
146# You may not use this file except in compliance with the License.
147#
148# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
149# or http://www.opensolaris.org/os/licensing.
150# See the License for the specific language governing permissions
151# and limitations under the License.
152#
153# When distributing Covered Code, include this CDDL HEADER in each
154# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155# If applicable, add the following below this CDDL HEADER, with the
156# fields enclosed by brackets "[]" replaced with your own identifying
157# information: Portions Copyright [yyyy] [name of copyright owner]
158#
159# CDDL HEADER END
160#
161
162#
163# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
164#
165
166#
167# This file and its contents are supplied under the terms of the
168# Common Development and Distribution License ("CDDL"), version 1.0.
169# You may only use this file in accordance with the terms of version
170# 1.0 of the CDDL.
171#
172# A full copy of the text of the CDDL should have accompanied this
173# source.  A copy of the CDDL is also available via the Internet
174# at http://www.illumos.org/license/CDDL.
175#
176
177# Copyright 2011, Richard Lowe
178
179# Manual pages are documentation, and more specifically 'man' documentation
180#
181# CDDL HEADER START
182#
183# The contents of this file are subject to the terms of the
184# Common Development and Distribution License (the "License").
185# You may not use this file except in compliance with the License.
186#
187# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
188# or http://www.opensolaris.org/os/licensing.
189# See the License for the specific language governing permissions
190# and limitations under the License.
191#
192# When distributing Covered Code, include this CDDL HEADER in each
193# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
194# If applicable, add the following below this CDDL HEADER, with the
195# fields enclosed by brackets "[]" replaced with your own identifying
196# information: Portions Copyright [yyyy] [name of copyright owner]
197#
198# CDDL HEADER END
199#
200
201#
202# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
203# Copyright 2011, Richard Lowe
204#
205
206#
207# For kernel/drv, set .conf files to mode 0644.  Assume all other
208# files there are drivers, and give them mode 0755 and reboot-needed.
209#
210# The (?<!r) construct in the reboot-needed transform is a negative
211# lookbehind assertion: it says "only match this regex if the
212# previously matched text does NOT match regex r."  So it will match
213# all files in the various kernel trees, except for .conf files.
214#
215
216
217#
218# Non-global zones should not have content in kernel, usr/kernel (and
219# other kernel dirs) or in boot/.
220#
221
222
223#
224# shared objects should generally have mode 0755
225#
226
227#
228# Catch some of the collections of largely read-only files
229#
230
231
232#
233# For what's left, go with root:bin 0644, +x for directories
234#
235
236#
237# Default values for legacy actions
238#
239#
240# CDDL HEADER START
241#
242# The contents of this file are subject to the terms of the
243# Common Development and Distribution License (the "License").
244# You may not use this file except in compliance with the License.
245#
246# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
247# or http://www.opensolaris.org/os/licensing.
248# See the License for the specific language governing permissions
249# and limitations under the License.
250#
251# When distributing Covered Code, include this CDDL HEADER in each
252# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
253# If applicable, add the following below this CDDL HEADER, with the
254# fields enclosed by brackets "[]" replaced with your own identifying
255# information: Portions Copyright [yyyy] [name of copyright owner]
256#
257# CDDL HEADER END
258#
259
260#
261# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
262#
263
264#
265# Pull out the license paths for staging in the proto area.  Ignore
266# those with no path separators, as that indicates a file kept in
267# $SRC/pkg/license_files, rather than alongside the associated source.
268#
269
270#
271# Ordering is important here, and the last line wins.
272#
273# The default of "current" is provided by the calling environment,
274# rather than a print operation.
275#
276depend fmri=consolidation/osnet/osnet-incorporation type=require
277depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require
278depend fmri=text/less type=require
279