summaryrefslogtreecommitdiff
path: root/external/openssl/UnpackedTarball_openssl.mk
blob: 07a775e38930ee557bc7fa37cf11c55667c366ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_UnpackedTarball_UnpackedTarball,openssl))

$(eval $(call gb_UnpackedTarball_set_tarball,openssl,$(OPENSSL_TARBALL),,openssl))

# hack to fix symlinks with MSVC
$(eval $(call gb_UnpackedTarball_fix_end_of_line,openssl,\
	include/openssl/aes.h \
	include/openssl/asn1.h \
	include/openssl/asn1_mac.h \
	include/openssl/asn1t.h \
	include/openssl/bio.h \
	include/openssl/blowfish.h \
	include/openssl/bn.h \
	include/openssl/buffer.h \
	include/openssl/camellia.h \
	include/openssl/cast.h \
	include/openssl/cmac.h \
	include/openssl/cms.h \
	include/openssl/comp.h \
	include/openssl/conf.h \
	include/openssl/conf_api.h \
	include/openssl/crypto.h \
	include/openssl/des.h \
	include/openssl/des_old.h \
	include/openssl/dh.h \
	include/openssl/dsa.h \
	include/openssl/dso.h \
	include/openssl/dtls1.h \
	include/openssl/e_os2.h \
	include/openssl/ebcdic.h \
	include/openssl/ec.h \
	include/openssl/ecdh.h \
	include/openssl/ecdsa.h \
	include/openssl/engine.h \
	include/openssl/err.h \
	include/openssl/evp.h \
	include/openssl/hmac.h \
	include/openssl/idea.h \
	include/openssl/krb5_asn.h \
	include/openssl/kssl.h \
	include/openssl/lhash.h \
	include/openssl/md4.h \
	include/openssl/md5.h \
	include/openssl/mdc2.h \
	include/openssl/modes.h \
	include/openssl/obj_mac.h \
	include/openssl/objects.h \
	include/openssl/ocsp.h \
	include/openssl/opensslconf.h \
	include/openssl/opensslv.h \
	include/openssl/ossl_typ.h \
	include/openssl/pem.h \
	include/openssl/pem2.h \
	include/openssl/pkcs12.h \
	include/openssl/pkcs7.h \
	include/openssl/pqueue.h \
	include/openssl/rand.h \
	include/openssl/rc2.h \
	include/openssl/rc4.h \
	include/openssl/ripemd.h \
	include/openssl/rsa.h \
	include/openssl/safestack.h \
	include/openssl/seed.h \
	include/openssl/sha.h \
	include/openssl/srp.h \
	include/openssl/srtp.h \
	include/openssl/ssl.h \
	include/openssl/ssl2.h \
	include/openssl/ssl23.h \
	include/openssl/ssl3.h \
	include/openssl/stack.h \
	include/openssl/symhacks.h \
	include/openssl/tls1.h \
	include/openssl/ts.h \
	include/openssl/txt_db.h \
	include/openssl/ui.h \
	include/openssl/ui_compat.h \
	include/openssl/whrlpool.h \
	include/openssl/x509.h \
	include/openssl/x509_vfy.h \
	include/openssl/x509v3.h \
))

$(eval $(call gb_UnpackedTarball_add_patches,openssl,\
	external/openssl/CVE-2013-6449.patch \
	external/openssl/CVE-2013-6450.patch \
	external/openssl/CVE-2013-4353.patch \
	external/openssl/CVE-2014-0160.patch \
	external/openssl/CVE-2010-5298.patch \
	external/openssl/CVE-2014-0195.patch \
	external/openssl/CVE-2014-0198.patch \
	external/openssl/CVE-2014-0221.patch \
	external/openssl/CVE-2014-0224.patch \
	external/openssl/CVE-2014-3470.patch \
	$(if $(filter LINUX FREEBSD ANDROID,$(OS)),external/openssl/openssllnx.patch) \
	$(if $(filter WNTGCC,$(OS)$(COM)),external/openssl/opensslmingw.patch) \
	$(if $(filter MSC,$(COM)),external/openssl/opensslwnt.patch) \
	$(if $(filter SOLARIS,$(OS)),external/openssl/opensslsol.patch) \
	$(if $(filter IOS,$(OS)),external/openssl/opensslios.patch) \
))

# vim: set noet sw=4 ts=4: