mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
72cb71c827
Now SHA256 has been shown to be an adequate replacement for SHA1, use SHA256 for verifying all port downloads. Ref #2767
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
LICENSE := OpenSSL
|
|
VERSION := 1.0.1i
|
|
DOWNLOADS := openssl.archive
|
|
|
|
URL(openssl) := https://www.openssl.org/source/old/1.0.1/openssl-$(VERSION).tar.gz
|
|
SHA(openssl) := 3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7
|
|
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
|
|
#
|
|
|
|
$(call check_tool,perl)
|
|
|
|
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 > $@
|
|
|
|
PATCHES := $(addprefix src/lib/openssl/,rand_unix_c.patch ssl.patch)
|
|
PATCH_OPT := -p1 -d src/lib/openssl
|