xref: /titanic_41/usr/src/pkg/manifests/system-file-system-zfs.mf (revision cfb7311ca709ca6f4d930977c7498455556b5312)
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 2010 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27set name=pkg.fmri value=pkg:/system/file-system/zfs@$(PKGVERS)
28set name=pkg.description value="ZFS libraries and commands"
29set name=pkg.summary value=ZFS
30set name=info.classification \
31    value="org.opensolaris.category.2008:System/File System"
32
33#
34# Skip manifest generation until build 134 can be required on the
35# build systems, due to a Python flavor identification bug in pkgdepend.
36#
37set name=org.opensolaris.nodepend value=true
38set name=variant.arch value=$(ARCH)
39set name=variant.opensolaris.zone value=global value=nonglobal
40dir path=etc group=sys
41dir path=etc/fs group=sys
42dir path=etc/fs/zfs group=sys
43dir path=etc/sysevent group=sys
44dir path=etc/sysevent/config group=sys
45dir path=etc/zfs group=sys
46dir path=kernel group=sys opensolaris.zone=global \
47    variant.opensolaris.zone=global
48dir path=kernel/drv group=sys opensolaris.zone=global \
49    variant.opensolaris.zone=global
50dir path=kernel/drv/$(ARCH64) group=sys opensolaris.zone=global \
51    variant.opensolaris.zone=global
52dir path=kernel/fs group=sys opensolaris.zone=global \
53    variant.opensolaris.zone=global
54dir path=kernel/fs/$(ARCH64) group=sys opensolaris.zone=global \
55    variant.opensolaris.zone=global
56dir path=kernel/kmdb group=sys opensolaris.zone=global \
57    variant.opensolaris.zone=global
58dir path=kernel/kmdb/$(ARCH64) group=sys opensolaris.zone=global \
59    variant.opensolaris.zone=global
60dir path=lib
61dir path=lib/$(ARCH64)
62dir path=sbin group=sys
63dir path=usr group=sys
64dir path=usr/lib
65dir path=usr/lib/$(ARCH64)
66dir path=usr/lib/devfsadm group=sys
67dir path=usr/lib/devfsadm/linkmod group=sys
68dir path=usr/lib/fs group=sys
69dir path=usr/lib/fs/zfs group=sys
70dir path=usr/lib/mdb group=sys
71dir path=usr/lib/mdb/kvm group=sys
72dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
73dir path=usr/lib/mdb/proc group=sys
74$(sparc_ONLY)dir path=usr/lib/mdb/proc/$(ARCH64) group=sys
75$(i386_ONLY)dir path=usr/lib/mdb/proc/$(ARCH64)
76dir path=usr/lib/python2.4
77dir path=usr/lib/python2.4/vendor-packages
78dir path=usr/lib/python2.4/vendor-packages/zfs
79dir path=usr/lib/sysevent
80dir path=usr/lib/sysevent/modules
81dir path=usr/lib/zfs
82dir path=usr/sbin
83$(i386_ONLY)dir path=usr/sbin/$(ARCH32)
84dir path=usr/sbin/$(ARCH64)
85driver name=zfs perms="* 0600 root sys" perms="zfs 0666 root sys"
86file path=etc/sysevent/config/SUNW,EC_dev_status,ESC_dev_dle,sysevent.conf \
87    group=sys
88file path=kernel/drv/$(ARCH64)/zfs group=sys opensolaris.zone=global \
89    variant.opensolaris.zone=global
90$(i386_ONLY)file path=kernel/drv/zfs group=sys opensolaris.zone=global \
91    variant.opensolaris.zone=global
92file path=kernel/drv/zfs.conf group=sys opensolaris.zone=global \
93    reboot-needed=false variant.opensolaris.zone=global
94file path=kernel/kmdb/$(ARCH64)/zfs group=sys mode=0555 opensolaris.zone=global \
95    reboot-needed=true variant.opensolaris.zone=global
96$(i386_ONLY)file path=kernel/kmdb/zfs group=sys mode=0555 \
97    opensolaris.zone=global reboot-needed=true variant.opensolaris.zone=global
98file path=lib/$(ARCH64)/libzfs.so.1
99file path=lib/$(ARCH64)/llib-lzfs.ln
100file path=lib/libzfs.so.1
101file path=lib/llib-lzfs
102file path=lib/llib-lzfs.ln
103file path=sbin/zfs mode=0555
104file path=sbin/zpool mode=0555
105file path=usr/lib/$(ARCH64)/libzfs_jni.so.1
106file path=usr/lib/$(ARCH64)/libzpool.so.1
107file path=usr/lib/devfsadm/linkmod/SUNW_zfs_link.so group=sys
108file path=usr/lib/fs/zfs/fstyp.so.1 mode=0555
109file path=usr/lib/fs/zfs/zfsdle mode=0555
110file path=usr/lib/libzfs_jni.so.1
111$(i386_ONLY)file path=usr/lib/libzpool.so.1
112file path=usr/lib/mdb/kvm/$(ARCH64)/zfs.so group=sys mode=0555
113$(i386_ONLY)file path=usr/lib/mdb/kvm/zfs.so group=sys mode=0555
114file path=usr/lib/mdb/proc/$(ARCH64)/libzpool.so group=sys mode=0555
115file path=usr/lib/mdb/proc/libzpool.so group=sys mode=0555
116file path=usr/lib/python2.4/vendor-packages/zfs/__init__.py
117file path=usr/lib/python2.4/vendor-packages/zfs/__init__.pyc
118file path=usr/lib/python2.4/vendor-packages/zfs/allow.py
119file path=usr/lib/python2.4/vendor-packages/zfs/allow.pyc
120file path=usr/lib/python2.4/vendor-packages/zfs/dataset.py
121file path=usr/lib/python2.4/vendor-packages/zfs/dataset.pyc
122file path=usr/lib/python2.4/vendor-packages/zfs/groupspace.py
123file path=usr/lib/python2.4/vendor-packages/zfs/groupspace.pyc
124file path=usr/lib/python2.4/vendor-packages/zfs/holds.py
125file path=usr/lib/python2.4/vendor-packages/zfs/holds.pyc
126file path=usr/lib/python2.4/vendor-packages/zfs/ioctl.so
127file path=usr/lib/python2.4/vendor-packages/zfs/table.py
128file path=usr/lib/python2.4/vendor-packages/zfs/table.pyc
129file path=usr/lib/python2.4/vendor-packages/zfs/unallow.py
130file path=usr/lib/python2.4/vendor-packages/zfs/unallow.pyc
131file path=usr/lib/python2.4/vendor-packages/zfs/userspace.py
132file path=usr/lib/python2.4/vendor-packages/zfs/userspace.pyc
133file path=usr/lib/python2.4/vendor-packages/zfs/util.py
134file path=usr/lib/python2.4/vendor-packages/zfs/util.pyc
135file path=usr/lib/sysevent/modules/zfs_mod.so group=sys
136file path=usr/lib/zfs/availdevs mode=0555
137file path=usr/lib/zfs/pyzfs.py mode=0555
138file path=usr/lib/zfs/pyzfs.pyc mode=0555
139$(i386_ONLY)file path=usr/sbin/$(ARCH32)/zdb mode=0555
140file path=usr/sbin/$(ARCH64)/zdb mode=0555
141file path=usr/sbin/zstreamdump mode=0555
142hardlink path=kernel/fs/$(ARCH64)/zfs opensolaris.zone=global \
143    target=../../../kernel/drv/$(ARCH64)/zfs variant.opensolaris.zone=global
144$(i386_ONLY)hardlink path=kernel/fs/zfs opensolaris.zone=global \
145    target=../../kernel/drv/zfs variant.opensolaris.zone=global
146hardlink path=usr/lib/fs/zfs/fstyp target=../../../sbin/fstyp
147hardlink path=usr/sbin/zdb target=../../usr/lib/isaexec
148legacy pkg=SUNWzfskr arch=$(ARCH) category=system \
149    desc="ZFS kernel root components" \
150    hotline="Please contact your local service provider" \
151    name="ZFS Kernel (Root)" vendor="Sun Microsystems, Inc." \
152    version=11.11,REV=2009.11.11
153legacy pkg=SUNWzfsr arch=$(ARCH) category=system desc="ZFS root components" \
154    hotline="Please contact your local service provider" name="ZFS (Root)" \
155    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
156legacy pkg=SUNWzfsu arch=$(ARCH) category=system \
157    desc="ZFS libraries and commands" \
158    hotline="Please contact your local service provider" name="ZFS (Usr)" \
159    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
160license cr_Sun license=cr_Sun
161license lic_CDDL license=lic_CDDL
162link path=etc/fs/zfs/mount target=../../../sbin/zfs
163link path=etc/fs/zfs/umount target=../../../sbin/zfs
164link path=lib/$(ARCH64)/libzfs.so target=libzfs.so.1
165link path=lib/libzfs.so target=libzfs.so.1
166link path=usr/lib/$(ARCH64)/libzfs.so target=../../../lib/$(ARCH64)/libzfs.so.1
167link path=usr/lib/$(ARCH64)/libzfs.so.1 \
168    target=../../../lib/$(ARCH64)/libzfs.so.1
169link path=usr/lib/$(ARCH64)/libzfs_jni.so target=libzfs_jni.so.1
170link path=usr/lib/$(ARCH64)/libzpool.so target=libzpool.so.1
171link path=usr/lib/$(ARCH64)/llib-lzfs.ln \
172    target=../../../lib/$(ARCH64)/llib-lzfs.ln
173link path=usr/lib/fs/zfs/mount target=../../../../sbin/zfs
174link path=usr/lib/fs/zfs/umount target=../../../../sbin/zfs
175link path=usr/lib/libzfs.so target=../../lib/libzfs.so.1
176link path=usr/lib/libzfs.so.1 target=../../lib/libzfs.so.1
177link path=usr/lib/libzfs_jni.so target=libzfs_jni.so.1
178$(i386_ONLY)link path=usr/lib/libzpool.so target=libzpool.so.1
179link path=usr/lib/llib-lzfs target=../../lib/llib-lzfs
180link path=usr/lib/llib-lzfs.ln target=../../lib/llib-lzfs.ln
181link path=usr/sbin/zfs target=../../sbin/zfs
182link path=usr/sbin/zpool target=../../sbin/zpool
183