From patchwork Sat Nov 9 12:55:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Petr_=C5=A0tetiar?= X-Patchwork-Id: 1192411 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=true.cz Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j/MVHixI"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 479HF23vzFz9sNx for ; Sat, 9 Nov 2019 23:55:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date: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=/zqqt+lvyXO+RrVxPBmP3voIsZcLOu6kA4aSTMFPsO8=; b=j/MVHixItsu38D R6z/uaj0CX42Uqv31DwE9o7i+yv1LdVK1Pn2sO0ar9riUrvLx8nXtiQtFXFUPDC1xI39mSdQKlMH6 YuJTr4pLAP2ZIaxwcmI+AlMP4Gbb5tBVnKX1n4EcOZQOLa/RwNMwzOGu9t8jfkb+GRTMxF3sinpuj u33uELWxT7yL89aUNILXMkWqJOkz0vdb9eQ41ebRc51L1HeuoyKhfW+/ifdCHtTVnOcr9lXF1x3Mz xKuI/XJHGyqvVsWFUI8nY0jPbBDijexB94R6XZAbNSq18M3bdBu3vtX1wVSy5xChT7Lt9p8Y1IpK9 at1ilLaDNTy90LnIPLqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTQHC-0003E7-HA; Sat, 09 Nov 2019 12:55:38 +0000 Received: from smtp-out.xnet.cz ([178.217.244.18]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTQH8-0003Da-WE for openwrt-devel@lists.openwrt.org; Sat, 09 Nov 2019 12:55:37 +0000 Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id CB5195ECE; Sat, 9 Nov 2019 13:55:30 +0100 (CET) Received: by meh.true.cz (OpenSMTPD) with ESMTP id d9fb5e1e; Sat, 9 Nov 2019 13:55:20 +0100 (CET) From: =?utf-8?q?Petr_=C5=A0tetiar?= To: openwrt-devel@lists.openwrt.org Date: Sat, 9 Nov 2019 13:55:21 +0100 Message-Id: <20191109125521.11981-1-ynezz@true.cz> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191109_045535_186236_57ED9A44 X-CRM114-Status: UNSURE ( 5.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [178.217.244.18 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.0 HEXHASH_WORD Multiple instances of word + hexadecimal hash Subject: [OpenWrt-Devel] [PATCH maintainer-tools] patchwork-apply.sh: help spotting DMARC mangled patches X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Petr_=C5=A0tetiar?= Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Avoid DMARC plague in the commit messages: 87f9292300cf hostapd: add IEEE 802.11k support 450d44a8ead2 openssl: change defaults: ENGINE:on, NPN:off, misc eabc1ddc4541 build: Honour NO_COLOR in include/scan.mk 3fb45576ac16 cryptodev-linux: move from packages feed a73283dc10f7 kernel: nf-nathelper-extra depends on ipt-raw 0317fc3658eb libpcap: patch to add limits.h to pcap-usb-linux.c 26dbf79f4905 libevent2: Don't build tests and samples d59126040701 brcm63xx: initial support for Sky SR102 router 094d49cddf93 kernel: bump 4.14 to 4.14.51 247055cbfbf1 igmpproxy: bump to 0.2.1 c451434b963d cake: bump to 20180504 bake 080fb7a3fbb6 iproute2: import latest cake ad5af37ca793 iproute2: backport json_print-fix-hidden-64-bit-type-promotion 78f4305933b9 iftop: bump to latest 7783f31359cb base-files: nand: use CI_KERNPART whenever the kernel volume is needed Signed-off-by: Petr Štetiar --- patchwork-apply.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patchwork-apply.sh b/patchwork-apply.sh index 5506adbfe451..506a09fd4fd5 100755 --- a/patchwork-apply.sh +++ b/patchwork-apply.sh @@ -140,6 +140,12 @@ echo "$1" | grep -sqE '^[0-9]+$' || { } } +grep --color --context=3 "DMARC Reject/Quarantine" "$1.patch" && { + if yesno "Beware DMARC text detected! Set to 'Changes Requested'?" "y"; then + pwclient update -s "Changes Requested" "$1" + fi +} + git am "$1.patch" || { echo "Failed to apply patch $1" >&2 git am --abort