forked from mirrors/nixpkgs
Merge pull request #138977 from bachp/samba-4.15
This commit is contained in:
commit
bf0c0d5f08
|
@ -45,11 +45,11 @@ with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "samba";
|
pname = "samba";
|
||||||
version = "4.14.7";
|
version = "4.15.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://samba/pub/samba/stable/${pname}-${version}.tar.gz";
|
url = "mirror://samba/pub/samba/stable/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-b1A1P5YCqiAkXrGM6wDn5ex5PfCXSuvVJUw48W2PGQY=";
|
sha256 = "0h26s9lfdl8mccs9rfv1gr5f8snd95gjkrik6wl5ccb27044gwxi";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
From e002d2ef2688d5433d2bd03aa4d77a0ec5ac4e63 Mon Sep 17 00:00:00 2001
|
From f3f98c6ecc6febd8e79696672668e33d11fc19cb Mon Sep 17 00:00:00 2001
|
||||||
From: Uri Simchoni <uri@samba.org>
|
From: Pascal Bach <pascal.bach@nextrem.ch>
|
||||||
Date: Sun, 20 Oct 2019 00:03:14 +0300
|
Date: Wed, 22 Sep 2021 09:42:42 +0200
|
||||||
Subject: [PATCH] build: find pre-built heimdal build tools in case of embedded
|
Subject: [PATCH] build: find pre-built heimdal build tools in case of embedded
|
||||||
heimdal
|
heimdal
|
||||||
|
|
||||||
|
@ -33,17 +33,22 @@ BUG: https://bugzilla.samba.org/show_bug.cgi?id=14164
|
||||||
|
|
||||||
Signed-off-by: Uri Simchoni <uri@samba.org>
|
Signed-off-by: Uri Simchoni <uri@samba.org>
|
||||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||||
[Bernd: rebased for version 4.11.13]
|
[Bachp: rebased for version 4.15.0]
|
||||||
|
|
||||||
|
# Conflicts:
|
||||||
|
# wscript_configure_system_heimdal
|
||||||
---
|
---
|
||||||
wscript_configure_embedded_heimdal | 11 +++++++++++
|
wscript_configure_embedded_heimdal | 11 +++++++++++
|
||||||
wscript_configure_system_heimdal | 11 -----------
|
wscript_configure_system_heimdal | 11 -----------
|
||||||
2 files changed, 11 insertions(+), 11 deletions(-)
|
2 files changed, 11 insertions(+), 11 deletions(-)
|
||||||
|
|
||||||
diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal
|
diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal
|
||||||
index 8c55ae2a938..4fdae8062c5 100644
|
index 1c7801f705e..edcab15a88e 100644
|
||||||
--- a/wscript_configure_embedded_heimdal
|
--- a/wscript_configure_embedded_heimdal
|
||||||
+++ b/wscript_configure_embedded_heimdal
|
+++ b/wscript_configure_embedded_heimdal
|
||||||
@@ -1 +1,12 @@
|
@@ -6,3 +6,14 @@ if not conf.env['BISON']:
|
||||||
|
|
||||||
|
conf.define('USING_EMBEDDED_HEIMDAL', 1)
|
||||||
conf.RECURSE('source4/heimdal_build')
|
conf.RECURSE('source4/heimdal_build')
|
||||||
+
|
+
|
||||||
+def check_system_heimdal_binary(name):
|
+def check_system_heimdal_binary(name):
|
||||||
|
@ -57,13 +62,13 @@ index 8c55ae2a938..4fdae8062c5 100644
|
||||||
+check_system_heimdal_binary("compile_et")
|
+check_system_heimdal_binary("compile_et")
|
||||||
+check_system_heimdal_binary("asn1_compile")
|
+check_system_heimdal_binary("asn1_compile")
|
||||||
diff --git a/wscript_configure_system_heimdal b/wscript_configure_system_heimdal
|
diff --git a/wscript_configure_system_heimdal b/wscript_configure_system_heimdal
|
||||||
index 0ff6dad2f55..f77c177442f 100644
|
index 67d8804d0ff..20aee31aac7 100644
|
||||||
--- a/wscript_configure_system_heimdal
|
--- a/wscript_configure_system_heimdal
|
||||||
+++ b/wscript_configure_system_heimdal
|
+++ b/wscript_configure_system_heimdal
|
||||||
@@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, functions='', headers='', onlyif=None):
|
@@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, functions='', headers='', onlyif=None):
|
||||||
conf.define('USING_SYSTEM_%s' % name.upper(), 1)
|
conf.define('USING_SYSTEM_%s' % name.upper(), 1)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
-def check_system_heimdal_binary(name):
|
-def check_system_heimdal_binary(name):
|
||||||
- if conf.LIB_MAY_BE_BUNDLED(name):
|
- if conf.LIB_MAY_BE_BUNDLED(name):
|
||||||
- return False
|
- return False
|
||||||
|
@ -73,15 +78,18 @@ index 0ff6dad2f55..f77c177442f 100644
|
||||||
- return True
|
- return True
|
||||||
-
|
-
|
||||||
check_system_heimdal_lib("com_err", "com_right_r com_err", "com_err.h")
|
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"):
|
if check_system_heimdal_lib("roken", "rk_socket_set_reuseaddr", "roken.h"):
|
||||||
@@ -96,7 +96,4 @@
|
@@ -96,9 +88,6 @@ finally:
|
||||||
#if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
|
#if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
|
||||||
# conf.define('USING_SYSTEM_TOMMATH', 1)
|
# conf.define('USING_SYSTEM_TOMMATH', 1)
|
||||||
|
|
||||||
-check_system_heimdal_binary("compile_et")
|
-check_system_heimdal_binary("compile_et")
|
||||||
-check_system_heimdal_binary("asn1_compile")
|
-check_system_heimdal_binary("asn1_compile")
|
||||||
-
|
-
|
||||||
|
conf.env.KRB5_VENDOR = 'heimdal'
|
||||||
conf.define('USING_SYSTEM_KRB5', 1)
|
conf.define('USING_SYSTEM_KRB5', 1)
|
||||||
--
|
conf.define('USING_SYSTEM_HEIMDAL', 1)
|
||||||
2.20.1
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue