2 # Copyright (C) 2006-2016 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
11 PKG_VERSION
:=2016-07-R1
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
17 PKG_SOURCE_URL
:=http
://www.kismetwireless.net
/code
18 PKG_HASH
:=bdb21f153311f1ff3b16621bf0d6740f66369bf0982b0a289c9a12af8847e237
20 PKG_BUILD_DEPENDS
:=libpcap libncurses libpcre
22 include $(INCLUDE_DIR
)/uclibc
++.mk
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/kismet
/Default
29 MAINTAINER
:=Jean-Michel lacroix
<lacroix@lepine-lacroix.
info>
30 DEPENDS
:= $(CXX_DEPENDS
) +libnl
31 URL
:=http
://www.kismetwireless.net
/
35 define Package
/kismet
/Default
/description
36 An
802.11 layer2 wireless network detector
, sniffer
, and intrusion
40 define Package
/kismet-client
/conffiles
41 /etc
/kismet
/kismet.conf
44 define Package
/kismet-drone
/conffiles
45 /etc
/kismet
/kismet_drone.conf
48 define Package
/kismet-server
/conffiles
49 /etc
/kismet
/kismet.conf
52 define Package
/kismet-client
53 $(call Package
/kismet
/Default
)
58 define Package
/kismet-client
/description
59 $(call Package
/kismet
/Default
/description
)
60 This package contains the kismet text interface client.
63 define Package
/kismet-drone
64 $(call Package
/kismet
/Default
)
65 DEPENDS
+= +libpcap
+libpcre
+libcap
+wireless-tools
69 define Package
/kismet-drone
/description
70 $(call Package
/kismet
/Default
/description
)
71 This package contains the kismet remote sniffing.and monitoring drone.
74 define Package
/kismet-server
75 $(call Package
/kismet
/Default
)
76 DEPENDS
+= +libpcap
+libpcre
+libcap
+wireless-tools
80 define Package
/kismet-server
/description
81 $(call Package
/kismet
/Default
/description
)
82 This package contains the kismet server.
86 --sysconfdir
=/etc
/kismet \
89 CXXFLAGS
="$$$$CXXFLAGS -fno-rtti" \
94 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
99 define Package
/kismet
/install
100 $(INSTALL_DIR
) $(1)/usr
/bin
/
101 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/scripts
/kismet
$(1)/usr
/bin
/kismet
104 define Package
/kismet-client
/install
105 $(INSTALL_DIR
) $(1)/usr
/bin
106 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/kismet_client
$(1)/usr
/bin
/
108 $(INSTALL_DIR
) $(1)/etc
/kismet
/
109 $(INSTALL_CONF
) .
/files
/kismet.conf
$(1)/etc
/kismet
/
112 define Package
/kismet-drone
/install
113 $(INSTALL_DIR
) $(1)/usr
/bin
114 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/kismet_drone
$(1)/usr
/bin
/
116 $(INSTALL_DIR
) $(1)/etc
/kismet
/
117 $(INSTALL_CONF
) .
/files
/kismet_drone.conf
$(1)/etc
/kismet
/
119 $(INSTALL_DIR
) $(1)/etc
/config
120 $(INSTALL_CONF
) .
/files
/kismet_drone.config
$(1)/etc
/config
/kismet_drone
122 $(INSTALL_DIR
) $(1)/etc
/init.d
123 $(INSTALL_BIN
) .
/files
/kismet_drone.init
$(1)/etc
/init.d
/kismet_drone
126 define Package
/kismet-server
/install
127 $(INSTALL_DIR
) $(1)/usr
/bin
128 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/kismet_server
$(1)/usr
/bin
/
130 $(INSTALL_DIR
) $(1)/etc
/kismet
/
131 $(INSTALL_CONF
) .
/files
/kismet.conf
$(1)/etc
/kismet
/
133 $(INSTALL_DIR
) $(1)/etc
/config
134 $(INSTALL_CONF
) .
/files
/kismet_server.config
$(1)/etc
/config
/kismet_server
136 $(INSTALL_DIR
) $(1)/etc
/init.d
137 $(INSTALL_BIN
) .
/files
/kismet_server.init
$(1)/etc
/init.d
/kismet_server
140 $(eval
$(call BuildPackage
,kismet-client
))
141 $(eval
$(call BuildPackage
,kismet-drone
))
142 $(eval
$(call BuildPackage
,kismet-server
))