#
|
# This file and its contents are supplied under the terms of the
|
# Common Development and Distribution License ("CDDL"). You may
|
# only use this file in accordance with the terms of the CDDL.
|
#
|
# A full copy of the text of the CDDL should have accompanied this
|
# source. A copy of the CDDL is also available via the Internet at
|
# http://www.illumos.org/license/CDDL.
|
#
|
|
#
|
# Copyright 2013, Adam Stevko. All rights reserved.
|
# Copyright 2015-2016 Jim Klimov
|
#
|
|
<transform file dir path=.*kernel.* -> default group sys>
|
<transform file path=.*kernel/drv/.+\.conf -> default mode 0644>
|
<transform file path=.*kernel/drv/.+ -> default mode 0755>
|
<transform file path=.*kernel/drv/$(MACH64)/.+ -> default mode 0755>
|
<transform file path=.*kernel/.+(?<!\.conf)$ -> default reboot-needed true>
|
|
<transform file dir link hardlink path=.*kernel/.* -> set variant.opensolaris.zone global>
|
<transform dir path=kernel$ -> set variant.opensolaris.zone global>
|
<transform dir path=.*/kernel$ -> set variant.opensolaris.zone global>
|
|
set name=pkg.fmri value=pkg:/driver/network/tun@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
|
set name=pkg.human-version value=$(HUMAN_VERSION)
|
set name=pkg.summary value="TUN driver from tuntap package"
|
set name=pkg.description value="$(COMPONENT_DESCRIPTION)"
|
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
|
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
|
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
|
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
|
|
set name=variant.opensolaris.zone value="global"
|
|
license $(COMPONENT_NAME).license license="$(COMPONENT_LICENSE)"
|
|
driver name=tun
|
file path=usr/kernel/drv/$(MACH64)/tun mode=555 owner=root group=sys
|
file path=usr/kernel/drv/tun.conf mode=644 owner=root group=sys preserve=true
|