2014-05-07 21:52:52 +00:00
|
|
|
LICENSE := OpenSSL
|
2014-08-18 10:24:03 +00:00
|
|
|
VERSION := 1.0.1i
|
2014-05-07 21:52:52 +00:00
|
|
|
DOWNLOADS := openssl.archive
|
|
|
|
|
2014-11-20 16:05:59 +00:00
|
|
|
URL(openssl) := https://www.openssl.org/source/old/1.0.1/openssl-$(VERSION).tar.gz
|
2014-08-18 10:24:03 +00:00
|
|
|
SHA(openssl) := 74eed314fa2c93006df8d26cd9fc630a101abd76
|
2014-05-07 21:52:52 +00:00
|
|
|
SIG(openssl) := ${URL(openssl)}.asc
|
|
|
|
KEY(openssl) := "49A563D9 26BB437D F295C759 9C58A66D 2118CF83 F709453B 5A6A9B85"
|
|
|
|
DIR(openssl) := src/lib/openssl
|
|
|
|
|
|
|
|
DIRS := include/openssl
|
|
|
|
DIR_CONTENT(include/openssl) = $(shell find src/lib/openssl/include/openssl/ -name *.h) \
|
|
|
|
src/lib/openssl/e_os.h \
|
|
|
|
src/lib/openssl/crypto/md2/md2.h \
|
|
|
|
src/lib/openssl/crypto/rc5/rc5.h \
|
|
|
|
src/lib/openssl/crypto/store/store.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# Generate ASM codes
|
|
|
|
#
|
|
|
|
|
2014-09-18 14:06:53 +00:00
|
|
|
$(call check_tool,perl)
|
2014-05-07 21:52:52 +00:00
|
|
|
|
|
|
|
gen_files := src/lib/openssl/x86_64/modexp512.s src/lib/openssl/x86_64/rc4_md5.s
|
|
|
|
|
|
|
|
default: $(gen_files)
|
|
|
|
$(gen_files): $(DOWNLOADS)
|
|
|
|
|
|
|
|
src/lib/openssl/x86_64/modexp512.s:
|
|
|
|
@$(MSG_GENERATE)$@
|
|
|
|
$(VERBOSE)mkdir -p $(dir $@)
|
|
|
|
$(VERBOSE)perl src/lib/openssl/crypto/bn/asm/modexp512-x86_64.pl \
|
|
|
|
src/lib/openssl/crypto/perlasm/x86as.pl > $@
|
|
|
|
|
|
|
|
src/lib/openssl/x86_64/rc4_md5.s:
|
|
|
|
@$(MSG_GENERATE)$@
|
|
|
|
$(VERBOSE)mkdir -p $(dir $@)
|
|
|
|
$(VERBOSE)perl src/lib/openssl/crypto/rc4/asm/rc4-md5-x86_64.pl \
|
|
|
|
src/lib/openssl/crypto/perlasm/x86as.pl > $@
|
2014-08-18 10:17:57 +00:00
|
|
|
|
2014-08-18 10:24:03 +00:00
|
|
|
PATCHES := src/lib/openssl/rand_unix_c.patch
|
2014-08-18 10:17:57 +00:00
|
|
|
PATCH_OPT := -p1 -d src/lib/openssl
|