Merge pull request #5224 from diizzyy/patch-109
[feed/packages.git] / net / pixiewps / Makefile
1 # Copyright (C) 2017 Yousong Zhou
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=pixiewps
9 PKG_VERSION:=1.4.1
10 PKG_RELEASE:=1
11 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14 PKG_SOURCE_URL:=https://github.com/wiire-a/pixiewps/releases/download/v$(PKG_VERSION)
15 PKG_HASH:=8b61b9d94e26c07ab08a01eacd200576375c08139f9d781b5fdbb587ddd33528
16
17 PKG_LICENSE:=GPL-3.0
18 PKG_LICENSE_FILES:=LICENSE.md
19
20 include $(INCLUDE_DIR)/package.mk
21 MAKE_PATH:=src
22
23 define Package/pixiewps
24 SECTION:=net
25 CATEGORY:=Network
26 SUBMENU:=wireless
27 TITLE:=An offline WPS bruteforce utility
28 URL:=https://github.com/wiire-a/pixiewps
29 DEPENDS:=+libpthread
30 endef
31
32 define Package/pixiewps/description
33 Pixiewps is a tool written in C used to bruteforce offline the WPS PIN
34 exploiting the low or non-existing entropy of some Access Points, the so-called
35 "pixie-dust attack" discovered by Dominique Bongard in summer 2014. It is
36 meant for educational purposes only.
37 endef
38
39 define Package/pixiewps/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pixiewps $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,pixiewps))