2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME).tar.gz
15 PKG_SOURCE_URL:=http://blackhat.com/presentations/bh-europe-05/BH_EU_05-Oudot/
16 PKG_MD5SUM:=6b7a1f3cbb0af88da02e5d30cefd8e7f
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20 include $(INCLUDE_DIR)/package.mk
25 DEPENDS:=kmod-brcm-wl +libpcap
26 TITLE:=A tool to hide your Access Point against opportunistic attackers.
27 URL:=http://www.rstack.org/oudot/wknock/
30 define Package/wknock/description
31 tool to hide your Access Point against opportunistic attackers.
35 $(MAKE) -C $(PKG_BUILD_DIR) \
37 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
38 LDFLAGS="$(TARGET_LDFLAGS) -lpcap" \
42 define Package/wknock/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/wknock $(1)/usr/sbin/
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/wknock-ng $(1)/usr/sbin/
48 $(eval $(call BuildPackage,wknock))