Add "kismet" script to load client/server
authorMike Baker <[email protected]>
Fri, 15 Jul 2005 17:05:42 +0000 (17:05 +0000)
committerMike Baker <[email protected]>
Fri, 15 Jul 2005 17:05:42 +0000 (17:05 +0000)
SVN-Revision: 1448

openwrt/package/kismet/Config.in
openwrt/package/kismet/Makefile
openwrt/package/kismet/ipkg/kismet.control [new file with mode: 0644]

index 5650ad669afbe38a80743e456353982ed2bc466b..d3708d78e1e17b87043e94458b5b6072b3d97fa6 100644 (file)
@@ -1,7 +1,7 @@
 menu "kismet - an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
 
 config BR2_PACKAGE_KISMET
-       bool
+       tristate
        default n
        depends BR2_PACKAGE_KISMET_CLIENT || BR2_PACKAGE_KISMET_DRONE || BR2_PACKAGE_KISMET_SERVER
 
index 0f9c0cd26edbf4971f271e08bc80fa350ae78baa..e1ee6c27cdf9e03c70cd82ed7d79a59bf4c3d637 100644 (file)
@@ -16,6 +16,7 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(TOPDIR)/package/rules.mk
 
+$(eval $(call PKG_template,KISMET,kismet,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 $(eval $(call PKG_template,KISMET_CLIENT,kismet-client,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 $(eval $(call PKG_template,KISMET_DRONE,kismet-drone,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 $(eval $(call PKG_template,KISMET_SERVER,kismet-server,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
@@ -59,6 +60,11 @@ $(PKG_BUILD_DIR)/.built:
                CPPFLAGS="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(LINUX_DIR)/include" 
        touch $@
 
+$(IPKG_KISMET):
+       install -d -m0755 $(IDIR_KISMET)/usr/bin/
+       cp -fpR $(PKG_BUILD_DIR)/scripts/kismet $(IDIR_KISMET)/usr/bin/
+       $(IPKG_BUILD) $(IDIR_KISMET) $(PACKAGE_DIR)
+
 $(IPKG_KISMET_CLIENT):
        install -d -m0755 $(IDIR_KISMET_CLIENT)/etc/kismet/
        install -m0644 ./files/ap_manuf $(IDIR_KISMET_CLIENT)/etc/kismet/
diff --git a/openwrt/package/kismet/ipkg/kismet.control b/openwrt/package/kismet/ipkg/kismet.control
new file mode 100644 (file)
index 0000000..dc0676f
--- /dev/null
@@ -0,0 +1,11 @@
+Package: kismet
+Priority: optional
+Section: net
+Maintainer: Felix Fietkau <[email protected]>
+Source: buildroot internal
+Depends: kismet-client, kismet-server 
+Description: kismet
+ Kismet is an 802.11 layer2 wireless network detector,
+ sniffer, and intrusion detection system. Kismet will work with any
+ wireless card which supports raw monitoring (rfmon) mode, and can
+ sniff 802.11b, 802.11a, and 802.11g traffic.