From patchwork Thu Apr 12 13:18:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 897662 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.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.b="SzWTlMdT"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40MM1t4jQjz9s2b for ; Thu, 12 Apr 2018 23:19:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CB3D38657B; Thu, 12 Apr 2018 13:19:11 +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 usXK1J7bJHlV; Thu, 12 Apr 2018 13:19:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B3DD085BB0; Thu, 12 Apr 2018 13:19:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 646661BFF2B for ; Thu, 12 Apr 2018 13:19:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5EF1687062 for ; Thu, 12 Apr 2018 13:19:09 +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 COBpvXwih3cr for ; Thu, 12 Apr 2018 13:19:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C7E2186C04 for ; Thu, 12 Apr 2018 13:19:07 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id l49so5104429wrl.4 for ; Thu, 12 Apr 2018 06:19:07 -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; bh=3sEbYHlbQCDDuZgUGnxc5ZIyy3vKoimsSdW3JyIaCg8=; b=SzWTlMdT6wgBBLdy3cYVO5mj1X+yMEM+0yfiTgYFW+cLglGmBnx02gxdw8HD4MsGK8 k1puBoZGeL4CBqlvhqi3w8eO/Ge+cNQofXs21xQaXQ/RHmZ5zTfkM+hYg4D8/Sgieyia Nv/DQAWpKYVMtKcqhFZSzNWyh3mx9P7SCwFYqchAIg2p1BfFtzL3MOGjqz7d6hTjx/pc cY3gzPtfRJMDPuYBitMEynCWql/Iw8+HEnlbz/zidBjcV/miX3jHBsnrQ32GcCKvqBRX sroZC3piJ/3yuncTLkSI8Bw66YbREgCuIrHHTyzMRQPWAyVyRPDbHH99rzVqJGpF6+KS s2cQ== 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; bh=3sEbYHlbQCDDuZgUGnxc5ZIyy3vKoimsSdW3JyIaCg8=; b=kE/Qt7AuCqL3UhYYKDJv/cc+kA3ffS0Hdcg+pzoZL6Q7ptAeP9xZv1f7T/1zmYGGBk 0SeNIAhyxroN/rA41MEs1GhK6vEtYy2VWzHYwVglaYlfwcG6+YAKkZUpmPcV4C0OwMKI rBid2rg1OMgtWjLVGu6e2Z4SSw6MSFUrgxaihD5mTkDg8E2TYGxzgXfRV/jYSNUOk5mP fugDX4VtG35cBSioxQnlBBYnrffbtB2RhlGA++maZOxj0w7WuSaxfNKt+8Iu12iCEBWu yILAwbhzljymAyDMYbZTMmbbOrhiLjDBCxsxETvyI1nbloRSjFfvSW0Ei70j7W+D1yZL ugjw== X-Gm-Message-State: ALQs6tC8YRwOZIz7X+4H4ryeLg3YIjZzVqVpA33okP1Kf1m0CNcT7MPO 33lZFsQLn+ALCMHR6nJZLJg+BRN5 X-Google-Smtp-Source: AIpwx49tK6NfrJzBH5fYaCC/ongsPtAhelrSjYmrNdlSNxvcQOJqP3YXR5qFmaG4p5Xyw3cxV6miMQ== X-Received: by 10.223.179.13 with SMTP id j13mr799200wrd.165.1523539145888; Thu, 12 Apr 2018 06:19:05 -0700 (PDT) Received: from nXT2.netgear.com (LMontsouris-657-1-200-234.w90-63.abo.wanadoo.fr. [90.63.232.234]) by smtp.gmail.com with ESMTPSA id x67sm5903278wma.23.2018.04.12.06.19.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Apr 2018 06:19:04 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@buildroot.org Date: Thu, 12 Apr 2018 15:18:51 +0200 Message-Id: <1523539131-9053-1-git-send-email-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 1/1] pixiewps: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Guillaume W. Bres" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Pixie WPS is a C based tool to audit networks against so called "Pixie Dust" attacks. Generic C package, easy to cross-compile, build tests passed for the 7 default toolchains. Sorry my previous submission was somehow corrupted. Tested on RPI1 & RPI3. Signed-off-by: Guillaume W. Bres --- DEVELOPERS | 1 + package/Config.in | 1 + package/pixiewps/Config.in | 7 +++++++ package/pixiewps/pixiewps.hash | 3 +++ package/pixiewps/pixiewps.mk | 21 +++++++++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/pixiewps/Config.in create mode 100644 package/pixiewps/pixiewps.hash create mode 100644 package/pixiewps/pixiewps.mk diff --git a/DEVELOPERS b/DEVELOPERS index 00cbaef..054ed09 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -794,6 +794,7 @@ F: package/sdl2/ N: Guillaume William Brs F: package/liquid-dsp/ +F: package/pixiewps/ N: Guo Ren F: arch/Config.in.csky diff --git a/package/Config.in b/package/Config.in index e48d0b4..132372c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1809,6 +1809,7 @@ endif source "package/phidgetwebservice/Config.in" source "package/phytool/Config.in" source "package/pimd/Config.in" + source "package/pixiewps/Config.in" source "package/pound/Config.in" source "package/pppd/Config.in" source "package/pptp-linux/Config.in" diff --git a/package/pixiewps/Config.in b/package/pixiewps/Config.in new file mode 100644 index 0000000..d0b9b99 --- /dev/null +++ b/package/pixiewps/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PIXIEWPS + bool "pixiewps" + help + Pixie WPS is a C based tool to audit networks + against the so called "Pixie Dust" attack. + + https://github.com/wiire-a/pixiewps/wiki diff --git a/package/pixiewps/pixiewps.hash b/package/pixiewps/pixiewps.hash new file mode 100644 index 0000000..bb56630 --- /dev/null +++ b/package/pixiewps/pixiewps.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 d3d3cf57851e3e734fb1797aa078239ef161d1cbeffc4438497d58a425ef22a2 pixiewps-9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59.tar.gz +sha256 ccb349b4132ed7737f25e5adebfe61f3d52dca33708df1e50352320438d1d4c2 LICENSE.md diff --git a/package/pixiewps/pixiewps.mk b/package/pixiewps/pixiewps.mk new file mode 100644 index 0000000..746fa71 --- /dev/null +++ b/package/pixiewps/pixiewps.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# pixiewps +# +################################################################################ + +PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59 +PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION)) +PIXIEWPS_LICENSE = GPL-2.0+ +PIXIEWPS_LICENSE_FILES = LICENSE.md + +define PIXIEWPS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CC=$(TARGET_CC) -C $(@D) +endef + +define PIXIEWPS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) \ + prefix=/usr -C $(@D)/$(PIXIEWPS_SUBDIR) install +endef + +$(eval $(generic-package))