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