Skip to content

Commit a1dcebb

Browse files
authored
Merge pull request #3 from IBM/1.1.1x-update
Update from OpensslIBM support repo.
2 parents 9bd0b9c + e2826c0 commit a1dcebb

File tree

4 files changed

+118
-9
lines changed

4 files changed

+118
-9
lines changed

icc/Makefile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,27 +165,31 @@ create_openssl: ../openssl_source/$(OPENSSL_VER)-icc.tar.gz
165165
# Untar the sources for the version of OpenSSL we use
166166
# since 1.1.1u the OpenSSL tar has icc patches applied
167167
# the first dir name in the archive will vary so we make an empty directory to extract
168-
[ -n "$(EX_SUFFIX)" ] || \
169168
( \
170169
cd .. ; \
171170
rm -r $(OPENSSL_VER) openssl ; \
172171
rm -rf x; mkdir x; cd x; \
173172
tar xzf ../openssl_source/$(OPENSSL_VER)-icc.tar.gz ; \
174-
mv `ls -d *`/openssl ../$(OPENSSL_VER) ; \
173+
mv openssl ../$(OPENSSL_VER) ; \
175174
chmod +x ../$(OPENSSL_VER)/Configure ; \
176175
cd ..; \
176+
rmdir x; \
177177
)
178-
# Apply all the patches
178+
# Apply all the patches and fixes
179179
# rm Makefile , which SHOULDN'T BE THERE ANYWAY
180180
# Note: since 1.1.1u we are not applying patches.
181+
# ref opensslver.mk: OSSL_DIR is ../$(OPENSSL_VER)$(EX_SUFFIX) and EX_SUFFIX is usually "" so they are the same.
181182
( \
182-
cd $(OSSL_DIR) ;\
183-
[ -n "$(EX_SUFFIX)" ] || \
184-
sh ../openssl_source/tools/patchem2 "../openssl_source/$(OPENSSL_BIN)" ;\
185-
chmod +x tools/*;\
186-
rm -f Makefile; \
183+
if [ -d $(OSSL_DIR) ] ; then \
184+
cd $(OSSL_DIR) ;\
185+
sh ../openssl_source/tools/patchem2 "../openssl_source/$(OPENSSL_BIN)" ;\
186+
chmod +x tools/*;\
187+
rm -f Makefile; \
188+
else exit 1 ; \
189+
fi \
187190
)
188191

192+
189193
#- Create the OpenSSL sources from tarfile and patches on zOS
190194
#- This has NO automated dependencies as that messes the automated builds
191195
#- this MUST be tripped manually.

icc/icc.rc

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
//Microsoft Developer Studio generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
#define APSTUDIO_READONLY_SYMBOLS
6+
/////////////////////////////////////////////////////////////////////////////
7+
//
8+
// Generated from the TEXTINCLUDE 2 resource.
9+
//
10+
#include "afxres.h"
11+
#include "iccversion.h"
12+
/////////////////////////////////////////////////////////////////////////////
13+
#undef APSTUDIO_READONLY_SYMBOLS
14+
15+
/////////////////////////////////////////////////////////////////////////////
16+
// English resources
17+
18+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
19+
#ifdef _WIN32
20+
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
21+
#pragma code_page(1252)
22+
#endif //_WIN32
23+
24+
#ifndef _MAC
25+
/////////////////////////////////////////////////////////////////////////////
26+
//
27+
// Version
28+
//
29+
30+
VS_VERSION_INFO VERSIONINFO
31+
FILEVERSION ICC_VERSION_VER,ICC_VERSION_REL,ICC_VERSION_MOD,ICC_VERSION_FIX
32+
PRODUCTVERSION ICC_VERSION_VER,ICC_VERSION_REL,ICC_VERSION_MOD,ICC_VERSION_FIX
33+
FILEFLAGSMASK 0x3fL
34+
#ifdef _DEBUG
35+
FILEFLAGS 0x1L
36+
#else
37+
FILEFLAGS 0x0L
38+
#endif
39+
FILEOS 0x40004L
40+
FILETYPE 0x1L
41+
FILESUBTYPE 0x0L
42+
BEGIN
43+
BLOCK "StringFileInfo"
44+
BEGIN
45+
BLOCK "0c0904b0"
46+
BEGIN
47+
VALUE "Comments", "\0"
48+
VALUE "CompanyName", "IBM\0"
49+
VALUE "FileDescription", ICC_DESCRIPTION1
50+
VALUE "FileVersion", ICC_PRODUCT_VERSION
51+
VALUE "InternalName", "OCKC\0"
52+
VALUE "OriginalFilename", "icc.lib\0"
53+
VALUE "ProductName", "OpenCryptographyKitC"
54+
VALUE "ProductVersion", ICC_PRODUCT_VERSION
55+
END
56+
END
57+
BLOCK "VarFileInfo"
58+
BEGIN
59+
VALUE "Translation", 0xc09, 1200
60+
END
61+
END
62+
63+
#endif // !_MAC
64+
65+
66+
#ifdef APSTUDIO_INVOKED
67+
/////////////////////////////////////////////////////////////////////////////
68+
//
69+
// TEXTINCLUDE
70+
//
71+
72+
1 TEXTINCLUDE DISCARDABLE
73+
BEGIN
74+
"resource.h\0"
75+
END
76+
77+
2 TEXTINCLUDE DISCARDABLE
78+
BEGIN
79+
"#include ""afxres.h""\r\n"
80+
"\0"
81+
END
82+
83+
3 TEXTINCLUDE DISCARDABLE
84+
BEGIN
85+
"\r\n"
86+
"\0"
87+
END
88+
89+
#endif // APSTUDIO_INVOKED
90+
91+
#endif // English resources
92+
/////////////////////////////////////////////////////////////////////////////
93+
94+
95+
96+
#ifndef APSTUDIO_INVOKED
97+
/////////////////////////////////////////////////////////////////////////////
98+
//
99+
// Generated from the TEXTINCLUDE 3 resource.
100+
//
101+
102+
103+
/////////////////////////////////////////////////////////////////////////////
104+
#endif // not APSTUDIO_INVOKED
105+

icc/opensslver.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ OPENSSL_VER = openssl-$(OPENSSL_BIN)
2020
# checked into source control. This option is used by iSeries/OS400 for Clearcase builds.
2121

2222
# Where the source tree for OpenSSL will be
23-
OSSL_DIR = ../$(OPENSSL_VER)$(EX_SUFFIX)
23+
OSSL_DIR = $(ICC_ROOT)/$(OPENSSL_VER)$(EX_SUFFIX)
2424

2525
# What file we use in the OpenSSL tree to trip a regen of the sources
2626
OSSL_TAG = $(OSSL_DIR)/Makefile
141 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)