From patchwork Thu Dec 29 20:23:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 709561 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tqLfQ3mhJz9s65 for ; Fri, 30 Dec 2016 07:23:57 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="NuEXfcSM"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 598BB860F0; Thu, 29 Dec 2016 20:23:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4iqW3luFz159; Thu, 29 Dec 2016 20:23:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 478DB86025; Thu, 29 Dec 2016 20:23:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 1CC8B1C0093 for ; Thu, 29 Dec 2016 20:23:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1804186D05 for ; Thu, 29 Dec 2016 20:23:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yza1-C9Vna0t for ; Thu, 29 Dec 2016 20:23:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by hemlock.osuosl.org (Postfix) with ESMTPS id C3E9586CE0 for ; Thu, 29 Dec 2016 20:23:49 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3tqLfB0NVVz101D for ; Thu, 29 Dec 2016 21:23:46 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1483043025; x=1483647826; bh=amqlr53tcYSiAHsYV0uS54KJ6GdctDxBsxR 5sjPdvfk=; b=NuEXfcSMkRtdHdLR71llmRA953iVT1KccKFLaEsuYRhcyKT0c00 GTG42Z83mtNv4w0aL/0sEEHOE9iNXsGAb4NW8VZrfOiS5JNOP017atw5cH98T3Qu KiGLX7PiL21ZJZp/J9BTduxVXd7CkxVHChnIBEPsyZYlrpboO7V8UprjFX/pS4Zf u7FGR5Q0cTtRJFoq85xUTWLXBGCmO3LJ84EgaxKRBFukJJQXHWfYvA0MgDBmYdXS XqUrwOR0QbeLVgeOFxMc3e4S69mLgAmY4HAd68kYwuSmI7tMYjeyJ0zsRt1XKvHH cUWpZ9WJIRBRn/NrzrHqUELSHcDG+NoMIsQ== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 2QLk6j4N0qHZ; Thu, 29 Dec 2016 21:23:45 +0100 (CET) Received: from nzxt.fritz.box (x4d02103d.dyn.telefonica.de [77.2.16.61]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 29 Dec 2016 21:23:45 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 29 Dec 2016 21:23:40 +0100 Message-Id: <20161229202340.22374-3-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161229202340.22374-1-joerg.krause@embedded.rocks> References: <20161229202340.22374-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/3] package/busybox: add patch to fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Upstream commit a8c696bf09d8151323f6e99348c4bc8989f829c8 makes ifup and ifdown individually selectable, but forgets to update the dependency to IFUPDOWN_UDHCPC_CMD_OPTIONS, so it is not selectable anymore. Add a patch which fixes the dependency by checking for IFUP or IFDOWN, instead of the obsolete IFUPDOWN. Upstream status: Pending http://lists.busybox.net/pipermail/busybox/2016-December/085034.html Signed-off-by: Jörg Krause --- ...ependency-for-IFUPDOWN_UDHCPC_CMD_OPTIONS.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/busybox/0004-Fix-dependency-for-IFUPDOWN_UDHCPC_CMD_OPTIONS.patch diff --git a/package/busybox/0004-Fix-dependency-for-IFUPDOWN_UDHCPC_CMD_OPTIONS.patch b/package/busybox/0004-Fix-dependency-for-IFUPDOWN_UDHCPC_CMD_OPTIONS.patch new file mode 100644 index 000000000..35e4e45c6 --- /dev/null +++ b/package/busybox/0004-Fix-dependency-for-IFUPDOWN_UDHCPC_CMD_OPTIONS.patch @@ -0,0 +1,36 @@ +From 9c0b06bfbb05c40ba31bad8aa469aa2330620e9e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= +Date: Thu, 29 Dec 2016 18:41:21 +0100 +Subject: [PATCH] Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Commit a8c696bf09d8151323f6e99348c4bc8989f829c8 makes ifup and ifdown +individually selectable, but forgets to update the dependency to +IFUPDOWN_UDHCPC_CMD_OPTIONS, so it is not selectable anymore. + +This patch fixes the dependency by checking for IFUP or IFDOWN, instead +of the obsolete IFUPDOWN. + +Signed-off-by: Jörg Krause +--- + networking/Config.src | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/networking/Config.src b/networking/Config.src +index 527bdd15d..a3d895b5f 100644 +--- a/networking/Config.src ++++ b/networking/Config.src +@@ -53,7 +53,7 @@ source networking/udhcp/Config.in + config IFUPDOWN_UDHCPC_CMD_OPTIONS + string "ifup udhcpc command line options" + default "-R -n" +- depends on IFUPDOWN && UDHCPC ++ depends on (IFUP || IFDOWN) && UDHCPC + help + Command line options to pass to udhcpc from ifup. + Intended to alter options not available in /etc/network/interfaces. +-- +2.11.0 +