From patchwork Mon Jan 12 12:33:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Senior X-Patchwork-Id: 427722 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 9C16E140192 for ; Mon, 12 Jan 2015 23:32:34 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1CCD32845FE; Mon, 12 Jan 2015 13:29:30 +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 982BE280687 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 18964 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:10 -0800 Message-Id: <1421065992-16733-1-git-send-email-russell@personaltelco.net> X-Mailer: git-send-email 2.1.3 In-Reply-To: <54AA61E0.7050606@openwrt.org> References: <54AA61E0.7050606@openwrt.org> Cc: Russell Senior Subject: [OpenWrt-Devel] [PATCH v2 1/3] iproute2: bump version to 3.18.0 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" Signed-off-by: Russell Senior --- package/network/utils/iproute2/Makefile | 6 +++--- package/network/utils/iproute2/patches/300-ip_tiny.patch | 15 ++++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 9aea05e..a49b061 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2014 OpenWrt.org +# Copyright (C) 2006-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 -PKG_VERSION:=3.17.0 +PKG_VERSION:=3.18.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://kernel.org/pub/linux/utils/net/iproute2/ -PKG_MD5SUM:=b741a02c6dda5818d18011d572874493 +PKG_MD5SUM:=6f6ad51a00007880460e103367b16057 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0 diff --git a/package/network/utils/iproute2/patches/300-ip_tiny.patch b/package/network/utils/iproute2/patches/300-ip_tiny.patch index 5b0d56c..3620120 100644 --- a/package/network/utils/iproute2/patches/300-ip_tiny.patch +++ b/package/network/utils/iproute2/patches/300-ip_tiny.patch @@ -1,6 +1,6 @@ --- a/ip/Makefile +++ b/ip/Makefile -@@ -15,6 +15,13 @@ ifeq ($(IP_CONFIG_SETNS),y) +@@ -16,6 +16,13 @@ ifeq ($(IP_CONFIG_SETNS),y) CFLAGS += -DHAVE_SETNS endif @@ -14,7 +14,7 @@ ALLOBJ=$(IPOBJ) $(RTMONOBJ) SCRIPTS=ifcfg rtpr routel routef TARGETS=ip rtmon -@@ -42,7 +49,7 @@ else +@@ -43,7 +50,7 @@ else ip: static-syms.o static-syms.o: static-syms.h @@ -25,7 +25,7 @@ sed -n '/'$$s'[^ ]* =/{s:.* \([^ ]*'$$s'[^ ]*\) .*:extern char \1[] __attribute__((weak)); if (!strcmp(sym, "\1")) return \1;:;p}' $$files ; \ --- a/ip/ip.c +++ b/ip/ip.c -@@ -66,29 +66,41 @@ static const struct cmd { +@@ -69,30 +69,42 @@ static const struct cmd { int (*func)(int argc, char **argv); } cmds[] = { { "address", do_ipaddr }, @@ -44,6 +44,7 @@ { "link", do_iplink }, +#ifndef IPROUTE2_TINY { "l2tp", do_ipl2tp }, + { "fou", do_ipfou }, +#endif { "tunnel", do_iptunnel }, { "tunl", do_iptunnel }, @@ -69,7 +70,7 @@ }; --- a/lib/utils.c +++ b/lib/utils.c -@@ -627,6 +627,7 @@ const char *rt_addr_n2a(int af, int len, +@@ -629,6 +629,7 @@ const char *rt_addr_n2a(int af, const vo case AF_INET: case AF_INET6: return inet_ntop(af, addr, buf, buflen); @@ -77,7 +78,7 @@ case AF_IPX: return ipx_ntop(af, addr, buf, buflen); case AF_DECnet: -@@ -635,6 +636,7 @@ const char *rt_addr_n2a(int af, int len, +@@ -637,6 +638,7 @@ const char *rt_addr_n2a(int af, const vo memcpy(dna.a_addr, addr, 2); return dnet_ntop(af, &dna, buf, buflen); } @@ -85,7 +86,7 @@ default: return "???"; } -@@ -710,6 +712,7 @@ const char *format_host(int af, int len, +@@ -712,6 +714,7 @@ const char *format_host(int af, int len, case AF_INET6: len = 16; break; @@ -93,7 +94,7 @@ case AF_IPX: len = 10; break; -@@ -720,6 +723,7 @@ const char *format_host(int af, int len, +@@ -722,6 +725,7 @@ const char *format_host(int af, int len, len = 2; break; #endif