2013-03-02 18:59:10 +01:00
|
|
|
$NetBSD: patch-ae,v 1.3 2013/03/02 17:59:10 joerg Exp $
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
|
2013-03-02 18:59:10 +01:00
|
|
|
--- Makefile.in.orig 2008-05-29 19:18:26.000000000 +0000
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
+++ Makefile.in
|
2008-10-28 12:06:38 +01:00
|
|
|
@@ -139,52 +139,36 @@ checkuiconfig:
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
binuserinstall:
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS);
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE);
|
2008-10-28 12:06:38 +01:00
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(PS) $(BIN)/$(PS);
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(DRONE) $(BIN)/$(DRONE);
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
|
|
|
|
binsuidinstall:
|
2008-10-28 12:06:38 +01:00
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 4755 $(PS) $(BIN)/$(PS);
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 4755 $(DRONE) $(BIN)/$(DRONE);
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(PS) $(BIN)/$(PS);
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(DRONE) $(BIN)/$(DRONE);
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
|
|
|
|
commoninstall:
|
|
|
|
- mkdir -p $(ETC)
|
|
|
|
- mkdir -p $(BIN)
|
|
|
|
-
|
2008-10-28 12:06:38 +01:00
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(WRAP) $(BIN)/kismet
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(NC) $(BIN)/$(NC)
|
|
|
|
- # install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(HOPPER) $(BIN)/$(HOPPER)
|
|
|
|
- @if test "$(ZAURUS)" = "yes"; then \
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(BUZZER) $(BIN)/buzzme; \
|
|
|
|
- echo install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(BUZZER) $(BIN)/buzzme; \
|
|
|
|
- fi
|
|
|
|
-#install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet_monitor $(BIN)/kismet_monitor
|
|
|
|
-#install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet_unmonitor $(BIN)/kismet_unmonitor
|
|
|
|
- mkdir -p $(MAN)/man1
|
|
|
|
- install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet.1 $(MAN)/man1/kismet.1
|
|
|
|
- # install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_monitor.1 $(MAN)/man1/kismet_monitor.1
|
|
|
|
- # install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_hopper.1 $(MAN)/man1/kismet_hopper.1
|
|
|
|
- install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_drone.1 $(MAN)/man1/kismet_drone.1
|
|
|
|
- mkdir -p $(MAN)/man5
|
|
|
|
- install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet.conf.5 $(MAN)/man5/kismet.conf.5
|
|
|
|
- install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_ui.conf.5 $(MAN)/man5/kismet_ui.conf.5
|
|
|
|
- install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_drone.conf.5 $(MAN)/man5/kismet_drone.conf.5
|
2008-10-28 12:06:38 +01:00
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(WRAP) $(BIN)/kismet
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(NC) $(BIN)/$(NC)
|
|
|
|
+ #@if test "$(ZAURUS)" = "yes"; then \
|
|
|
|
+ # ${BSD_INSTALL_PROGRAM} $(BUZZER) $(BIN)/buzzme; \
|
|
|
|
+ #fi
|
|
|
|
+ ${BSD_INSTALL_MAN} man/kismet.1 $(MAN)/man1/kismet.1
|
|
|
|
+ ${BSD_INSTALL_MAN} man/kismet_drone.1 $(MAN)/man1/kismet_drone.1
|
|
|
|
+ ${BSD_INSTALL_MAN} man/kismet.conf.5 $(MAN)/man5/kismet.conf.5
|
|
|
|
+ ${BSD_INSTALL_MAN} man/kismet_ui.conf.5 $(MAN)/man5/kismet_ui.conf.5
|
|
|
|
+ ${BSD_INSTALL_MAN} man/kismet_drone.conf.5 $(MAN)/man5/kismet_drone.conf.5
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
|
|
|
|
@if test "$(GPSLBUILD)" = "$(GPSL)"; then \
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(GPSL) $(BIN)/$(GPSL); \
|
|
|
|
- echo install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(GPSL) $(BIN)/$(GPSL); \
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \
|
|
|
|
- echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \
|
|
|
|
- install -o $(INSTUSR) -g $(MANGRP) -m 644 man/gpsmap.1 $(MAN)/man1/gpsmap.1; \
|
|
|
|
- echo install -o $(INSTUSR) -g $(MANGRP) -m 644 man/gpsmap.1 $(MAN)/man1/gpsmap.1; \
|
2008-10-28 12:06:38 +01:00
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(GPSL) $(BIN)/$(GPSL); \
|
|
|
|
+ ${BSD_INSTALL_SCRIPT} scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \
|
|
|
|
+ ${BSD_INSTALL_MAN} man/gpsmap.1 $(MAN)/man1/gpsmap.1; \
|
|
|
|
fi
|
|
|
|
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
- mkdir -p $(WAV)
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 wav/new_network.wav $(WAV)/new_network.wav
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 wav/traffic.wav $(WAV)/traffic.wav
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 wav/junk_traffic.wav $(WAV)/junk_traffic.wav
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 wav/alert.wav $(WAV)/alert.wav
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/ap_manuf $(ETC)/ap_manuf;
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/client_manuf $(ETC)/client_manuf;
|
2008-10-28 12:06:38 +01:00
|
|
|
+ ${BSD_INSTALL_DATA_DIR} $(WAV)
|
|
|
|
+ ${BSD_INSTALL_DATA} wav/new_network.wav $(WAV)/new_network.wav
|
|
|
|
+ ${BSD_INSTALL_DATA} wav/traffic.wav $(WAV)/traffic.wav
|
|
|
|
+ ${BSD_INSTALL_DATA} wav/junk_traffic.wav $(WAV)/junk_traffic.wav
|
|
|
|
+ ${BSD_INSTALL_DATA} wav/alert.wav $(WAV)/alert.wav
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
|
2008-10-28 12:06:38 +01:00
|
|
|
@if test -f $(BIN)/kismet_curses; then \
|
|
|
|
echo "Removing old kismet_curses binary. The panels frontend is now kismet_client."; \
|
|
|
|
@@ -224,30 +208,7 @@ suidinstall: $(PS) $(DRONE) $(WRAP) $(NC
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
@echo "YOUR WIRELESS NETWORK CONNECTION. IF YOU HAVE ANY UNTRUSTED USERS ON YOUR "
|
|
|
|
@echo "SYSTEM DO NOT INSTALL KISMET AS SUID ROOT."
|
|
|
|
|
2008-10-28 12:06:38 +01:00
|
|
|
-install: $(PS) $(DRONE) $(NC) $(WRAP) $(GPSLBUILD) $(ZAURUSBUILD)
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
- $(MAKE) -e commoninstall
|
|
|
|
- $(MAKE) -e binuserinstall
|
|
|
|
- @if test -f $(ETC)/kismet.conf; then \
|
|
|
|
- $(MAKE) -e checkconfig; \
|
|
|
|
- else \
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/kismet.conf $(ETC)/kismet.conf; \
|
|
|
|
- echo install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/kismet.conf $(ETC)/kismet.conf; \
|
|
|
|
- echo "Installed config into $(ETC)/kismet.conf."; \
|
|
|
|
- fi
|
|
|
|
- @if test -f $(ETC)/kismet_drone.conf; then \
|
|
|
|
- $(MAKE) -e checkdroneconfig; \
|
|
|
|
- else \
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/kismet_drone.conf $(ETC)/kismet_drone.conf; \
|
|
|
|
- echo install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/kismet_drone.conf $(ETC)/kismet_drone.conf; \
|
|
|
|
- echo "Installed drone config into $(ETC)/kismet_drone.conf."; \
|
|
|
|
- fi
|
|
|
|
- @if test -f $(ETC)/kismet_ui.conf; then \
|
|
|
|
- $(MAKE) -e checkuiconfig; \
|
|
|
|
- else \
|
|
|
|
- install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/kismet_ui.conf $(ETC)/kismet_ui.conf; \
|
|
|
|
- echo install -o $(INSTUSR) -g $(INSTGRP) -m 644 conf/kismet_ui.conf $(ETC)/kismet_ui.conf; \
|
|
|
|
- echo "Installed UI config into $(ETC)/kismet_ui.conf."; \
|
|
|
|
- fi
|
2008-10-28 12:06:38 +01:00
|
|
|
+install: $(PS) $(DRONE) $(NC) $(WRAP) $(GPSLBUILD) $(ZAURUSBUILD) commoninstall binuserinstall
|
Initial import of kismet-2006-04-R1: 802.11 wireless network detector, sniffer
and IDS.
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.
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.
Imported from pkgsrc-wip, thanks to <skrll> and <wiz> for help with patches,
packaging and testing.
XXX: GPS support is untested.
2006-08-03 17:09:49 +02:00
|
|
|
@echo "Installed kismet into $(BIN)/."
|
|
|
|
@echo "If you have not done so already, read the README file and the FAQ file. Additional"
|
|
|
|
@echo "documentation is in the docs/ directory. You MUST edit $(ETC)/kismet.conf "
|
2013-03-02 18:59:10 +01:00
|
|
|
@@ -374,7 +335,7 @@ $(DEPEND):
|
|
|
|
@-rm -f $(DEPEND)
|
|
|
|
@echo "Generating dependencies... "
|
|
|
|
@echo > $(DEPEND)
|
|
|
|
- @$(CXX) $(CFLAGS) -MM \
|
|
|
|
+ @$(CXX) $(CFLAGS) $(CPPFLAGS) -MM \
|
|
|
|
`echo $(PSO) $(DRONEO) $(GPSLO) $(NCO) | sed -e "s/\.o/\.cc/g" | sed -e "s/\.mo/\.m/g"` >> $(DEPEND)
|
|
|
|
|
|
|
|
include $(DEPEND)
|