components/openssl/openssl-fips-140/openssl-fips-140.p5m
branchs11u3-sru
changeset 7163 ee09edbd5876
parent 3734 24181f5eb463
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, 2016, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 # Header files.
       
    25 #
       
    26 # Take header files from the 32-bit build. This build has the patched
       
    27 # opensslconf.h (64-bit build does not). We cannot take header files from the
       
    28 # proto area since it could contain headers installed for the 64-bit build.
       
    29 <transform file path=usr/include/openssl/fips-140/openssl/(.+\.h)$ -> \
       
    30     set action.hash $(MACH32)/include/openssl/%<1> >
       
    31 set name=pkg.fmri \
       
    32     value=pkg:/library/security/openssl/openssl-fips-140@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    33 set name=pkg.summary value="FIPS 140-2 Capable OpenSSL libraries"
       
    34 set name=pkg.human-version value=$(COMPONENT_VERSION)
       
    35 set name=com.oracle.info.description \
       
    36     value="the FIPS 140-2 Capable OpenSSL libraries"
       
    37 set name=com.oracle.info.tpno value=$(TPNO)
       
    38 set name=info.classification value=org.opensolaris.category.2008:System/Security
       
    39 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    40 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    41 set name=org.opensolaris.arc-caseid value=PSARC/2009/507
       
    42 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    43 
       
    44 # Basic directories and a configuration file.
       
    45 file etc/openssl/openssl.cnf path=etc/openssl/fips-140/openssl.cnf group=sys \
       
    46     mode=0644 preserve=true
       
    47 link path=lib/$(MACH64)/libcrypto.so.1.0.0 \
       
    48     target=../openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0 mediator=openssl \
       
    49     mediator-implementation=fips-140
       
    50 link path=lib/$(MACH64)/libssl.so.1.0.0 \
       
    51     target=../openssl/fips-140/$(MACH64)/libssl.so.1.0.0 mediator=openssl \
       
    52     mediator-implementation=fips-140
       
    53 link path=lib/$(MACH64)/llib-lcrypto \
       
    54     target=../openssl/fips-140/$(MACH64)/llib-lcrypto mediator=openssl \
       
    55     mediator-implementation=fips-140
       
    56 link path=lib/$(MACH64)/llib-lcrypto.ln \
       
    57     target=../openssl/fips-140/$(MACH64)/llib-lcrypto.ln mediator=openssl \
       
    58     mediator-implementation=fips-140
       
    59 link path=lib/$(MACH64)/llib-lssl \
       
    60     target=../openssl/fips-140/$(MACH64)/llib-lssl mediator=openssl \
       
    61     mediator-implementation=fips-140
       
    62 link path=lib/$(MACH64)/llib-lssl.ln \
       
    63     target=../openssl/fips-140/$(MACH64)/llib-lssl.ln mediator=openssl \
       
    64     mediator-implementation=fips-140
       
    65 
       
    66 # Mediator links for 32-bit libraries
       
    67 link path=lib/libcrypto.so.1.0.0 target=openssl/fips-140/libcrypto.so.1.0.0 \
       
    68     mediator=openssl mediator-implementation=fips-140
       
    69 link path=lib/libssl.so.1.0.0 target=openssl/fips-140/libssl.so.1.0.0 \
       
    70     mediator=openssl mediator-implementation=fips-140
       
    71 link path=lib/llib-lcrypto target=openssl/fips-140/llib-lcrypto \
       
    72     mediator=openssl mediator-implementation=fips-140
       
    73 link path=lib/llib-lcrypto.ln target=openssl/fips-140/llib-lcrypto.ln \
       
    74     mediator=openssl mediator-implementation=fips-140
       
    75 link path=lib/llib-lssl target=openssl/fips-140/llib-lssl mediator=openssl \
       
    76     mediator-implementation=fips-140
       
    77 link path=lib/llib-lssl.ln target=openssl/fips-140/llib-lssl.ln \
       
    78     mediator=openssl mediator-implementation=fips-140
       
    79 
       
    80 # Mediator links for 64-bit libraries
       
    81 link path=lib/openssl/engines/$(MACH64)/libpk11.so.1 \
       
    82     target=../../fips-140/engines/$(MACH64)/libpk11.so.1 mediator=openssl \
       
    83     mediator-implementation=fips-140
       
    84 link path=lib/openssl/engines/libpk11.so.1 \
       
    85     target=../fips-140/engines/libpk11.so.1 mediator=openssl \
       
    86     mediator-implementation=fips-140
       
    87 file $(MACH32)/apps/openssl path=lib/openssl/fips-140/$(MACH32)/openssl \
       
    88     owner=root group=bin mode=0555
       
    89 link path=lib/openssl/fips-140/$(MACH64)/libcrypto.so target=libcrypto.so.1.0.0
       
    90 
       
    91 # 64 bit libraries, lint libraries, and engines.
       
    92 file $(MACH64)/libcrypto.so.1.0.0 \
       
    93     path=lib/openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0
       
    94 link path=lib/openssl/fips-140/$(MACH64)/libssl.so target=libssl.so.1.0.0
       
    95 file $(MACH64)/libssl.so.1.0.0 \
       
    96     path=lib/openssl/fips-140/$(MACH64)/libssl.so.1.0.0
       
    97 file llib-lcrypto path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto
       
    98 file $(MACH64)/llib-lcrypto.ln \
       
    99     path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto.ln
       
   100 file llib-lssl path=lib/openssl/fips-140/$(MACH64)/llib-lssl
       
   101 file $(MACH64)/llib-lssl.ln path=lib/openssl/fips-140/$(MACH64)/llib-lssl.ln
       
   102 link path=lib/openssl/fips-140/64 target=$(MACH64)
       
   103 file etc/openssl/misc/CA.pl path=lib/openssl/fips-140/CA.pl
       
   104 link path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so target=libpk11.so.1
       
   105 file $(MACH64)/engines/libpk11.so \
       
   106     path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so.1
       
   107 link path=lib/openssl/fips-140/engines/libpk11.so target=libpk11.so.1
       
   108 
       
   109 # 32 bit libraries, lint libraries, and engines.
       
   110 file $(MACH32)/engines/libpk11.so path=lib/openssl/fips-140/engines/libpk11.so.1
       
   111 link path=lib/openssl/fips-140/libcrypto.so target=libcrypto.so.1.0.0
       
   112 file $(MACH32)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/libcrypto.so.1.0.0
       
   113 link path=lib/openssl/fips-140/libssl.so target=libssl.so.1.0.0
       
   114 file $(MACH32)/libssl.so.1.0.0 path=lib/openssl/fips-140/libssl.so.1.0.0
       
   115 file llib-lcrypto path=lib/openssl/fips-140/llib-lcrypto
       
   116 file $(MACH32)/llib-lcrypto.ln path=lib/openssl/fips-140/llib-lcrypto.ln
       
   117 file llib-lssl path=lib/openssl/fips-140/llib-lssl
       
   118 file $(MACH32)/llib-lssl.ln path=lib/openssl/fips-140/llib-lssl.ln
       
   119 
       
   120 # Commands.
       
   121 file $(MACH64)/apps/openssl path=lib/openssl/fips-140/openssl owner=root \
       
   122     group=bin mode=0555
       
   123 link path=usr/bin/$(MACH32)/openssl \
       
   124     target=../../../lib/openssl/fips-140/$(MACH32)/openssl mediator=openssl \
       
   125     mediator-implementation=fips-140
       
   126 link path=usr/bin/CA.pl target=../../lib/openssl/fips-140/CA.pl \
       
   127     mediator=openssl mediator-implementation=fips-140
       
   128 
       
   129 # Mediator links for the commands
       
   130 link path=usr/bin/openssl target=../../lib/openssl/fips-140/openssl \
       
   131     mediator=openssl mediator-implementation=fips-140
       
   132 file path=usr/include/openssl/fips-140/openssl/aes.h
       
   133 file path=usr/include/openssl/fips-140/openssl/asn1.h
       
   134 file path=usr/include/openssl/fips-140/openssl/asn1_mac.h
       
   135 file path=usr/include/openssl/fips-140/openssl/asn1t.h
       
   136 file path=usr/include/openssl/fips-140/openssl/bio.h
       
   137 file path=usr/include/openssl/fips-140/openssl/blowfish.h
       
   138 file path=usr/include/openssl/fips-140/openssl/bn.h
       
   139 file path=usr/include/openssl/fips-140/openssl/buffer.h
       
   140 file path=usr/include/openssl/fips-140/openssl/cast.h
       
   141 file path=usr/include/openssl/fips-140/openssl/cmac.h
       
   142 file path=usr/include/openssl/fips-140/openssl/cms.h
       
   143 file path=usr/include/openssl/fips-140/openssl/comp.h
       
   144 file path=usr/include/openssl/fips-140/openssl/conf.h
       
   145 file path=usr/include/openssl/fips-140/openssl/conf_api.h
       
   146 file path=usr/include/openssl/fips-140/openssl/crypto.h
       
   147 file path=usr/include/openssl/fips-140/openssl/des.h
       
   148 file path=usr/include/openssl/fips-140/openssl/des_old.h
       
   149 file path=usr/include/openssl/fips-140/openssl/dh.h
       
   150 file path=usr/include/openssl/fips-140/openssl/dsa.h
       
   151 file path=usr/include/openssl/fips-140/openssl/dso.h
       
   152 file path=usr/include/openssl/fips-140/openssl/dtls1.h
       
   153 file path=usr/include/openssl/fips-140/openssl/e_os2.h
       
   154 file path=usr/include/openssl/fips-140/openssl/ebcdic.h
       
   155 file path=usr/include/openssl/fips-140/openssl/ec.h
       
   156 file path=usr/include/openssl/fips-140/openssl/ecdh.h
       
   157 file path=usr/include/openssl/fips-140/openssl/ecdsa.h
       
   158 file path=usr/include/openssl/fips-140/openssl/engine.h
       
   159 file path=usr/include/openssl/fips-140/openssl/err.h
       
   160 file path=usr/include/openssl/fips-140/openssl/evp.h
       
   161 file path=usr/include/openssl/fips-140/openssl/fips.h
       
   162 file path=usr/include/openssl/fips-140/openssl/fips_rand.h
       
   163 file path=usr/include/openssl/fips-140/openssl/hmac.h
       
   164 file path=usr/include/openssl/fips-140/openssl/krb5_asn.h
       
   165 file path=usr/include/openssl/fips-140/openssl/kssl.h
       
   166 file path=usr/include/openssl/fips-140/openssl/lhash.h
       
   167 file path=usr/include/openssl/fips-140/openssl/md2.h
       
   168 file path=usr/include/openssl/fips-140/openssl/md4.h
       
   169 file path=usr/include/openssl/fips-140/openssl/md5.h
       
   170 file path=usr/include/openssl/fips-140/openssl/modes.h
       
   171 file path=usr/include/openssl/fips-140/openssl/obj_mac.h
       
   172 file path=usr/include/openssl/fips-140/openssl/objects.h
       
   173 file path=usr/include/openssl/fips-140/openssl/ocsp.h
       
   174 file path=usr/include/openssl/fips-140/openssl/opensslconf.h
       
   175 file path=usr/include/openssl/fips-140/openssl/opensslv.h
       
   176 file path=usr/include/openssl/fips-140/openssl/ossl_typ.h
       
   177 file path=usr/include/openssl/fips-140/openssl/pem.h
       
   178 file path=usr/include/openssl/fips-140/openssl/pem2.h
       
   179 file path=usr/include/openssl/fips-140/openssl/pkcs12.h
       
   180 file path=usr/include/openssl/fips-140/openssl/pkcs7.h
       
   181 file path=usr/include/openssl/fips-140/openssl/pqueue.h
       
   182 file path=usr/include/openssl/fips-140/openssl/rand.h
       
   183 file path=usr/include/openssl/fips-140/openssl/rc2.h
       
   184 file path=usr/include/openssl/fips-140/openssl/rc4.h
       
   185 file path=usr/include/openssl/fips-140/openssl/ripemd.h
       
   186 file path=usr/include/openssl/fips-140/openssl/rsa.h
       
   187 file path=usr/include/openssl/fips-140/openssl/safestack.h
       
   188 file path=usr/include/openssl/fips-140/openssl/sha.h
       
   189 file path=usr/include/openssl/fips-140/openssl/srp.h
       
   190 file path=usr/include/openssl/fips-140/openssl/srtp.h
       
   191 file path=usr/include/openssl/fips-140/openssl/ssl.h
       
   192 file path=usr/include/openssl/fips-140/openssl/ssl2.h
       
   193 file path=usr/include/openssl/fips-140/openssl/ssl23.h
       
   194 file path=usr/include/openssl/fips-140/openssl/ssl3.h
       
   195 file path=usr/include/openssl/fips-140/openssl/stack.h
       
   196 file path=usr/include/openssl/fips-140/openssl/symhacks.h
       
   197 file path=usr/include/openssl/fips-140/openssl/tls1.h
       
   198 file path=usr/include/openssl/fips-140/openssl/ts.h
       
   199 file path=usr/include/openssl/fips-140/openssl/txt_db.h
       
   200 file path=usr/include/openssl/fips-140/openssl/ui.h
       
   201 file path=usr/include/openssl/fips-140/openssl/ui_compat.h
       
   202 file path=usr/include/openssl/fips-140/openssl/whrlpool.h
       
   203 file path=usr/include/openssl/fips-140/openssl/x509.h
       
   204 file path=usr/include/openssl/fips-140/openssl/x509_vfy.h
       
   205 file path=usr/include/openssl/fips-140/openssl/x509v3.h
       
   206 license openssl-fips-140.license license="OpenSSL, SSLeay"
       
   207 
       
   208 # OpenSSL packages are now managed by 'pkg mediator', and the installation
       
   209 # of 'openssl-fips-140' package requires 'openssl' package with the mediator
       
   210 # change (s11u2_build35 or later)
       
   211 depend type=optional fmri=library/security/[email protected],5.11-0.175.2.0.0.35.0