summaryrefslogtreecommitdiff
path: root/recipes/openssl.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2020-12-01 10:31:27 +0000
committerMatthew Waters <matthew@centricular.com>2020-12-07 13:35:41 +1100
commitc13a83bcf826b5d13fd548cf2bf12600231e4359 (patch)
tree418376db09ba0709cc57f58116e041dd71a95a27 /recipes/openssl.recipe
parent32cb1dcdf035329c3980b246323bd4d9ff537167 (diff)
openssl: add support for macOS arm64
Bump version to 1.1.1h that includes support for Apple silicon Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/661>
Diffstat (limited to 'recipes/openssl.recipe')
-rw-r--r--recipes/openssl.recipe8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/openssl.recipe b/recipes/openssl.recipe
index e6305cce..dd1827c2 100644
--- a/recipes/openssl.recipe
+++ b/recipes/openssl.recipe
@@ -8,11 +8,11 @@ class Recipe(recipe.Recipe):
# Note: openssl helpfully moves tarballs somewhere else (old/x.y.z/)
# whenever a new release comes out, so make sure to mirror to fdo when
# bumping the release!
- version = '1.1.1g'
+ version = '1.1.1h'
licenses = [{License.OPENSSL: ['LICENSE']}]
stype = SourceType.TARBALL
url = 'https://ftp.openssl.org/source/{0}-{1}.tar.gz'.format(name, version)
- tarball_checksum = 'ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46'
+ tarball_checksum = '5c9ca8774bd7b03e5784f26ae9e9e6d749c9da2438545077e6b3d755a06595d9'
deps = ['ca-certificates', 'zlib']
# Parallel make fails randomly due to undefined macros, probably races
allow_parallel_build = False
@@ -31,6 +31,8 @@ class Recipe(recipe.Recipe):
# https://github.com/openssl/openssl/pull/12400
'openssl/0001-crypto-win-Don-t-use-disallowed-APIs-on-UWP.patch',
'openssl/0002-win-onecore-Build-with-APPCONTAINER-for-UWP-compat.patch',
+ # https://github.com/openssl/openssl/pull/13476 '1.1.1i'
+ 'openssl/0001-Add-darwin64-arm64-cc-build-target.patch',
]
files_bins = ['openssl']
@@ -70,6 +72,8 @@ class Recipe(recipe.Recipe):
return 'darwin-i386-cc'
if self.config.target_arch == Architecture.X86_64:
return 'darwin64-x86_64-cc'
+ if self.config.target_arch == Architecture.ARM64:
+ return 'darwin64-arm64-cc'
raise InvalidRecipeError(self, "Unknown macOS platform")
if self.config.target_platform == Platform.LINUX:
if self.config.target_arch == Architecture.X86: