From patchwork Tue Feb 20 00:51:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 128849 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4096084ljc; Mon, 19 Feb 2018 16:59:30 -0800 (PST) X-Google-Smtp-Source: AH8x227uLjtuSn7EQkGzbGa2CEZfAPXnb2QmXYt8vFAwmTnD/dJFDaYkaO6HHzYErGvEnT0Ysaln X-Received: by 2002:a17:902:d891:: with SMTP id b17-v6mr12236596plz.241.1519088370067; Mon, 19 Feb 2018 16:59:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519088370; cv=none; d=google.com; s=arc-20160816; b=QGa7ok8FufWkSm6nuuEiDyxyUzsZZlkUlOPl++LhZbyzsnjf9dCXIZU4TU0ek1h3kO tH4RergkgiK8zHPYCVVmiaNR5TtZ2fVDJgfSHcowFixmAPz7LODeatyKy+PHQpsttPDS tdi56QzHC+yn3QlguBkDeqph7J8LsPUtwy5RUfMmTq9eC5iRavtdecHLhZZU9hi9BJcr xHm1TrArwxS/YPuBkt7XdBphUaTqZgCYsktx6kgp274BupQWfvJzAs5+wHwY9omLIhu7 UxuVxqS4EFQMWeDzQD/kQCI2UlVzCX6Y48qUqeo3DomN0EA8FaaV7/OsIyDASN2jvISK T//Q== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=jTCh5jphLw/gKnH+CRVBjEZJdvHlCEWCNAQLRHSaDvE=; b=PNa7Vk8YytTDyMHCysCk8O5v4QuO08crOsg0YvvoioafedcZbf2obNWLFC1Mk71oMY /4MyPGNJHcIfDT/+2Qo29498WDQok3xqfikMoEAJ+btREF9Pslt+CBFcO9LOzyvno3zs A+4PuBNbrx2fiWHXChbwi9E6yF7ERkLK323/ND4PHAwpbgLDYuZys4OtNN3hi+ogiHyo 46PLMD35D5QkpSX7EpypZIBuX0mepaqe3SBComaP+QxM2cy7u62iuvaGr8i2FSFhG1yD OMMLI2YtsXD2Xst/pDpTd7MIwNnQ4yee0Ou9kkTHLsA8fEJbH6UzXSOcJNoYjd7GTq3y ANUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=YGSer+s4; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f187si519331pgc.322.2018.02.19.16.59.29; Mon, 19 Feb 2018 16:59:30 -0800 (PST) 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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=YGSer+s4; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5E9197880B; Tue, 20 Feb 2018 00:59:25 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by mail.openembedded.org (Postfix) with ESMTP id 70C9678704 for ; Tue, 20 Feb 2018 00:51:30 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id t74so18298750wme.3 for ; Mon, 19 Feb 2018 16:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=cELsNYmSRyNNJBdX0Qnwse3eUYvSMuB+D5HpFl+aLBM=; b=YGSer+s4ECVcaYCN9VELVY/JM+382FN07tKmsO4OFENGJL/yEZYVp7885TRA3bpOZC xAKaB0M3LjUWU8ITfVzS9Oe4h9l+oFOn/TVBhzF53vgCEJ+8AYgkqxKFNZ9/wr/dAMMD dVkG1+Rx0CUWxuhueCKSikkx11TrF4TRPNTX/kEvrIX6hBpPoSLf/orufX2v5kUSud1z creU20xGlVDiEuHzsXYzw/0gpaMsLBzImYjg2Uod4cSS5N+fziTAybUnsgZP0Gd2SGUb EUOFPdqtuVc+pcV3s7KB5Ok7f5t62mqqpms4H9zQBWatV7ioaPPw7OJBkW83QUvkdNCJ 73tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=cELsNYmSRyNNJBdX0Qnwse3eUYvSMuB+D5HpFl+aLBM=; b=tSqXpZpcbExSZZabDbvsFM7jEUlX4R9XuN5464UDps8W1gXxFShIj7xvazjlOLDxS4 yDxvRY6y1vVFgpvTzML3iSLkRfoSebkeuTunr6cWXtvO/MxVOjbAJLs8PMBa1/6mwFSI QCMppyGHT6atdKDai5085XsDTouNfH8IwydyTsRtFvQWXOifmO9eIhmtJQXwB52PHCRR LIDROtU9vy0Ygi8pYzgIYQ5of+Xoo1WcJ6gdq6qYbrZnnA9WFEtYfARh9VVKCPZRWXN6 F4iqExWhJ+i7+faRv08NLAOxsNiJBkw4PLZ8XD6RUMu4hA25Sjkb4AOr+826xPLIs0Bc 8XBw== X-Gm-Message-State: APf1xPBxuQTlbw2gTXXe/TwZbt/tZinotIxuCPzG3eg8xTY2rbG/tCEy /4q4xeqjPl34mU7jQqdg0+9ci4Bg X-Received: by 10.28.158.197 with SMTP id h188mr4685112wme.72.1519087890831; Mon, 19 Feb 2018 16:51:30 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id c14sm18606211wmh.2.2018.02.19.16.51.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 16:51:30 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 20 Feb 2018 00:51:22 +0000 Message-Id: <20180220005123.12127-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] libtirpc: stop dropping in NIS headers 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 libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't always true. Until now we've been using a tarball of the missing files from Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't required anymore. Signed-off-by: Ross Burton --- meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb index f9718c576b6..1a73de9db05 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb @@ -9,8 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \ PROVIDES = "virtual/librpc" -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2;name=libtirpc \ - ${GENTOO_MIRROR}/${BPN}-glibc-nfs.tar.xz;name=glibc-nfs \ +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ file://export_key_secretkey_is_set.patch \ file://0001-replace-__bzero-with-memset-API.patch \ file://0001-include-stdint.h-for-uintptr_t.patch \ @@ -20,19 +19,13 @@ SRC_URI_append_libc-musl = " \ file://Use-netbsd-queue.h.patch \ " -SRC_URI[libtirpc.md5sum] = "d5a37f1dccec484f9cabe2b97e54e9a6" -SRC_URI[libtirpc.sha256sum] = "723c5ce92706cbb601a8db09110df1b4b69391643158f20ff587e20e7c5f90f5" -SRC_URI[glibc-nfs.md5sum] = "5ae500b9d0b6b72cb875bc04944b9445" -SRC_URI[glibc-nfs.sha256sum] = "2677cfedf626f3f5a8f6e507aed5bb8f79a7453b589d684dbbc086e755170d83" +SRC_URI[md5sum] = "d5a37f1dccec484f9cabe2b97e54e9a6" +SRC_URI[sha256sum] = "723c5ce92706cbb601a8db09110df1b4b69391643158f20ff587e20e7c5f90f5" inherit autotools pkgconfig EXTRA_OECONF = "--disable-gssapi" -do_configure_prepend () { - cp -r ${WORKDIR}/tirpc ${S} -} - do_install_append() { chown root:root ${D}${sysconfdir}/netconfig } From patchwork Tue Feb 20 00:51:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 128850 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4096480ljc; Mon, 19 Feb 2018 17:00:02 -0800 (PST) X-Google-Smtp-Source: AH8x224pshERVueFKxgtfBpwlQDewl/6YNsAd8kMWyNUwKoS4tdMBbqcMtm5l64RRHL3gOe7DdCc X-Received: by 2002:a17:902:567:: with SMTP id 94-v6mr11158840plf.66.1519088402501; Mon, 19 Feb 2018 17:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519088402; cv=none; d=google.com; s=arc-20160816; b=Pi4f2KVGIVfsBDLIQfjLZAN3bsdf+4nswfE1emt33JtrB72bNqdYfTEZjELr5BfZCY TqFiwZiTlGPwawHKQVy7rG+1WYDyjo+kliMA+uxtxEKl9KuajnRnnvK355lQtQCHwtxJ fwWPldnQM7tppPXQfvorLKx7LPwEPBM+0voaksjn/aSNQcpNUTqDz0RE88tHReDe8vrU nfEagN+a16D7FM3p4Nicd4mP9LblPFNE3CHw6xRYy3JawSHd6U9gbDW8NFX7qPz9TbAN xkQp+b7pF90Rm131KzYxTvmKN6NoHsIJyoKydp81aGm/9tQr3/azaoDRvuD5aslxb4UW /R8g== 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=jvqjjyTDRXR8rO7Oyx8dHRSIbNmSL3yjhQ8o35kTWVs=; b=geR0+uJbi/lGwxqxVcBMjNqWxFkogpF6IyPlNgYvQXi7mppXEIJQfE8YbsJrKE38Zv vwMOBi4DOzbSZQCwWmwGPjMyv0sqbhmSQFqAW3mGr/R27kmDraA2fqUeAdN7vAn3zer/ EmFltd5on/L0F/lNXI2LiwbQU8hi40+44hrunWqQieKau977fr69DQl6EOg1aC1dT2tb yGREIGmxBjuMiv73IB6THUNVs10KtCEyAL/eeUIm0RaKGGRK6l/nxxAbMholRYQiZyXo LHH8dIZ9PIkedlqMbKCklRCf5mT7XbzuGFGsNbizEGc6nkpRC13xfn7lFO/4xBDjrXHb IkGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=ExQxM2J0; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m12-v6si6776712pln.400.2018.02.19.17.00.02; Mon, 19 Feb 2018 17:00:02 -0800 (PST) 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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=ExQxM2J0; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DED8F78861; Tue, 20 Feb 2018 00:59:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by mail.openembedded.org (Postfix) with ESMTP id CCD3678704 for ; Tue, 20 Feb 2018 00:51:31 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id n7so11417167wrn.5 for ; Mon, 19 Feb 2018 16:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=ox6hNXnfIe/vXl7ifBv29hssp+rZbvnUDTMOX9vY1pU=; b=ExQxM2J0cr6HDxzBRjA5nwNOhmoR0X0e/rXttnxk1qaeUFk3uxUgJW0p8oIzI7Jk+K nzsKMMjV7jNr69Tmh8TwjbjL3aqzL9LXceBfloN+1m3A8PteB2d1XAQjKTfvf8L5vtle NrAdf/kXtlh1d0PV2X/SibW3gMsHPKHDPGtY2QDc9c6OD22hmTGvocpFf3gJRh+4c4LJ PuhDATaB9JFoFJt+XdKZPYN777ku1FqxbVF9Tc3iW8vIpdYDgG5kaGvNRJZLiBQxKRYK KlS8MymUdVmiHCK/ZdDvhLV96bI7V9C1i+iGPfn9Rxq33ArrjJmJwimWzHl2KBbGydwa tlZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ox6hNXnfIe/vXl7ifBv29hssp+rZbvnUDTMOX9vY1pU=; b=O/kJypB3BMJ/H7Cl1a9U5ruRkR641Sx/BT0PDs9bQRpfQ98tA+qPh4Uv4PakyDrVCC 4eKU/1LrCysbrLFx7hfeQUIrFaEJ8Lnx+XMSE5k3CjGtCfeysDPbxkagpnMGeCVSWzOj vajeJKYHfCJfB4TaJoc/yVJ0/Ei4n/5EVMFoGwQrHG3L2pRaKmL1fXvN3SAwtQ5J2qLi FOpAQevdnr3s/5vWgoEApEs3fJ5qYaG0n7JZCyrxrXRUAYRaICVLxx6lWahVQxEMX5T8 6i83x2O/Xx2WFTMFmk5BuSIMQ0ozQ5Calbr+jvqgVHKHYpkeaSoCKr3Rb9c5jBQntXSB ED1g== X-Gm-Message-State: APf1xPBb2ycDxsEMZ4RDEc5ANvlxlV5Fay0efEnBoHtDewbX6PfoTtOH WKnNlMWYozDJOqeXJYyuosel6013 X-Received: by 10.223.176.171 with SMTP id i40mr14414170wra.57.1519087891894; Mon, 19 Feb 2018 16:51:31 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id c14sm18606211wmh.2.2018.02.19.16.51.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 16:51:31 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 20 Feb 2018 00:51:23 +0000 Message-Id: <20180220005123.12127-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180220005123.12127-1-ross.burton@intel.com> References: <20180220005123.12127-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/2] libtirpc: refresh patches 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: Ross Burton --- .../0001-include-stdint.h-for-uintptr_t.patch | 23 ++++----- .../0001-replace-__bzero-with-memset-API.patch | 58 +++++++++++++++++----- .../libtirpc/export_key_secretkey_is_set.patch | 29 +++++++---- 3 files changed, 74 insertions(+), 36 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch index 1fe9833afed..7e3e2f86ad4 100644 --- a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch +++ b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch @@ -1,17 +1,15 @@ -From b80d3b573c1dade2b29b22f8acc3b9e2c7ddefd7 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 20 May 2017 13:36:43 -0700 -Subject: [PATCH] include stdint.h for uintptr_t +Upstream-Status: Backport +Signed-off-by: Ross Burton -Fixes -| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'? -| if (len < (uintptr_t)xdrs->x_base) { -| ^~~~~~~~~ +From acb9a37977cf0a9630eac74af9adebf35e38e719 Mon Sep 17 00:00:00 2001 +From: Thorsten Kukuk +Date: Tue, 14 Nov 2017 10:39:08 -0500 +Subject: [PATCH] Include stdint.h from xdr_sizeof.c to avoid missing + declaration errors. -Signed-off-by: Khem Raj +Signed-off-by: Thorsten Kukuk +Signed-off-by: Steve Dickson --- -Upstream-Status: Pending - src/xdr_sizeof.c | 1 + 1 file changed, 1 insertion(+) @@ -28,5 +26,4 @@ index d23fbd1..79d6707 100644 /* ARGSUSED */ -- -2.13.0 - +1.8.3.1 diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch index d2b4da6ae2c..7ae19cb3196 100644 --- a/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch +++ b/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch @@ -1,17 +1,39 @@ -From 20badc3e3608953fb5b36bb2e16fa51bd731aebc Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 18 Apr 2017 09:35:35 -0700 -Subject: [PATCH] replace __bzero() with memset() API +Upstream-Status: Backport +Signed-off-by: Ross Burton -memset is available across all libc implementation +From 5356b63005e9d8169e0399cb76f26fbd29a78dee Mon Sep 17 00:00:00 2001 +From: Joshua Kinard +Date: Wed, 23 Aug 2017 14:31:36 -0400 +Subject: [PATCH] Replace bzero() calls with equivalent memset() calls -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending +As annotated in the bzero(3) man page, bzero() was marked as LEGACY in +POSIX.1-2001 and removed in POSIX.1-2008, and should be replaced with +memset() calls to write zeros to a memory region. The attached patch +replaces two bzero() calls and one __bzero() call in libtirpc with +equivalent memset() calls. The latter replacement fixes a compile error +under uclibc-ng, which lacks a definition for __bzero() - src/des_impl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) +Signed-off-by: Joshua Kinard +Signed-off-by: Steve Dickson +--- + src/auth_time.c | 2 +- + src/des_impl.c | 2 +- + src/svc_auth_des.c | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) +diff --git a/src/auth_time.c b/src/auth_time.c +index 7f83ab4..69400bc 100644 +--- a/src/auth_time.c ++++ b/src/auth_time.c +@@ -317,7 +317,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) + sprintf(ipuaddr, "%d.%d.%d.%d.0.111", a1, a2, a3, a4); + useua = &ipuaddr[0]; + +- bzero((char *)&sin, sizeof(sin)); ++ memset(&sin, 0, sizeof(sin)); + if (uaddr_to_sockaddr(useua, &sin)) { + msg("unable to translate uaddr to sockaddr."); + if (needfree) diff --git a/src/des_impl.c b/src/des_impl.c index 9dbccaf..15bec2a 100644 --- a/src/des_impl.c @@ -25,6 +47,18 @@ index 9dbccaf..15bec2a 100644 return (1); } +diff --git a/src/svc_auth_des.c b/src/svc_auth_des.c +index 2e90146..19a7c60 100644 +--- a/src/svc_auth_des.c ++++ b/src/svc_auth_des.c +@@ -356,7 +356,7 @@ cache_init() + + authdes_cache = (struct cache_entry *) + mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ); +- bzero((char *)authdes_cache, ++ memset(authdes_cache, 0, + sizeof(struct cache_entry) * AUTHDES_CACHESZ); + + authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ); -- -2.12.2 - +1.8.3.1 diff --git a/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch b/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch index a276ba27a59..d7f49686696 100644 --- a/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch +++ b/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch @@ -1,18 +1,23 @@ -Add key_secretkey_is_set to exported symbols map +Upstream-Status: Backport +Signed-off-by: Ross Burton -key_secret_is_set is a typo in libtirpc map -Patch taken from +From e51d67549b516b2dac6c71d92c8499f6e67125ad Mon Sep 17 00:00:00 2001 +From: Thorsten Kukuk +Date: Tue, 14 Nov 2017 10:43:53 -0500 +Subject: [PATCH] Fix typo in src/libtirpc.map -https://sourceforge.net/p/libtirpc/discussion/637321/thread/fd73d431/ +Which prevents that key_secretkey_is_set will be exported. -Upstream-Status: Pending +Signed-off-by: Thorsten Kukuk +Signed-off-by: Steve Dickson +--- + src/libtirpc.map | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) -Signed-off-by: Khem Raj - -Index: libtirpc-1.0.1/src/libtirpc.map -=================================================================== ---- libtirpc-1.0.1.orig/src/libtirpc.map -+++ libtirpc-1.0.1/src/libtirpc.map +diff --git a/src/libtirpc.map b/src/libtirpc.map +index f385de5..21d6065 100644 +--- a/src/libtirpc.map ++++ b/src/libtirpc.map @@ -298,7 +298,7 @@ TIRPC_0.3.2 { key_gendes; key_get_conv; @@ -22,3 +27,5 @@ Index: libtirpc-1.0.1/src/libtirpc.map key_setnet; netname2host; netname2user; +-- +1.8.3.1