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