From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-networking][PATCH 2/9] freeradius: Upgrade to 3.0.14
Date: Sat, 17 Jun 2017 10:21:35 -0700 [thread overview]
Message-ID: <20170617172142.1311-2-raj.khem@gmail.com> (raw)
In-Reply-To: <20170617172142.1311-1-raj.khem@gmail.com>
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>
---
...Use-includedir-instead-of-hardcoding-usr-.patch | 28 ++++++++++++++++++++++
.../{freeradius_3.0.13.bb => freeradius_3.0.14.bb} | 10 ++++----
2 files changed, 33 insertions(+), 5 deletions(-)
create mode 100644 meta-networking/recipes-connectivity/freeradius/files/0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch
rename meta-networking/recipes-connectivity/freeradius/{freeradius_3.0.13.bb => freeradius_3.0.14.bb} (96%)
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 @@
+From 66e8bcdcca8971b5c43c31755d56d7f675d8b5ff Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 16 Jun 2017 20:10:49 -0700
+Subject: [PATCH] rlm_mschap: Use includedir instead of hardcoding /usr/include
+
+OE QA flags it correctly as a voilation of cross compilation
+namespace
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/modules/rlm_mschap/configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: freeradius-server-3.0.14/src/modules/rlm_mschap/configure.ac
+===================================================================
+--- freeradius-server-3.0.14.orig/src/modules/rlm_mschap/configure.ac
++++ freeradius-server-3.0.14/src/modules/rlm_mschap/configure.ac
+@@ -72,7 +72,7 @@ if test x$with_[]modname != xno; then
+ mod_ldflags="-framework DirectoryService"
+ fi
+
+- smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
++ smart_try_dir="$winbind_include_dir =/usr/include/samba-4.0"
+ FR_SMART_CHECK_INCLUDE(wbclient.h, [#include <stdint.h>
+ #include <stdbool.h>])
+ 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
similarity index 96%
rename from meta-networking/recipes-connectivity/freeradius/freeradius_3.0.13.bb
rename to 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"
HOMEPAGE = "http://www.freeradius.org/"
SECTION = "System/Servers"
LICENSE = "GPLv2 & LGPLv2+"
-DEPENDS = "openssl-native openssl libtool libpcap libtalloc"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a"
+DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc"
SRC_URI = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${PV}.tar.bz2 \
file://freeradius \
@@ -25,13 +26,12 @@ SRC_URI = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${PV}.tar.b
file://freeradius-libtool-do-not-use-jlibtool.patch \
file://freeradius-fix-quoting-for-BUILT_WITH.patch \
file://freeradius-fix-error-for-expansion-of-macro.patch \
+ file://0001-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \
file://radiusd.service \
file://radiusd-volatiles.conf \
"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a"
-SRC_URI[md5sum] = "7f99df26a6ac71b1f7cce5c213e52790"
-SRC_URI[sha256sum] = "b3be0d8849878c31af0a5375d20b7b20c9d1c1572e89dc3f22992824cefffb84"
+SRC_URI[md5sum] = "7d98dfafffac81f19cadccea5af89cea"
+SRC_URI[sha256sum] = "2771f6ecd6c816ac4d52b66bb8ae6781ca20e1e4984c5804fc4e67de3a807c59"
PARALLEL_MAKE = ""
--
2.13.1
next prev parent reply other threads:[~2017-06-17 17:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-17 17:21 [meta-filesystems][PATCH 1/9] xfsprogs: Remove .la files in ${libdir} Khem Raj
2017-06-17 17:21 ` Khem Raj [this message]
2017-06-17 17:21 ` [meta-oe][PATCH 3/9] ssiapi: Fix build with gcc7 and musl Khem Raj
2017-06-17 17:21 ` [meta-networking][PATCH 4/9] vlan: Fix build with security flags turned on Khem Raj
2017-06-17 17:21 ` [meta-networking][PATCH 5/9] relayd: Upgrade to latest Khem Raj
2017-06-17 17:21 ` [meta-oe][PATCH 6/9] openocd: Fix build with gcc7 Khem Raj
2017-06-17 17:21 ` [meta-oe][PATCH 7/9] tiobench: Fix build with hardening flags Khem Raj
2017-06-17 17:21 ` [meta-networking][PATCH 8/9] relayd: Fix build with hardening flags and glibc Khem Raj
2017-06-17 17:21 ` [meta-networking][PATCH 9/9] ruli: Fix build with hardening flags Khem Raj
2017-06-19 17:36 ` [meta-filesystems][PATCH 1/9] xfsprogs: Remove .la files in ${libdir} Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170617172142.1311-2-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox