components/openssl/openssl-1.0.1-fips-140/openssl-1.0.1-fips-140.p5m
branchs11u3-sru
changeset 7163 ee09edbd5876
parent 7159 59b406bc4a3a
child 7164 b2abbab8e6d5
equal deleted inserted replaced
7159:59b406bc4a3a 7163:ee09edbd5876
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
       
    25 
       
    26 # Header files.
       
    27 #
       
    28 # Take header files from the 32-bit build. This build has the patched
       
    29 # opensslconf.h (64-bit build does not). We cannot take header files from the
       
    30 # proto area since it could contain headers installed for the 64-bit build.
       
    31 <transform file path=usr/include/openssl/fips-140/openssl/(.+\.h)$ -> \
       
    32     set action.hash $(MACH32)/include/openssl/%<1> >
       
    33 set name=pkg.fmri \
       
    34     value=pkg:/library/security/openssl/openssl-fips-140@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    35 set name=pkg.summary value="FIPS 140-2 Capable OpenSSL libraries"
       
    36 set name=pkg.human-version value=$(COMPONENT_VERSION)
       
    37 
       
    38 # This line is needed temporarily to workaround the link check error due to
       
    39 # change of action type.  It should be removed once non-FIPS version becomes
       
    40 # available in the reference repository
       
    41 set name=pkg.linted.pkglint.dupaction010.1 value=true
       
    42 set name=com.oracle.info.description \
       
    43     value="the FIPS 140-2 Capable OpenSSL libraries"
       
    44 set name=com.oracle.info.tpno value=$(TPNO)
       
    45 set name=info.classification value=org.opensolaris.category.2008:System/Security
       
    46 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    47 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    48 set name=org.opensolaris.arc-caseid value=PSARC/2009/507
       
    49 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    50 
       
    51 # Basic directories and a configuration file.
       
    52 file etc/openssl/openssl.cnf path=etc/openssl/fips-140/openssl.cnf group=sys \
       
    53     mode=0644 preserve=true
       
    54 link path=lib/$(MACH64)/libcrypto.so.1.0.0 \
       
    55     target=../openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0 mediator=openssl \
       
    56     mediator-implementation=fips-140
       
    57 link path=lib/$(MACH64)/libssl.so.1.0.0 \
       
    58     target=../openssl/fips-140/$(MACH64)/libssl.so.1.0.0 mediator=openssl \
       
    59     mediator-implementation=fips-140
       
    60 link path=lib/$(MACH64)/llib-lcrypto \
       
    61     target=../openssl/fips-140/$(MACH64)/llib-lcrypto mediator=openssl \
       
    62     mediator-implementation=fips-140
       
    63 link path=lib/$(MACH64)/llib-lcrypto.ln \
       
    64     target=../openssl/fips-140/$(MACH64)/llib-lcrypto.ln mediator=openssl \
       
    65     mediator-implementation=fips-140
       
    66 link path=lib/$(MACH64)/llib-lssl \
       
    67     target=../openssl/fips-140/$(MACH64)/llib-lssl mediator=openssl \
       
    68     mediator-implementation=fips-140
       
    69 link path=lib/$(MACH64)/llib-lssl.ln \
       
    70     target=../openssl/fips-140/$(MACH64)/llib-lssl.ln mediator=openssl \
       
    71     mediator-implementation=fips-140
       
    72 
       
    73 # Mediator links for 32-bit libraries
       
    74 link path=lib/libcrypto.so.1.0.0 target=openssl/fips-140/libcrypto.so.1.0.0 \
       
    75     mediator=openssl mediator-implementation=fips-140
       
    76 link path=lib/libssl.so.1.0.0 target=openssl/fips-140/libssl.so.1.0.0 \
       
    77     mediator=openssl mediator-implementation=fips-140
       
    78 link path=lib/llib-lcrypto target=../../lib/openssl/fips-140/llib-lcrypto \
       
    79     mediator=openssl mediator-implementation=fips-140
       
    80 link path=lib/llib-lcrypto.ln target=openssl/fips-140/llib-lcrypto.ln \
       
    81     mediator=openssl mediator-implementation=fips-140
       
    82 link path=lib/llib-lssl target=openssl/fips-140/llib-lssl mediator=openssl \
       
    83     mediator-implementation=fips-140
       
    84 link path=lib/llib-lssl.ln target=openssl/fips-140/llib-lssl.ln \
       
    85     mediator=openssl mediator-implementation=fips-140
       
    86 
       
    87 # Mediator links for 64-bit libraries
       
    88 link path=lib/openssl/engines/$(MACH64)/libpk11.so.1 \
       
    89     target=../../fips-140/engines/$(MACH64)/libpk11.so.1 mediator=openssl \
       
    90     mediator-implementation=fips-140
       
    91 link path=lib/openssl/engines/libpk11.so.1 \
       
    92     target=../fips-140/engines/libpk11.so.1 mediator=openssl \
       
    93     mediator-implementation=fips-140
       
    94 file $(MACH32)/apps/openssl path=lib/openssl/fips-140/$(MACH32)/openssl \
       
    95     owner=root group=bin mode=0555
       
    96 link path=lib/openssl/fips-140/$(MACH64)/libcrypto.so target=libcrypto.so.1.0.0
       
    97 
       
    98 # 64 bit libraries, lint libraries, and engines.
       
    99 file $(MACH64)/libcrypto.so.1.0.0 \
       
   100     path=lib/openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0
       
   101 link path=lib/openssl/fips-140/$(MACH64)/libssl.so target=libssl.so.1.0.0
       
   102 file $(MACH64)/libssl.so.1.0.0 \
       
   103     path=lib/openssl/fips-140/$(MACH64)/libssl.so.1.0.0
       
   104 file llib-lcrypto path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto
       
   105 file $(MACH64)/llib-lcrypto.ln \
       
   106     path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto.ln
       
   107 file llib-lssl path=lib/openssl/fips-140/$(MACH64)/llib-lssl
       
   108 file $(MACH64)/llib-lssl.ln path=lib/openssl/fips-140/$(MACH64)/llib-lssl.ln
       
   109 link path=lib/openssl/fips-140/64 target=$(MACH64)
       
   110 file etc/openssl/misc/CA.pl path=lib/openssl/fips-140/CA.pl
       
   111 link path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so target=libpk11.so.1
       
   112 file $(MACH64)/engines/libpk11.so \
       
   113     path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so.1
       
   114 link path=lib/openssl/fips-140/engines/libpk11.so target=libpk11.so.1
       
   115 
       
   116 # 32 bit libraries, lint libraries, and engines.
       
   117 file $(MACH32)/engines/libpk11.so path=lib/openssl/fips-140/engines/libpk11.so.1
       
   118 link path=lib/openssl/fips-140/libcrypto.so target=libcrypto.so.1.0.0
       
   119 file $(MACH32)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/libcrypto.so.1.0.0
       
   120 link path=lib/openssl/fips-140/libssl.so target=libssl.so.1.0.0
       
   121 file $(MACH32)/libssl.so.1.0.0 path=lib/openssl/fips-140/libssl.so.1.0.0
       
   122 file llib-lcrypto path=lib/openssl/fips-140/llib-lcrypto
       
   123 file $(MACH32)/llib-lcrypto.ln path=lib/openssl/fips-140/llib-lcrypto.ln
       
   124 file llib-lssl path=lib/openssl/fips-140/llib-lssl
       
   125 file $(MACH32)/llib-lssl.ln path=lib/openssl/fips-140/llib-lssl.ln
       
   126 
       
   127 # Commands.
       
   128 file $(MACH64)/apps/openssl path=lib/openssl/fips-140/openssl owner=root \
       
   129     group=bin mode=0555
       
   130 link path=usr/bin/$(MACH32)/openssl \
       
   131     target=../../../lib/openssl/fips-140/$(MACH32)/openssl mediator=openssl \
       
   132     mediator-implementation=fips-140
       
   133 link path=usr/bin/CA.pl target=../../lib/openssl/fips-140/CA.pl \
       
   134     mediator=openssl mediator-implementation=fips-140
       
   135 
       
   136 # Mediator links for the commands
       
   137 link path=usr/bin/openssl target=../../lib/openssl/fips-140/openssl \
       
   138     mediator=openssl mediator-implementation=fips-140
       
   139 file path=usr/include/openssl/fips-140/openssl/aes.h
       
   140 file path=usr/include/openssl/fips-140/openssl/asn1.h
       
   141 file path=usr/include/openssl/fips-140/openssl/asn1_mac.h
       
   142 file path=usr/include/openssl/fips-140/openssl/asn1t.h
       
   143 file path=usr/include/openssl/fips-140/openssl/bio.h
       
   144 file path=usr/include/openssl/fips-140/openssl/blowfish.h
       
   145 file path=usr/include/openssl/fips-140/openssl/bn.h
       
   146 file path=usr/include/openssl/fips-140/openssl/buffer.h
       
   147 file path=usr/include/openssl/fips-140/openssl/cast.h
       
   148 file path=usr/include/openssl/fips-140/openssl/cmac.h
       
   149 file path=usr/include/openssl/fips-140/openssl/cms.h
       
   150 file path=usr/include/openssl/fips-140/openssl/comp.h
       
   151 file path=usr/include/openssl/fips-140/openssl/conf.h
       
   152 file path=usr/include/openssl/fips-140/openssl/conf_api.h
       
   153 file path=usr/include/openssl/fips-140/openssl/crypto.h
       
   154 file path=usr/include/openssl/fips-140/openssl/des.h
       
   155 file path=usr/include/openssl/fips-140/openssl/des_old.h
       
   156 file path=usr/include/openssl/fips-140/openssl/dh.h
       
   157 file path=usr/include/openssl/fips-140/openssl/dsa.h
       
   158 file path=usr/include/openssl/fips-140/openssl/dso.h
       
   159 file path=usr/include/openssl/fips-140/openssl/dtls1.h
       
   160 file path=usr/include/openssl/fips-140/openssl/e_os2.h
       
   161 file path=usr/include/openssl/fips-140/openssl/ebcdic.h
       
   162 file path=usr/include/openssl/fips-140/openssl/ec.h
       
   163 file path=usr/include/openssl/fips-140/openssl/ecdh.h
       
   164 file path=usr/include/openssl/fips-140/openssl/ecdsa.h
       
   165 file path=usr/include/openssl/fips-140/openssl/engine.h
       
   166 file path=usr/include/openssl/fips-140/openssl/err.h
       
   167 file path=usr/include/openssl/fips-140/openssl/evp.h
       
   168 file path=usr/include/openssl/fips-140/openssl/fips.h
       
   169 file path=usr/include/openssl/fips-140/openssl/fips_rand.h
       
   170 file path=usr/include/openssl/fips-140/openssl/hmac.h
       
   171 file path=usr/include/openssl/fips-140/openssl/krb5_asn.h
       
   172 file path=usr/include/openssl/fips-140/openssl/kssl.h
       
   173 file path=usr/include/openssl/fips-140/openssl/lhash.h
       
   174 file path=usr/include/openssl/fips-140/openssl/md2.h
       
   175 file path=usr/include/openssl/fips-140/openssl/md4.h
       
   176 file path=usr/include/openssl/fips-140/openssl/md5.h
       
   177 file path=usr/include/openssl/fips-140/openssl/modes.h
       
   178 file path=usr/include/openssl/fips-140/openssl/obj_mac.h
       
   179 file path=usr/include/openssl/fips-140/openssl/objects.h
       
   180 file path=usr/include/openssl/fips-140/openssl/ocsp.h
       
   181 file path=usr/include/openssl/fips-140/openssl/opensslconf.h
       
   182 file path=usr/include/openssl/fips-140/openssl/opensslv.h
       
   183 file path=usr/include/openssl/fips-140/openssl/ossl_typ.h
       
   184 file path=usr/include/openssl/fips-140/openssl/pem.h
       
   185 file path=usr/include/openssl/fips-140/openssl/pem2.h
       
   186 file path=usr/include/openssl/fips-140/openssl/pkcs12.h
       
   187 file path=usr/include/openssl/fips-140/openssl/pkcs7.h
       
   188 file path=usr/include/openssl/fips-140/openssl/pqueue.h
       
   189 file path=usr/include/openssl/fips-140/openssl/rand.h
       
   190 file path=usr/include/openssl/fips-140/openssl/rc2.h
       
   191 file path=usr/include/openssl/fips-140/openssl/rc4.h
       
   192 file path=usr/include/openssl/fips-140/openssl/ripemd.h
       
   193 file path=usr/include/openssl/fips-140/openssl/rsa.h
       
   194 file path=usr/include/openssl/fips-140/openssl/safestack.h
       
   195 file path=usr/include/openssl/fips-140/openssl/sha.h
       
   196 file path=usr/include/openssl/fips-140/openssl/srp.h
       
   197 file path=usr/include/openssl/fips-140/openssl/srtp.h
       
   198 file path=usr/include/openssl/fips-140/openssl/ssl.h
       
   199 file path=usr/include/openssl/fips-140/openssl/ssl2.h
       
   200 file path=usr/include/openssl/fips-140/openssl/ssl23.h
       
   201 file path=usr/include/openssl/fips-140/openssl/ssl3.h
       
   202 file path=usr/include/openssl/fips-140/openssl/stack.h
       
   203 file path=usr/include/openssl/fips-140/openssl/symhacks.h
       
   204 file path=usr/include/openssl/fips-140/openssl/tls1.h
       
   205 file path=usr/include/openssl/fips-140/openssl/ts.h
       
   206 file path=usr/include/openssl/fips-140/openssl/txt_db.h
       
   207 file path=usr/include/openssl/fips-140/openssl/ui.h
       
   208 file path=usr/include/openssl/fips-140/openssl/ui_compat.h
       
   209 file path=usr/include/openssl/fips-140/openssl/whrlpool.h
       
   210 file path=usr/include/openssl/fips-140/openssl/x509.h
       
   211 file path=usr/include/openssl/fips-140/openssl/x509_vfy.h
       
   212 file path=usr/include/openssl/fips-140/openssl/x509v3.h
       
   213 license openssl-1.0.1-fips-140.license license="OpenSSL, SSLeay"
       
   214 
       
   215 # OpenSSL packages are now managed by 'pkg mediator', and the installation
       
   216 # of 'openssl-fips-140' package requires 'openssl' package with the mediator
       
   217 # change (s11u2_build35 or later)
       
   218 depend type=optional fmri=library/security/[email protected],5.11-0.175.2.0.0.35.0