#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 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 2016 Alexander Pyhalov
# Copyright 2019 Michal Nowak
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
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)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

<transform path=usr/lib/($(MACH64)/)?p11-kit/.* -> default mode 0555 >

file etc/pkcs11/pkcs11.conf.example path=etc/pkcs11/pkcs11.conf preserve=true
file path=usr/bin/p11-kit
file path=usr/bin/trust
file path=usr/include/p11-kit-1/p11-kit/deprecated.h
file path=usr/include/p11-kit-1/p11-kit/iter.h
file path=usr/include/p11-kit-1/p11-kit/p11-kit.h
file path=usr/include/p11-kit-1/p11-kit/pin.h
file path=usr/include/p11-kit-1/p11-kit/pkcs11.h
file path=usr/include/p11-kit-1/p11-kit/pkcs11x.h
file path=usr/include/p11-kit-1/p11-kit/remote.h
file path=usr/include/p11-kit-1/p11-kit/uri.h
link path=usr/lib/$(MACH64)/libp11-kit.so target=libp11-kit.so.0.4.1
link path=usr/lib/$(MACH64)/libp11-kit.so.0 target=libp11-kit.so.0.4.1
file path=usr/lib/$(MACH64)/libp11-kit.so.0.4.1
link path=usr/lib/$(MACH64)/p11-kit-proxy.so target=libp11-kit.so.0.4.1
file path=usr/lib/$(MACH64)/pkgconfig/p11-kit-1.pc
file path=usr/lib/security/$(MACH64)/p11-kit-client.so
file path=usr/lib/security/$(MACH64)/p11-kit-trust.so
file path=usr/libexec/p11-kit/p11-kit-remote
file path=usr/libexec/p11-kit/p11-kit-server
file path=usr/libexec/p11-kit/trust-extract-compat
file path=usr/share/bash-completion/completions/p11-kit
file path=usr/share/bash-completion/completions/trust
file path=usr/share/man/man1/trust.1
file path=usr/share/man/man5/pkcs11.conf.5
file path=usr/share/man/man8/p11-kit.8
file path=usr/share/p11-kit/modules/p11-kit-trust.module