Ticket #5754: mdk3.patch

File mdk3.patch, 1.1 KB (added by gurgalof@…, 7 years ago)
  • packages/net/mdk3/Makefile

     
     1#  
     2# Copyright (C) 2009 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
     7 
     8include $(TOPDIR)/rules.mk 
     9 
     10PKG_NAME:=mdk3 
     11PKG_VERSION:=v5 
     12PKG_RELEASE:=1 
     13PKG_MD5SUM:=f71a1740ac6acb0d59aae3727ca2c38a 
     14 
     15PKG_BUILD_DIR:=$(BUILD_DIR)/mdk3-$(PKG_VERSION) 
     16PKG_SOURCE_URL:=http://homepages.tu-darmstadt.de/~p_larbig/wlan/ 
     17PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     18PKG_CAT:=bzcat 
     19 
     20include $(INCLUDE_DIR)/package.mk 
     21 
     22define Package/mdk3 
     23  SECTION:=net 
     24  CATEGORY:=Network 
     25  DEPENDS:=+libpthread 
     26  TITLE:= MDK3 
     27  URL:=http://homepages.tu-darmstadt.de/~p_larbig/wlan/ 
     28  SUBMENU:=wireless 
     29endef 
     30 
     31define Package/mdk3/description 
     32  Tool to exploit wireless vulnerabilities 
     33endef 
     34 
     35define Package/mdk3/install 
     36        $(INSTALL_DIR) $(1)/usr/sbin 
     37        $(CP) $(PKG_BUILD_DIR)/mdk3 $(1)/usr/sbin/ 
     38endef 
     39 
     40$(eval $(call BuildPackage,mdk3))