summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/freeradius
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-04-02 17:10:33 +0800
committerKhem Raj <raj.khem@gmail.com>2021-04-06 09:02:12 -0700
commitece4e7d4f06581b2e68b9f662bc208b050f76cf1 (patch)
treeeaf24c33e8f942bc7105ce4b8f018a4c23cefc69 /meta-networking/recipes-connectivity/freeradius
parentbd8e72c1397f700fca0ddc44120abf9d325fd872 (diff)
downloadmeta-openembedded-ece4e7d4f06581b2e68b9f662bc208b050f76cf1.tar.gz
freeradius: Upgrade to 3.0.21
Drop one patch at the issue is already fixed in new version (307678b268 Fix rlm_python3 build) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius')
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch58
-rw-r--r--meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb (renamed from meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb)3
2 files changed, 1 insertions, 60 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch b/meta-networking/recipes-connectivity/freeradius/files/0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch
deleted file mode 100644
index d63023162..000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 733330888fff49e4d2b6c2121a6050fdd9f11a87 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Thu, 6 Feb 2020 09:32:04 +0800
4Subject: [PATCH] rlm_python3: add PY_INC_DIR in search dir
5
6The configure option --with-rlm-python3-include-dir is used to set
7PY_INC_DIR which is never used and it fails to find Python.h,
8so add it into search dir to fix it.
9
10Also remove SMART_LIBS from mod_flags because it introduces rpath
11to LDFALGS which causes a do_package_qa error:
12
13ERROR: freeradius-3.0.20-r0 do_package_qa: QA Issue: package freeradius-python contains bad RPATH
14/buildarea/build/tmp/work/core2-64-poky-linux/freeradius/3.0.20-r0/recipe-sysroot-native/usr/lib/python3.8/config in file
15/buildarea/build/tmp/work/core2-64-poky-linux/freeradius/3.0.20-r0/packages-split/freeradius-python/usr/lib/rlm_python3.so.0.0.0
16package freeradius-python contains bad RPATH
17/buildarea/build/tmp/work/core2-64-poky-linux/freeradius/3.0.20-r0/recipe-sysroot-native/usr/lib/python3.8/config in file
18/buildarea/build/tmp/work/core2-64-poky-linux/freeradius/3.0.20-r0/packages-split/freeradius-python/usr/lib/rlm_python3.so.0.0.0 [rpaths]
19
20Upstream-Status: Inappropriate [OE specific]
21
22Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
23---
24 src/modules/rlm_python3/configure.ac | 6 +++---
25 1 file changed, 3 insertions(+), 3 deletions(-)
26
27diff --git a/src/modules/rlm_python3/configure.ac b/src/modules/rlm_python3/configure.ac
28index a00320f..adbdf19 100644
29--- a/src/modules/rlm_python3/configure.ac
30+++ b/src/modules/rlm_python3/configure.ac
31@@ -95,7 +95,7 @@ if test x$with_[]modname != xno; then
32
33 old_CFLAGS=$CFLAGS
34 CFLAGS="$CFLAGS $PY_CFLAGS"
35- smart_try_dir="$PY_PREFIX/include/python$PY_SYS_VERSION"
36+ smart_try_dir="$PY_PREFIX/include/python$PY_SYS_VERSION $PY_INC_DIR"
37 FR_SMART_CHECK_INCLUDE(Python.h)
38 CFLAGS=$old_CFLAGS
39
40@@ -114,13 +114,13 @@ if test x$with_[]modname != xno; then
41
42 eval t=\${ac_cv_lib_${sm_lib_safe}_${sm_func_safe}}
43 if test "x$t" = "xyes"; then
44- mod_ldflags="$PY_LIB_LOC $PY_EXTRA_LIBS $SMART_LIBS -lm"
45+ mod_ldflags="$PY_LIB_LOC $PY_EXTRA_LIBS -lm"
46 targetname=modname
47 else
48 FR_SMART_CHECK_LIB(python${PY_SYS_VERSION}m, Py_Initialize)
49 eval t=\${ac_cv_lib_${sm_lib_safe}_${sm_func_safe}}
50 if test "x$t" = "xyes"; then
51- mod_ldflags="$PY_LIB_LOC $PY_EXTRA_LIBS $SMART_LIBS -lm"
52+ mod_ldflags="$PY_LIB_LOC $PY_EXTRA_LIBS -lm"
53 targetname=modname
54 else
55 targetname=
56--
572.7.4
58
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb
index 608d66b1b..864a4e944 100644
--- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb
+++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb
@@ -26,7 +26,6 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.0.x;lfs=0
26 file://freeradius-fix-quoting-for-BUILT_WITH.patch \ 26 file://freeradius-fix-quoting-for-BUILT_WITH.patch \
27 file://freeradius-fix-error-for-expansion-of-macro.patch \ 27 file://freeradius-fix-error-for-expansion-of-macro.patch \
28 file://0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \ 28 file://0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \
29 file://0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch \
30 file://0001-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \ 29 file://0001-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \
31 file://0001-raddb-certs-Makefile-fix-the-occasional-verification.patch \ 30 file://0001-raddb-certs-Makefile-fix-the-occasional-verification.patch \
32 file://0001-workaround-error-with-autoconf-2.7.patch \ 31 file://0001-workaround-error-with-autoconf-2.7.patch \
@@ -34,7 +33,7 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.0.x;lfs=0
34 file://radiusd-volatiles.conf \ 33 file://radiusd-volatiles.conf \
35" 34"
36 35
37SRCREV = "d94c953ab9602a238433ba18533111b845fd8e9e" 36SRCREV = "af428abda249b2279ba0582180985a9f6f4a144a"
38 37
39PARALLEL_MAKE = "" 38PARALLEL_MAKE = ""
40 39