From patchwork Tue Sep 28 09:48:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Danzberger X-Patchwork-Id: 1533823 X-Patchwork-Delegate: freifunk@adrianschmutzler.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=tirZxGD2; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=dd-wrt.com header.i=@dd-wrt.com header.a=rsa-sha256 header.s=mikd header.b=ZLc5diJi; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJZjT1lwgz9t0T for ; Tue, 28 Sep 2021 19:59:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1igZmSyDzrW2cFjP5cV3/hz7dZvZJF1gCaVQxI/krsY=; b=tirZxGD2aFlsRn swh1tmK6aLliLqrUEdpUEWjpk+f1rnU45/aN4Nx9yjPONdNV+9ZDZHPVtkE9ZqZKt9fUnaoFfxAkR NUwzCtcC+jro0elwMBCPb5mXSMV4fpKyG+Z0DLpU1KgGFsJDVqyoLJMVXd441RncuHnOFtZgy+2Qe Xl/t8nXWC5PtcfE+dDBmpkQXiCMo08Y1zt6LNhsDD/NuaJAsDq01pBD0Jwsz5nVjV6b/svxgxpryj e/vgc/1Iet2NlO9o4CuR8SUwnDfOmudgEXp88kvrPyOrZyYEeMqoVDnJZMjSicK8e13JebuY1LLOe Pxw1u5Ohu/IcLO0JYXKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV9rP-006g2L-S4; Tue, 28 Sep 2021 09:57:15 +0000 Received: from smtps.newmedia-net.de ([2a05:a1c0:0:de::167] helo=webmail.newmedia-net.de) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV9rM-006fzt-2w for openwrt-devel@lists.openwrt.org; Tue, 28 Sep 2021 09:57:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dd-wrt.com; s=mikd; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To:From; bh=1da/oBtQ4ntau5GPosxnn499TmqkvTvAgqG/ukN1gcA=; b=ZLc5diJiO+Hr9MRUQG9so0vj1aiF77+kYo6TYpPFo4SbjE9CJ4mAJMiRcUcavzRO6GdzRXUlxW+ZG/cWVRk38m2xFWnR4BmZte/Sfo0Zoxc2hpentXjHhdiH6/BHqJzA9fcfYyNtamKmyusZJRUZ3GnqZQ9aS7JZRHLfxXMN+gw=; From: Daniel Danzberger To: openwrt-devel@lists.openwrt.org Cc: john@phrozen.org, Daniel Danzberger Date: Tue, 28 Sep 2021 11:48:50 +0200 Message-Id: <20210928094850.1400306-1-daniel@dd-wrt.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a02:908:2610:8050::151 X-SA-Exim-Mail-From: daniel@dd-wrt.com Subject: [PATCH] nftables: install libnftables to staging dir X-SA-Exim-Version: 4.2.1 (built Thu, 26 May 2011 15:22:33 +0200) X-SA-Exim-Scanned: No (on webmail.newmedia-net.de); Unknown failure X-Received: from [2a02:908:2610:8050::151] (helo=lappi.lan) by webmail.newmedia-net.de with esmtpa (Exim 4.72) (envelope-from ) id 1mV9jS-000XgG-IG; Tue, 28 Sep 2021 11:49:05 +0200 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_025712_494501_1AE9D921 X-CRM114-Status: UNSURE ( 5.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.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: Makes libnftables library and headers available for other packages. Signed-off-by: Daniel Danzberger --- package/network/utils/nftables/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 Makes libnftables library and headers available for other packages. Signed-off-by: Daniel Danzberger --- package/network/utils/nftables/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/network/utils/nftables/Makefile b/package/network/utils/nftables/Makefile index 7830596e84..32384aca0e 100644 --- a/package/network/utils/nftables/Makefile +++ b/package/network/utils/nftables/Makefile @@ -61,6 +61,12 @@ endif TARGET_CFLAGS += -flto TARGET_LDFLAGS += -flto +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/nftables $(1)/usr/include/ +endef + define Package/nftables/install/Default $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/nft $(1)/usr/sbin/