Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 21 years ago
parent
commit
1d7d85e55c
4 changed files with 32 additions and 2 deletions
  1. +17
    -0
      package/valentin/kismet/check_snprintf.patch
  2. +1
    -0
      package/valentin/kismet/kismet.conf
  3. +2
    -2
      package/valentin/kismet/kismet.desc
  4. +12
    -0
      package/valentin/kismet/pcap-bpf_location.patch

+ 17
- 0
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([[

+ 1
- 0
package/valentin/kismet/kismet.conf

@ -22,3 +22,4 @@
var_append confopt " " "--enable-syspcap"
hook_add preconf 3 "autoheader; autoconf;"

+ 2
- 2
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/

+ 12
- 0
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 <pcap.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
#else
#include <pcap/pcap.h>
#include <pcap/net/bpf.h>

Loading…
Cancel
Save