From patchwork Thu May 28 10:27:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1299649 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.137; helo=fraxinus.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=C4dfdzuK; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49XkSl0M6vz9sRY for ; Thu, 28 May 2020 20:28:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B584E870BB; Thu, 28 May 2020 10:28:52 +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 OdOitzb1iApe; Thu, 28 May 2020 10:28:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id F1AFE870B2; Thu, 28 May 2020 10:28:51 +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 6577C1BF38B for ; Thu, 28 May 2020 10:28:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 60D05878F0 for ; Thu, 28 May 2020 10:28:51 +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 Cx8j+pxsPPUH for ; Thu, 28 May 2020 10:28:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4F3088784E for ; Thu, 28 May 2020 10:28:50 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id l26so2560747wme.3 for ; Thu, 28 May 2020 03:28:50 -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=wfLywR7jrU7/STBSIUTZq2Gj5WTSXqpt1TFRAT6CJ5U=; b=C4dfdzuK9CEYosfnLk0C8TcSB/ywy8kikgL1sRy+BlzPB5Wkr8BLEbKSpQI0hkgCff UB6txVbOWhzCIvnyegcV04ZIMjgDr6rvHviwc8fh+FuRVAW7X/NOjToPHL3sBAfjvugF EsYjAMPyI2UZIoKULPdITHna1JGhqrRX34Oy3WswM2mdhDhZigEVrUHxBpji9+UHv1cl AUnxQT9q8P7rPJlO1uXCb2QNf97Ep2WtQLixJ8KQ9Yu9lXsXW/dOZxLb41RRq76/n+I1 EiBlek+gs6YjjxnqPItqmYh9V9g4XZh0p7kjiov4X9yOgAqtp/jry+HmaXYim6UbRhVK D6xw== 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=wfLywR7jrU7/STBSIUTZq2Gj5WTSXqpt1TFRAT6CJ5U=; b=h9/Ib6AljaYn3mMCzeDtO7nnQC/sVkN1o6WYeBStqNVNAq7g4vl8gEl6RTq7UUGKhA X6zSWd6MXMIBclV+RUd+iu4h0RfLeqqAXqGo5IwfWiJAxSTeYq1b5xm7GahABPxLtxdy /E8giradrdvm8eB0BIdul5/Z3DdwFudVH0AB6j0gq3eFlcakxDljgXlBIc/ezGzy7QNo 7Ui3Xmp6kGne2tw4Fpktb0Cnp8k8WPlCZdAnji4rDmjZg4pNt+cnOhs5dm3QKcARIwcU xNmeS3yG06FBG8wFeWB4rueuwqvA61WZJ3QsNNtaEykkYTqCq0fjGJ6NUNBOFovB686O PoNQ== X-Gm-Message-State: AOAM532wwlRWS0yDqZnTF7wCB3duKWkeHqM3yVeDBjac3AtO20feJ2wy vkvVCXNMAc1O9efjBVeS5UPelhJp X-Google-Smtp-Source: ABdhPJx1+9KgG2IDAFiUvDjZRCun16+JUOiS5G1Q959GUABUTiQhk/7PM9Qp7ZteI1n8MVtrNfynuA== X-Received: by 2002:a1c:6a13:: with SMTP id f19mr2860471wmc.142.1590661728602; Thu, 28 May 2020 03:28:48 -0700 (PDT) Received: from lenovoX201.home ([2a01:cb1c:794:2300:8ea9:82ff:fe03:6fc]) by smtp.gmail.com with ESMTPSA id 186sm728217wma.45.2020.05.28.03.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 03:28:47 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Thu, 28 May 2020 12:27:54 +0200 Message-Id: <20200528102753.9145-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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 v1 -> v2: - add comment on BR2_TOOLCHAIN_HAS_THREADS dependency to help user (suggested by Fabrice) 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 Signed-off-by: John Doe --- package/reaver/0001-fix-271.patch | 32 ------------------------------- package/reaver/Config.in | 4 ++++ package/reaver/reaver.hash | 4 ++-- package/reaver/reaver.mk | 2 +- 4 files changed, 7 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..c286fa8d34 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 @@ -7,3 +8,6 @@ config BR2_PACKAGE_REAVER https://code.google.com/archive/p/reaver-wps/wikis/README.wiki https://github.com/t6x/reaver-wps-fork-t6x + +comment "reaver needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS 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