2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
).
tar.gz
16 PKG_SOURCE_URL
:=http
://blackhat.com
/presentations
/bh-europe-05
/BH_EU_05-Oudot
/
17 PKG_MD5SUM
:=6b7a1f3cbb0af88da02e5d30cefd8e7f
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=kmod-brcm-wl
+libpcap
28 TITLE
:=A tool to hide your Access Point against opportunistic attackers.
29 DESCRIPTION
:=tool to hide your Access Point against opportunistic attackers.
30 URL
:=http
://www.rstack.org
/oudot
/wknock
/
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
37 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap" \
41 define Package
/wknock
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/wknock
$(1)/usr
/sbin
/
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/wknock-ng
$(1)/usr
/sbin
/
47 $(eval
$(call BuildPackage
,wknock
))