From patchwork Thu May 20 10:10:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Spooren X-Patchwork-Id: 1481478 X-Patchwork-Delegate: mail@aparcar.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=reJw1kg4; 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 4Fm5C102byz9sRf for ; Thu, 20 May 2021 20:12:28 +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: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=BLLC6V0rcrPQkMRQuONnOC0KNjoPXDRC7i7gUgzLF2o=; b=reJw1kg4CzoZe6iMvUDiaR1uPJ xKoj/0p0tyHV3o4DDvr/QguUXPECEceIgRtsQTpAvn9qLvXzho6iMDOXcuAJ1NyfOQuzDFmRrhm8t AABw8dTgkrNRVIOmT99NQ5tArpBJZcTm+8pLuccHKHn4UOcQxcsafzcdLQmJVrqGwkQ8ohI+ZcBa4 G0xAGAxr9RuhkbVje+ODwkkuPk5QqYClyFVDLxAYpmnwt+WJyJyOQV73+GhsGV6HBJa6vHuEqfJSQ t2HMLFoFoWGg0z7dOF5gIABBRQOpPdzMLzTh3HbrWoo0wRuyuUBlagYXxo7YH7a1cPH7N4sYn3bO6 EeoVGBSQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljfdR-00052O-Vs; Thu, 20 May 2021 10:10:34 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljfdK-000509-9W for openwrt-devel@lists.openwrt.org; Thu, 20 May 2021 10:10:29 +0000 Received: from reactor.localdomain (dynamic-077-011-224-095.77.11.pool.telefonica.de [77.11.224.95]) (Authenticated sender: mail@aparcar.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPA id E83BDFF80D; Thu, 20 May 2021 10:10:23 +0000 (UTC) From: Paul Spooren To: openwrt-devel@lists.openwrt.org Cc: Paul Spooren Subject: [PATCH] busybox: mention SRV support in help message Date: Thu, 20 May 2021 12:10:18 +0200 Message-Id: <20210520101018.2796769-1-mail@aparcar.org> 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-20210520_111026_649541_ACA56DBB X-CRM114-Status: GOOD ( 12.22 ) X-Spam-Score: -0.7 (/) 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 SRV was added some time ago and should be mentioned in the short help message to avoid confusion about missing features. Signed-off-by: Paul Spooren --- Already sent to upstream: http://lists.busybox.net/pipermail/busybox/2021-May/088849.html Content analysis details: (-0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.199 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.199 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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 SRV was added some time ago and should be mentioned in the short help message to avoid confusion about missing features. Signed-off-by: Paul Spooren --- Already sent to upstream: http://lists.busybox.net/pipermail/busybox/2021-May/088849.html .../540-nslookup-mention-QUERY_TYPE-SRV.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/utils/busybox/patches/540-nslookup-mention-QUERY_TYPE-SRV.patch diff --git a/package/utils/busybox/patches/540-nslookup-mention-QUERY_TYPE-SRV.patch b/package/utils/busybox/patches/540-nslookup-mention-QUERY_TYPE-SRV.patch new file mode 100644 index 0000000000..ac9afa34ef --- /dev/null +++ b/package/utils/busybox/patches/540-nslookup-mention-QUERY_TYPE-SRV.patch @@ -0,0 +1,30 @@ +From a0136f24f788e8bfc4ab74a647b27e115a25d9fb Mon Sep 17 00:00:00 2001 +From: Paul Spooren +Date: Wed, 19 May 2021 00:55:21 +0200 +Subject: [PATCH] nslookup: mention QUERY_TYPE SRV + +SRV lookups are supported since "6b4960155 nslookup: implement support +for SRV records" and should therefore be mentioned as a possible +QUERY_TYPE in the help message. + +Signed-off-by: Paul Spooren +--- + networking/nslookup.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/networking/nslookup.c b/networking/nslookup.c +index dda22de0e..2ae8d391c 100644 +--- a/networking/nslookup.c ++++ b/networking/nslookup.c +@@ -25,7 +25,7 @@ + //usage:#define nslookup_full_usage "\n\n" + //usage: "Query DNS about HOST" + //usage: IF_FEATURE_NSLOOKUP_BIG("\n") +-//usage: IF_FEATURE_NSLOOKUP_BIG("\nQUERY_TYPE: soa,ns,a,"IF_FEATURE_IPV6("aaaa,")"cname,mx,txt,ptr,any") ++//usage: IF_FEATURE_NSLOOKUP_BIG("\nQUERY_TYPE: soa,ns,a,"IF_FEATURE_IPV6("aaaa,")"cname,mx,txt,ptr,srv,any") + //usage:#define nslookup_example_usage + //usage: "$ nslookup localhost\n" + //usage: "Server: default\n" +-- +2.30.2 +