#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
set name=pkg.fmri \
value=pkg:/library/security/trousers@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="TrouSerS TCG software to access a TPM device"
set name=pkg.description \
value="The TrouSerS library provides a software stack from the Trusted Computer Group (TCG) that accesses a Trusted Platform Module (TPM) hardware device."
set name=com.oracle.info.description value="the TrouSerS library"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2008/725
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
file auth_attr path=etc/security/auth_attr.d/trousers
file prof_attr path=etc/security/prof_attr.d/trousers
file etc/tcsd.conf path=etc/security/tcsd.conf mode=0644 \
original_name=SUNWtss-root:etc/security/tcsd.conf preserve=true
file tcsd.sh path=lib/svc/method/tcsd mode=555
file path=usr/include/trousers/trousers.h
file path=usr/include/trousers/tss.h
file path=usr/include/tss/compat11b.h
file path=usr/include/tss/platform.h
file path=usr/include/tss/tcpa_defines.h
file path=usr/include/tss/tcpa_error.h
file path=usr/include/tss/tcpa_struct.h
file path=usr/include/tss/tcpa_typedef.h
file path=usr/include/tss/tcs.h
file path=usr/include/tss/tcs_defines.h
file path=usr/include/tss/tcs_error.h
file path=usr/include/tss/tcs_structs.h
file path=usr/include/tss/tcs_typedef.h
file path=usr/include/tss/tddl_error.h
file path=usr/include/tss/tddlapi_error.h
file path=usr/include/tss/tddli.h
file path=usr/include/tss/tpm.h
file path=usr/include/tss/tpm_error.h
file path=usr/include/tss/tpm_ordinal.h
file path=usr/include/tss/tspi.h
file path=usr/include/tss/tss_defines.h
file path=usr/include/tss/tss_error.h
file path=usr/include/tss/tss_error_basics.h
file path=usr/include/tss/tss_structs.h
file path=usr/include/tss/tss_typedef.h
file path=usr/lib/$(MACH64)/libtspi.so.1.2.0
file path=usr/lib/$(MACH64)/llib-ltspi.ln
link path=usr/lib/libtspi.so target=libtspi.so.1.2.0
link path=usr/lib/libtspi.so.1 target=libtspi.so.1.2.0
file path=usr/lib/libtspi.so.1.2.0
file path=usr/lib/llib-ltspi
file path=usr/lib/llib-ltspi.ln
file path=usr/lib/tcsd owner=root mode=555
file path=usr/share/man/man3/Tspi_ChangeAuth.3
file path=usr/share/man/man3/Tspi_ChangeAuthAsym.3
file path=usr/share/man/man3/Tspi_Context_Close.3
file path=usr/share/man/man3/Tspi_Context_Create.3
file path=usr/share/man/man3/Tspi_Data_Bind.3
file path=usr/share/man/man3/Tspi_Data_Seal.3
file path=usr/share/man/man3/Tspi_Data_Unbind.3
file path=usr/share/man/man3/Tspi_Data_Unseal.3
file path=usr/share/man/man3/Tspi_GetAttribData.3
file path=usr/share/man/man3/Tspi_Hash_Sign.3
file path=usr/share/man/man3/Tspi_Key_CertifyKey.3
file path=usr/share/man/man3/Tspi_Key_CreateKey.3
file path=usr/share/man/man3/Tspi_Key_GetPubKey.3
file path=usr/share/man/man3/Tspi_Key_LoadKey.3
file path=usr/share/man/man3/Tspi_Key_UnloadKey.3
file path=usr/share/man/man3/Tspi_Key_WrapKey.3
file path=usr/share/man/man3/Tspi_SetAttribData.3
file path=usr/share/man/man3/Tspi_TPM_ClearOwner.3
file path=usr/share/man/man3/Tspi_TPM_DirRead.3
file path=usr/share/man/man3/Tspi_TPM_DirWrite.3
file path=usr/share/man/man3/Tspi_TPM_GetEvent.3
file path=usr/share/man/man3/Tspi_TPM_GetEvents.3
file path=usr/share/man/man3/Tspi_TPM_GetRandom.3
file path=usr/share/man/man3/Tspi_TPM_GetStatus.3
file path=usr/share/man/man3/Tspi_TPM_PcrExtend.3
file path=usr/share/man/man3/Tspi_TPM_PcrRead.3
file path=usr/share/man/man3/Tspi_TPM_Quote.3
file path=usr/share/man/man3/Tspi_TPM_SetStatus.3
file path=usr/share/man/man3/Tspi_TPM_StirRandom.3
file path=usr/share/man/man5/tcsd.conf.5
file path=usr/share/man/man8/tcsd.8
dir path=var/tpm/pkcs11 owner=root group=sys mode=1777
dir path=var/tpm/system owner=root group=sys mode=0700
link path=var/tpm/system/system.data target=system.data.auth
file dist/system.data.auth path=var/tpm/system/system.data.auth owner=root \
group=sys mode=0400
file dist/system.data.noauth path=var/tpm/system/system.data.noauth owner=root \
group=sys mode=0400
dir path=var/tpm/userps owner=root group=sys mode=1777
license trousers.license license=BSD-like
#
# libtspi needs to convert between codesets 646 and UTF-16LE, which are covered
# by package iconv-core. This is for function Trspi_Native_To_UNICODE() which
# calls iconv_open()
#
$(SOLARIS_12_ONLY)depend type=require fmri=pkg:/system/library/iconv/iconv-core
$(SOLARIS_11_ONLY)depend type=require fmri=pkg:/system/library/iconv/utf-8