From patchwork Thu May 28 09:03:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1299578 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.136; helo=silver.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=n9taXB3U; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49XhZq5jyTz9sSF for ; Thu, 28 May 2020 19:04:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4094E203D9; Thu, 28 May 2020 09:03:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r+3HyhrAa0ZW; Thu, 28 May 2020 09:03:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7D327203E9; Thu, 28 May 2020 09:03:55 +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 1701C1BF5D7 for ; Thu, 28 May 2020 09:03:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0B58A87FB9 for ; Thu, 28 May 2020 09:03:54 +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 DmF+kswpxkVR for ; Thu, 28 May 2020 09:03:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0889987F69 for ; Thu, 28 May 2020 09:03:53 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id h4so2309112wmb.4 for ; Thu, 28 May 2020 02:03:52 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=z/wxGEi/xBTPWHCJgovPkrMYwGIhNGtft7noEmM1VW8=; b=n9taXB3UJoS7rPOGeWQ1DyxXm2wgP8ecX8ujzv3ZYZCiqW1E5uLbbnz5VfVwsKIJrC vXpvfjhtNOk+9ZBUMkkjN/wz/IBtyKDLSnP+r1+TYBkxt5MjVrpOhghkejYGtKsg9l8h 8l8jvYoyPvidxaOlhEfC62Ve5axG5MyWy4COp4VxlecWoT7WiatQemd1zUBDkCCw0IoD MhiZTy7FQlK/R46WagvQkekeWPZVpAKFKQgYwbWP2YNvS9qR9+WYI9E8anKiF80VEvFJ keyhj0DPGvrKIjl3ALWRsnTE1wZX3hUEYxgR5vSe+L2lGlkGyjuDdmLzSR7e4AIqK2uh rJ+g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=z/wxGEi/xBTPWHCJgovPkrMYwGIhNGtft7noEmM1VW8=; b=rSiVjadagwFMAcN3vDe6yflGg1xrMFib1WduDfi7zfXvNxtqjqGFhWqwC1/p6TwR+8 o1Ii14PTYJ38qvzDd3Sfek8m+GfDL+ivakNn0vJQBRwQ9PDydGnx4KcdxtVpjCYFrr6Z Byy6/YOqeQWIQmqVrIZ+vfchQVxVOfV4Ehg/1h6JtgJ7qj667HG5T4t76msgf/CXXP4O Tc7UCcx93bBLzEw6zUF1hEQ9z0HsyX6FUC/B4j7dq48kpwJSduce25eCvpPCDR9u7D3o 4fWb+Ys75A9L+zVvXoQFyEDRx8E7fPJ+gGBQEUjMZZhZojsFVAc6zZwZKGnp+5+WW1zE 2BMw== X-Gm-Message-State: AOAM531ymysscqu1sexUTqPCvBKX1u9kuckYd85hn7lw4WzwGh6sFQlR X8qVdlPCqUT8pOIJF8+qFFXS0lM/ X-Google-Smtp-Source: ABdhPJwz2PvwM45Eat9g4ZydeQ04mDfkJNb+0DuPExy6llc2U0z/4ieXYWQSyHq1NHF4rgj2KgKdPA== X-Received: by 2002:a1c:27c7:: with SMTP id n190mr2432108wmn.68.1590656631118; Thu, 28 May 2020 02:03:51 -0700 (PDT) Received: from lenovoX201.home ([2a01:cb1c:794:2300:8ea9:82ff:fe03:6fc]) by smtp.gmail.com with ESMTPSA id c140sm5434943wmd.18.2020.05.28.02.03.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 02:03:50 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Thu, 28 May 2020 11:03:18 +0200 Message-Id: <20200528090317.19519-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/1] package/reaver: bump 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: "Guillaume W. Bres" , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" --- Changes v0 -> v1: - correct patch title for package upgrade - add white space to reaver.hash - add depends on BR2_TOOLCHAIN_HAS_THREADS (suggested by Fabrice) v0: upgrade to 1.6.6 (latest) release I removed the patch because it is not needed anymore. Tested on RPi0w. Signed-off-by: Guillaume W. Bres --- package/reaver/0001-fix-271.patch | 32 ------------------------------- package/reaver/Config.in | 1 + package/reaver/reaver.hash | 4 ++-- package/reaver/reaver.mk | 2 +- 4 files changed, 4 insertions(+), 35 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/Config.in b/package/reaver/Config.in index 0fd8ab7c6e..30c070aca4 100644 --- a/package/reaver/Config.in +++ b/package/reaver/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_REAVER bool "reaver" + depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LIBPCAP help Reaver is a tool to audit networks against brute WPS pins diff --git a/package/reaver/reaver.hash b/package/reaver/reaver.hash index fad81fe326..780e6ac86d 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 bb40cfd5e9ca6e8465ea3c236f3f2293e8300af1bfe87e72fabe482ae6cc995a docs/LICENSE +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