From patchwork Fri Sep 6 16:32:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 173268 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp950576ilq; Fri, 6 Sep 2019 09:32:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRubZBd2eqvzEK0xEvsiJgpyuUKkwIoWyciWl2TtlSrCJ6vnhxkrIK/0xFE+U4XBg4QfdG X-Received: by 2002:a62:c102:: with SMTP id i2mr12073921pfg.7.1567787579141; Fri, 06 Sep 2019 09:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567787579; cv=none; d=google.com; s=arc-20160816; b=e5qVbx3GjmwUdgFXprU6LMYCWFoKLftEMZmAt9jztpsIOoOte7SEQZ48//ZvtxcMlf CRejAKoxo+Nciq4BcFoESWk/HTq1TWAELE9QFx1A99XFHsnbDmj6Aga25/lVzcpblkYp qMg7dOG48zeX/eKuMYVvul580ipSUTvs+mV3f6QfMMWDUhRw07lmaLEuK2YBT7kZhK4g +25fbsrM+G+eAGrS87ABsCu9HGCumg1yBVLnlW3bF7RewmuPSGwZTW8K6liyhi5xc45y CCuT2N+gY3nla1wiqKA6zjPpTlQeBuHcQpbDFz4Xtn2wLekjiKo0mc6KAZOG29Bf3Ph2 U1uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=bh6ULj8koz8pOvoL/Xws0Wo9dnUZr0hzXt0VXaI463M=; b=mzRqD2GlebNV25TlM2pcV/GkfHpXftPIh2druj8eUQITtaiem3Xa01cKXlt+X7QsR9 fZlCSD52GwtFEEpUJ5GvZHlEUUj+Yk86P8vEMja8OZiDuuOBTCjvjypu7sYDqDHTTE3g trwTV4A/bamIA1RqIVVTrmu7M+5tnlMs2ht2pSqI/wtQcqar7Af3wx3K9qySFLHxKV5z 6I3EGs2lu1yAJZdWy/3bHQrxCI5I25thbweH33eJOXM4vSTa2E5IsQFl2vls5OKysY8D pf2uR1XcbuG7GOfmMwhwxUXLXYQaqXy8W8yabNrwyEHwj2WTb9IIJLvqp1l5uJUWK8JS 2A/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=H5Gw16Ol; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 l71si4733197pgd.314.2019.09.06.09.32.58; Fri, 06 Sep 2019 09:32:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=H5Gw16Ol; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 761E97F43F; Fri, 6 Sep 2019 16:32:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by mail.openembedded.org (Postfix) with ESMTP id 43A287F3F6 for ; Fri, 6 Sep 2019 16:32:53 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id m9so3398862pls.8 for ; Fri, 06 Sep 2019 09:32:54 -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:mime-version :content-transfer-encoding; bh=J036LRRWFP5Y8ESvtRb5/Ysn/lctUKnlgfpWnOEK30g=; b=H5Gw16OlYK9EiruOgHLHjqwXdufxcUZzw1H67pMyuCH7CIOjgR2zs6xsQFq8G+kM7Q FXZhI+iROVohTVXG1V/1Q9q0g4CxXB0Lp5u2sG28Oi6OmSDtIP/xJBEBlZG4bJgjyPJB r1X4fZSyb7C7xHaYFBv49eL1rDT5VD6YOU8h8suKHUDVs/GLb7N8uhrqaF23ccqeInNX /lMwJ2mbZ4AmuFfHxKzKEVye7RRPCmVGPqBVUvqCFWCQvbqGaR11yTHgFQtifvF3BiAa kQqX5oeuQ3fDYfPV4pSg9yy7ct1/KFzQNJ4+Csqxjlm+KiYGjQ2uaAW6yVzV6OqyB9Ik oGfg== 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:mime-version :content-transfer-encoding; bh=J036LRRWFP5Y8ESvtRb5/Ysn/lctUKnlgfpWnOEK30g=; b=c06xNJYeEJUY5kBUhTxyIR0/ilsttvQdIPmC1fqFATgbZM1R6eLalcbQuNsDHBV7NQ 96j4/aNJJy9ZM3qaK0pjC95hKQFjXOW6X3ffOqZfa1K4CZH6rNJnk1JfJCeLEr1Z44Xu Ejfkt8BPcXLrtQEMbwMMAMWhXizb+E0Fpnex+gufyBDtd8MvAve2UzjiRkBox3Nt+lyl mMYzEoXN4/1Omoa2jVLO9JMXSbpPagY8HJIeZ1/WfP9WtI2EbXE6AjzjPA/DKSocftpy VNWxoqlEorACDBGUI8n0Ors71qRqY3sE1aQLRlNPenESdjGL6g9dKVRG6H8wMWoHSCxc 8y9w== X-Gm-Message-State: APjAAAWpPzRHnh6yyQiqxe0KYUnMIT+4RUQ6dmn0KaVR9n8y6KnONHtI aJw0JWasFflqjwa++pqE5C1iOWCVMWs= X-Received: by 2002:a17:902:fe09:: with SMTP id g9mr9352002plj.99.1567787573645; Fri, 06 Sep 2019 09:32:53 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id t8sm2218205pjq.30.2019.09.06.09.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2019 09:32:53 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 6 Sep 2019 09:32:40 -0700 Message-Id: <20190906163242.4770-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH V2 1/3] remmina: Add recipe for the remmina remote desktop client X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org From: "aehs29@gmail.com" Remmina has become one of the most widely used RDP clients, it uses freeRDP 2.0 as a backend and also supports multiple network protocols like RSP, VNC, SPICE, NX, and SSH. Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Khem Raj --- v2: Rebased .../recipes-support/remmina/remmina_1.3.6.bb | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-oe/recipes-support/remmina/remmina_1.3.6.bb -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb new file mode 100644 index 0000000000..a14a2592cd --- /dev/null +++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "A feature rich Remote Desktop Application written in GTK+" +HOMEPAGE = "https://remmina.org" +SECTION = "Support" +LICENSE = "GPLv2 & openssl" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769" +DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver spice spice-protocol libsecret" + +SRC_URI = "https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/Remmina-v${PV}.tar.bz2 \ +" +SRC_URI[md5sum] = "6da599c3a5cab2df37a70f8fba2f5438" +SRC_URI[sha256sum] = "fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea556af1a" + +S = "${WORKDIR}/Remmina-v${PV}" + +inherit cmake + +EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF" + +do_install_append(){ + # We dont need the extra stuff form other desktop environments + rm -rf ${D}/${datadir}/xsessions + rm -rf ${D}/${datadir}/metainfo + rm -rf ${D}/${datadir}/gnome-session +} + +RDEPENDS_${PN} = "bash" + +FILES_${PN}_append = " ${datadir}/icons/hicolor/*" From patchwork Fri Sep 6 16:32:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 173269 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp950993ilq; Fri, 6 Sep 2019 09:33:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCQhjfYVt31qlh4smT0xz+ciWIhMtUByIOtockcl7cpJJmPq7GaJLkLo6oyOUzLl/dsx+I X-Received: by 2002:a65:6216:: with SMTP id d22mr8085471pgv.404.1567787599500; Fri, 06 Sep 2019 09:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567787599; cv=none; d=google.com; s=arc-20160816; b=Ey1AA+KNcetxJ9z7laVZNsXlJTP/tjMjp4zEnw6T1nWDQKe8+1ux3HKNUbrtay2+Jg IzmOJp/+Ng0rspQoPpgdwUwnyZtH8oEY+eUp6e1YV2eQ5c450qy/64lTDIdlITlelK1N V26AvFJGhqiNUpiy8LFNH1qKA43/VfUXmTVYtYARgeCEWhvbPiJoLoEiUn1WC+uaOadV jndNQHa+DXX7CZXsPROliBuEmkaGUy8cBXpNiLflXF4EQBGmG4NelW3JR6GqFoJC4pMS sXFkWPim99JaN9zWGPNzv9RYjcdR8nzGZ3XjxYbGJjYY817kH03geMx6GF18EECT/oup NI0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=qTzwj6FuCD9OtoRK4BRCZDFQMWMlJ8ih5jKi+naOaJc=; b=civ/zgeglijXpL/e5Havu67AQRhYvHpApdswsmBcW3YjbYz3kwkEtCo+3w6b6u2ROP G0MBPHd9BMH1G1ALLgz+cEFMrn9YAE5XRFyf4Uvb39cv8un2j/s34v+WitAiavbSCEEJ +Fs+XJHhSID5D+Ug1j/qCEh4jhB1HxMpVzelIUaGaOhaXkN/BMpRrmSQXI8aPo+dkm5x S56CWKJpgd4ZejpsSZFngKlR/rPoYgWMdhP5vRfoewfVK3uslYCh+y5hGYmfbj86YJFs /da3zuUy/0HiRKbQ43T2zj7W2HwbVrouRucG8+ijkB/TmfMPeNdTnjyoogtAr8OBdFOt jlVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TI3HoC2u; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 y3si4796012pge.429.2019.09.06.09.33.19; Fri, 06 Sep 2019 09:33:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=TI3HoC2u; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6E30D7F43D; Fri, 6 Sep 2019 16:33:17 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mail.openembedded.org (Postfix) with ESMTP id ED62D7F3F6 for ; Fri, 6 Sep 2019 16:32:53 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id 4so3764040pgm.12 for ; Fri, 06 Sep 2019 09:32:55 -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 :mime-version:content-transfer-encoding; bh=unrOJTjEn57r9Rv1dbI736MdOZ+vF/c6gWbNrb3ql9Y=; b=TI3HoC2utTBs+o0o/pNB9Xlmng0daO27BWNjm2bZ1rrVZtFSSyW5M2II2UI+0VSg3W 5C7zoVkhHC7QGBo5QB7LjYgbunoMEpZYyzW8dtf/Iwh2sZxKaFHmUXQGW+tjTiXdkM+4 YpIE92JClq9w79dNbkRW1GAMbjXQbaBmz3hMl6NTWfbhzxIoRNhZcsh4h5+tzFsT/C4j /JZGyqu5qzJku33xbA4Q6bPnJzqS+ozjfchuJkMOtmwhkKdn2RBIWSf82fTyZwzys64I 0ETSjmNLTZQbvHwByonLWU+HOxglBmH7CEeczLMFpTxe4zFK0/SByXOUFypVEQsyA16Y PDlQ== 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:mime-version:content-transfer-encoding; bh=unrOJTjEn57r9Rv1dbI736MdOZ+vF/c6gWbNrb3ql9Y=; b=k9Bokmfl+rwH6PcDHZhyuxz1nZEds+zdTq5L7/DQW2h9c+VcGYaQUB9BhwB4X4FOHq gwk+ilVjeDMzUmzWIUid7Ug3pAYMUmqMP6XM2Rz4Y0mde/bVap/tx+3puL6RCDyeviMl Dn6/RC5tinDPLYQa+WqM6ylmpLndzX1XqPDLCSBAqdev71iJc95R0vzPi7p0v9t8u6io otQEG2UCei56ausQGzlNGa1qJPw36fZmApUdGi9tM0IhR0AqkB0KsTPgHDYgwOGLa3jH eTd1vQpU3Up+FjBSQs9R0NAWaRvzMhbNRnjYwX7+KS7/eLuuQUyAwO9md6VCjThAFl7t gPrA== X-Gm-Message-State: APjAAAXROUrC5GX5S8fH9qoDWQEU3q3LSqSnwF4bU9dhzUgTWLBtLkzM MfKsn21vB0sE5thb+qN/r4m2hygN8S0= X-Received: by 2002:a62:1511:: with SMTP id 17mr11186948pfv.119.1567787574523; Fri, 06 Sep 2019 09:32:54 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id t8sm2218205pjq.30.2019.09.06.09.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2019 09:32:53 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 6 Sep 2019 09:32:41 -0700 Message-Id: <20190906163242.4770-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190906163242.4770-1-raj.khem@gmail.com> References: <20190906163242.4770-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/3] remmina: Link with libexecinfo explicitly on musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj Cc: Alejandro Enedino Hernandez Samaniego --- meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 3 +++ 1 file changed, 3 insertions(+) -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb index a14a2592cd..a86deccc8f 100644 --- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb +++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb @@ -5,6 +5,9 @@ LICENSE = "GPLv2 & openssl" LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769" DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver spice spice-protocol libsecret" +DEPENDS_append_libc-musl = "libexecinfo" +LDFLAGS_append_libc-musl = " -lexecinfo" + SRC_URI = "https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/Remmina-v${PV}.tar.bz2 \ " SRC_URI[md5sum] = "6da599c3a5cab2df37a70f8fba2f5438" From patchwork Fri Sep 6 16:32:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 173270 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp951109ilq; Fri, 6 Sep 2019 09:33:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQQHSrbIhWPh8dDl+/rkEpe5pLFh81ZW+PbW7yGSYZxs9M2nsjAB/jgEEjaGN902KEpsQ2 X-Received: by 2002:a17:90a:b898:: with SMTP id o24mr10797249pjr.41.1567787605683; Fri, 06 Sep 2019 09:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567787605; cv=none; d=google.com; s=arc-20160816; b=WORwsXGoS/nUfC6qsESSWL3vxXCRw84xt6UdAf1KXhOWt0ueuJrOm5nJqnmyz8Pd6I L1KwM+QYrK0XEkyh+OP85XOKgIjSGMMTZjemfPUsJSHRJyXdDLRklnXylDqR9NPVhdvr UVV+VsCvMcACNDBN+t3EVZ8q8Wcs+evZNBjWNMCGiZjZMwYZR3TloJEQXkXnlS8krknH OQZ6oroT6fWRTeKLl7cyTQ8glvHXjLp8madm8w+4wbpO6U/13mAN5eouZycNg7GcNlfd 4+fdC1e2+hCkNzSPZy/ut5fG7tpzz3BSIRU5bQChS7WeyZIyp96Rt00IUCxa9C7rf4dT yLEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=XUHbzy+WholZOHr9PGZX8mcUdfWYmxA0nGKvhUdSWDY=; b=KqF9NSV4E3+8refROMH5YUUiFsj0+6gEVyhPU+PVxDIscKQeq6AXQYrajRvvX/QP2e K2qMHd6gqFR42q4sX1BqPQECbOxRi5Cp1dmAScsE+BSbEaGQJzaVg3IiDkT3V6uPuvRg LFpFoWorDmkmyHMIGlL3sBoON9diIc8RDJYiNyCTAP4qIlsvwonzcKQaN67PLBbgRDCA RR3tIjy8n5Lg2URNFd9PneSP2mk+rDZmFOBzFgae9l/7Pu53ymSA2mbLmY8aurwlKhTS 9d39myVAHOBsERHd7K494GzvgSpSgkkW9KX3EjbbpzLtd9yB6mbgG6E9N66r4EXnthsw fwOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=BYMcvhOQ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 d7si4623710pgf.377.2019.09.06.09.33.25; Fri, 06 Sep 2019 09:33:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=BYMcvhOQ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 042DD7F44B; Fri, 6 Sep 2019 16:33:19 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mail.openembedded.org (Postfix) with ESMTP id E4DE67F43B for ; Fri, 6 Sep 2019 16:32:54 +0000 (UTC) Received: by mail-pg1-f175.google.com with SMTP id u17so3780480pgi.6 for ; Fri, 06 Sep 2019 09:32:56 -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 :mime-version:content-transfer-encoding; bh=IygpkDQ34UBatYPzsQRWJO9tlwmIHZUz1spQC4CpX4I=; b=BYMcvhOQjJ/w+C09j8MAwAej7avRkz8tynGGz90L5J08uXPs7+pkOxaGaj8HO1PFdh Zu3LPjaEqAOc4L332nZaC/aKigg6C9rIg+8tiGVhniI1d2ILEptmr006uYjCYjjzhvJl JRgMS6v0ctOU5CbLIOxuCTVLWPVD32WYmNEXnEMdnh9aYLrjYbEHt+I6TmeNWecE5NDx zGlY0T+heiVH0TCfvzFdefzPl3lcyZ4soSnSWWa4QFTqCCrwkEYFfxdwsbo8VWMnYT8C V1OdkhjwcSbYpNDM4ClJp9Ph5hYKAp8bUVkohLak8z1QTEIpMp1lFT5enwDxU99tCNsW kBCQ== 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:mime-version:content-transfer-encoding; bh=IygpkDQ34UBatYPzsQRWJO9tlwmIHZUz1spQC4CpX4I=; b=jVhl18rtPP8YIufrS5MRigIleaF4waNI3OQU7JN3L9atr8Pi0k1wT+OmXhX/0aWeQE baHsv2Lr6qV4LzaHJ9oHYeIPERex5vy9tIQWOVOMxptX7WF4NsgZbe0fqVQ+ucQUNKl+ Q3EFav7g1rbnG55ZLmYDBor8o/N4/JmRudS9pXuKWkeGQ3xKhq9zKJenUMVGe/YdzZ0Y pXsHdNB1KCHd7tfv2jWmlBjjQHryl1R8fol43Txq9JlRYlmTrgsEA0B1AorUZWTO+8S1 K8xYmJmq4CSyVXtR1yWcpMFzTjOX/PbSkFxz3HPFu2T+PTeK2aS815i01ku3C0QEz7qI LSyw== X-Gm-Message-State: APjAAAV1LHxBDtMTV8rxdjlyuxtmsCIiOkXDDvtOVzssSgx4JFrQpU6c p7pVxr9hwY/nMLe0nAW9JizUOTytgh4= X-Received: by 2002:a63:a011:: with SMTP id r17mr8877221pge.219.1567787575252; Fri, 06 Sep 2019 09:32:55 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id t8sm2218205pjq.30.2019.09.06.09.32.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2019 09:32:54 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 6 Sep 2019 09:32:42 -0700 Message-Id: <20190906163242.4770-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190906163242.4770-1-raj.khem@gmail.com> References: <20190906163242.4770-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 3/3] samba: Fix configure tests to work with clang X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Do not use nested functions ( main inside main ) Use global scope for __thread variables Signed-off-by: Khem Raj --- ...ipt-Avoid-generating-nested-main-fun.patch | 30 ++++++++++ ...ve-__thread-variable-to-global-scope.patch | 58 +++++++++++++++++++ .../samba/samba_4.10.7.bb | 2 + 3 files changed, 90 insertions(+) create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-lib-replace-wscript-Avoid-generating-nested-main-fun.patch create mode 100644 meta-networking/recipes-connectivity/samba/samba/0002-util_sec.c-Move-__thread-variable-to-global-scope.patch -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-connectivity/samba/samba/0001-lib-replace-wscript-Avoid-generating-nested-main-fun.patch b/meta-networking/recipes-connectivity/samba/samba/0001-lib-replace-wscript-Avoid-generating-nested-main-fun.patch new file mode 100644 index 0000000000..de7f311834 --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba/0001-lib-replace-wscript-Avoid-generating-nested-main-fun.patch @@ -0,0 +1,30 @@ +From 3a935c638605bfb392ca7780d22c08c1a0a71e71 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 5 Sep 2019 21:37:33 -0700 +Subject: [PATCH 1/2] lib/replace/wscript: Avoid generating nested main + function + +clang is not happy when it sees another main nested inside the main +function and fails the test for prctl syscall, therefore avoid adding +implicit main() here + +Signed-off-by: Khem Raj +--- + lib/replace/wscript | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/replace/wscript b/lib/replace/wscript +index a7fd25d..d6767fc 100644 +--- a/lib/replace/wscript ++++ b/lib/replace/wscript +@@ -137,6 +137,7 @@ def configure(conf): + } + ''', + 'HAVE_PRCTL', ++ addmain=False, + headers='sys/prctl.h', + msg='Checking for prctl syscall') + +-- +2.23.0 + diff --git a/meta-networking/recipes-connectivity/samba/samba/0002-util_sec.c-Move-__thread-variable-to-global-scope.patch b/meta-networking/recipes-connectivity/samba/samba/0002-util_sec.c-Move-__thread-variable-to-global-scope.patch new file mode 100644 index 0000000000..6fc849337c --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba/0002-util_sec.c-Move-__thread-variable-to-global-scope.patch @@ -0,0 +1,58 @@ +From c62a6f32ab965de2ec77a614f20f04568116835b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 5 Sep 2019 21:39:05 -0700 +Subject: [PATCH 2/2] util_sec.c: Move __thread variable to global scope + +Make clang happy otherwise it complains about variable scope + +fixes + +source3/./lib/util_sec.c:470:4: error: '__thread' variables must have global storage + } __thread cache; + ^ + +Signed-off-by: Khem Raj +--- + source3/lib/util_sec.c | 19 +++++++++++-------- + 1 file changed, 11 insertions(+), 8 deletions(-) + +diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c +index 9408269..7390318 100644 +--- a/source3/lib/util_sec.c ++++ b/source3/lib/util_sec.c +@@ -444,6 +444,17 @@ void become_user_permanently(uid_t uid, gid_t gid) + assert_gid(gid, gid); + } + ++#ifdef HAVE___THREAD ++ struct cache_t { ++ bool active; ++ uid_t uid; ++ gid_t gid; ++ size_t setlen; ++ uintptr_t gidset; ++ }; ++ ++static __thread struct cache_t cache; ++#endif + /********************************************************** + Function to set thread specific credentials. Leave + saved-set uid/gid alone.Must be thread-safe code. +@@ -461,14 +472,6 @@ int set_thread_credentials(uid_t uid, + * available. + */ + #ifdef HAVE___THREAD +- static struct { +- bool active; +- uid_t uid; +- gid_t gid; +- size_t setlen; +- uintptr_t gidset; +- } __thread cache; +- + if (cache.active && + cache.uid == uid && + cache.gid == gid && +-- +2.23.0 + diff --git a/meta-networking/recipes-connectivity/samba/samba_4.10.7.bb b/meta-networking/recipes-connectivity/samba/samba_4.10.7.bb index d13a6b4dbb..1b2bc087d5 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.10.7.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.10.7.bb @@ -24,6 +24,8 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ file://smb_conf-4.7.0.patch \ file://volatiles.03_samba \ file://0001-waf-add-support-of-cross_compile.patch \ + file://0001-lib-replace-wscript-Avoid-generating-nested-main-fun.patch \ + file://0002-util_sec.c-Move-__thread-variable-to-global-scope.patch \ " SRC_URI_append_libc-musl = " \ file://samba-pam.patch \