summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-30 08:06:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-24 09:40:28 +0000
commitaaa85169b663ddc41b55400c7e07bddffc2f9c16 (patch)
treed14260a0afa8d49f2ad4c9043dbe87078a158262 /meta/recipes-extended/xinetd/xinetd_2.3.15.bb
parent93fb408e787526375ce699723691c815414f7b77 (diff)
downloadpoky-aaa85169b663ddc41b55400c7e07bddffc2f9c16.tar.gz
xinetd: Fix build with musl
musl relies on external rpc implemetation (libtirpc) and exposed a bug in configury when checking for rlim_t (From OE-Core rev: bcf7548aacb82d2e14115ced8fa58d35963abe60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/xinetd/xinetd_2.3.15.bb')
-rw-r--r--meta/recipes-extended/xinetd/xinetd_2.3.15.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
index 652fe91de9..6bfaabe829 100644
--- a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
+++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
@@ -7,6 +7,7 @@ LICENSE = "BSD"
7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" 7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"
8 8
9DEPENDS = "" 9DEPENDS = ""
10DEPENDS_append_libc-musl = " libtirpc "
10PR = "r2" 11PR = "r2"
11 12
12# Blacklist a bogus tag in upstream check 13# Blacklist a bogus tag in upstream check
@@ -20,6 +21,7 @@ SRC_URI = "git://github.com/xinetd-org/xinetd.git;protocol=https \
20 file://Disable-services-from-inetd.conf-if-a-service-with-t.patch \ 21 file://Disable-services-from-inetd.conf-if-a-service-with-t.patch \
21 file://xinetd-should-be-able-to-listen-on-IPv6-even-in-ine.patch \ 22 file://xinetd-should-be-able-to-listen-on-IPv6-even-in-ine.patch \
22 file://xinetd-CVE-2013-4342.patch \ 23 file://xinetd-CVE-2013-4342.patch \
24 file://0001-configure-Use-HAVE_SYS_RESOURCE_H-to-guard-sys-resou.patch \
23 file://xinetd.service \ 25 file://xinetd.service \
24 " 26 "
25 27
@@ -39,6 +41,9 @@ EXTRA_OECONF="--disable-nls"
39PACKAGECONFIG ??= "tcp-wrappers" 41PACKAGECONFIG ??= "tcp-wrappers"
40PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers" 42PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers"
41 43
44CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc "
45LDFLAGS_append_libc-musl = " -ltirpc "
46
42do_configure() { 47do_configure() {
43 # Looks like configure.in is broken, so we are skipping 48 # Looks like configure.in is broken, so we are skipping
44 # rebuilding configure and are just using the shipped one 49 # rebuilding configure and are just using the shipped one