components/openssl/openssl-1.0.1-fips-140/openssl-1.0.1-fips-140.p5m
branchs11-update
changeset 2972 60456e7be821
parent 2921 8da1e7689d13
child 3017 da8a40fb54dd
equal deleted inserted replaced
2971:5d740e74b68b 2972:60456e7be821
    20 #
    20 #
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
    24 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
       
    25 
       
    26 # This line is needed temporarily to workaround the link check error due to
       
    27 # change of action type.  It should be removed once non-FIPS version becomes
       
    28 # available in the reference repository
       
    29 set name=pkg.linted.pkglint.dupaction010.1 value=true
       
    30 
    25 set name=pkg.fmri \
    31 set name=pkg.fmri \
    26     value=pkg:/library/security/openssl/openssl-fips-140@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    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"
    27 set name=pkg.human-version value=$(COMPONENT_VERSION)
    34 set name=pkg.human-version value=$(COMPONENT_VERSION)
    28 set name=pkg.summary value="FIPS 140-2 Capable OpenSSL libraries"
    35 set name=com.oracle.info.description \
    29 set name=com.oracle.info.description value="the FIPS 140-2 Capable OpenSSL libraries"
    36     value="the FIPS 140-2 Capable OpenSSL libraries"
    30 # TPNO number for the new component is not yet available (bug #18071490)
    37 # TPNO number for the new component is not yet available (bug #18071490)
    31 # set name=com.oracle.info.tpno value=
    38 # set name=com.oracle.info.tpno value=
    32 set name=info.classification \
    39 set name=info.classification value=org.opensolaris.category.2008:System/Security
    33     value="org.opensolaris.category.2008:System/Security"
       
    34 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
    40 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
    35 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
    41 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
    36 set name=org.opensolaris.arc-caseid \
    42 set name=org.opensolaris.arc-caseid value=PSARC/2009/507
    37     value=PSARC/2009/507
       
    38 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
    43 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    44 
    39 # Basic directories and a configuration file.
    45 # Basic directories and a configuration file.
    40 file etc/openssl/openssl.cnf path=etc/openssl/fips-140/openssl.cnf group=sys mode=0644 preserve=true
    46 file etc/openssl/openssl.cnf path=etc/openssl/fips-140/openssl.cnf group=sys \
       
    47     mode=0644 preserve=true
    41 link path=lib/openssl/fips-140/64 target=$(MACH64)
    48 link path=lib/openssl/fips-140/64 target=$(MACH64)
       
    49 
       
    50 # Commands.
       
    51 file $(MACH64)/apps/openssl path=lib/openssl/fips-140/openssl owner=root \
       
    52     group=bin mode=0555
       
    53 file $(MACH32)/apps/openssl path=lib/openssl/fips-140/$(MACH32)/openssl \
       
    54     owner=root group=bin mode=0555
       
    55 
       
    56 # Mediator links for the commands
       
    57 link path=usr/bin/openssl target=../../lib/openssl/fips-140/openssl \
       
    58     mediator=openssl mediator-implementation=fips-140
       
    59 link path=usr/bin/$(MACH32)/openssl \
       
    60     target=../../../lib/openssl/fips-140/$(MACH32)/openssl mediator=openssl \
       
    61     mediator-implementation=fips-140
       
    62 link path=usr/bin/CA.pl target=../../lib/openssl/fips-140/CA.pl \
       
    63     mediator=openssl mediator-implementation=fips-140
       
    64 
    42 # 32 bit libraries, lint libraries, and engines.
    65 # 32 bit libraries, lint libraries, and engines.
       
    66 file $(MACH32)/engines/libpk11.so path=lib/openssl/fips-140/engines/libpk11.so.1
    43 file $(MACH32)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/libcrypto.so.1.0.0
    67 file $(MACH32)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/libcrypto.so.1.0.0
       
    68 file $(MACH32)/libssl.so.1.0.0 path=lib/openssl/fips-140/libssl.so.1.0.0
       
    69 file $(MACH32)/llib-lcrypto.ln path=lib/openssl/fips-140/llib-lcrypto.ln
       
    70 file $(MACH32)/llib-lssl.ln path=lib/openssl/fips-140/llib-lssl.ln
       
    71 file llib-lcrypto path=lib/openssl/fips-140/llib-lcrypto
       
    72 file llib-lssl path=lib/openssl/fips-140/llib-lssl
       
    73 link path=lib/openssl/fips-140/engines/libpk11.so target=libpk11.so.1
    44 link path=lib/openssl/fips-140/libcrypto.so target=libcrypto.so.1.0.0
    74 link path=lib/openssl/fips-140/libcrypto.so target=libcrypto.so.1.0.0
    45 file $(MACH32)/libssl.so.1.0.0 path=lib/openssl/fips-140/libssl.so.1.0.0
       
    46 link path=lib/openssl/fips-140/libssl.so target=libssl.so.1.0.0
    75 link path=lib/openssl/fips-140/libssl.so target=libssl.so.1.0.0
    47 file llib-lcrypto path=lib/openssl/fips-140/llib-lcrypto
    76 
    48 file $(MACH32)/llib-lcrypto.ln path=lib/openssl/fips-140/llib-lcrypto.ln
    77 # Mediator links for 32-bit libraries
    49 file llib-lssl path=lib/openssl/fips-140/llib-lssl
    78 link path=lib/libcrypto.so.1.0.0 \
    50 file $(MACH32)/llib-lssl.ln path=lib/openssl/fips-140/llib-lssl.ln
    79     target=openssl/fips-140/libcrypto.so.1.0.0 mediator=openssl \
    51 file $(MACH32)/engines/libpk11.so path=lib/openssl/fips-140/engines/libpk11.so.1
    80     mediator-implementation=fips-140
    52 link path=lib/openssl/fips-140/engines/libpk11.so target=libpk11.so.1
    81 link path=lib/libssl.so.1.0.0 \
       
    82     target=openssl/fips-140/libssl.so.1.0.0 mediator=openssl \
       
    83     mediator-implementation=fips-140
       
    84 link path=lib/llib-lcrypto target=../../lib/openssl/fips-140/llib-lcrypto \
       
    85     mediator=openssl mediator-implementation=fips-140
       
    86 link path=lib/llib-lcrypto.ln \
       
    87     target=openssl/fips-140/llib-lcrypto.ln mediator=openssl \
       
    88     mediator-implementation=fips-140
       
    89 link path=lib/llib-lssl target=openssl/fips-140/llib-lssl \
       
    90     mediator=openssl mediator-implementation=fips-140
       
    91 link path=lib/llib-lssl.ln target=openssl/fips-140/llib-lssl.ln \
       
    92     mediator=openssl mediator-implementation=fips-140
       
    93 link path=lib/openssl/engines/libpk11.so.1 \
       
    94     target=../fips-140/engines/libpk11.so.1 mediator=openssl \
       
    95     mediator-implementation=fips-140
       
    96 
    53 # 64 bit libraries, lint libraries, and engines.
    97 # 64 bit libraries, lint libraries, and engines.
    54 file $(MACH64)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0
    98 file $(MACH64)/libcrypto.so.1.0.0 \
       
    99     path=lib/openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0
       
   100 file $(MACH64)/libssl.so.1.0.0 \
       
   101     path=lib/openssl/fips-140/$(MACH64)/libssl.so.1.0.0
       
   102 file $(MACH64)/llib-lcrypto.ln \
       
   103     path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto.ln
       
   104 file $(MACH64)/llib-lssl.ln path=lib/openssl/fips-140/$(MACH64)/llib-lssl.ln
       
   105 file etc/openssl/misc/CA.pl path=lib/openssl/fips-140/CA.pl
       
   106 file $(MACH64)/engines/libpk11.so \
       
   107     path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so.1
       
   108 file llib-lcrypto path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto
       
   109 file llib-lssl path=lib/openssl/fips-140/$(MACH64)/llib-lssl
    55 link path=lib/openssl/fips-140/$(MACH64)/libcrypto.so target=libcrypto.so.1.0.0
   110 link path=lib/openssl/fips-140/$(MACH64)/libcrypto.so target=libcrypto.so.1.0.0
    56 file $(MACH64)/libssl.so.1.0.0 path=lib/openssl/fips-140/$(MACH64)/libssl.so.1.0.0
       
    57 link path=lib/openssl/fips-140/$(MACH64)/libssl.so target=libssl.so.1.0.0
   111 link path=lib/openssl/fips-140/$(MACH64)/libssl.so target=libssl.so.1.0.0
    58 file llib-lcrypto path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto
       
    59 file $(MACH64)/llib-lcrypto.ln path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto.ln
       
    60 file llib-lssl path=lib/openssl/fips-140/$(MACH64)/llib-lssl
       
    61 file $(MACH64)/llib-lssl.ln path=lib/openssl/fips-140/$(MACH64)/llib-lssl.ln
       
    62 file $(MACH64)/engines/libpk11.so path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so.1
       
    63 link path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so target=libpk11.so.1
   112 link path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so target=libpk11.so.1
       
   113 
       
   114 # Mediator links for 64-bit libraries
       
   115 link path=lib/openssl/engines/$(MACH64)/libpk11.so.1 \
       
   116     target=../../fips-140/engines/$(MACH64)/libpk11.so.1 mediator=openssl \
       
   117     mediator-implementation=fips-140
       
   118 link path=lib/$(MACH64)/libcrypto.so.1.0.0 \
       
   119     target=../openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0 mediator=openssl \
       
   120     mediator-implementation=fips-140
       
   121 link path=lib/$(MACH64)/libssl.so.1.0.0 \
       
   122     target=../openssl/fips-140/$(MACH64)/libssl.so.1.0.0 mediator=openssl \
       
   123     mediator-implementation=fips-140
       
   124 link path=lib/$(MACH64)/llib-lcrypto \
       
   125     target=../openssl/fips-140/$(MACH64)/llib-lcrypto mediator=openssl \
       
   126     mediator-implementation=fips-140
       
   127 link path=lib/$(MACH64)/llib-lcrypto.ln \
       
   128     target=../openssl/fips-140/$(MACH64)/llib-lcrypto.ln mediator=openssl \
       
   129     mediator-implementation=fips-140
       
   130 link path=lib/$(MACH64)/llib-lssl \
       
   131     target=../openssl/fips-140/$(MACH64)/llib-lssl mediator=openssl \
       
   132     mediator-implementation=fips-140
       
   133 link path=lib/$(MACH64)/llib-lssl.ln \
       
   134     target=../openssl/fips-140/$(MACH64)/llib-lssl.ln mediator=openssl \
       
   135     mediator-implementation=fips-140
       
   136 
    64 # Header files.
   137 # Header files.
    65 #
   138 #
    66 # Take header files from the 32-bit build. This build has the patched
   139 # Take header files from the 32-bit build. This build has the patched
    67 # opensslconf.h (64-bit build does not). We cannot take header files from the
   140 # opensslconf.h (64-bit build does not). We cannot take header files from the
    68 # proto area since it could contain headers installed for the 64-bit build.
   141 # proto area since it could contain headers installed for the 64-bit build.
   141 file path=usr/include/openssl/fips-140/openssl/whrlpool.h
   214 file path=usr/include/openssl/fips-140/openssl/whrlpool.h
   142 file path=usr/include/openssl/fips-140/openssl/x509.h
   215 file path=usr/include/openssl/fips-140/openssl/x509.h
   143 file path=usr/include/openssl/fips-140/openssl/x509_vfy.h
   216 file path=usr/include/openssl/fips-140/openssl/x509_vfy.h
   144 file path=usr/include/openssl/fips-140/openssl/x509v3.h
   217 file path=usr/include/openssl/fips-140/openssl/x509v3.h
   145 license openssl-1.0.1-fips-140.license license="OpenSSL, SSLeay"
   218 license openssl-1.0.1-fips-140.license license="OpenSSL, SSLeay"
       
   219 
       
   220 # OpenSSL packages are now managed by 'pkg mediator', and the installation
       
   221 # of 'openssl-fips-140' package requires 'openssl' package with the mediator
       
   222 # change (s11u2_build35 or later)
       
   223 depend type=optional \
       
   224 	fmri=solaris/library/security/[email protected],5.11-0.175.2.0.0.35.0