1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
7 PKG_VERSION
:= 2013-03-R1b
9 PKG_HASH
:= 636d4d7ef8c67ae6ee8d8e1635f5115700eecb9fa4c208afaee30238db527c2c
10 PKG_DESCR
:= wireless network detector
, sniffer
, and intrusion detection system
11 PKG_SECTION
:= net
/wifi
12 PKG_DEPENDS
:= libpcap libncurses libpthread
13 PKG_BUILDDEP
:= libpcap ncurses
14 PKG_URL
:= http
://www.kismetwireless.net
/
15 PKG_SITES
:= http
://www.kismetwireless.net
/code
/
17 PKG_SUBPKGS
:= KISMET KISMET_CLIENT KISMET_DRONE KISMET_SERVER
18 PKGSD_KISMET_CLIENT
:= kismet client
19 PKGSD_KISMET_SERVER
:= kismet server
20 PKGSD_KISMET_DRONE
:= kismet drone
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call PKG_template
,KISMET
,kismet
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 $(eval
$(call PKG_template
,KISMET_CLIENT
,kismet-client
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_KISMET_CLIENT},${PKG_SECTION}))
26 $(eval
$(call PKG_template
,KISMET_DRONE
,kismet-drone
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_KISMET_DRONE},${PKG_SECTION}))
27 $(eval
$(call PKG_template
,KISMET_SERVER
,kismet-server
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_KISMET_SERVER},${PKG_SECTION}))
29 AUTOTOOL_STYLE
:= autoreconf
30 TARGET_LDFLAGS
+= -lpthread
-ltinfo
31 CONFIGURE_ARGS
+= --sysconfdir
=/etc
/kismet
34 (cd
${WRKBUILD} && ${MAKE} dep
);
37 ${INSTALL_DIR} ${IDIR_KISMET}/usr
/bin
/
38 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/kismet
${IDIR_KISMET}/usr
/bin
/kismet
40 kismet-client-install
:
41 ${INSTALL_DIR} ${IDIR_KISMET_CLIENT}/usr
/bin
42 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/kismet_client \
43 ${IDIR_KISMET_CLIENT}/usr
/bin
/
46 ${INSTALL_DIR} ${IDIR_KISMET_DRONE}/usr
/bin
47 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/kismet_drone \
48 ${IDIR_KISMET_DRONE}/usr
/bin
/
50 kismet-server-install
:
51 ${INSTALL_DIR} ${IDIR_KISMET_SERVER}/usr
/bin
52 ${INSTALL_DIR} ${IDIR_KISMET_SERVER}/etc
/kismet
53 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/kismet_server \
54 ${IDIR_KISMET_SERVER}/usr
/bin
/
55 ${INSTALL_DATA} ${WRKINST}/etc
/kismet
/kismet.conf \
56 ${IDIR_KISMET_SERVER}/etc
/kismet
58 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk