xref: /illumos-gate/usr/src/pkg/manifests/system-file-system-zfs.p5m (revision 0a4ff7c07705facb2cf0991453d0a3e20cdc50ce)
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 (c) 2012, 2017 by Delphix. All rights reserved.
25# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
26# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27# Copyright 2020 Joyent, Inc.
28#
29
30set name=pkg.fmri value=pkg:/system/file-system/zfs@$(PKGVERS)
31set name=pkg.summary value=ZFS
32set name=pkg.description value="ZFS libraries and commands"
33set name=info.classification \
34    value="org.opensolaris.category.2008:System/File System"
35set name=variant.arch value=$(ARCH)
36dir  path=etc group=sys
37dir  path=etc/fs group=sys
38dir  path=etc/fs/zfs group=sys
39link path=etc/fs/zfs/mount target=../../../sbin/zfs
40link path=etc/fs/zfs/umount target=../../../sbin/zfs
41dir  path=etc/sysevent group=sys
42dir  path=etc/sysevent/config group=sys
43file \
44    path=etc/sysevent/config/SUNW,EC_zfs,ESC_ZFS_bootfs_vdev_attach,sysevent.conf \
45    group=sys
46dir  path=etc/zfs group=sys
47dir  path=kernel group=sys
48dir  path=kernel/drv group=sys
49dir  path=kernel/drv/$(ARCH64) group=sys
50file path=kernel/drv/$(ARCH64)/zfs group=sys
51file path=kernel/drv/zfs.conf group=sys
52dir  path=kernel/fs group=sys
53dir  path=kernel/fs/$(ARCH64) group=sys
54hardlink path=kernel/fs/$(ARCH64)/zfs target=../../../kernel/drv/$(ARCH64)/zfs
55dir  path=kernel/kmdb group=sys
56dir  path=kernel/kmdb/$(ARCH64) group=sys
57file path=kernel/kmdb/$(ARCH64)/zfs group=sys mode=0555
58dir  path=lib
59dir  path=lib/$(ARCH64)
60link path=lib/$(ARCH64)/libzfs.so target=libzfs.so.1
61file path=lib/$(ARCH64)/libzfs.so.1
62link path=lib/$(ARCH64)/libzfs_core.so target=libzfs_core.so.1
63file path=lib/$(ARCH64)/libzfs_core.so.1
64link path=lib/$(ARCH64)/libzutil.so target=libzutil.so.1
65file path=lib/$(ARCH64)/libzutil.so.1
66link path=lib/libzfs.so target=libzfs.so.1
67file path=lib/libzfs.so.1
68link path=lib/libzfs_core.so target=libzfs_core.so.1
69file path=lib/libzfs_core.so.1
70link path=lib/libzutil.so target=libzutil.so.1
71file path=lib/libzutil.so.1
72dir  path=sbin group=sys
73file path=sbin/zfs mode=0555
74file path=sbin/zpool mode=0555
75dir  path=usr group=sys
76dir  path=usr/lib
77dir  path=usr/lib/$(ARCH64)
78link path=usr/lib/$(ARCH64)/libzfs.so target=../../../lib/$(ARCH64)/libzfs.so.1
79link path=usr/lib/$(ARCH64)/libzfs.so.1 \
80    target=../../../lib/$(ARCH64)/libzfs.so.1
81link path=usr/lib/$(ARCH64)/libzfs_core.so \
82    target=../../../lib/$(ARCH64)/libzfs_core.so.1
83link path=usr/lib/$(ARCH64)/libzfs_core.so.1 \
84    target=../../../lib/$(ARCH64)/libzfs_core.so.1
85link path=usr/lib/$(ARCH64)/libzfs_jni.so target=libzfs_jni.so.1
86file path=usr/lib/$(ARCH64)/libzfs_jni.so.1
87link path=usr/lib/$(ARCH64)/libzfsbootenv.so target=libzfsbootenv.so.1
88file path=usr/lib/$(ARCH64)/libzfsbootenv.so.1
89link path=usr/lib/$(ARCH64)/libzpool.so target=libzpool.so.1
90file path=usr/lib/$(ARCH64)/libzpool.so.1
91link path=usr/lib/$(ARCH64)/libzutil.so \
92    target=../../../lib/$(ARCH64)/libzutil.so.1
93link path=usr/lib/$(ARCH64)/libzutil.so.1 \
94    target=../../../lib/$(ARCH64)/libzutil.so.1
95dir  path=usr/lib/devfsadm group=sys
96dir  path=usr/lib/devfsadm/linkmod group=sys
97file path=usr/lib/devfsadm/linkmod/SUNW_zfs_link.so group=sys
98dir  path=usr/lib/fs group=sys
99dir  path=usr/lib/fs/zfs group=sys
100file path=usr/lib/fs/zfs/bootinstall mode=0555
101hardlink path=usr/lib/fs/zfs/fstyp target=../../../sbin/fstyp
102file path=usr/lib/fs/zfs/fstyp.so.1 mode=0555
103link path=usr/lib/fs/zfs/mount target=../../../../sbin/zfs
104link path=usr/lib/fs/zfs/umount target=../../../../sbin/zfs
105link path=usr/lib/libzfs.so target=../../lib/libzfs.so.1
106link path=usr/lib/libzfs.so.1 target=../../lib/libzfs.so.1
107link path=usr/lib/libzfs_core.so target=../../lib/libzfs_core.so.1
108link path=usr/lib/libzfs_core.so.1 target=../../lib/libzfs_core.so.1
109link path=usr/lib/libzfs_jni.so target=libzfs_jni.so.1
110file path=usr/lib/libzfs_jni.so.1
111link path=usr/lib/libzfsbootenv.so target=libzfsbootenv.so.1
112file path=usr/lib/libzfsbootenv.so.1
113$(i386_ONLY)link path=usr/lib/libzpool.so target=libzpool.so.1
114$(i386_ONLY)file path=usr/lib/libzpool.so.1
115link path=usr/lib/libzutil.so target=../../lib/libzutil.so.1
116link path=usr/lib/libzutil.so.1 target=../../lib/libzutil.so.1
117dir  path=usr/lib/mdb group=sys
118dir  path=usr/lib/mdb/kvm group=sys
119dir  path=usr/lib/mdb/kvm/$(ARCH64) group=sys
120file path=usr/lib/mdb/kvm/$(ARCH64)/zfs.so group=sys mode=0555
121dir  path=usr/lib/mdb/proc group=sys
122$(sparc_ONLY)dir path=usr/lib/mdb/proc/$(ARCH64) group=sys
123$(i386_ONLY)dir path=usr/lib/mdb/proc/$(ARCH64)
124file path=usr/lib/mdb/proc/$(ARCH64)/libzpool.so group=sys mode=0555
125file path=usr/lib/mdb/proc/libzpool.so group=sys mode=0555
126dir  path=usr/lib/sysevent
127dir  path=usr/lib/sysevent/modules
128file path=usr/lib/sysevent/modules/zfs_mod.so group=sys
129dir  path=usr/lib/zfs
130file path=usr/lib/zfs/availdevs mode=0555
131dir  path=usr/sbin
132$(i386_ONLY)dir path=usr/sbin/$(ARCH32)
133dir  path=usr/sbin/$(ARCH64)
134file path=usr/sbin/zdb mode=0555
135link path=usr/sbin/zfs target=../../sbin/zfs
136link path=usr/sbin/zpool target=../../sbin/zpool
137file path=usr/sbin/zstreamdump mode=0555
138file path=usr/share/man/man7/zpool-features.7
139dir  path=usr/share/man/man8
140file path=usr/share/man/man8/zdb.8
141file path=usr/share/man/man8/zfs-program.8
142file path=usr/share/man/man8/zfs.8
143file path=usr/share/man/man8/zpool.8
144file path=usr/share/man/man8/zstreamdump.8
145file path=usr/share/man/man8/ztest.8
146driver name=zfs perms="* 0600 root sys" perms="zfs 0666 root sys"
147legacy pkg=SUNWzfskr desc="ZFS kernel root components" name="ZFS Kernel (Root)"
148legacy pkg=SUNWzfsr desc="ZFS root components" name="ZFS (Root)"
149legacy pkg=SUNWzfsu desc="ZFS libraries and commands" name="ZFS (Usr)"
150license cr_Sun license=cr_Sun
151license lic_CDDL license=lic_CDDL
152license usr/src/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash \
153    license=usr/src/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash
154license usr/src/uts/common/fs/zfs/THIRDPARTYLICENSE.lz4 \
155    license=usr/src/uts/common/fs/zfs/THIRDPARTYLICENSE.lz4
156$(python3_ONLY)depend type=conditional \
157    fmri=system/library/python/zfs$(PYTHON3_PKGVERS) \
158    predicate=runtime/python$(PYTHON3_PKGVERS)
159$(python2_ONLY)depend type=conditional \
160    fmri=system/library/python/zfs$(PYTHON_PKGVERS) \
161    predicate=runtime/python$(PYTHON_PKGVERS)
162