* [Buildroot] svn commit: trunk/buildroot/package: kismet
@ 2007-10-30 9:16 thomasez at uclibc.org
2007-10-30 13:54 ` Michael Hunold
0 siblings, 1 reply; 9+ messages in thread
From: thomasez at uclibc.org @ 2007-10-30 9:16 UTC (permalink / raw)
To: buildroot
Author: thomasez
Date: 2007-10-30 02:16:51 -0700 (Tue, 30 Oct 2007)
New Revision: 20329
Log:
Adding Kismet, closing #1557
Added:
trunk/buildroot/package/kismet/
trunk/buildroot/package/kismet/Config.in
trunk/buildroot/package/kismet/kismet.mk
Modified:
trunk/buildroot/package/Config.in
Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
--- trunk/buildroot/package/Config.in 2007-10-29 21:21:27 UTC (rev 20328)
+++ trunk/buildroot/package/Config.in 2007-10-30 09:16:51 UTC (rev 20329)
@@ -148,6 +148,7 @@
source "package/iproute2/Config.in"
source "package/ipsec-tools/Config.in"
source "package/iptables/Config.in"
+source "package/kismet/Config.in"
source "package/l2tp/Config.in"
source "package/libcgi/Config.in"
source "package/libcgicc/Config.in"
Added: trunk/buildroot/package/kismet/Config.in
===================================================================
--- trunk/buildroot/package/kismet/Config.in (rev 0)
+++ trunk/buildroot/package/kismet/Config.in 2007-10-30 09:16:51 UTC (rev 20329)
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_KISMET
+ bool "kismet"
+ select BR2_PACKAGE_NCURSES
+ select BR2_PACKAGE_LIBPCAP
+ default n
+ help
+ Kismet - 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.
+
+ Kismet identifies networks by passively collecting packets and detecting standard named
+ networks, detecting (and given time, decloaking) hidden networks, and infering the presence
+ of nonbeaconing networks via data traffic.
+
Added: trunk/buildroot/package/kismet/kismet.mk
===================================================================
--- trunk/buildroot/package/kismet/kismet.mk (rev 0)
+++ trunk/buildroot/package/kismet/kismet.mk 2007-10-30 09:16:51 UTC (rev 20329)
@@ -0,0 +1,79 @@
+#############################################################
+#
+# kismet
+#
+#############################################################
+KISMET_VERSION:=2007-10-R1
+KISMET_SOURCE:=kismet-$(KISMET_VERSION).tar.gz
+KISMET_SITE:=http://www.kismetwireless.net/code/
+KISMET_DIR:=$(BUILD_DIR)/kismet-$(KISMET_VERSION)
+KISMET_CAT:=$(ZCAT)
+KISMET_BINARY:=kismet
+KISMET_TARGET_DIRECTORY=usr/bin/
+
+$(DL_DIR)/$(KISMET_SOURCE):
+ $(WGET) -P $(DL_DIR) $(KISMET_SITE)/$(KISMET_SOURCE)
+
+kismet-source: $(DL_DIR)/$(KISMET_SOURCE)
+
+$(KISMET_DIR)/.patched: $(DL_DIR)/$(KISMET_SOURCE)
+ $(KISMET_CAT) $(DL_DIR)/$(KISMET_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(KISMET_DIR) package/kismet/ kismet\*.patch
+ touch $@
+
+$(KISMET_DIR)/.configured: $(KISMET_DIR)/.patched
+ (cd $(KISMET_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_ARGS) \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ --exec-prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --libdir=/lib \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --datadir=/usr/share \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ )
+ touch $@
+
+$(KISMET_DIR)/$(KISMET_BINARY): $(KISMET_DIR)/.configured
+ $(MAKE) CXX="$(TARGET_CXX)" CC="$(TARGET_CC)" \
+ -C $(KISMET_DIR)
+
+$(TARGET_DIR)/$(KISMET_TARGET_BINARY): $(KISMET_DIR)/$(KISMET_BINARY)
+ install -m 755 $(KISMET_DIR)/kismet $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet
+ install -m 755 $(KISMET_DIR)/kismet_client $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_client
+ install -m 755 $(KISMET_DIR)/kismet_drone $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_drone
+ install -m 755 $(KISMET_DIR)/kismet_server $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_server
+ install -m 755 $(KISMET_DIR)/conf/kismet.conf $(TARGET_DIR)/etc/kismet.conf
+
+kismet: uclibc ncurses libpcap $(TARGET_DIR)/$(KISMET_TARGET_BINARY)
+
+kismet-clean:
+ rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet
+ rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_client
+ rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_drone
+ rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_server
+ rm -f $(KISMET_DIR)/conf/kismet.conf $(TARGET_DIR)/etc/kismet.conf
+
+
+ -$(MAKE) -C $(KISMET_DIR) clean
+
+kismet-dirclean:
+ rm -rf $(KISMET_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_KISMET)),y)
+TARGETS+=kismet
+endif
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package: kismet
2007-10-30 9:16 [Buildroot] svn commit: trunk/buildroot/package: kismet thomasez at uclibc.org
@ 2007-10-30 13:54 ` Michael Hunold
2007-10-31 8:21 ` [Buildroot] make error with Kismet even if not selected Hebbar
0 siblings, 1 reply; 9+ messages in thread
From: Michael Hunold @ 2007-10-30 13:54 UTC (permalink / raw)
To: buildroot
Hello,
on 30.10.2007 10:16 thomasez at uclibc.org said the following:
> Author: thomasez
> Date: 2007-10-30 02:16:51 -0700 (Tue, 30 Oct 2007)
> New Revision: 20329
>
> Log:
> Adding Kismet, closing #1557
>
>
> Added:
> trunk/buildroot/package/kismet/
> trunk/buildroot/package/kismet/Config.in
> trunk/buildroot/package/kismet/kismet.mk
>
> Modified:
> trunk/buildroot/package/Config.in
Something is wrong now. Buildroot wants to unconditionally download the
kismet sources even if Kismet was not selected at all.
Best regards
Michael.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-30 13:54 ` Michael Hunold
@ 2007-10-31 8:21 ` Hebbar
2007-10-31 9:43 ` Hamish Moffatt
2007-10-31 20:46 ` Ulf Samuelsson
0 siblings, 2 replies; 9+ messages in thread
From: Hebbar @ 2007-10-31 8:21 UTC (permalink / raw)
To: buildroot
Hi,
i get an error as below when "make world" is given. This is with todays
buildroot snapshot i havent selected kismet in network utilities section.
still kismet tries to download and build.
Regards
Gururaja
checking build system type... i386-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for arm-linux-gcc...
/home/guru/project/toolchain/uclibc/usr/bin/arm-linux-uclibcgnueabi-gcc -Os
-pipe -I/home/guru/project/toolchain/uclibc/usr/include
-I/home/guru/project/toolchain/uclibc/include
--sysroot=/home/guru/project/toolchain/uclibc/ -isysroot
/home/guru/project/toolchain/uclibc -mtune=arm9tdmi
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: ***
[/home/guru/project/original/bldrt/buildroot/build_arm/kismet-2007-10-R1/.configured]
Error 77
--
View this message in context: http://www.nabble.com/svn-commit%3A-trunk-buildroot-package%3A--kismet-tf4717274.html#a13504645
Sent from the BuildRoot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-31 8:21 ` [Buildroot] make error with Kismet even if not selected Hebbar
@ 2007-10-31 9:43 ` Hamish Moffatt
2007-10-31 12:36 ` Thomas Lundquist
2007-10-31 20:46 ` Ulf Samuelsson
1 sibling, 1 reply; 9+ messages in thread
From: Hamish Moffatt @ 2007-10-31 9:43 UTC (permalink / raw)
To: buildroot
On Wed, Oct 31, 2007 at 01:21:54AM -0700, Hebbar wrote:
> i get an error as below when "make world" is given. This is with todays
> buildroot snapshot i havent selected kismet in network utilities section.
> still kismet tries to download and build.
Noted in bug#1557, and my patch to fix it is in that report too.
http://bugs.uclibc.org/view.php?id=1557
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-31 9:43 ` Hamish Moffatt
@ 2007-10-31 12:36 ` Thomas Lundquist
2007-10-31 13:18 ` Hamish Moffatt
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Lundquist @ 2007-10-31 12:36 UTC (permalink / raw)
To: buildroot
On Wed, Oct 31, 2007 at 08:43:41PM +1100, Hamish Moffatt wrote:
>
> Noted in bug#1557, and my patch to fix it is in that report too.
>
> http://bugs.uclibc.org/view.php?id=1557
My first commit and lousy quality control. I considered building
buildroot totally from scratch to se if that worked and I guess I should
have done that.
(note to self; do that the next time.)
I trust you (well, I can see it compiles at least.=) and patch applied.
thanks.
Thomas.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-31 12:36 ` Thomas Lundquist
@ 2007-10-31 13:18 ` Hamish Moffatt
2007-10-31 16:42 ` Sushi Sensei
0 siblings, 1 reply; 9+ messages in thread
From: Hamish Moffatt @ 2007-10-31 13:18 UTC (permalink / raw)
To: buildroot
On Wed, Oct 31, 2007 at 01:36:56PM +0100, Thomas Lundquist wrote:
> On Wed, Oct 31, 2007 at 08:43:41PM +1100, Hamish Moffatt wrote:
> >
> > Noted in bug#1557, and my patch to fix it is in that report too.
> >
> > http://bugs.uclibc.org/view.php?id=1557
>
> My first commit and lousy quality control. I considered building
> buildroot totally from scratch to se if that worked and I guess I should
> have done that.
>
> (note to self; do that the next time.)
>
> I trust you (well, I can see it compiles at least.=) and patch applied.
Bugs happen :)
I happened to be doing a clean build today so I noticed it.
cheers
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-31 13:18 ` Hamish Moffatt
@ 2007-10-31 16:42 ` Sushi Sensei
2007-11-14 9:32 ` Thomas Lundquist
0 siblings, 1 reply; 9+ messages in thread
From: Sushi Sensei @ 2007-10-31 16:42 UTC (permalink / raw)
To: buildroot
kismet try to compile DBUS integration even it is not included in
buildroot. The configure of package detect dbus in the main system,
not in the buildroot
2007/10/31, Hamish Moffatt <hamish@cloud.net.au>:
> On Wed, Oct 31, 2007 at 01:36:56PM +0100, Thomas Lundquist wrote:
> > On Wed, Oct 31, 2007 at 08:43:41PM +1100, Hamish Moffatt wrote:
> > >
> > > Noted in bug#1557, and my patch to fix it is in that report too.
> > >
> > > http://bugs.uclibc.org/view.php?id=1557
> >
> > My first commit and lousy quality control. I considered building
> > buildroot totally from scratch to se if that worked and I guess I should
> > have done that.
> >
> > (note to self; do that the next time.)
> >
> > I trust you (well, I can see it compiles at least.=) and patch applied.
>
> Bugs happen :)
>
> I happened to be doing a clean build today so I noticed it.
>
>
> cheers
> Hamish
> --
> Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
--
------------------------------------------------------
--- Timeo Danaos et dona ferentes ---
------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-31 8:21 ` [Buildroot] make error with Kismet even if not selected Hebbar
2007-10-31 9:43 ` Hamish Moffatt
@ 2007-10-31 20:46 ` Ulf Samuelsson
1 sibling, 0 replies; 9+ messages in thread
From: Ulf Samuelsson @ 2007-10-31 20:46 UTC (permalink / raw)
To: buildroot
ons 2007-10-31 klockan 01:21 -0700 skrev Hebbar:
> Hi,
>
> i get an error as below when "make world" is given. This is with todays
> buildroot snapshot i havent selected kismet in network utilities section.
> still kismet tries to download and build.
>
> Regards
> Gururaja
>
This is a known bug, and fixed in the svn, but not in the snapshot.
Download todays snapshot and try again.
> checking build system type... i386-pc-linux-gnu
> checking host system type... arm-unknown-linux-gnu
> checking for arm-linux-gcc...
> /home/guru/project/toolchain/uclibc/usr/bin/arm-linux-uclibcgnueabi-gcc -Os
> -pipe -I/home/guru/project/toolchain/uclibc/usr/include
> -I/home/guru/project/toolchain/uclibc/include
> --sysroot=/home/guru/project/toolchain/uclibc/ -isysroot
> /home/guru/project/toolchain/uclibc -mtune=arm9tdmi
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make: ***
> [/home/guru/project/original/bldrt/buildroot/build_arm/kismet-2007-10-R1/.configured]
> Error 77
>
>
--
Best Regards,
Ulf Samuelsson
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] make error with Kismet even if not selected
2007-10-31 16:42 ` Sushi Sensei
@ 2007-11-14 9:32 ` Thomas Lundquist
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Lundquist @ 2007-11-14 9:32 UTC (permalink / raw)
To: buildroot
On Wed, Oct 31, 2007 at 01:42:03PM -0300, Sushi Sensei wrote:
>
> kismet try to compile DBUS integration even it is not included in
> buildroot. The configure of package detect dbus in the main system,
> not in the buildroot
Could you try it now?
(adding other peoples package is obviously dangerous, this had a few
issues.. )
Thomas.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-11-14 9:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 9:16 [Buildroot] svn commit: trunk/buildroot/package: kismet thomasez at uclibc.org
2007-10-30 13:54 ` Michael Hunold
2007-10-31 8:21 ` [Buildroot] make error with Kismet even if not selected Hebbar
2007-10-31 9:43 ` Hamish Moffatt
2007-10-31 12:36 ` Thomas Lundquist
2007-10-31 13:18 ` Hamish Moffatt
2007-10-31 16:42 ` Sushi Sensei
2007-11-14 9:32 ` Thomas Lundquist
2007-10-31 20:46 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox