diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-11-07 00:46:37 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-11-07 00:46:37 +0000 |
commit | bb197c86ef90fc9c12cb52af4ec254d9e0698c39 (patch) | |
tree | 3429ce3e85d162771d2bff4678e4210254188bcc /openwrt/package/wknock | |
parent | 409f88c3b0863f1e186abef869c50e96960e1c25 (diff) |
add wknock package (thanks to Florian Fainelli)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2362 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/wknock')
-rw-r--r-- | openwrt/package/wknock/Config.in | 10 | ||||
-rw-r--r-- | openwrt/package/wknock/Makefile | 36 | ||||
-rw-r--r-- | openwrt/package/wknock/ipkg/wknock.control | 5 |
3 files changed, 51 insertions, 0 deletions
diff --git a/openwrt/package/wknock/Config.in b/openwrt/package/wknock/Config.in new file mode 100644 index 000000000..c5abe100a --- /dev/null +++ b/openwrt/package/wknock/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_WKNOCK
+ prompt "wknock............................ A tool to hide your Access Point against opportunistic attackers."
+ tristate
+ default m if CONFIG_DEVEL
+ select BR2_PACKAGE_LIBPCAP
+ help
+ A tool to hide your Access Point against opportunistic attackers.
+
+ http://www.rstack.org/oudot/wknock/
+
diff --git a/openwrt/package/wknock/Makefile b/openwrt/package/wknock/Makefile new file mode 100644 index 000000000..de5d0ea9c --- /dev/null +++ b/openwrt/package/wknock/Makefile @@ -0,0 +1,36 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=wknock +PKG_VERSION:=1 +PKG_RELEASE:=1 +PKG_MD5SUM:=6b7a1f3cbb0af88da02e5d30cefd8e7f + +PKG_SOURCE_URL:=http://blackhat.com/presentations/bh-europe-05/BH_EU_05-Oudot/ +PKG_SOURCE:=$(PKG_NAME).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,WKNOCK,wknock,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap" \ + all + touch $@ + +$(IPKG_WKNOCK): + install -d -m0755 $(IDIR_WKNOCK)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/wknock $(IDIR_WKNOCK)/usr/sbin/ + install -m0755 $(PKG_BUILD_DIR)/wknock-ng $(IDIR_WKNOCK)/usr/sbin/ + $(RSTRIP) $(IDIR_WKNOCK)/ + $(IPKG_BUILD) $(IDIR_WKNOCK) $(PACKAGE_DIR) diff --git a/openwrt/package/wknock/ipkg/wknock.control b/openwrt/package/wknock/ipkg/wknock.control new file mode 100644 index 000000000..e781daebb --- /dev/null +++ b/openwrt/package/wknock/ipkg/wknock.control @@ -0,0 +1,5 @@ +Package: wknock +Section: net +Priority: optional +Depends: libpcap, wl +Description: A tool to hide your Access Point against opportunistic attackers. |