summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-14 22:09:19 +0000
committerJay Freeman <saurik@saurik.com>2008-06-14 22:09:19 +0000
commitade2627cd39f7ac23e1961d2e54b0aa827af1d60 (patch)
tree246af6c3e213a6f42ad595056a91feb63aa523b6
parent08a62c342c03a8f96795c5e1509533551803427c (diff)
Added initial attempt at Kismet.
git-svn-id: http://svn.telesphoreo.org/trunk@313 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/kismet_/_metadata/description1
l---------data/kismet_/_metadata/libpcap.dep1
l---------data/kismet_/_metadata/license1
l---------data/kismet_/_metadata/maintainer1
-rw-r--r--data/kismet_/_metadata/name1
l---------data/kismet_/_metadata/ncurses.dep1
-rw-r--r--data/kismet_/_metadata/priority1
-rw-r--r--data/kismet_/_metadata/section1
-rw-r--r--data/kismet_/_metadata/version1
-rw-r--r--data/kismet_/carbon.diff12
-rw-r--r--data/kismet_/finite.diff54
-rw-r--r--data/kismet_/kismet-2008-05-R1.tar.gzbin0 -> 655362 bytes
-rw-r--r--data/kismet_/make.sh4
-rw-r--r--data/kismet_/private.diff21
14 files changed, 100 insertions, 0 deletions
diff --git a/data/kismet_/_metadata/description b/data/kismet_/_metadata/description
new file mode 100644
index 000000000..cfed1e919
--- /dev/null
+++ b/data/kismet_/_metadata/description
@@ -0,0 +1 @@
+low-level wireless scanner
diff --git a/data/kismet_/_metadata/libpcap.dep b/data/kismet_/_metadata/libpcap.dep
new file mode 120000
index 000000000..6c356a9b8
--- /dev/null
+++ b/data/kismet_/_metadata/libpcap.dep
@@ -0,0 +1 @@
+../../libpcap \ No newline at end of file
diff --git a/data/kismet_/_metadata/license b/data/kismet_/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/kismet_/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/kismet_/_metadata/maintainer b/data/kismet_/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/kismet_/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/kismet_/_metadata/name b/data/kismet_/_metadata/name
new file mode 100644
index 000000000..cd5e4e761
--- /dev/null
+++ b/data/kismet_/_metadata/name
@@ -0,0 +1 @@
+Kismet
diff --git a/data/kismet_/_metadata/ncurses.dep b/data/kismet_/_metadata/ncurses.dep
new file mode 120000
index 000000000..a395fad08
--- /dev/null
+++ b/data/kismet_/_metadata/ncurses.dep
@@ -0,0 +1 @@
+../../ncurses \ No newline at end of file
diff --git a/data/kismet_/_metadata/priority b/data/kismet_/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/kismet_/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/kismet_/_metadata/section b/data/kismet_/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/kismet_/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/kismet_/_metadata/version b/data/kismet_/_metadata/version
new file mode 100644
index 000000000..65cb91c50
--- /dev/null
+++ b/data/kismet_/_metadata/version
@@ -0,0 +1 @@
+2008-05-R1
diff --git a/data/kismet_/carbon.diff b/data/kismet_/carbon.diff
new file mode 100644
index 000000000..866d09705
--- /dev/null
+++ b/data/kismet_/carbon.diff
@@ -0,0 +1,12 @@
+diff -r -u kismet-2008-05-R1/pcapsource.cc kismet-2008-05-R1+iPhone/pcapsource.cc
+--- kismet-2008-05-R1/pcapsource.cc 2008-05-21 15:56:43.000000000 +0000
++++ kismet-2008-05-R1+iPhone/pcapsource.cc 2008-06-14 21:53:55.000000000 +0000
+@@ -67,7 +67,7 @@
+ #include <sys/sysctl.h>
+ extern "C" {
+ #include "apple80211.h"
+-#include <Carbon/Carbon.h>
++#include <IOKit/IOKitLib.h>
+ #include "darwin_control_objc.h"
+ }
+ #endif
diff --git a/data/kismet_/finite.diff b/data/kismet_/finite.diff
new file mode 100644
index 000000000..7c71da1bd
--- /dev/null
+++ b/data/kismet_/finite.diff
@@ -0,0 +1,54 @@
+diff -r -u kismet-2008-05-R1/gpsd.cc kismet-2008-05-R1+iPhone/gpsd.cc
+--- kismet-2008-05-R1/gpsd.cc 2008-02-24 20:16:32.000000000 +0000
++++ kismet-2008-05-R1+iPhone/gpsd.cc 2008-06-14 21:58:52.000000000 +0000
+@@ -481,7 +481,7 @@
+ dir = atan(tx / ty);
+ }
+
+- if (!finite(dir))
++ if (!isfinite(dir))
+ dir = 0.0;
+ if (ty < 0)
+ dir = M_PI + dir;
+diff -r -u kismet-2008-05-R1/gpsmap.cc kismet-2008-05-R1+iPhone/gpsmap.cc
+--- kismet-2008-05-R1/gpsmap.cc 2008-05-08 21:48:35.000000000 +0000
++++ kismet-2008-05-R1+iPhone/gpsmap.cc 2008-06-14 21:58:52.000000000 +0000
+@@ -1867,7 +1867,7 @@
+ }
+ distavg = distavg / map_iter->points.size();
+
+- if (!finite(distavg))
++ if (!isfinite(distavg))
+ continue;
+
+ endx = mapx + distavg;
+diff -r -u kismet-2008-05-R1/panelfront_display.cc kismet-2008-05-R1+iPhone/panelfront_display.cc
+--- kismet-2008-05-R1/panelfront_display.cc 2008-03-16 17:59:00.000000000 +0000
++++ kismet-2008-05-R1+iPhone/panelfront_display.cc 2008-06-14 21:58:53.000000000 +0000
+@@ -1562,7 +1562,7 @@
+ details_network->virtnet->max_lat,
+ details_network->virtnet->max_lon);
+
+- if (finite(diagdist)) {
++ if (isfinite(diagdist)) {
+ if (metric) {
+ if (diagdist < 1000)
+ snprintf(output, print_width, "Range : %.3f meters", diagdist);
+@@ -1937,7 +1937,7 @@
+ double diagdist = GPSD::EarthDistance(dnet->min_lat, dnet->min_lon,
+ dnet->max_lat, dnet->max_lon);
+
+- if (finite(diagdist)) {
++ if (isfinite(diagdist)) {
+ if (metric) {
+ if (diagdist < 1000)
+ snprintf(output, print_width, "Range : %f meters", diagdist);
+@@ -3141,7 +3141,7 @@
+ details_client->max_lat,
+ details_client->max_lon);
+
+- if (finite(diagdist)) {
++ if (isfinite(diagdist)) {
+ if (metric) {
+ if (diagdist < 1000)
+ snprintf(output, print_width, "Range : %f meters", diagdist);
diff --git a/data/kismet_/kismet-2008-05-R1.tar.gz b/data/kismet_/kismet-2008-05-R1.tar.gz
new file mode 100644
index 000000000..197ad99ec
--- /dev/null
+++ b/data/kismet_/kismet-2008-05-R1.tar.gz
Binary files differ
diff --git a/data/kismet_/make.sh b/data/kismet_/make.sh
new file mode 100644
index 000000000..f485c0fa4
--- /dev/null
+++ b/data/kismet_/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --disable-dbus
+make
+pkg:install
diff --git a/data/kismet_/private.diff b/data/kismet_/private.diff
new file mode 100644
index 000000000..73aa40cab
--- /dev/null
+++ b/data/kismet_/private.diff
@@ -0,0 +1,21 @@
+diff -r -u kismet-2008-05-R1/configure kismet-2008-05-R1+iPhone/configure
+--- kismet-2008-05-R1/configure 2008-05-12 20:14:14.000000000 +0000
++++ kismet-2008-05-R1+iPhone/configure 2008-06-14 21:10:54.000000000 +0000
+@@ -3533,7 +3533,7 @@
+ _ACEOF
+
+ CFLAGS="-no-cpp-precomp $CFLAGS"
+- LDFLAGS="$LDFLAGS -framework Foundation -framework CoreFoundation -F/System/Library/PrivateFrameworks -framework Apple80211 -framework IOKit"
++ LDFLAGS="$LDFLAGS -framework Foundation -framework CoreFoundation -F${PKG_ROOT}/System/Library/PrivateFrameworks -framework Apple80211 -framework IOKit"
+ objc_link='$(OBJC_CONTROL_O)'
+ { echo "$as_me:$LINENO: result: Apple GCC - added Apple80211 frameworks and no-precomp" >&5
+ echo "${ECHO_T}Apple GCC - added Apple80211 frameworks and no-precomp" >&6; }
+@@ -3615,7 +3615,7 @@
+ _ACEOF
+
+ CFLAGS="-no-cpp-precomp $CFLAGS"
+- LDFLAGS="$LDFLAGS -framework Foundation -framework CoreFoundation -F/System/Library/PrivateFrameworks -framework Apple80211 -framework IOKit"
++ LDFLAGS="$LDFLAGS -framework Foundation -framework CoreFoundation -F${PKG_ROOT}/System/Library/PrivateFrameworks -framework Apple80211 -framework IOKit"
+ objc_link='$(OBJC_CONTROL_O)'
+ { echo "$as_me:$LINENO: result: Apple GCC - added Apple80211 frameworks and no-precomp" >&5
+ echo "${ECHO_T}Apple GCC - added Apple80211 frameworks and no-precomp" >&6; }