summaryrefslogtreecommitdiff
path: root/external/curl/UnpackedTarball_curl.mk
blob: 9e6dbac0fa2888e4e4594c24a3d91d65c618fc4d (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
# -*- 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,curl))

$(eval $(call gb_UnpackedTarball_set_tarball,curl,$(CURL_TARBALL),,curl))

$(eval $(call gb_UnpackedTarball_set_patchlevel,curl,1))

$(eval $(call gb_UnpackedTarball_fix_end_of_line,curl,\
	lib/Makefile.vc12 \
))

$(eval $(call gb_UnpackedTarball_add_patches,curl,\
	external/curl/curl-msvc.patch.1 \
	external/curl/curl-msvc-disable-protocols.patch.1 \
	external/curl/curl-msvc-schannel.patch.1 \
	external/curl/curl-7.26.0_win-proxy.patch \
	external/curl/curl-xp.patch.1 \
	external/curl/CVE-2017-8816.patch \
	external/curl/CVE-2018-1000005.patch \
	external/curl/CVE-2018-1000007.patch \
	external/curl/CVE-2018-14618.patch \
	external/curl/CVE-2017-1000254.patch \
	external/curl/CVE-2018-1000120.patch \
	external/curl/CVE-2018-16890.patch \
	external/curl/CVE-2019-3822.patch \
))

ifeq ($(SYSTEM_NSS),)
$(eval $(call gb_UnpackedTarball_add_patches,curl,\
	external/curl/curl-nss.patch.1 \
))
endif

ifeq ($(OS),MACOSX)
ifneq ($(filter 1090 101000,$(MAC_OS_X_VERSION_MIN_REQUIRED)),)
$(eval $(call gb_UnpackedTarball_add_patches,curl,\
	external/curl/curl-osx.patch.1 \
))
endif
endif

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