Skip to content

Commit e4872d7

Browse files
author
Shigeki Ohtsu
committed
deps: upgrade openssl to 1.0.2a
This just replaces all sources in deps/openssl/openssl to originals in https://www.openssl.org/source/openssl-1.0.2a.tar.gz Fixes: #589 PR-URL: #1389 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 50e9fc1 commit e4872d7

File tree

678 files changed

+97139
-14133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

678 files changed

+97139
-14133
lines changed

deps/openssl/openssl/CHANGES

+417-1
Large diffs are not rendered by default.

deps/openssl/openssl/Configure

+127-68
Large diffs are not rendered by default.

deps/openssl/openssl/FAQ

+27-13
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ OpenSSL - Frequently Asked Questions
8383
* Which is the current version of OpenSSL?
8484

8585
The current version is available from <URL: http://www.openssl.org>.
86-
OpenSSL 1.0.1e was released on Feb 11th, 2013.
86+
OpenSSL 1.0.1a was released on Apr 19th, 2012.
8787

8888
In addition to the current stable release, you can also access daily
8989
snapshots of the OpenSSL development version at <URL:
@@ -184,14 +184,18 @@ Therefore the answer to the common question "when will feature X be
184184
backported to OpenSSL 1.0.0/0.9.8?" is "never" but it could appear
185185
in the next minor release.
186186

187+
* What happens when the letter release reaches z?
188+
189+
It was decided after the release of OpenSSL 0.9.8y the next version should
190+
be 0.9.8za then 0.9.8zb and so on.
191+
192+
187193
[LEGAL] =======================================================================
188194

189195
* Do I need patent licenses to use OpenSSL?
190196

191-
The patents section of the README file lists patents that may apply to
192-
you if you want to use OpenSSL. For information on intellectual
193-
property rights, please consult a lawyer. The OpenSSL team does not
194-
offer legal advice.
197+
For information on intellectual property rights, please consult a lawyer.
198+
The OpenSSL team does not offer legal advice.
195199

196200
You can configure OpenSSL so as not to use IDEA, MDC2 and RC5 by using
197201
./config no-idea no-mdc2 no-rc5
@@ -608,8 +612,8 @@ valid for the current DOS session.
608612
* What is special about OpenSSL on Redhat?
609613

610614
Red Hat Linux (release 7.0 and later) include a preinstalled limited
611-
version of OpenSSL. For patent reasons, support for IDEA, RC5 and MDC2
612-
is disabled in this version. The same may apply to other Linux distributions.
615+
version of OpenSSL. Red Hat has chosen to disable support for IDEA, RC5 and
616+
MDC2 in this version. The same may apply to other Linux distributions.
613617
Users may therefore wish to install more or all of the features left out.
614618

615619
To do this you MUST ensure that you do not overwrite the openssl that is in
@@ -632,11 +636,6 @@ relevant updates in packages up to and including 0.9.6b.
632636
A possible way around this is to persuade Red Hat to produce a non-US
633637
version of Red Hat Linux.
634638

635-
FYI: Patent numbers and expiry dates of US patents:
636-
MDC-2: 4,908,861 13/03/2007
637-
IDEA: 5,214,703 25/05/2010
638-
RC5: 5,724,428 03/03/2015
639-
640639

641640
* Why does the OpenSSL compilation fail on MacOS X?
642641

@@ -862,7 +861,7 @@ The opposite assumes we already have len bytes in buf:
862861
p = buf;
863862
p7 = d2i_PKCS7(NULL, &p, len);
864863

865-
At this point p7 contains a valid PKCS7 structure of NULL if an error
864+
At this point p7 contains a valid PKCS7 structure or NULL if an error
866865
occurred. If an error occurred ERR_print_errors(bio) should give more
867866
information.
868867

@@ -874,6 +873,21 @@ that has been read or written. This may well be uninitialized data
874873
and attempts to free the buffer will have unpredictable results
875874
because it no longer points to the same address.
876875

876+
Memory allocation and encoding can also be combined in a single
877+
operation by the ASN1 routines:
878+
879+
unsigned char *buf = NULL; /* mandatory */
880+
int len;
881+
len = i2d_PKCS7(p7, &buf);
882+
if (len < 0)
883+
/* Error */
884+
/* Do some things with 'buf' */
885+
/* Finished with buf: free it */
886+
OPENSSL_free(buf);
887+
888+
In this special case the "buf" parameter is *not* incremented, it points
889+
to the start of the encoding.
890+
877891

878892
* OpenSSL uses DER but I need BER format: does OpenSSL support BER?
879893

deps/openssl/openssl/GitConfigure

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
BRANCH=`git rev-parse --abbrev-ref HEAD`
4+
5+
./Configure $@ no-symlinks
6+
make files
7+
util/mk1mf.pl OUT=out.$BRANCH TMP=tmp.$BRANCH INC=inc.$BRANCH copy > makefile.$BRANCH
8+
make -f makefile.$BRANCH init

deps/openssl/openssl/GitMake

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
BRANCH=`git rev-parse --abbrev-ref HEAD`
4+
5+
make -f makefile.$BRANCH $@

deps/openssl/openssl/Makefile

+24-22
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
## Makefile for OpenSSL
55
##
66

7-
VERSION=1.0.1m
7+
VERSION=1.0.2a
88
MAJOR=1
9-
MINOR=0.1
9+
MINOR=0.2
1010
SHLIB_VERSION_NUMBER=1.0.0
1111
SHLIB_VERSION_HISTORY=
1212
SHLIB_MAJOR=1
1313
SHLIB_MINOR=0.0
1414
SHLIB_EXT=
1515
PLATFORM=dist
16-
OPTIONS= no-ec_nistp_64_gcc_128 no-gmp no-jpake no-krb5 no-md2 no-rc5 no-rfc3779 no-sctp no-shared no-store no-unit-test no-zlib no-zlib-dynamic static-engine
16+
OPTIONS= no-ec_nistp_64_gcc_128 no-gmp no-jpake no-krb5 no-libunbound no-md2 no-rc5 no-rfc3779 no-sctp no-shared no-ssl-trace no-store no-unit-test no-zlib no-zlib-dynamic static-engine
1717
CONFIGURE_ARGS=dist
1818
SHLIB_TARGET=
1919

@@ -61,7 +61,7 @@ OPENSSLDIR=/usr/local/ssl
6161

6262
CC= cc
6363
CFLAG= -O
64-
DEPFLAG= -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_STORE -DOPENSSL_NO_UNIT_TEST
64+
DEPFLAG= -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_LIBUNBOUND -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_SSL_TRACE -DOPENSSL_NO_STORE -DOPENSSL_NO_UNIT_TEST
6565
PEX_LIBS=
6666
EX_LIBS=
6767
EXE_EXT=
@@ -71,7 +71,7 @@ RANLIB= /usr/bin/ranlib
7171
NM= nm
7272
PERL= /usr/bin/perl
7373
TAR= tar
74-
TARFLAGS= --no-recursion --record-size=10240
74+
TARFLAGS= --no-recursion
7575
MAKEDEPPROG=makedepend
7676
LIBDIR=lib
7777

@@ -90,6 +90,7 @@ PROCESSOR=
9090
# CPUID module collects small commonly used assembler snippets
9191
CPUID_OBJ= mem_clr.o
9292
BN_ASM= bn_asm.o
93+
EC_ASM=
9394
DES_ENC= des_enc.o fcrypt_b.o
9495
AES_ENC= aes_core.o aes_cbc.o
9596
BF_ENC= bf_enc.o
@@ -223,8 +224,8 @@ BUILDENV= PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)' \
223224
EXE_EXT='$(EXE_EXT)' SHARED_LIBS='$(SHARED_LIBS)' \
224225
SHLIB_EXT='$(SHLIB_EXT)' SHLIB_TARGET='$(SHLIB_TARGET)' \
225226
PEX_LIBS='$(PEX_LIBS)' EX_LIBS='$(EX_LIBS)' \
226-
CPUID_OBJ='$(CPUID_OBJ)' \
227-
BN_ASM='$(BN_ASM)' DES_ENC='$(DES_ENC)' \
227+
CPUID_OBJ='$(CPUID_OBJ)' BN_ASM='$(BN_ASM)' \
228+
EC_ASM='$(EC_ASM)' DES_ENC='$(DES_ENC)' \
228229
AES_ENC='$(AES_ENC)' CMLL_ENC='$(CMLL_ENC)' \
229230
BF_ENC='$(BF_ENC)' CAST_ENC='$(CAST_ENC)' \
230231
RC4_ENC='$(RC4_ENC)' RC5_ENC='$(RC5_ENC)' \
@@ -328,7 +329,7 @@ clean-shared:
328329
done; \
329330
fi; \
330331
( set -x; rm -f lib$$i$(SHLIB_EXT) ); \
331-
if [ "$(PLATFORM)" = "Cygwin" ]; then \
332+
if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
332333
( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \
333334
fi; \
334335
done
@@ -377,11 +378,11 @@ libssl.pc: Makefile
377378
echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
378379
echo 'includedir=$${prefix}/include'; \
379380
echo ''; \
380-
echo 'Name: OpenSSL'; \
381+
echo 'Name: OpenSSL-libssl'; \
381382
echo 'Description: Secure Sockets Layer and cryptography libraries'; \
382383
echo 'Version: '$(VERSION); \
383-
echo 'Requires: '; \
384-
echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
384+
echo 'Requires.private: libcrypto'; \
385+
echo 'Libs: -L$${libdir} -lssl'; \
385386
echo 'Libs.private: $(EX_LIBS)'; \
386387
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
387388

@@ -394,10 +395,7 @@ openssl.pc: Makefile
394395
echo 'Name: OpenSSL'; \
395396
echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
396397
echo 'Version: '$(VERSION); \
397-
echo 'Requires: '; \
398-
echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
399-
echo 'Libs.private: $(EX_LIBS)'; \
400-
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc
398+
echo 'Requires: libssl libcrypto' ) > openssl.pc
401399

402400
Makefile: Makefile.org Configure config
403401
@echo "Makefile is older than Makefile.org, Configure or config."
@@ -573,18 +571,18 @@ install_sw:
573571
do \
574572
if [ -f "$$i" -o -f "$$i.a" ]; then \
575573
( echo installing $$i; \
576-
if [ "$(PLATFORM)" != "Cygwin" ]; then \
577-
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
578-
chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
579-
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
580-
else \
574+
if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
581575
c=`echo $$i | sed 's/^lib\(.*\)\.dll\.a/cyg\1-$(SHLIB_VERSION_NUMBER).dll/'`; \
582576
cp $$c $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
583577
chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
584578
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c; \
585579
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
586580
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
587581
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
582+
else \
583+
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
584+
chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
585+
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
588586
fi ); \
589587
if expr $(PLATFORM) : 'mingw' > /dev/null; then \
590588
( case $$i in \
@@ -617,6 +615,10 @@ install_sw:
617615

618616
install_html_docs:
619617
here="`pwd`"; \
618+
filecase=; \
619+
case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
620+
filecase=-i; \
621+
esac; \
620622
for subdir in apps crypto ssl; do \
621623
mkdir -p $(INSTALL_PREFIX)$(HTMLDIR)/$$subdir; \
622624
for i in doc/$$subdir/*.pod; do \
@@ -645,9 +647,9 @@ install_docs:
645647
@pod2man="`cd ./util; ./pod2mantest $(PERL)`"; \
646648
here="`pwd`"; \
647649
filecase=; \
648-
if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" -o "$(PLATFORM)" = "mingw" ]; then \
650+
case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
649651
filecase=-i; \
650-
fi; \
652+
esac; \
651653
set -e; for i in doc/apps/*.pod; do \
652654
fn=`basename $$i .pod`; \
653655
sec=`$(PERL) util/extract-section.pl 1 < $$i`; \

deps/openssl/openssl/Makefile.bak

+24-22
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
## Makefile for OpenSSL
55
##
66

7-
VERSION=1.0.1m-dev
7+
VERSION=1.0.2a-dev
88
MAJOR=1
9-
MINOR=0.1
9+
MINOR=0.2
1010
SHLIB_VERSION_NUMBER=1.0.0
1111
SHLIB_VERSION_HISTORY=
1212
SHLIB_MAJOR=1
1313
SHLIB_MINOR=0.0
1414
SHLIB_EXT=
1515
PLATFORM=gcc
16-
OPTIONS= no-ec_nistp_64_gcc_128 no-gmp no-jpake no-krb5 no-md2 no-rc5 no-rfc3779 no-sctp no-shared no-store no-unit-test no-zlib no-zlib-dynamic static-engine
16+
OPTIONS= no-ec_nistp_64_gcc_128 no-gmp no-jpake no-krb5 no-libunbound no-md2 no-rc5 no-rfc3779 no-sctp no-shared no-ssl-trace no-store no-unit-test no-zlib no-zlib-dynamic static-engine
1717
CONFIGURE_ARGS=gcc
1818
SHLIB_TARGET=
1919

@@ -61,7 +61,7 @@ OPENSSLDIR=/usr/local/ssl
6161

6262
CC= gcc
6363
CFLAG= -O3
64-
DEPFLAG= -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_STORE -DOPENSSL_NO_UNIT_TEST
64+
DEPFLAG= -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_LIBUNBOUND -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_SSL_TRACE -DOPENSSL_NO_STORE -DOPENSSL_NO_UNIT_TEST
6565
PEX_LIBS=
6666
EX_LIBS=
6767
EXE_EXT=
@@ -71,7 +71,7 @@ RANLIB= /usr/bin/ranlib
7171
NM= nm
7272
PERL= /usr/bin/perl
7373
TAR= tar
74-
TARFLAGS= --no-recursion --record-size=10240
74+
TARFLAGS= --no-recursion
7575
MAKEDEPPROG= gcc
7676
LIBDIR=lib
7777

@@ -90,6 +90,7 @@ PROCESSOR=
9090
# CPUID module collects small commonly used assembler snippets
9191
CPUID_OBJ= mem_clr.o
9292
BN_ASM= bn_asm.o
93+
EC_ASM=
9394
DES_ENC= des_enc.o fcrypt_b.o
9495
AES_ENC= aes_core.o aes_cbc.o
9596
BF_ENC= bf_enc.o
@@ -223,8 +224,8 @@ BUILDENV= PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)' \
223224
EXE_EXT='$(EXE_EXT)' SHARED_LIBS='$(SHARED_LIBS)' \
224225
SHLIB_EXT='$(SHLIB_EXT)' SHLIB_TARGET='$(SHLIB_TARGET)' \
225226
PEX_LIBS='$(PEX_LIBS)' EX_LIBS='$(EX_LIBS)' \
226-
CPUID_OBJ='$(CPUID_OBJ)' \
227-
BN_ASM='$(BN_ASM)' DES_ENC='$(DES_ENC)' \
227+
CPUID_OBJ='$(CPUID_OBJ)' BN_ASM='$(BN_ASM)' \
228+
EC_ASM='$(EC_ASM)' DES_ENC='$(DES_ENC)' \
228229
AES_ENC='$(AES_ENC)' CMLL_ENC='$(CMLL_ENC)' \
229230
BF_ENC='$(BF_ENC)' CAST_ENC='$(CAST_ENC)' \
230231
RC4_ENC='$(RC4_ENC)' RC5_ENC='$(RC5_ENC)' \
@@ -328,7 +329,7 @@ clean-shared:
328329
done; \
329330
fi; \
330331
( set -x; rm -f lib$$i$(SHLIB_EXT) ); \
331-
if [ "$(PLATFORM)" = "Cygwin" ]; then \
332+
if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
332333
( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \
333334
fi; \
334335
done
@@ -377,11 +378,11 @@ libssl.pc: Makefile
377378
echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
378379
echo 'includedir=$${prefix}/include'; \
379380
echo ''; \
380-
echo 'Name: OpenSSL'; \
381+
echo 'Name: OpenSSL-libssl'; \
381382
echo 'Description: Secure Sockets Layer and cryptography libraries'; \
382383
echo 'Version: '$(VERSION); \
383-
echo 'Requires: '; \
384-
echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
384+
echo 'Requires.private: libcrypto'; \
385+
echo 'Libs: -L$${libdir} -lssl'; \
385386
echo 'Libs.private: $(EX_LIBS)'; \
386387
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
387388

@@ -394,10 +395,7 @@ openssl.pc: Makefile
394395
echo 'Name: OpenSSL'; \
395396
echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
396397
echo 'Version: '$(VERSION); \
397-
echo 'Requires: '; \
398-
echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
399-
echo 'Libs.private: $(EX_LIBS)'; \
400-
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc
398+
echo 'Requires: libssl libcrypto' ) > openssl.pc
401399

402400
Makefile: Makefile.org Configure config
403401
@echo "Makefile is older than Makefile.org, Configure or config."
@@ -573,18 +571,18 @@ install_sw:
573571
do \
574572
if [ -f "$$i" -o -f "$$i.a" ]; then \
575573
( echo installing $$i; \
576-
if [ "$(PLATFORM)" != "Cygwin" ]; then \
577-
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
578-
chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
579-
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
580-
else \
574+
if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
581575
c=`echo $$i | sed 's/^lib\(.*\)\.dll\.a/cyg\1-$(SHLIB_VERSION_NUMBER).dll/'`; \
582576
cp $$c $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
583577
chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
584578
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c; \
585579
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
586580
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
587581
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
582+
else \
583+
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
584+
chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
585+
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
588586
fi ); \
589587
if expr $(PLATFORM) : 'mingw' > /dev/null; then \
590588
( case $$i in \
@@ -617,6 +615,10 @@ install_sw:
617615

618616
install_html_docs:
619617
here="`pwd`"; \
618+
filecase=; \
619+
case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
620+
filecase=-i; \
621+
esac; \
620622
for subdir in apps crypto ssl; do \
621623
mkdir -p $(INSTALL_PREFIX)$(HTMLDIR)/$$subdir; \
622624
for i in doc/$$subdir/*.pod; do \
@@ -645,9 +647,9 @@ install_docs:
645647
@pod2man="`cd ./util; ./pod2mantest $(PERL)`"; \
646648
here="`pwd`"; \
647649
filecase=; \
648-
if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" -o "$(PLATFORM)" = "mingw" ]; then \
650+
case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
649651
filecase=-i; \
650-
fi; \
652+
esac; \
651653
set -e; for i in doc/apps/*.pod; do \
652654
fn=`basename $$i .pod`; \
653655
sec=`$(PERL) util/extract-section.pl 1 < $$i`; \

0 commit comments

Comments
 (0)