From patchwork Wed Apr 14 03:18:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1465989 X-Patchwork-Delegate: daniel@makrotopia.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=CaOXY1lS; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HxWLu+LS; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FKnnn69dYz9sVb for ; Wed, 14 Apr 2021 13:21:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=H+1DwZACKP823JK77k6o9l47auDYej/3zicqGtbvuPM=; b=CaOXY1lS/DNDV+ W9R8xliPobdXcBTmSX4Zl5JF3gaguqNfWvFQb00IPWtw7xuCyrgKa/mHQTa9pSXSpJ8GnQVgiY+rD oeAw9e9VQv/DglSbzFA5nAWqAeeOWbTQ4Z5xGRyWCSFu07BcANbYx5i/TA3B7na9e1y1xjbrD/1FC vto1K7D8LozgXFxp+MB58BVW8Z52nzT+v9HpLFgJEN6Re926CUjDYCkaHMOmcGamZilwSmARFQWUC MgVV1tDRRI+T8JvHi8fUfGUmWEeQtfz/Fo/xURHdCk8IbM2P4VHUALCptvAGQtJRJaBGTBodHrQ5G ib/8STrk0JcBJXxqlnbQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWW40-00BIGk-4m; Wed, 14 Apr 2021 03:19:36 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWW2w-00BI9c-Ng for openwrt-devel@lists.openwrt.org; Wed, 14 Apr 2021 03:18:36 +0000 Received: by mail-pj1-x1035.google.com with SMTP id lt13so684123pjb.1 for ; Tue, 13 Apr 2021 20:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=KS0N/JoxI8ih387pa7Bn6h87kamSvdw5CKj0xB2ntxM=; b=HxWLu+LSJcS89BeXluvvmQ+kTIn7Qj9ZgHfscOeYzt0YMb9RGSdtV1uNcagHX/ivfk Xjq5LzNcmqgQF9zpmP4YXgrat3hCajVy0U08S+0haTNK9mwDZbtmHHbEu3EIWGWRhyiR oW/MA5QEIekAObVcao+UFWoY49PIo/Dy+/ltV3jslci2NxAggEEEUN/2X0bjVkxVZ6Zx n5PpEk8+yIe5inxXX581JWJWeNJaC3NYg7oVlaHzZL+CZxDmL7lrduFch1+h2Oo/OKTr g0jT5x5stvlVWVhwqTHhu1L/kThLhsR/5g/31G9eR8s7qHd9wP/kWckqj5Up6xMxwSOe GzNQ== 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:mime-version :content-transfer-encoding; bh=KS0N/JoxI8ih387pa7Bn6h87kamSvdw5CKj0xB2ntxM=; b=Npzsqt9KsuPbkf4+L/HRRc5nNdUrG3YBeX6dWooe/Ct+hmmbOay0TM4/hSMow6RQcD tPrOBxMYAYkGK948Z1WoJVNH/amyy7YOXcvjPYjdUZIaHgtk5WiBVy68jflimtD7Zeg7 egKHZSHnPcHbeeV9zjn3BuiPzY39eApVPulNnRfuvxDmN2r3uEZ5mDAqzGrSGPp6XK6X SzbqK9oPiJGXuZf2cq1L8iMoHdTShD1rz9b2YsTbMAF4d+M2Ulk2XHzD/Of1JcwxxvNE MIyFiiYBGVzwJQk4uRf1bDAE8jA/5DChDvh06GWWhoKeteiUAfGSyvFQsKI3mFpsRC6N 0Y1A== X-Gm-Message-State: AOAM531gIAsGcYk09fsCaFlQvoHtBMLSa2C2863k7W+zuXPVazV6xGOu N/sH7DrkfVpq8LYmu1gP3OuWJqYehXA= X-Google-Smtp-Source: ABdhPJxsXHEdKp6kSVF8SdW9UfNX7NWlOjO22XE8Fr0DQJMx5lfJQ+Sa9nzgwvasAKUvreHPVAiwmA== X-Received: by 2002:a17:902:74c2:b029:e9:a966:2e1b with SMTP id f2-20020a17090274c2b02900e9a9662e1bmr18683438plt.43.1618370308122; Tue, 13 Apr 2021 20:18:28 -0700 (PDT) Received: from mangix-trapnet.lan ([2001:470:1f05:79e::a89]) by smtp.gmail.com with ESMTPSA id 14sm13103550pfl.1.2021.04.13.20.18.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 20:18:27 -0700 (PDT) From: Rosen Penev To: openwrt-devel@lists.openwrt.org Subject: [PATCH] libsemanage: fix pkgconfig paths Date: Tue, 13 Apr 2021 20:18:26 -0700 Message-Id: <20210414031826.692122-1-rosenp@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210414_041831_219853_0E067B51 X-CRM114-Status: UNSURE ( 8.15 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The pkgconfig file currently post to host paths. Signed-off-by: Rosen Penev --- package/libs/libsemanage/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libs/libsemanage/Makefile b/package/libs/libsemanage/Makefile index ff1519f14e..2fde14c06c 100644 --- a/package/libs/libsemanage/Makefile +++ b/package/libs/libsemanage/Makefile @ [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1035 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The pkgconfig file currently post to host paths. Signed-off-by: Rosen Penev --- package/libs/libsemanage/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libs/libsemanage/Makefile b/package/libs/libsemanage/Makefile index ff1519f14e..2fde14c06c 100644 --- a/package/libs/libsemanage/Makefile +++ b/package/libs/libsemanage/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsemanage PKG_VERSION:=3.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/3.2 @@ -58,6 +58,8 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libsemanage.pc $(1)/usr/lib/pkgconfig/ + $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libsemanage.pc + $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libsemanage.pc $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ endef