From patchwork Mon Jan 12 12:33:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Senior X-Patchwork-Id: 427719 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id AC278140192 for ; Mon, 12 Jan 2015 23:32:08 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 2F5B428456B; Mon, 12 Jan 2015 13:29:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9B11C2806D9 for ; Mon, 12 Jan 2015 13:29:05 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .personaltelco. - helo: .mail.tdb. - helo-domain: .tdb.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=1; rate: -5.5 Received: from mail.tdb.com (mail.tdb.com [216.99.214.4]) by arrakis.dune.hu (Postfix) with SMTP for ; Mon, 12 Jan 2015 13:29:03 +0100 (CET) Received: (qmail 18968 invoked from network); 12 Jan 2015 04:31:14 -0800 Received: from unknown (HELO iris.klickitat.com) (216.99.214.7) by mail.tdb.com with SMTP; 12 Jan 2015 04:31:14 -0800 From: Russell Senior To: openwrt-devel@lists.openwrt.org Date: Mon, 12 Jan 2015 04:33:12 -0800 Message-Id: <1421065992-16733-3-git-send-email-russell@personaltelco.net> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1421065992-16733-1-git-send-email-russell@personaltelco.net> References: <54AA61E0.7050606@openwrt.org> <1421065992-16733-1-git-send-email-russell@personaltelco.net> Cc: Russell Senior Subject: [OpenWrt-Devel] [PATCH v2 3/3] iproute2: add package for bridge program X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" The 'bridge' program has been part of iproute2 for a while, and it was once declared[1] to the the intended longterm replacement for bridge-utils, but its features are still mostly distinct[2] from the venerable brctl. [1] http://lwn.net/Articles/435845/ [2] http://sgros-students.blogspot.com/2013/11/comparison-of-brctl-and-bridge-commands.html Signed-off-by: Russell Senior --- package/network/utils/iproute2/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index a49b061..ad14ac4 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -58,6 +58,11 @@ $(call Package/iproute2/Default) TITLE:=General netlink utility frontend endef +define Package/ip-bridge +$(call Package/iproute2/Default) + TITLE:=Bridge configuration utility from iproute2 +endef + define Package/ss $(call Package/iproute2/Default) TITLE:=Socket statistics utility @@ -130,6 +135,11 @@ define Package/genl/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/genl/genl $(1)/usr/sbin/ endef +define Package/ip-bridge/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/bridge/bridge $(1)/usr/sbin/ +endef + define Package/ss/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/misc/ss $(1)/usr/sbin/ @@ -139,4 +149,5 @@ $(eval $(call BuildPackage,ip)) $(eval $(call BuildPackage,ip-full)) $(eval $(call BuildPackage,tc)) $(eval $(call BuildPackage,genl)) +$(eval $(call BuildPackage,ip-bridge)) $(eval $(call BuildPackage,ss))