Revert "deps: remove OpenSSL git and travis configuration"

This reverts commit f395a4a401.

As of openssl-1.1.1b, the dot-files are no longer distributed, so this
is no longer necessary.

PR-URL: https://github.com/nodejs/node/pull/26327
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
pull/26414/head
Sam Roberts 2019-02-26 11:28:45 -08:00
parent fe7162915e
commit cbb7836931
1 changed files with 3 additions and 3 deletions

View File

@ -27,6 +27,7 @@ COPTS = no-comp no-shared no-afalgeng
# disable platform check in Configure
NO_WARN_ENV = CONFIGURE_CHECKER_WARN=1
GITIGNORE = $(OPSSL_SRC)/.gitignore
GENERATE = ./generate_gypi.pl
OPSSL_SRC = ../openssl
@ -44,9 +45,8 @@ all: $(ARCHS) replace
# Configure and generate openssl asm files for each archs
$(ARCHS):
# Remove openssl git and travis configuration, nodejs has its own (and they
# should not have been packaged by upstream).
rm -rf $(OPSSL_SRC)/.git* $(OPSSL_SRC)/.travis*
# Remove openssl .gitignore to follow nodejs .gitignore
if [ -e $(GITIGNORE) ]; then rm $(GITIGNORE); fi
cd $(OPSSL_SRC); $(NO_WARN_ENV) CC=$(CC) $(PERL) $(CONFIGURE) $(COPTS) $@;
$(PERL) -w -I$(OPSSL_SRC) $(GENERATE) asm $@
# Confgure asm_avx2 and generate upto avx2 support