pixiewps: new package
authorGuillaume W. Bres <guillaume.bressaix@gmail.com>
Thu, 12 Apr 2018 13:18:51 +0000 (15:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 12 Apr 2018 21:40:23 +0000 (23:40 +0200)
Pixie WPS is a C based tool to audit networks against so called "Pixie
Dust" attacks.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[Thomas:
 - fix license, it's GPL-3.0+
 - use PREFIX= instead of prefix= to actually have an effect, and
   install in /usr and not /usr/local
 - remove reference to PIXIEWPS_SUBDIR, which was never defined, and
   was not needed anyway]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/pixiewps/Config.in [new file with mode: 0644]
package/pixiewps/pixiewps.hash [new file with mode: 0644]
package/pixiewps/pixiewps.mk [new file with mode: 0644]

index f52cb884dba3728462a5c04cac2ce7d5859ccfe7..05693d30247dd64ac07c871bdd36b595c437de21 100644 (file)
@@ -794,6 +794,7 @@ F:  package/sdl2/
 
 N:     Guillaume William Brs <guillaume.bressaix@gmail.com>
 F:     package/liquid-dsp/
+F:     package/pixiewps/
 F:     package/reaver/
 
 N:     Guo Ren <ren_guo@c-sky.com>
index 2da86057fdd7aafb439c046c624519ec96fce785..ddbbcff9d8a2855272b3170145e0deb4b59159cc 100644 (file)
@@ -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 (file)
index 0000000..97240f5
--- /dev/null
@@ -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 (file)
index 0000000..bb56630
--- /dev/null
@@ -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 (file)
index 0000000..95a253a
--- /dev/null
@@ -0,0 +1,21 @@
+################################################################################
+#
+# pixiewps
+#
+################################################################################
+
+PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59
+PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION))
+PIXIEWPS_LICENSE = GPL-3.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) install
+endef
+
+$(eval $(generic-package))