|
@@ -1,4 +1,4 @@
|
|
|
-From e002d2ef2688d5433d2bd03aa4d77a0ec5ac4e63 Mon Sep 17 00:00:00 2001
|
|
|
+From 2e53f331104b29db7caf1641a30d3e9316b57184 Mon Sep 17 00:00:00 2001
|
|
|
From: Uri Simchoni <uri@samba.org>
|
|
|
Date: Sun, 20 Oct 2019 00:03:14 +0300
|
|
|
Subject: [PATCH] build: find pre-built heimdal build tools in case of embedded
|
|
@@ -33,18 +33,20 @@ BUG: https://bugzilla.samba.org/show_bug.cgi?id=14164
|
|
|
|
|
|
Signed-off-by: Uri Simchoni <uri@samba.org>
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
|
-[Bernd: rebased for version 4.11.13]
|
|
|
+[Bernd: rebased for version 4.11.13 & 4.17.7]
|
|
|
---
|
|
|
wscript_configure_embedded_heimdal | 11 +++++++++++
|
|
|
wscript_configure_system_heimdal | 11 -----------
|
|
|
2 files changed, 11 insertions(+), 11 deletions(-)
|
|
|
|
|
|
diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal
|
|
|
-index 8c55ae2a938..4fdae8062c5 100644
|
|
|
+index 8c55ae2..4fdae80 100644
|
|
|
--- a/wscript_configure_embedded_heimdal
|
|
|
+++ b/wscript_configure_embedded_heimdal
|
|
|
-@@ -1 +1,12 @@
|
|
|
- conf.RECURSE('source4/heimdal_build')
|
|
|
+@@ -6,3 +6,14 @@
|
|
|
+
|
|
|
+ conf.define('USING_EMBEDDED_HEIMDAL', 1)
|
|
|
+ conf.RECURSE('third_party/heimdal_build')
|
|
|
+
|
|
|
+def check_system_heimdal_binary(name):
|
|
|
+ if conf.LIB_MAY_BE_BUNDLED(name):
|
|
@@ -56,34 +58,6 @@ index 8c55ae2a938..4fdae8062c5 100644
|
|
|
+
|
|
|
+check_system_heimdal_binary("compile_et")
|
|
|
+check_system_heimdal_binary("asn1_compile")
|
|
|
-diff --git a/wscript_configure_system_heimdal b/wscript_configure_system_heimdal
|
|
|
-index 0ff6dad2f55..f77c177442f 100644
|
|
|
---- a/wscript_configure_system_heimdal
|
|
|
-+++ b/wscript_configure_system_heimdal
|
|
|
-@@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, functions='', headers='', onlyif=None):
|
|
|
- conf.define('USING_SYSTEM_%s' % name.upper(), 1)
|
|
|
- return True
|
|
|
-
|
|
|
--def check_system_heimdal_binary(name):
|
|
|
-- if conf.LIB_MAY_BE_BUNDLED(name):
|
|
|
-- return False
|
|
|
-- if not conf.find_program(name, var=name.upper()):
|
|
|
-- return False
|
|
|
-- conf.define('USING_SYSTEM_%s' % name.upper(), 1)
|
|
|
-- return True
|
|
|
--
|
|
|
- check_system_heimdal_lib("com_err", "com_right_r com_err", "com_err.h")
|
|
|
-
|
|
|
- if check_system_heimdal_lib("roken", "rk_socket_set_reuseaddr", "roken.h"):
|
|
|
-@@ -96,9 +88,6 @@
|
|
|
- #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
|
|
|
- # conf.define('USING_SYSTEM_TOMMATH', 1)
|
|
|
-
|
|
|
--check_system_heimdal_binary("compile_et")
|
|
|
--check_system_heimdal_binary("asn1_compile")
|
|
|
--
|
|
|
- conf.env.KRB5_VENDOR = 'heimdal'
|
|
|
- conf.define('USING_SYSTEM_KRB5', 1)
|
|
|
- conf.define('USING_SYSTEM_HEIMDAL', 1)
|
|
|
--
|
|
|
2.20.1
|
|
|
+
|