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:/system/accounting/legacy@0.5.11,5.11-0.155.53
28set name=pkg.description value="utilities for accounting and reporting of system activity"
29set name=pkg.summary value="System Accounting"
30set name=info.classification value="org.opensolaris.category.2008:System/Administration and Configuration"
31set name=variant.arch value=i386
32dir group=sys mode=0755 owner=root path=etc
33dir group=adm mode=0755 owner=adm path=etc/acct
34dir group=sys mode=0755 owner=root path=etc/init.d
35dir group=bin mode=0755 owner=root path=lib
36dir group=bin mode=0755 owner=root path=lib/svc
37dir group=sys mode=0755 owner=root path=lib/svc/manifest
38dir group=sys mode=0755 owner=root path=lib/svc/manifest/system
39dir group=bin mode=0755 owner=root path=lib/svc/method
40dir group=sys mode=0755 owner=root path=usr
41dir group=bin mode=0755 owner=root path=usr/bin
42dir group=bin mode=0755 owner=root path=usr/lib
43dir group=bin mode=0755 owner=root path=usr/lib/acct
44dir group=bin mode=0755 owner=adm path=usr/lib/sa
45dir group=bin mode=0755 owner=root path=usr/sbin
46dir group=sys mode=0755 owner=root path=usr/share
47dir group=bin mode=0755 owner=root path=usr/share/man
48dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1
49dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1m
50dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man4
51dir group=sys mode=0755 owner=root path=var
52dir group=sys mode=0775 owner=root path=var/adm
53dir group=adm mode=0775 owner=adm path=var/adm/acct
54dir group=adm mode=0775 owner=adm path=var/adm/acct/fiscal
55dir group=adm mode=0775 owner=adm path=var/adm/acct/nite
56dir group=adm mode=0775 owner=adm path=var/adm/acct/sum
57dir group=sys mode=0775 owner=adm path=var/adm/sa
58dir group=bin mode=0755 owner=root path=var/spool
59dir group=sys mode=0755 owner=root path=var/spool/cron
60dir group=sys mode=0755 owner=root path=var/spool/cron/crontabs
61file NOHASH group=bin mode=0644 original_name=SUNWacc:etc/acct/holidays owner=root path=etc/acct/holidays preserve=true
62file NOHASH group=sys mode=0744 original_name=SUNWacc:etc/init.d/acct owner=root path=etc/init.d/acct preserve=true
63file NOHASH group=sys mode=0444 owner=root path=lib/svc/manifest/system/sar.xml restart_fmri=svc:/system/manifest-import:default
64file NOHASH group=sys mode=0555 owner=root path=lib/svc/method/svc-sar
65file NOHASH group=bin mode=0555 owner=root path=usr/bin/acctcom
66file NOHASH group=sys mode=0555 owner=root path=usr/bin/timex
67file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctcms
68file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctcon
69file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctcon1
70file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctcon2
71file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctdisk
72file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctdusg
73file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctmerg
74file NOHASH group=adm mode=4755 owner=root path=usr/lib/acct/accton
75file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctprc
76file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctprc1
77file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctprc2
78file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/acctwtmp
79file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/chargefee
80file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/ckpacct
81file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/closewtmp
82file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/dodisk
83file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/fwtmp
84file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/lastlogin
85file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/monacct
86file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/nulladm
87file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/prctmp
88file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/prdaily
89file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/prtacct
90file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/ptecms.awk
91file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/ptelus.awk
92file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/remove
93file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/runacct
94file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/shutacct
95file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/startup
96file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/turnacct
97file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/utmp2wtmp
98file NOHASH group=bin mode=0555 owner=root path=usr/lib/acct/wtmpfix
99file NOHASH group=bin mode=0555 owner=root path=usr/lib/sa/sa1
100file NOHASH group=bin mode=0555 owner=root path=usr/lib/sa/sa2
101file NOHASH group=bin mode=0555 owner=root path=usr/lib/sa/sadc
102file NOHASH group=bin mode=0555 owner=root path=usr/sbin/sar
103file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/acctcom.1
104file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/sar.1
105file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/timex.1
106file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/acct.1m
107file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/acctcms.1m
108file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/acctcon.1m
109file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/acctmerg.1m
110file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/acctprc.1m
111file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/acctsh.1m
112file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/fwtmp.1m
113file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/runacct.1m
114file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/sar.1m
115file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man4/holidays.4
116file NOHASH group=sys mode=0600 original_name=SUNWacc:var/spool/cron/crontabs/sys owner=root path=var/spool/cron/crontabs/sys preserve=true
117legacy arch=i386 category=system desc="utilities for accounting and reporting of system activity" hotline="Please contact your local service provider" name="System Accounting, (Root)" pkg=SUNWaccr vendor=Illumos version=11.11,REV=2009.11.11
118legacy arch=i386 category=system desc="utilities for accounting and reporting of system activity" hotline="Please contact your local service provider" name="System Accounting, (Usr)" pkg=SUNWaccu vendor=Illumos version=11.11,REV=2009.11.11
119license cr_ATT license=cr_ATT
120license cr_Sun license=cr_Sun
121license lic_CDDL license=lic_CDDL
122link path=usr/bin/sar target=../sbin/sar
123link facet.doc.man=true path=usr/share/man/man1m/acctcon1.1m target=acctcon.1m
124link facet.doc.man=true path=usr/share/man/man1m/acctcon2.1m target=acctcon.1m
125link facet.doc.man=true path=usr/share/man/man1m/acctdisk.1m target=acct.1m
126link facet.doc.man=true path=usr/share/man/man1m/acctdusg.1m target=acct.1m
127link facet.doc.man=true path=usr/share/man/man1m/accton.1m target=acct.1m
128link facet.doc.man=true path=usr/share/man/man1m/acctprc1.1m target=acctprc.1m
129link facet.doc.man=true path=usr/share/man/man1m/acctprc2.1m target=acctprc.1m
130link facet.doc.man=true path=usr/share/man/man1m/acctwtmp.1m target=acct.1m
131link facet.doc.man=true path=usr/share/man/man1m/chargefee.1m target=acctsh.1m
132link facet.doc.man=true path=usr/share/man/man1m/ckpacct.1m target=acctsh.1m
133link facet.doc.man=true path=usr/share/man/man1m/closewtmp.1m target=acct.1m
134link facet.doc.man=true path=usr/share/man/man1m/dodisk.1m target=acctsh.1m
135link facet.doc.man=true path=usr/share/man/man1m/lastlogin.1m target=acctsh.1m
136link facet.doc.man=true path=usr/share/man/man1m/monacct.1m target=acctsh.1m
137link facet.doc.man=true path=usr/share/man/man1m/nulladm.1m target=acctsh.1m
138link facet.doc.man=true path=usr/share/man/man1m/prctmp.1m target=acctsh.1m
139link facet.doc.man=true path=usr/share/man/man1m/prdaily.1m target=acctsh.1m
140link facet.doc.man=true path=usr/share/man/man1m/prtacct.1m target=acctsh.1m
141link facet.doc.man=true path=usr/share/man/man1m/sa1.1m target=sar.1m
142link facet.doc.man=true path=usr/share/man/man1m/sa2.1m target=sar.1m
143link facet.doc.man=true path=usr/share/man/man1m/sadc.1m target=sar.1m
144link facet.doc.man=true path=usr/share/man/man1m/shutacct.1m target=acctsh.1m
145link facet.doc.man=true path=usr/share/man/man1m/startup.1m target=acctsh.1m
146link facet.doc.man=true path=usr/share/man/man1m/turnacct.1m target=acctsh.1m
147link facet.doc.man=true path=usr/share/man/man1m/utmp2wtmp.1m target=acct.1m
148link facet.doc.man=true path=usr/share/man/man1m/wtmpfix.1m target=fwtmp.1m
149#
150# CDDL HEADER START
151#
152# The contents of this file are subject to the terms of the
153# Common Development and Distribution License (the "License").
154# You may not use this file except in compliance with the License.
155#
156# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
157# or http://www.opensolaris.org/os/licensing.
158# See the License for the specific language governing permissions
159# and limitations under the License.
160#
161# When distributing Covered Code, include this CDDL HEADER in each
162# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
163# If applicable, add the following below this CDDL HEADER, with the
164# fields enclosed by brackets "[]" replaced with your own identifying
165# information: Portions Copyright [yyyy] [name of copyright owner]
166#
167# CDDL HEADER END
168#
169
170#
171# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
172#
173
174#
175# These actions represent settings which should appear in every package.
176#
177
178#
179# Name the consolidation this package came from.
180#
181set name=org.opensolaris.consolidation value=osnet
182
183#
184# Indicate that the package was published in a zones aware
185# fashion.
186#
187set name=variant.opensolaris.zone value=global value=nonglobal
188#
189# CDDL HEADER START
190#
191# The contents of this file are subject to the terms of the
192# Common Development and Distribution License (the "License").
193# You may not use this file except in compliance with the License.
194#
195# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
196# or http://www.opensolaris.org/os/licensing.
197# See the License for the specific language governing permissions
198# and limitations under the License.
199#
200# When distributing Covered Code, include this CDDL HEADER in each
201# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
202# If applicable, add the following below this CDDL HEADER, with the
203# fields enclosed by brackets "[]" replaced with your own identifying
204# information: Portions Copyright [yyyy] [name of copyright owner]
205#
206# CDDL HEADER END
207#
208
209#
210# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
211# Use is subject to license terms.
212#
213
214#
215# Only publish packages for the currently specified architecture
216#
217# This is somewhat nonintuitive.  In English:
218#
219#	For any action of type "set",
220#	if the "name" property matches the regex "variant.arch",
221#	and *every* occurrence of the "value" property does not match
222#		$ARCH, then don't publish it.
223#
224# ...in other words, if *any* occurrence of "value" matches i386,
225# then the negative lookahead assertion in the regex will fail, and we
226# won't abort based on the action.
227#
228
229#
230# Catch don't-publish settings from manifest-embedded transforms
231#
232#
233# CDDL HEADER START
234#
235# The contents of this file are subject to the terms of the
236# Common Development and Distribution License (the "License").
237# You may not use this file except in compliance with the License.
238#
239# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
240# or http://www.opensolaris.org/os/licensing.
241# See the License for the specific language governing permissions
242# and limitations under the License.
243#
244# When distributing Covered Code, include this CDDL HEADER in each
245# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
246# If applicable, add the following below this CDDL HEADER, with the
247# fields enclosed by brackets "[]" replaced with your own identifying
248# information: Portions Copyright [yyyy] [name of copyright owner]
249#
250# CDDL HEADER END
251#
252
253#
254# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
255#
256
257#
258# This file and its contents are supplied under the terms of the
259# Common Development and Distribution License ("CDDL"), version 1.0.
260# You may only use this file in accordance with the terms of version
261# 1.0 of the CDDL.
262#
263# A full copy of the text of the CDDL should have accompanied this
264# source.  A copy of the CDDL is also available via the Internet
265# at http://www.illumos.org/license/CDDL.
266#
267
268# Copyright 2011, Richard Lowe
269
270# Manual pages are documentation, and more specifically 'man' documentation
271#
272# CDDL HEADER START
273#
274# The contents of this file are subject to the terms of the
275# Common Development and Distribution License (the "License").
276# You may not use this file except in compliance with the License.
277#
278# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
279# or http://www.opensolaris.org/os/licensing.
280# See the License for the specific language governing permissions
281# and limitations under the License.
282#
283# When distributing Covered Code, include this CDDL HEADER in each
284# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
285# If applicable, add the following below this CDDL HEADER, with the
286# fields enclosed by brackets "[]" replaced with your own identifying
287# information: Portions Copyright [yyyy] [name of copyright owner]
288#
289# CDDL HEADER END
290#
291
292#
293# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
294# Copyright 2011, Richard Lowe
295#
296
297#
298# For kernel/drv, set .conf files to mode 0644.  Assume all other
299# files there are drivers, and give them mode 0755 and reboot-needed.
300#
301# The (?<!r) construct in the reboot-needed transform is a negative
302# lookbehind assertion: it says "only match this regex if the
303# previously matched text does NOT match regex r."  So it will match
304# all files in the various kernel trees, except for .conf files.
305#
306
307
308#
309# Non-global zones should not have content in kernel, usr/kernel (and
310# other kernel dirs) or in boot/.
311#
312
313
314#
315# shared objects should generally have mode 0755
316#
317
318#
319# Catch some of the collections of largely read-only files
320#
321
322
323#
324# For what's left, go with root:bin 0644, +x for directories
325#
326
327#
328# Default values for legacy actions
329#
330#
331# CDDL HEADER START
332#
333# The contents of this file are subject to the terms of the
334# Common Development and Distribution License (the "License").
335# You may not use this file except in compliance with the License.
336#
337# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
338# or http://www.opensolaris.org/os/licensing.
339# See the License for the specific language governing permissions
340# and limitations under the License.
341#
342# When distributing Covered Code, include this CDDL HEADER in each
343# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
344# If applicable, add the following below this CDDL HEADER, with the
345# fields enclosed by brackets "[]" replaced with your own identifying
346# information: Portions Copyright [yyyy] [name of copyright owner]
347#
348# CDDL HEADER END
349#
350
351#
352# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
353#
354
355#
356# Pull out the license paths for staging in the proto area.  Ignore
357# those with no path separators, as that indicates a file kept in
358# $SRC/pkg/license_files, rather than alongside the associated source.
359#
360
361#
362# Ordering is important here, and the last line wins.
363#
364# The default of "current" is provided by the calling environment,
365# rather than a print operation.
366#
367set name=org.opensolaris.smf.fmri value=svc:/system/sar value=svc:/system/sar:default
368depend fmri=consolidation/osnet/osnet-incorporation type=require
369depend fmri=pkg:/SUNWcs@0.5.11-0.155.53 type=require
370depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require
371#
372# This file and its contents are supplied under the terms of the
373# Common Development and Distribution License ("CDDL"). You may
374# only use this file in accordance with the terms of the CDDL.
375#
376# A full copy of the text of the CDDL should have accompanied this
377# source. A copy of the CDDL is also available via the Internet at
378# http://www.illumos.org/license/CDDL.
379#
380
381#
382# Copyright 2019 Alexander Pyhalov
383# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
384#
385
386#
387# These transforms drop the information that we don't want to appear
388# in final package versions.
389#
390
391# Drop pkg.depend.bypass-generate attributes
392
393# Drop pkg.depend.runpath attributes
394
395# Remove pkg debug information
396
397