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