summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-17 10:21:35 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-06-28 10:28:44 -0400
commit58e9a525809cdc5db6d52bf21262d52fcb03a231 (patch)
treeed8f4a559196855a0813c9aa2851d4587dca68e0
parent61f1208d24e9d090adc3bbb9c7132c17383df9c3 (diff)
downloadmeta-openembedded-58e9a525809cdc5db6d52bf21262d52fcb03a231.tar.gz
freeradius: Upgrade to 3.0.14
Fix a cross compile issue where it was looking for samba headers in build host. in src/modules/rlm_mschap/config.log Fix cc1: warning: include location "/usr/include/samba-4.0/" is unsafe for cross-compilation [-Wpoison-system-directories] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch28
-rw-r--r--meta-networking/recipes-connectivity/freeradius/freeradius_3.0.14.bb (renamed from meta-networking/recipes-connectivity/freeradius/freeradius_3.0.13.bb)10
2 files changed, 33 insertions, 5 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch b/meta-networking/recipes-connectivity/freeradius/files/0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch
new file mode 100644
index 000000000..db8caab12
--- /dev/null
+++ b/meta-networking/recipes-connectivity/freeradius/files/0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch
@@ -0,0 +1,28 @@
1From 66e8bcdcca8971b5c43c31755d56d7f675d8b5ff Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 16 Jun 2017 20:10:49 -0700
4Subject: [PATCH] rlm_mschap: Use includedir instead of hardcoding /usr/include
5
6OE QA flags it correctly as a voilation of cross compilation
7namespace
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/modules/rlm_mschap/configure.ac | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16Index: freeradius-server-3.0.14/src/modules/rlm_mschap/configure.ac
17===================================================================
18--- freeradius-server-3.0.14.orig/src/modules/rlm_mschap/configure.ac
19+++ freeradius-server-3.0.14/src/modules/rlm_mschap/configure.ac
20@@ -72,7 +72,7 @@ if test x$with_[]modname != xno; then
21 mod_ldflags="-framework DirectoryService"
22 fi
23
24- smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
25+ smart_try_dir="$winbind_include_dir =/usr/include/samba-4.0"
26 FR_SMART_CHECK_INCLUDE(wbclient.h, [#include <stdint.h>
27 #include <stdbool.h>])
28 if test "x$ac_cv_header_wbclient_h" != "xyes"; then
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.13.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.14.bb
index 0d39c15f5..6971b0379 100644
--- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.13.bb
+++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.14.bb
@@ -10,7 +10,8 @@ SUMMARY = "High-performance and highly configurable RADIUS server"
10HOMEPAGE = "http://www.freeradius.org/" 10HOMEPAGE = "http://www.freeradius.org/"
11SECTION = "System/Servers" 11SECTION = "System/Servers"
12LICENSE = "GPLv2 & LGPLv2+" 12LICENSE = "GPLv2 & LGPLv2+"
13DEPENDS = "openssl-native openssl libtool libpcap libtalloc" 13LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a"
14DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc"
14 15
15SRC_URI = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${PV}.tar.bz2 \ 16SRC_URI = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${PV}.tar.bz2 \
16 file://freeradius \ 17 file://freeradius \
@@ -25,13 +26,12 @@ SRC_URI = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${PV}.tar.b
25 file://freeradius-libtool-do-not-use-jlibtool.patch \ 26 file://freeradius-libtool-do-not-use-jlibtool.patch \
26 file://freeradius-fix-quoting-for-BUILT_WITH.patch \ 27 file://freeradius-fix-quoting-for-BUILT_WITH.patch \
27 file://freeradius-fix-error-for-expansion-of-macro.patch \ 28 file://freeradius-fix-error-for-expansion-of-macro.patch \
29 file://0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \
28 file://radiusd.service \ 30 file://radiusd.service \
29 file://radiusd-volatiles.conf \ 31 file://radiusd-volatiles.conf \
30" 32"
31 33SRC_URI[md5sum] = "7d98dfafffac81f19cadccea5af89cea"
32LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a" 34SRC_URI[sha256sum] = "2771f6ecd6c816ac4d52b66bb8ae6781ca20e1e4984c5804fc4e67de3a807c59"
33SRC_URI[md5sum] = "7f99df26a6ac71b1f7cce5c213e52790"
34SRC_URI[sha256sum] = "b3be0d8849878c31af0a5375d20b7b20c9d1c1572e89dc3f22992824cefffb84"
35 35
36PARALLEL_MAKE = "" 36PARALLEL_MAKE = ""
37 37