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. |