summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/maintainers.inc1
-rw-r--r--meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb37
-rw-r--r--meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch26
3 files changed, 64 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 4fb9fc23d1..d7d0c1e2da 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -613,6 +613,7 @@ RECIPE_MAINTAINER_pn-resolvconf = "Chen Qi <Qi.Chen@windriver.com>"
613RECIPE_MAINTAINER_pn-rgb = "Armin Kuster <akuster808@gmail.com>" 613RECIPE_MAINTAINER_pn-rgb = "Armin Kuster <akuster808@gmail.com>"
614RECIPE_MAINTAINER_pn-rpcbind = "Hongxu Jia <hongxu.jia@windriver.com>" 614RECIPE_MAINTAINER_pn-rpcbind = "Hongxu Jia <hongxu.jia@windriver.com>"
615RECIPE_MAINTAINER_pn-rng-tools = "Maxin B. John <maxin.john@intel.com>" 615RECIPE_MAINTAINER_pn-rng-tools = "Maxin B. John <maxin.john@intel.com>"
616RECIPE_MAINTAINER_pn-rpcsvc-proto = "Khem Raj <raj.khem@gmail.com>"
616RECIPE_MAINTAINER_pn-rpm = "Mark Hatle <mark.hatle@windriver.com>" 617RECIPE_MAINTAINER_pn-rpm = "Mark Hatle <mark.hatle@windriver.com>"
617RECIPE_MAINTAINER_pn-rpmresolve = "Mark Hatle <mark.hatle@windriver.com>" 618RECIPE_MAINTAINER_pn-rpmresolve = "Mark Hatle <mark.hatle@windriver.com>"
618RECIPE_MAINTAINER_pn-rsync = "Yi Zhao <yi.zhao@windriver.com>" 619RECIPE_MAINTAINER_pn-rsync = "Yi Zhao <yi.zhao@windriver.com>"
diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
new file mode 100644
index 0000000000..fdeafe283a
--- /dev/null
+++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
@@ -0,0 +1,37 @@
1# Copyright (C) 2018 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "rpcsvc protocol definitions from glibc"
5
6DESCRIPTION = "This package contains rpcsvc proto.x files from glibc, which are\
7missing in libtirpc. Additional it contains rpcgen, which is needed\
8to create header files and sources from protocol files.\
9This package is only needed, if glibc is installed without the\
10deprecated sunrpc functionality and libtirpc should replace it."
11
12HOMEPAGE = "https://github.com/thkukuk/rpcsvc-proto"
13LICENSE = "BSD-3-Clause"
14LIC_FILES_CHKSUM = "file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517"
15SECTION = "libs"
16DEPENDS += "rpcsvc-proto-native"
17
18PV = "1.3.1+git${SRCPV}"
19
20SRCREV = "abcf24a09665b3def0f54c87d2acd4796de5d83a"
21
22SRC_URI = "git://github.com/thkukuk/${BPN} \
23 file://0001-Use-cross-compiled-rpcgen.patch \
24 "
25
26S = "${WORKDIR}/git"
27
28inherit autotools
29
30EXTRA_OEMAKE_class-native = " -C rpcgen"
31
32do_install_append() {
33 # They come from quota recipe
34 rm -rf ${D}${includedir}/rpcsvc/rquota.[hx]
35}
36
37BBCLASSEXTEND += "native nativesdk"
diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch
new file mode 100644
index 0000000000..4ee4940295
--- /dev/null
+++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch
@@ -0,0 +1,26 @@
1From de9345207beb71e4d5b6b40b52cac4ebd2e3858c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 27 Apr 2018 23:23:20 -0700
4Subject: [PATCH] Use cross compiled rpcgen
5
6Upstream-Status: Inappropriate [OE-Specific]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 rpcsvc/Makefile.am | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/rpcsvc/Makefile.am b/rpcsvc/Makefile.am
14index 83867c0..4753242 100644
15--- a/rpcsvc/Makefile.am
16+++ b/rpcsvc/Makefile.am
17@@ -12,5 +12,5 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_prot.h rstat.h spray.h \
18 nfs_prot.h rquota.h sm_inter.h
19
20 %.h: %.x
21- $(top_builddir)/rpcgen/rpcgen -h -o $@ $<
22+ rpcgen -h -o $@ $<
23
24--
252.17.0
26