summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch (renamed from meta-networking/recipes-support/libtalloc/libtalloc/options-2.2.0.patch)12
-rw-r--r--meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch (renamed from meta-networking/recipes-support/libtalloc/libtalloc/0001-Fix-pyext_PATTERN-for-cross-compilation.patch)10
-rw-r--r--meta-networking/recipes-support/libtalloc/libtalloc/0003-wscript-skip-checking-PYTHONHASHSEED.patch30
-rw-r--r--meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch19
-rw-r--r--meta-networking/recipes-support/libtalloc/libtalloc_2.3.4.bb (renamed from meta-networking/recipes-support/libtalloc/libtalloc_2.3.3.bb)10
5 files changed, 62 insertions, 19 deletions
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/options-2.2.0.patch b/meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch
index 46fef1096b..026a348992 100644
--- a/meta-networking/recipes-support/libtalloc/libtalloc/options-2.2.0.patch
+++ b/meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch
@@ -1,4 +1,4 @@
1From 8a82056ba2f70137714f225d82993aa4b11042da Mon Sep 17 00:00:00 2001 1From 888bfe48236b4ce382dc3aa49791cadb70a1fbe4 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com> 2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Fri, 25 Dec 2020 14:14:08 +0900 3Date: Fri, 25 Dec 2020 14:14:08 +0900
4Subject: [PATCH] talloc: Add configure options for packages 4Subject: [PATCH] talloc: Add configure options for packages
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
27 2 files changed, 75 insertions(+), 21 deletions(-) 27 2 files changed, 75 insertions(+), 21 deletions(-)
28 28
29diff --git a/lib/replace/wscript b/lib/replace/wscript 29diff --git a/lib/replace/wscript b/lib/replace/wscript
30index a2bc604..2e2e7bf 100644 30index 827d74f..0348715 100644
31--- a/lib/replace/wscript 31--- a/lib/replace/wscript
32+++ b/lib/replace/wscript 32+++ b/lib/replace/wscript
33@@ -25,6 +25,41 @@ def options(opt): 33@@ -25,6 +25,41 @@ def options(opt):
@@ -72,7 +72,7 @@ index a2bc604..2e2e7bf 100644
72 @Utils.run_once 72 @Utils.run_once
73 def configure(conf): 73 def configure(conf):
74 conf.RECURSE('buildtools/wafsamba') 74 conf.RECURSE('buildtools/wafsamba')
75@@ -34,12 +69,25 @@ def configure(conf): 75@@ -35,12 +70,25 @@ def configure(conf):
76 conf.DEFINE('HAVE_LIBREPLACE', 1) 76 conf.DEFINE('HAVE_LIBREPLACE', 1)
77 conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) 77 conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
78 78
@@ -102,7 +102,7 @@ index a2bc604..2e2e7bf 100644
102 conf.CHECK_HEADERS('port.h') 102 conf.CHECK_HEADERS('port.h')
103 conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h') 103 conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h')
104 conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h') 104 conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
105@@ -121,8 +169,9 @@ def configure(conf): 105@@ -110,8 +158,9 @@ def configure(conf):
106 conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') 106 conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
107 conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') 107 conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
108 108
@@ -114,7 +114,7 @@ index a2bc604..2e2e7bf 100644
114 conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') 114 conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h')
115 conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h') 115 conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h')
116 conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h') 116 conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
117@@ -418,20 +467,20 @@ def configure(conf): 117@@ -431,20 +480,20 @@ def configure(conf):
118 118
119 strlcpy_in_bsd = False 119 strlcpy_in_bsd = False
120 120
@@ -150,7 +150,7 @@ index a2bc604..2e2e7bf 100644
150 conf.CHECK_CODE(''' 150 conf.CHECK_CODE('''
151 struct ucred cred; 151 struct ucred cred;
152diff --git a/wscript b/wscript 152diff --git a/wscript b/wscript
153index b955d21..4ac6e1e 100644 153index 3089663..fdf9510 100644
154--- a/wscript 154--- a/wscript
155+++ b/wscript 155+++ b/wscript
156@@ -31,7 +31,12 @@ def options(opt): 156@@ -31,7 +31,12 @@ def options(opt):
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/0001-Fix-pyext_PATTERN-for-cross-compilation.patch b/meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch
index 47ee4bb24e..058ac34f81 100644
--- a/meta-networking/recipes-support/libtalloc/libtalloc/0001-Fix-pyext_PATTERN-for-cross-compilation.patch
+++ b/meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch
@@ -1,4 +1,4 @@
1From b5eaeb7ed4e75012d2715f995e15a13850064f61 Mon Sep 17 00:00:00 2001 1From 6580e8191c219909d50c991662310e668973722d Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 24 Nov 2021 13:33:35 +0800 3Date: Wed, 24 Nov 2021 13:33:35 +0800
4Subject: [PATCH] Fix pyext_PATTERN for cross compilation 4Subject: [PATCH] Fix pyext_PATTERN for cross compilation
@@ -40,18 +40,18 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
40 1 file changed, 1 insertion(+), 1 deletion(-) 40 1 file changed, 1 insertion(+), 1 deletion(-)
41 41
42diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py 42diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py
43index b1c8dd0..24faa31 100644 43index a23bd01..af202e0 100644
44--- a/third_party/waf/waflib/Tools/python.py 44--- a/third_party/waf/waflib/Tools/python.py
45+++ b/third_party/waf/waflib/Tools/python.py 45+++ b/third_party/waf/waflib/Tools/python.py
46@@ -328,7 +328,7 @@ def check_python_headers(conf, features='pyembed pyext'): 46@@ -328,7 +328,7 @@ def check_python_headers(conf, features='pyembed pyext'):
47 x = 'MACOSX_DEPLOYMENT_TARGET' 47 x = 'MACOSX_DEPLOYMENT_TARGET'
48 if dct[x]: 48 if dct[x]:
49 env[x] = conf.environ[x] = dct[x] 49 env[x] = conf.environ[x] = str(dct[x])
50- env.pyext_PATTERN = '%s' + dct['SO'] # not a mistake 50- env.pyext_PATTERN = '%s' + (dct['EXT_SUFFIX'] or dct['SO']) # SO is deprecated in 3.5 and removed in 3.11
51+ env.pyext_PATTERN = '%s.so' 51+ env.pyext_PATTERN = '%s.so'
52 52
53 53
54 # Try to get pythonX.Y-config 54 # Try to get pythonX.Y-config
55-- 55--
562.17.1 562.25.1
57 57
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/0003-wscript-skip-checking-PYTHONHASHSEED.patch b/meta-networking/recipes-support/libtalloc/libtalloc/0003-wscript-skip-checking-PYTHONHASHSEED.patch
new file mode 100644
index 0000000000..617eaa7dc5
--- /dev/null
+++ b/meta-networking/recipes-support/libtalloc/libtalloc/0003-wscript-skip-checking-PYTHONHASHSEED.patch
@@ -0,0 +1,30 @@
1From 4a1b8659235dcac5382a627a4add4d636a65a886 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 28 Dec 2022 16:31:05 +0800
4Subject: [PATCH] wscript: skip checking PYTHONHASHSEED
5
6Skip checking PYTHONHASHSEED as it is set to 0 in oe-core by default.
7
8Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9---
10 buildtools/wafsamba/wscript | 4 ----
11 1 file changed, 4 deletions(-)
12
13diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
14index 8729b08..a4d6f3e 100644
15--- a/buildtools/wafsamba/wscript
16+++ b/buildtools/wafsamba/wscript
17@@ -8,10 +8,6 @@ import wafsamba
18 from samba_utils import symlink
19 from optparse import SUPPRESS_HELP
20
21-phs = os.environ.get("PYTHONHASHSEED", None)
22-if phs != "1":
23- raise Errors.WafError('''PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!''')
24-
25 # this forces configure to be re-run if any of the configure
26 # sections of the build scripts change. We have to check
27 # for this in sys.argv as options have not yet been parsed when
28--
292.25.1
30
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch
index 5b7f69ec07..3c85a8a2d4 100644
--- a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch
+++ b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch
@@ -1,6 +1,17 @@
1From e18370c204056de799064d8ac72a656eb3745f95 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Fri, 25 Dec 2020 15:10:58 +0900
4Subject: [PATCH] avoid attr unless wanted
5
6---
7 lib/replace/wscript | 4 +---
8 1 file changed, 1 insertion(+), 3 deletions(-)
9
10diff --git a/lib/replace/wscript b/lib/replace/wscript
11index 0348715..a8554d9 100644
1--- a/lib/replace/wscript 12--- a/lib/replace/wscript
2+++ b/lib/replace/wscript 13+++ b/lib/replace/wscript
3@@ -947,8 +947,6 @@ def build(bld): 14@@ -967,8 +967,6 @@ def build(bld):
4 if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' 15 if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c'
5 if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' 16 if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c'
6 if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' 17 if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c'
@@ -9,13 +20,15 @@
9 20
10 if not bld.CONFIG_SET('HAVE_CLOSEFROM'): 21 if not bld.CONFIG_SET('HAVE_CLOSEFROM'):
11 REPLACE_SOURCE += ' closefrom.c' 22 REPLACE_SOURCE += ' closefrom.c'
12@@ -962,7 +960,7 @@ def build(bld): 23@@ -983,7 +981,7 @@ def build(bld):
13 # at the moment:
14 # hide_symbols=bld.BUILTIN_LIBRARY('replace'), 24 # hide_symbols=bld.BUILTIN_LIBRARY('replace'),
15 private_library=True, 25 private_library=True,
26 provide_builtin_linking=True,
16- deps='dl attr' + extra_libs) 27- deps='dl attr' + extra_libs)
17+ deps='dl' + extra_libs) 28+ deps='dl' + extra_libs)
18 29
19 replace_test_cflags = '' 30 replace_test_cflags = ''
20 if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): 31 if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
32--
332.25.1
21 34
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.3.3.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.3.4.bb
index b3f8b2ce25..ad812da803 100644
--- a/meta-networking/recipes-support/libtalloc/libtalloc_2.3.3.bb
+++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.3.4.bb
@@ -1,17 +1,17 @@
1SUMMARY = "Hierarchical, reference counted memory pool system with destructors" 1SUMMARY = "Hierarchical, reference counted memory pool system with destructors"
2HOMEPAGE = "http://talloc.samba.org" 2HOMEPAGE = "https://talloc.samba.org"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "LGPL-3.0-or-later & GPL-3.0-or-later" 4LICENSE = "LGPL-3.0-or-later & GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \ 5LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \
6 file://pytalloc.h;beginline=1;endline=18;md5=21ab13bd853679d7d47a1739cb3b7db6 \ 6 file://pytalloc.h;beginline=1;endline=18;md5=21ab13bd853679d7d47a1739cb3b7db6 \
7 " 7 "
8 8
9
10SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \ 9SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \
11 file://options-2.2.0.patch \ 10 file://0001-talloc-Add-configure-options-for-packages.patch \
12 file://0001-Fix-pyext_PATTERN-for-cross-compilation.patch \ 11 file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \
12 file://0003-wscript-skip-checking-PYTHONHASHSEED.patch \
13" 13"
14SRC_URI[sha256sum] = "6be95b2368bd0af1c4cd7a88146eb6ceea18e46c3ffc9330bf6262b40d1d8aaa" 14SRC_URI[sha256sum] = "179f9ebe265e67e4ab2c26cad2b7de4b6a77c6c212f966903382869f06be6505"
15 15
16inherit waf-samba 16inherit waf-samba
17 17