From patchwork Wed May 27 21:13:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1299229 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=dlNKgHsf; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49XNqv0J9Xz9sSc for ; Thu, 28 May 2020 07:14:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 60858888D9; Wed, 27 May 2020 21:14:16 +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 BPhjblaQRV19; Wed, 27 May 2020 21:14:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C692B889B1; Wed, 27 May 2020 21:14:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 859191BF40A for ; Wed, 27 May 2020 21:14:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 82539867A8 for ; Wed, 27 May 2020 21:14:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XpOI+I0eTnlp for ; Wed, 27 May 2020 21:14:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 04CFC86762 for ; Wed, 27 May 2020 21:14:13 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id l11so25712230wru.0 for ; Wed, 27 May 2020 14:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yL+GWmatVqn2ocDMeP944eRny96ObKnL8uRHfZp73yQ=; b=dlNKgHsf1/xKRv/iHXWB7PZZzfkqEyZp8jM3GhV6XJ3okvgNbyxfXuVmqwi4nJyFyF j87VGQaMsAwt/X50eBSI3lZjCE7oORdLlMSzTufiN0eGZ3l+U7GWPWd7Wqh+lz2aKIea g0p8NH3eN8izMSeqEUv2fFTh8FYhEa2wCFHWbxmr66a4Fy9T4XpNrqN+GL4VmxiYr/tu FbSuAXUDlUEMnOC56XxkJoPW62I3siSymkSHllxYp/xulLltZFS+xjyaes1c1IQ4Icw+ sQkgNcerOAzfaRcKlZKXink1eUMxAYonFNnHfR3VEW2wyk04Ndg7704qpXd0yHcAxwr9 2vPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yL+GWmatVqn2ocDMeP944eRny96ObKnL8uRHfZp73yQ=; b=Mh7/KIjMsh7LZHymxcIC2l0QsX2Dr1ttsFbRI2y4S1Ub/6V3Zn6VvwOshyLz3laTmd HzYDaJoIZwhsQ6QaZJxWHm4nMHiMkA/tQti/lMg3q4GKBPGK75FGui6NZLs/nB90XjHS 39dnH5IyZ9NEiWh2FeQ6q7JCqTWhAhw35huJScPbUqt5qBwg3UQpOYBtbOIHfrfiloi9 xr2nvCB8BtOtbDNZi+XfxFDyqxJIkB1+4Lwwr7CbV0iKM4OvE6chiR0vKja+3j1WynW4 xCplPMQ4O8qLOk6qo6Q0TN10PDS2nvUGhcLc69tKqYyD9fQEDFfym8Ci+C+/71ZhwMKh fawA== X-Gm-Message-State: AOAM530xymco2kzFBKkys+UzVbB5IN3IH+qsLeHdDQZcFAp6liGM+etX Kwy19kGMUK/AKAP85eODAWx8bDsF X-Google-Smtp-Source: ABdhPJyLBmd+2UwHP5uoOJoo3XJ3n3Xt9LmA0ZYbk+zUIWQlHRXqGB4s9SpO6nakC15e2oYCai+HjA== X-Received: by 2002:adf:a4d6:: with SMTP id h22mr211937wrb.300.1590614051303; Wed, 27 May 2020 14:14:11 -0700 (PDT) Received: from lenovoX201.home ([2a01:cb1c:794:2300:8ea9:82ff:fe03:6fc]) by smtp.gmail.com with ESMTPSA id u10sm3667307wmc.31.2020.05.27.14.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 14:14:10 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@busybox.net, guillaume.bressaix@gmail.com Date: Wed, 27 May 2020 23:13:38 +0200 Message-Id: <20200527211338.27439-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] reaver: upgrade to v1.6.6 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Guillaume W. Bres Reviewed-by: Heiko Thiery --- Upgrade to latest release. Patch does not apply anymore, but I doubt it's still needed because internal code has been improved. Tested on RPi0w. Signed-off-by: Guillaume W. Bres --- package/reaver/0001-fix-271.patch | 32 ------------------------------- package/reaver/reaver.hash | 2 +- package/reaver/reaver.mk | 2 +- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 package/reaver/0001-fix-271.patch diff --git a/package/reaver/0001-fix-271.patch b/package/reaver/0001-fix-271.patch deleted file mode 100644 index 9f6b395120..0000000000 --- a/package/reaver/0001-fix-271.patch +++ /dev/null @@ -1,32 +0,0 @@ -From c7040da3a9ff98cd8063b9d5b5a7721374186391 Mon Sep 17 00:00:00 2001 -From: rofl0r -Date: Fri, 22 Feb 2019 17:38:24 +0000 -Subject: [PATCH] fix #271 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/t6x/reaver-wps-fork-t6x/commit/c7040da3a9ff98cd8063b9d5b5a7721374186391] ---- - src/wps/wps_attr_parse.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/wps/wps_attr_parse.c b/src/wps/wps_attr_parse.c -index 30b0e79..d681b70 100644 ---- a/src/wps/wps_attr_parse.c -+++ b/src/wps/wps_attr_parse.c -@@ -443,12 +443,12 @@ int wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr) - * Mac OS X 10.6 seems to be adding 0x00 padding to the - * end of M1. Skip those to avoid interop issues. - */ -- int i; -- for (i = 0; i < end - pos; i++) { -+ uintptr_t i, left = end - pos; -+ for (i = 0; i < left; i++) { - if (pos[i]) - break; - } -- if (i == end - pos) { -+ if (i == left) { - wpa_printf(MSG_DEBUG, "WPS: Workaround - skip " - "unexpected message padding"); - break; diff --git a/package/reaver/reaver.hash b/package/reaver/reaver.hash index fad81fe326..30947ac5c5 100644 --- a/package/reaver/reaver.hash +++ b/package/reaver/reaver.hash @@ -1,3 +1,3 @@ # locally computed -sha256 e6761d2d4ef9cb2b45fe0a60d6b94048ce4442e4ac209904fe89506ff1e94c44 reaver-1.6.5.tar.gz +sha256 73189782b208d12b8dddc4f29d32e1f72b1f3609e573c9ea9510deebec394583 reaver-1.6.6.tar.gz sha256 bb40cfd5e9ca6e8465ea3c236f3f2293e8300af1bfe87e72fabe482ae6cc995a docs/LICENSE diff --git a/package/reaver/reaver.mk b/package/reaver/reaver.mk index 093ac935af..2b5f82960b 100644 --- a/package/reaver/reaver.mk +++ b/package/reaver/reaver.mk @@ -6,7 +6,7 @@ # Older repos for this project will not cross-compile easily # while this one works right away -REAVER_VERSION = 1.6.5 +REAVER_VERSION = 1.6.6 REAVER_SITE = $(call github,t6x,reaver-wps-fork-t6x,v$(REAVER_VERSION)) REAVER_LICENSE = GPL-2.0+ REAVER_LICENSE_FILES = docs/LICENSE