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