|
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 set name=pkg.linted.pkglint.dupaction001.1 value=true |
|
38 |
|
39 # This line is needed temporarily to workaround the link check error due to |
|
40 # change of action type. It should be removed once non-FIPS version becomes |
|
41 # available in the reference repository |
|
42 set name=pkg.linted.pkglint.dupaction010.1 value=true |
|
43 set name=pkg.linted.pkglint.dupaction010.2 value=true |
|
44 set name=com.oracle.info.description \ |
|
45 value="the FIPS 140-2 Capable OpenSSL libraries" |
|
46 set name=com.oracle.info.tpno value=$(TPNO) |
|
47 set name=info.classification value=org.opensolaris.category.2008:System/Security |
|
48 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
49 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
50 set name=org.opensolaris.arc-caseid value=PSARC/2009/507 |
|
51 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
52 |
|
53 # Basic directories and a configuration file. |
|
54 file etc/openssl/openssl.cnf path=etc/openssl/fips-140/openssl.cnf group=sys \ |
|
55 mode=0644 preserve=true |
|
56 link path=lib/$(MACH64)/libcrypto.so.1.0.0 \ |
|
57 target=../openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0 mediator=openssl \ |
|
58 mediator-implementation=fips-140 |
|
59 link path=lib/$(MACH64)/libssl.so.1.0.0 \ |
|
60 target=../openssl/fips-140/$(MACH64)/libssl.so.1.0.0 mediator=openssl \ |
|
61 mediator-implementation=fips-140 |
|
62 link path=lib/$(MACH64)/llib-lcrypto \ |
|
63 target=../openssl/fips-140/$(MACH64)/llib-lcrypto mediator=openssl \ |
|
64 mediator-implementation=fips-140 |
|
65 link path=lib/$(MACH64)/llib-lcrypto.ln \ |
|
66 target=../openssl/fips-140/$(MACH64)/llib-lcrypto.ln mediator=openssl \ |
|
67 mediator-implementation=fips-140 |
|
68 link path=lib/$(MACH64)/llib-lssl \ |
|
69 target=../openssl/fips-140/$(MACH64)/llib-lssl mediator=openssl \ |
|
70 mediator-implementation=fips-140 |
|
71 link path=lib/$(MACH64)/llib-lssl.ln \ |
|
72 target=../openssl/fips-140/$(MACH64)/llib-lssl.ln mediator=openssl \ |
|
73 mediator-implementation=fips-140 |
|
74 |
|
75 # Mediator links for 32-bit libraries |
|
76 link path=lib/libcrypto.so.1.0.0 target=openssl/fips-140/libcrypto.so.1.0.0 \ |
|
77 mediator=openssl mediator-implementation=fips-140 |
|
78 link path=lib/libssl.so.1.0.0 target=openssl/fips-140/libssl.so.1.0.0 \ |
|
79 mediator=openssl mediator-implementation=fips-140 |
|
80 link path=lib/llib-lcrypto target=openssl/fips-140/llib-lcrypto \ |
|
81 mediator=openssl mediator-implementation=fips-140 |
|
82 link path=lib/llib-lcrypto.ln target=openssl/fips-140/llib-lcrypto.ln \ |
|
83 mediator=openssl mediator-implementation=fips-140 |
|
84 link path=lib/llib-lssl target=openssl/fips-140/llib-lssl mediator=openssl \ |
|
85 mediator-implementation=fips-140 |
|
86 link path=lib/llib-lssl.ln target=openssl/fips-140/llib-lssl.ln \ |
|
87 mediator=openssl mediator-implementation=fips-140 |
|
88 |
|
89 # Mediator links for 64-bit libraries |
|
90 link path=lib/openssl/engines/$(MACH64)/libpk11.so.1 \ |
|
91 target=../../fips-140/engines/$(MACH64)/libpk11.so.1 mediator=openssl \ |
|
92 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 file $(MACH32)/apps/openssl path=lib/openssl/fips-140/$(MACH32)/openssl \ |
|
97 owner=root group=bin mode=0555 |
|
98 link path=lib/openssl/fips-140/$(MACH64)/libcrypto.so target=libcrypto.so.1.0.0 |
|
99 |
|
100 # 64 bit libraries, lint libraries, and engines. |
|
101 file $(MACH64)/libcrypto.so.1.0.0 \ |
|
102 path=lib/openssl/fips-140/$(MACH64)/libcrypto.so.1.0.0 |
|
103 link path=lib/openssl/fips-140/$(MACH64)/libssl.so target=libssl.so.1.0.0 |
|
104 file $(MACH64)/libssl.so.1.0.0 \ |
|
105 path=lib/openssl/fips-140/$(MACH64)/libssl.so.1.0.0 |
|
106 file llib-lcrypto path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto |
|
107 file $(MACH64)/llib-lcrypto.ln \ |
|
108 path=lib/openssl/fips-140/$(MACH64)/llib-lcrypto.ln |
|
109 file llib-lssl path=lib/openssl/fips-140/$(MACH64)/llib-lssl |
|
110 file $(MACH64)/llib-lssl.ln path=lib/openssl/fips-140/$(MACH64)/llib-lssl.ln |
|
111 link path=lib/openssl/fips-140/64 target=$(MACH64) |
|
112 file etc/openssl/misc/CA.pl path=lib/openssl/fips-140/CA.pl |
|
113 link path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so target=libpk11.so.1 |
|
114 file $(MACH64)/engines/libpk11.so \ |
|
115 path=lib/openssl/fips-140/engines/$(MACH64)/libpk11.so.1 |
|
116 link path=lib/openssl/fips-140/engines/libpk11.so target=libpk11.so.1 |
|
117 |
|
118 # 32 bit libraries, lint libraries, and engines. |
|
119 file $(MACH32)/engines/libpk11.so path=lib/openssl/fips-140/engines/libpk11.so.1 |
|
120 link path=lib/openssl/fips-140/libcrypto.so target=libcrypto.so.1.0.0 |
|
121 file $(MACH32)/libcrypto.so.1.0.0 path=lib/openssl/fips-140/libcrypto.so.1.0.0 |
|
122 link path=lib/openssl/fips-140/libssl.so target=libssl.so.1.0.0 |
|
123 file $(MACH32)/libssl.so.1.0.0 path=lib/openssl/fips-140/libssl.so.1.0.0 |
|
124 file llib-lcrypto path=lib/openssl/fips-140/llib-lcrypto |
|
125 file $(MACH32)/llib-lcrypto.ln path=lib/openssl/fips-140/llib-lcrypto.ln |
|
126 file llib-lssl path=lib/openssl/fips-140/llib-lssl |
|
127 file $(MACH32)/llib-lssl.ln path=lib/openssl/fips-140/llib-lssl.ln |
|
128 |
|
129 # Commands. |
|
130 file $(MACH64)/apps/openssl path=lib/openssl/fips-140/openssl owner=root \ |
|
131 group=bin mode=0555 |
|
132 link path=usr/bin/$(MACH32)/openssl \ |
|
133 target=../../../lib/openssl/fips-140/$(MACH32)/openssl mediator=openssl \ |
|
134 mediator-implementation=fips-140 |
|
135 link path=usr/bin/CA.pl target=../../lib/openssl/fips-140/CA.pl \ |
|
136 mediator=openssl mediator-implementation=fips-140 |
|
137 |
|
138 # Mediator links for the commands |
|
139 link path=usr/bin/openssl target=../../lib/openssl/fips-140/openssl \ |
|
140 mediator=openssl mediator-implementation=fips-140 |
|
141 file path=usr/include/openssl/fips-140/openssl/aes.h |
|
142 file path=usr/include/openssl/fips-140/openssl/asn1.h |
|
143 file path=usr/include/openssl/fips-140/openssl/asn1_mac.h |
|
144 file path=usr/include/openssl/fips-140/openssl/asn1t.h |
|
145 file path=usr/include/openssl/fips-140/openssl/bio.h |
|
146 file path=usr/include/openssl/fips-140/openssl/blowfish.h |
|
147 file path=usr/include/openssl/fips-140/openssl/bn.h |
|
148 file path=usr/include/openssl/fips-140/openssl/buffer.h |
|
149 file path=usr/include/openssl/fips-140/openssl/cast.h |
|
150 file path=usr/include/openssl/fips-140/openssl/cmac.h |
|
151 file path=usr/include/openssl/fips-140/openssl/cms.h |
|
152 file path=usr/include/openssl/fips-140/openssl/comp.h |
|
153 file path=usr/include/openssl/fips-140/openssl/conf.h |
|
154 file path=usr/include/openssl/fips-140/openssl/conf_api.h |
|
155 file path=usr/include/openssl/fips-140/openssl/crypto.h |
|
156 file path=usr/include/openssl/fips-140/openssl/des.h |
|
157 file path=usr/include/openssl/fips-140/openssl/des_old.h |
|
158 file path=usr/include/openssl/fips-140/openssl/dh.h |
|
159 file path=usr/include/openssl/fips-140/openssl/dsa.h |
|
160 file path=usr/include/openssl/fips-140/openssl/dso.h |
|
161 file path=usr/include/openssl/fips-140/openssl/dtls1.h |
|
162 file path=usr/include/openssl/fips-140/openssl/e_os2.h |
|
163 file path=usr/include/openssl/fips-140/openssl/ebcdic.h |
|
164 file path=usr/include/openssl/fips-140/openssl/ec.h |
|
165 file path=usr/include/openssl/fips-140/openssl/ecdh.h |
|
166 file path=usr/include/openssl/fips-140/openssl/ecdsa.h |
|
167 file path=usr/include/openssl/fips-140/openssl/engine.h |
|
168 file path=usr/include/openssl/fips-140/openssl/err.h |
|
169 file path=usr/include/openssl/fips-140/openssl/evp.h |
|
170 file path=usr/include/openssl/fips-140/openssl/fips.h |
|
171 file path=usr/include/openssl/fips-140/openssl/fips_rand.h |
|
172 file path=usr/include/openssl/fips-140/openssl/hmac.h |
|
173 file path=usr/include/openssl/fips-140/openssl/krb5_asn.h |
|
174 file path=usr/include/openssl/fips-140/openssl/kssl.h |
|
175 file path=usr/include/openssl/fips-140/openssl/lhash.h |
|
176 file path=usr/include/openssl/fips-140/openssl/md2.h |
|
177 file path=usr/include/openssl/fips-140/openssl/md4.h |
|
178 file path=usr/include/openssl/fips-140/openssl/md5.h |
|
179 file path=usr/include/openssl/fips-140/openssl/modes.h |
|
180 file path=usr/include/openssl/fips-140/openssl/obj_mac.h |
|
181 file path=usr/include/openssl/fips-140/openssl/objects.h |
|
182 file path=usr/include/openssl/fips-140/openssl/ocsp.h |
|
183 file path=usr/include/openssl/fips-140/openssl/opensslconf.h |
|
184 file path=usr/include/openssl/fips-140/openssl/opensslv.h |
|
185 file path=usr/include/openssl/fips-140/openssl/ossl_typ.h |
|
186 file path=usr/include/openssl/fips-140/openssl/pem.h |
|
187 file path=usr/include/openssl/fips-140/openssl/pem2.h |
|
188 file path=usr/include/openssl/fips-140/openssl/pkcs12.h |
|
189 file path=usr/include/openssl/fips-140/openssl/pkcs7.h |
|
190 file path=usr/include/openssl/fips-140/openssl/pqueue.h |
|
191 file path=usr/include/openssl/fips-140/openssl/rand.h |
|
192 file path=usr/include/openssl/fips-140/openssl/rc2.h |
|
193 file path=usr/include/openssl/fips-140/openssl/rc4.h |
|
194 file path=usr/include/openssl/fips-140/openssl/ripemd.h |
|
195 file path=usr/include/openssl/fips-140/openssl/rsa.h |
|
196 file path=usr/include/openssl/fips-140/openssl/safestack.h |
|
197 file path=usr/include/openssl/fips-140/openssl/sha.h |
|
198 file path=usr/include/openssl/fips-140/openssl/srp.h |
|
199 file path=usr/include/openssl/fips-140/openssl/srtp.h |
|
200 file path=usr/include/openssl/fips-140/openssl/ssl.h |
|
201 file path=usr/include/openssl/fips-140/openssl/ssl2.h |
|
202 file path=usr/include/openssl/fips-140/openssl/ssl23.h |
|
203 file path=usr/include/openssl/fips-140/openssl/ssl3.h |
|
204 file path=usr/include/openssl/fips-140/openssl/stack.h |
|
205 file path=usr/include/openssl/fips-140/openssl/symhacks.h |
|
206 file path=usr/include/openssl/fips-140/openssl/tls1.h |
|
207 file path=usr/include/openssl/fips-140/openssl/ts.h |
|
208 file path=usr/include/openssl/fips-140/openssl/txt_db.h |
|
209 file path=usr/include/openssl/fips-140/openssl/ui.h |
|
210 file path=usr/include/openssl/fips-140/openssl/ui_compat.h |
|
211 file path=usr/include/openssl/fips-140/openssl/whrlpool.h |
|
212 file path=usr/include/openssl/fips-140/openssl/x509.h |
|
213 file path=usr/include/openssl/fips-140/openssl/x509_vfy.h |
|
214 file path=usr/include/openssl/fips-140/openssl/x509v3.h |
|
215 license openssl-fips-140.license license="OpenSSL, SSLeay" |
|
216 |
|
217 # OpenSSL packages are now managed by 'pkg mediator', and the installation |
|
218 # of 'openssl-fips-140' package requires 'openssl' package with the mediator |
|
219 # change (s12_build42 or later) |
|
220 depend type=optional fmri=library/security/[email protected],5.12-5.12.0.0.0.42.0 |