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 2014 Andrew Stormont.
  26 #
  27 
  28 set name=pkg.fmri value=pkg:/system/file-system/zfs/tests@$(PKGVERS)
  29 set name=pkg.description value="ZFS test commands"
  30 set name=pkg.summary value="ZFS unbundled utilities"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:Development/System
  33 set name=variant.arch value=$(ARCH)
  34 dir path=kernel group=sys
  35 dir path=kernel/drv group=sys
  36 dir path=kernel/drv/$(ARCH64) group=sys
  37 dir path=usr group=sys
  38 dir path=usr/bin
  39 $(i386_ONLY)dir path=usr/bin/$(ARCH32)
  40 $(BUILD64)dir path=usr/bin/$(ARCH64)
  41 dir path=usr/include
  42 dir path=usr/include/sys
  43 dir path=usr/include/sys/fs
  44 dir path=usr/lib
  45 dir path=usr/lib/devfsadm group=sys
  46 dir path=usr/lib/devfsadm/linkmod group=sys
  47 dir path=usr/sbin
  48 $(i386_ONLY)dir path=usr/sbin/$(ARCH32)
  49 $(BUILD64)dir path=usr/sbin/$(ARCH64)
  50 driver name=zut perms="* 0666 root sys"
  51 file path=kernel/drv/$(ARCH64)/zut group=sys
  52 $(i386_ONLY)file path=kernel/drv/zut group=sys
  53 file path=kernel/drv/zut.conf group=sys
  54 $(i386_ONLY)file path=usr/bin/$(ARCH32)/zlook mode=0555
  55 $(i386_ONLY)file path=usr/bin/$(ARCH32)/ztest mode=0555
  56 $(BUILD64)file path=usr/bin/$(ARCH64)/zlook mode=0555
  57 $(BUILD64)file path=usr/bin/$(ARCH64)/ztest mode=0555
  58 file path=usr/include/sys/fs/zut.h
  59 file path=usr/lib/devfsadm/linkmod/SUNW_zut_link.so group=sys
  60 $(i386_ONLY)file path=usr/sbin/$(ARCH32)/zhack mode=0555
  61 $(i386_ONLY)file path=usr/sbin/$(ARCH32)/zinject mode=0555
  62 $(BUILD64)file path=usr/sbin/$(ARCH64)/zhack mode=0555
  63 $(BUILD64)file path=usr/sbin/$(ARCH64)/zinject mode=0555
  64 hardlink path=usr/bin/zlook target=../../usr/lib/isaexec
  65 hardlink path=usr/bin/ztest target=../../usr/lib/isaexec
  66 hardlink path=usr/sbin/zhack target=../../usr/lib/isaexec
  67 hardlink path=usr/sbin/zinject target=../../usr/lib/isaexec
  68 legacy pkg=SUNWonzfs desc="ZFS test commands" name="ZFS unbundled utilities"
  69 legacy pkg=SUNWonzfsr desc="ZFS test driver" name="ZFS unbundled driver"
  70 license cr_Sun license=cr_Sun
  71 license lic_CDDL license=lic_CDDL