diff --git a/package/valentin/kismet/check_snprintf.patch b/package/valentin/kismet/check_snprintf.patch new file mode 100644 index 000000000..179dc3dbb --- /dev/null +++ b/package/valentin/kismet/check_snprintf.patch @@ -0,0 +1,17 @@ +diff -ruN kismet-2004-04-R1/configure.in kismet-2004-04-R1-new/configure.in +--- kismet-2004-04-R1/configure.in 2004-03-17 22:59:34.000000000 +0100 ++++ kismet-2004-04-R1-new/configure.in 2004-05-04 13:03:49.265078384 +0200 +@@ -164,6 +164,13 @@ + AC_FUNC_STAT + AC_CHECK_FUNCS([gettimeofday memset select socket strcasecmp strftime strstr]) + ++needsnprintf=no ++AC_CHECK_FUNCS(vsnprintf snprintf,, ++ [needsnprintf=yes]) ++if test $needsnprintf = yes; then ++ AC_LIBOBJ(snprintf) ++fi ++ + # Do we have getopt_long natively? + AC_MSG_CHECKING([for system-level getopt_long()]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ diff --git a/package/valentin/kismet/kismet.conf b/package/valentin/kismet/kismet.conf index 49c224913..5445f0dc4 100644 --- a/package/valentin/kismet/kismet.conf +++ b/package/valentin/kismet/kismet.conf @@ -22,3 +22,4 @@ var_append confopt " " "--enable-syspcap" +hook_add preconf 3 "autoheader; autoconf;" diff --git a/package/valentin/kismet/kismet.desc b/package/valentin/kismet/kismet.desc index 39645e38d..2d050e062 100644 --- a/package/valentin/kismet/kismet.desc +++ b/package/valentin/kismet/kismet.desc @@ -40,8 +40,8 @@ [L] GPL [S] Stable -[V] 3.0.1 +[V] 2004-04-R1 [P] X -----5---9 800.000 -[D] 4154731569 kismet-3.0.1.tar.gz http://www.kismetwireless.net/code/ +[D] 3941410732 kismet-2004-04-R1.tar.gz http://www.kismetwireless.net/code/ diff --git a/package/valentin/kismet/pcap-bpf_location.patch b/package/valentin/kismet/pcap-bpf_location.patch new file mode 100644 index 000000000..4e4f8a1e9 --- /dev/null +++ b/package/valentin/kismet/pcap-bpf_location.patch @@ -0,0 +1,12 @@ +diff -ruN kismet-2004-04-R1/pcapsource.h kismet-2004-04-R1-new/pcapsource.h +--- kismet-2004-04-R1/pcapsource.h 2004-03-21 00:57:04.000000000 +0100 ++++ kismet-2004-04-R1-new/pcapsource.h 2004-05-01 12:02:50.683464560 +0200 +@@ -34,7 +34,7 @@ + extern "C" { + #ifndef HAVE_PCAPPCAP_H + #include +-#include ++#include + #else + #include + #include