2209N/A#
2209N/A# CDDL HEADER START
2209N/A#
2209N/A# The contents of this file are subject to the terms of the
2209N/A# Common Development and Distribution License (the "License").
2209N/A# You may not use this file except in compliance with the License.
2209N/A#
2209N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2209N/A# or http://www.opensolaris.org/os/licensing.
2209N/A# See the License for the specific language governing permissions
2209N/A# and limitations under the License.
2209N/A#
2209N/A# When distributing Covered Code, include this CDDL HEADER in each
2209N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2209N/A# If applicable, add the following below this CDDL HEADER, with the
2209N/A# fields enclosed by brackets "[]" replaced with your own identifying
2209N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2209N/A#
2209N/A# CDDL HEADER END
2209N/A#
5312N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2209N/A#
2209N/A
3732N/A# Header files.
3732N/A#
3732N/A# Take header files from the 32-bit build. This build has the patched
3732N/A# opensslconf.h (64-bit build does not). We cannot take header files from the
3732N/A# proto area since it could contain headers installed for the 64-bit build.
3732N/A<transform file path=usr/include/openssl/fips-140/openssl/(.+\.h)$ -> \
3732N/A set action.hash $(MACH32)/include/openssl/%<1> >
3732N/Aset name=pkg.fmri \
3732N/A value=pkg:/library/security/openssl/openssl-fips-140@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
3732N/Aset name=pkg.summary value="FIPS 140-2 Capable OpenSSL libraries"
3732N/Aset name=pkg.human-version value=$(COMPONENT_VERSION)
2403N/Aset name=com.oracle.info.description \
2403N/A value="the FIPS 140-2 Capable OpenSSL libraries"
2899N/Aset name=com.oracle.info.tpno value=$(TPNO)
2403N/Aset name=info.classification value=org.opensolaris.category.2008:System/Security
2209N/Aset name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
2209N/Aset name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
2403N/Aset name=org.opensolaris.arc-caseid value=PSARC/2009/507
2209N/Aset name=org.opensolaris.consolidation value=$(CONSOLIDATION)
2403N/A
2209N/A# Basic directories and a configuration file.
2403N/Afile etc/openssl/openssl.cnf path=etc/openssl/fips-140/openssl.cnf group=sys \
2403N/A mode=0644 preserve=true
5312N/Afile files/audit_tags \
5312N/A path=etc/security/audit_tags.d/library:security:openssl:openssl-fips-140 \
5312N/A group=sys
5312N/Afile files/exec_attr \
5312N/A path=etc/security/exec_attr.d/library:security:openssl:openssl-fips-140 \
5312N/A group=sys
2403N/Alink path=lib/$(MACH64)/libcrypto.so.1.0.0 \
2403N/A target=../openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0 mediator=openssl \
2403N/A mediator-implementation=fips-140
2403N/Alink path=lib/$(MACH64)/libssl.so.1.0.0 \
2403N/A target=../openssl/fips-140/$(MACH64)/libssl.so.1.0.0 mediator=openssl \
2403N/A mediator-implementation=fips-140
2403N/Alink path=lib/$(MACH64)/llib-lcrypto \
2403N/A target=../openssl/fips-140/$(MACH64)/llib-lcrypto mediator=openssl \
2403N/A mediator-implementation=fips-140
2403N/Alink path=lib/$(MACH64)/llib-lcrypto.ln \
2403N/A target=../openssl/fips-140/$(MACH64)/llib-lcrypto.ln mediator=openssl \
2403N/A mediator-implementation=fips-140
2403N/Alink path=lib/$(MACH64)/llib-lssl \
2403N/A target=../openssl/fips-140/$(MACH64)/llib-lssl mediator=openssl \
2403N/A mediator-implementation=fips-140
2403N/Alink path=lib/$(MACH64)/llib-lssl.ln \
2403N/A target=../openssl/fips-140/$(MACH64)/llib-lssl.ln mediator=openssl \
2403N/A mediator-implementation=fips-140
2403N/A
3732N/A# Mediator links for 32-bit libraries
3732N/Alink path=lib/libcrypto.so.1.0.0 target=openssl/fips-140/libcrypto.so.1.0.0 \
3732N/A mediator=openssl mediator-implementation=fips-140
3732N/Alink path=lib/libssl.so.1.0.0 target=openssl/fips-140/libssl.so.1.0.0 \
3732N/A mediator=openssl mediator-implementation=fips-140
3732N/Alink path=lib/llib-lcrypto target=openssl/fips-140/llib-lcrypto \
3732N/A mediator=openssl mediator-implementation=fips-140
3732N/Alink path=lib/llib-lcrypto.ln target=openssl/fips-140/llib-lcrypto.ln \
3732N/A mediator=openssl mediator-implementation=fips-140
3732N/Alink path=lib/llib-lssl target=openssl/fips-140/llib-lssl mediator=openssl \
3732N/A mediator-implementation=fips-140
3732N/Alink path=lib/llib-lssl.ln target=openssl/fips-140/llib-lssl.ln \
3732N/A mediator=openssl mediator-implementation=fips-140
3732N/A
3732N/A# Mediator links for 64-bit libraries
3732N/Alink path=lib/openssl/engines/$(MACH64)/libpk11.so.1 \
3732N/A target=../../fips-140/engines/$(MACH64)/libpk11.so.1 mediator=openssl \
3732N/A mediator-implementation=fips-140
3732N/Alink path=lib/openssl/engines/libpk11.so.1 \
3732N/A target=../fips-140/engines/libpk11.so.1 mediator=openssl \
3732N/A mediator-implementation=fips-140
3732N/Afile $(MACH32)/apps/openssl path=lib/openssl/fips-140/$(MACH32)/openssl \
3732N/A owner=root group=bin mode=0555
3732N/Alink path=lib/openssl/fips-140/$(MACH64)/libcrypto.so target=libcrypto.so.1.0.0
3732N/A
3732N/A# 64 bit libraries, lint libraries, and engines.
3732N/Afile $(MACH64)/libcrypto.so.1.0.0 \
3732N/A path=lib/openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0
3732N/Alink path=lib/openssl/fips-140/$(MACH64)/libssl.so target=libssl.so.1.0.0
3732N/Afile $(MACH64)/libssl.so.1.0.0 \
3732N/A path=lib/openssl/fips-140/$(MACH64)/libssl.so.1.0.0
3732N/Afile llib-lcrypto path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto
3732N/Afile $(MACH64)/llib-lcrypto.ln \
3732N/A path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto.ln
3732N/Afile llib-lssl path=lib/openssl/fips-140/$(MACH64)/llib-lssl
3732N/Afile $(MACH64)/llib-lssl.ln path=lib/openssl/fips-140/$(MACH64)/llib-lssl.ln
3732N/Alink path=lib/openssl/fips-140/64 target=$(MACH64)
3732N/Afile etc/openssl/misc/CA.pl path=lib/openssl/fips-140/CA.pl
3732N/Alink path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so target=libpk11.so.1
3732N/Afile $(MACH64)/engines/libpk11.so \
3732N/A path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so.1
3732N/Alink path=lib/openssl/fips-140/engines/libpk11.so target=libpk11.so.1
3732N/A
3732N/A# 32 bit libraries, lint libraries, and engines.
3732N/Afile $(MACH32)/engines/libpk11.so path=lib/openssl/fips-140/engines/libpk11.so.1
3732N/Alink path=lib/openssl/fips-140/libcrypto.so target=libcrypto.so.1.0.0
3732N/Afile $(MACH32)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/libcrypto.so.1.0.0
3732N/Alink path=lib/openssl/fips-140/libssl.so target=libssl.so.1.0.0
3732N/Afile $(MACH32)/libssl.so.1.0.0 path=lib/openssl/fips-140/libssl.so.1.0.0
3732N/Afile llib-lcrypto path=lib/openssl/fips-140/llib-lcrypto
3732N/Afile $(MACH32)/llib-lcrypto.ln path=lib/openssl/fips-140/llib-lcrypto.ln
3732N/Afile llib-lssl path=lib/openssl/fips-140/llib-lssl
3732N/Afile $(MACH32)/llib-lssl.ln path=lib/openssl/fips-140/llib-lssl.ln
3732N/A
3732N/A# Commands.
3732N/Afile $(MACH64)/apps/openssl path=lib/openssl/fips-140/openssl owner=root \
3732N/A group=bin mode=0555
3732N/Alink path=usr/bin/$(MACH32)/openssl \
3732N/A target=../../../lib/openssl/fips-140/$(MACH32)/openssl mediator=openssl \
3732N/A mediator-implementation=fips-140
3732N/Alink path=usr/bin/CA.pl target=../../lib/openssl/fips-140/CA.pl \
3732N/A mediator=openssl mediator-implementation=fips-140
3732N/A
3732N/A# Mediator links for the commands
3732N/Alink path=usr/bin/openssl target=../../lib/openssl/fips-140/openssl \
3732N/A mediator=openssl mediator-implementation=fips-140
2209N/Afile path=usr/include/openssl/fips-140/openssl/aes.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/asn1.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/asn1_mac.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/asn1t.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/bio.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/blowfish.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/bn.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/buffer.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/cast.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/cmac.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/cms.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/comp.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/conf.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/conf_api.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/crypto.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/des.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/des_old.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/dh.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/dsa.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/dso.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/dtls1.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/e_os2.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ebcdic.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/ec.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/ecdh.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/ecdsa.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/engine.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/err.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/evp.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/fips.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/fips_rand.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/hmac.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/krb5_asn.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/kssl.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/lhash.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/md4.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/md5.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/modes.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/obj_mac.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/objects.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ocsp.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/opensslconf.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/opensslv.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ossl_typ.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/pem.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/pem2.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/pkcs12.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/pkcs7.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/pqueue.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/rand.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/rc2.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/rc4.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ripemd.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/rsa.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/safestack.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/sha.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/srp.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/srtp.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ssl.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ssl2.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ssl23.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ssl3.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/stack.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/symhacks.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/tls1.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/ts.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/txt_db.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ui.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/ui_compat.h
2221N/Afile path=usr/include/openssl/fips-140/openssl/whrlpool.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/x509.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/x509_vfy.h
2209N/Afile path=usr/include/openssl/fips-140/openssl/x509v3.h
4820N/Alicense openssl-fips-140.license license="OpenSSL, SSLeay"
2403N/A
2403N/A# OpenSSL packages are now managed by 'pkg mediator', and the installation
2403N/A# of 'openssl-fips-140' package requires 'openssl' package with the mediator
2403N/A# change (s12_build42 or later)
3732N/Adepend type=optional fmri=library/security/openssl@1.0.1.6,5.12-5.12.0.0.0.42.0