From patchwork Sun Apr 29 19:35:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134679 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037940lji; Sun, 29 Apr 2018 12:37:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqIdW/+WB5TUFMrRcxFBX9f5ji9v9f5V3aemg+7iPXSjYvRn9EG1gHLq9vnhvRd7kZKJ/vP X-Received: by 2002:a17:902:7e06:: with SMTP id b6-v6mr9998783plm.151.1525030654956; Sun, 29 Apr 2018 12:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030654; cv=none; d=google.com; s=arc-20160816; b=dl4DG+5aWkVe8ObCIiJE46kNYKMwJ/JQnrmffS4rTFUXgpPBJQAXsHJq5nRpSN34R7 ic3yISSmAsD/MNZbaqnbCGJ7PUYl2lL5eSziiOBy5t+n5YM0IEx+DdZdqHBBGhkQV9Gm MODdk95ctEc4pKTD4HwVJ4kuXhZg0yoJ/b4SvhQE11MRRpuTRnjIZ/hWpfjmMy2l1gBQ lkFRZnbCZ2QHjYKT67i+c1Yj9mXHgaKmo8mKy10Ns0pDCMAYzOYCBNK4fKvfWmVE/ENc K+u15avcbiRHm5jdvyoatDu7Fo5Zk7XhqQlI2904bGzYvbjRimXtkondjR0stYsOf/Tp UITQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=NqQOB2V4TfqvBNxNSrrYVg8BmNqkOwTN3yn5ErvrVpk=; b=ka/lmXVpucsexJSNaszEJJpX4ch3P6l+GZ+cOuV7YnjorUrGptaDNDtiUwv57BxLRE ufl/CImNspDJklP3Kz1iCuMOYXOHkHM5pBlvYjugVZ/xQOVVfYT4AVnRJbb6GRA9wBNy 7Hf/EQUpgjWFXFEJXYqg3ziYvWV4ARkWeCr93Fo4OXyOym0VHm5X7AGiyojkrXLQzARh SlQ3/7VroCGlDu0j+sTdkFnCY/T6oi7hXxjoHwZsmOFUvuLKSwOJFlYIKpXPOkOBqMYU j1FgGVIXgreJFlUOGExMoHGXrZpLL6FNGgpeVVYu/g0uF41Ze6PZAS0XLSNjhaWP0fFK IkMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dRq1e1ai; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id t71-v6si5048309pgc.444.2018.04.29.12.37.34; Sun, 29 Apr 2018 12:37:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dRq1e1ai; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 335B0745B7; Sun, 29 Apr 2018 19:36:37 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by mail.openembedded.org (Postfix) with ESMTP id E9FD1745A1 for ; Sun, 29 Apr 2018 19:36:30 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id v63so5127159pfk.8 for ; Sun, 29 Apr 2018 12:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=k8ozAW+hq6U7hXBCi09op2HDjBHthQAPAc9SUhlJmL8=; b=dRq1e1aidi4ispOmAYZUF3h4ecCeUf4Mk3grHYQ2+DQz6SZOcn+Hz1RtX6yJQgO9vG wqEJZORQ3wxF2JjGyH9CZZgZfudYVS/w8s2F+wGVAW58wp4tJ+z1t4pMrkBL0yRUboMO z8HztaL0BL5xbXTqo59wTP+H9Q3IFRBFIrWWcv9RxjnT97/uXXa9Y15vXAA9R/5HzoxL K32sFBMS+h6xRLoJJB2Kb6G3p/GCAuyRbRtoSSO2YLzUnf4gU/5/mgmy9CGHypcizLar ZyOPBS22obdCXkGI86j56N4zbegCvRTHcHi7xQzSeX0zrUX9rfqsq/Y0EchB4Ng//7NU VEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=k8ozAW+hq6U7hXBCi09op2HDjBHthQAPAc9SUhlJmL8=; b=QgMjoa1L3k+uyIBs52kdSNJcvrmtBDmuws9YzHeLFfuKGdV3rnf3cqhAw7mhsYrTY7 +Iw7dubSIRa2TIn2b0ABLc6vEL9sK5QQZYzVMtN4u+2ItF6WHMunzvGHX+wBer+D8qcG dzt2P4exz/GzvgUtawdNd1BzQNk5NcFD3aW+Tozz4VTvlCxPrLLrscHGFjFH2WaufHym OeCCpNNNMgy3SaqdktnvmHyiv4hy9kQVNKmS3ijIe39DbMnHwv6v0Jktk7A4ghxgZSxD ahPVXBvXpwNZtzBRoeldbrd7uuRYdIQ9swpHfznfr1AR4f/i5nTEymuc7O1TlywWdvEx 4x6w== X-Gm-Message-State: ALQs6tCG1G/hM5jXIuMURSei7/2cRs0QD45HEaKUIMs8P6PZAkFBPgg8 bo2Rp62r+BWTmE5Gr8ztMYN0kA== X-Received: by 2002:a17:902:9a0c:: with SMTP id v12-v6mr9746716plp.162.1525030591476; Sun, 29 Apr 2018 12:36:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:59 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 12/24] rpcsvc-proto: Add recipe X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 1 + .../rpcsvc-proto/rpcsvc-proto.bb | 37 +++++++++++++++++++ .../0001-Use-cross-compiled-rpcgen.patch | 26 +++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb create mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 48aff9537e..823e1bfa98 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -633,6 +633,7 @@ RECIPE_MAINTAINER_pn-resourceproto = "Armin Kuster " RECIPE_MAINTAINER_pn-rgb = "Armin Kuster " RECIPE_MAINTAINER_pn-rpcbind = "Hongxu Jia " RECIPE_MAINTAINER_pn-rng-tools = "Maxin B. John " +RECIPE_MAINTAINER_pn-rpcsvc-proto = "Khem Raj " RECIPE_MAINTAINER_pn-rpm = "Mark Hatle " RECIPE_MAINTAINER_pn-rpmresolve = "Mark Hatle " RECIPE_MAINTAINER_pn-rsync = "Yi Zhao " 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 @@ +# Copyright (C) 2018 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "rpcsvc protocol definitions from glibc" + +DESCRIPTION = "This package contains rpcsvc proto.x files from glibc, which are\ +missing in libtirpc. Additional it contains rpcgen, which is needed\ +to create header files and sources from protocol files.\ +This package is only needed, if glibc is installed without the\ +deprecated sunrpc functionality and libtirpc should replace it." + +HOMEPAGE = "https://github.com/thkukuk/rpcsvc-proto" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517" +SECTION = "libs" +DEPENDS += "rpcsvc-proto-native" + +PV = "1.3.1+git${SRCPV}" + +SRCREV = "abcf24a09665b3def0f54c87d2acd4796de5d83a" + +SRC_URI = "git://github.com/thkukuk/${BPN} \ + file://0001-Use-cross-compiled-rpcgen.patch \ + " + +S = "${WORKDIR}/git" + +inherit autotools + +EXTRA_OEMAKE_class-native = " -C rpcgen" + +do_install_append() { + # They come from quota recipe + rm -rf ${D}${includedir}/rpcsvc/rquota.[hx] +} + +BBCLASSEXTEND += "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 @@ +From de9345207beb71e4d5b6b40b52cac4ebd2e3858c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 27 Apr 2018 23:23:20 -0700 +Subject: [PATCH] Use cross compiled rpcgen + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Khem Raj +--- + rpcsvc/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rpcsvc/Makefile.am b/rpcsvc/Makefile.am +index 83867c0..4753242 100644 +--- a/rpcsvc/Makefile.am ++++ b/rpcsvc/Makefile.am +@@ -12,5 +12,5 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_prot.h rstat.h spray.h \ + nfs_prot.h rquota.h sm_inter.h + + %.h: %.x +- $(top_builddir)/rpcgen/rpcgen -h -o $@ $< ++ rpcgen -h -o $@ $< + +-- +2.17.0 +