mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
reaver: import from oldpackages.
- Update copyright year. - Add PKG_LICENSE:=GPL-2.0 from the Google Code project page. - Add autoreconf as the PKG_FIXUP method. - Add myself as the package maintainer. - Add a patch to fix building with musl-libc. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
#
|
||||
# Copyright (C) 2012-2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=reaver
|
||||
PKG_REV:=113
|
||||
PKG_VERSION:=r$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://reaver-wps.googlecode.com/svn/trunk
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
||||
PKG_AUTOMAKE_PATHS:=src
|
||||
PKG_FIXUP:=autoreconf
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
CONFIGURE_PATH:=src
|
||||
MAKE_PATH:=src
|
||||
|
||||
define Package/reaver
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=wireless
|
||||
TITLE:=Efficient brute force attack against Wifi Protected Setup
|
||||
URL:=https://code.google.com/p/reaver-wps/
|
||||
DEPENDS:=+libpcap +libsqlite3
|
||||
endef
|
||||
|
||||
define Package/reaver/description
|
||||
Reaver targets the external registrar functionality mandated by the WiFi
|
||||
Protected Setup specification.
|
||||
Access points will provide authenticated registrars with their current
|
||||
wireless configuration (including the WPA PSK), and also accept a new
|
||||
configuration from the registrar.
|
||||
endef
|
||||
|
||||
define Package/reaver/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/etc/reaver
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/reaver.db $(1)/etc/reaver/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,reaver))
|
||||
Reference in New Issue
Block a user