From 4c554cefd8603d80e1793c62fc28b1480b104d25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Ma=C5=9Bko?= Date: Tue, 17 Jan 2017 11:21:43 +0100 Subject: [PATCH] - Up to the latest 2016_07_R1. Compiles on current Th+test+ready. --- config.patch | 38 ++++++++++++++++++++------------------ kismet.spec | 14 +++++++------- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/config.patch b/config.patch index d665b1e..a45e418 100644 --- a/config.patch +++ b/config.patch @@ -1,7 +1,18 @@ ---- kismet-2010-07-R1/conf/kismet.conf.in 2011-01-12 23:48:34.065930750 +0200 -+++ kismet-2010-07-R1/conf/kismet.conf.in 2011-01-13 11:15:44.341395543 +0200 -@@ -10,7 +10,7 @@ - servername=Kismet_2009 +--- kismet-2010-07-R1/conf/kismet_drone.conf~ 2008-12-11 00:12:27.000000000 +0200 ++++ kismet-2010-07-R1/conf/kismet_drone.conf 2011-01-13 20:03:48.696974538 +0200 +@@ -16,7 +16,7 @@ + droneringlen=65535 + + # Do we have a GPS? +-gps=true ++gps=false + # Do we use a locally serial attached GPS, or use a gpsd server? + # (Pick only one) + gpstype=gpsd +--- kismet-2016-07-R1/conf/kismet.conf.in~ 2016-07-02 20:06:10.000000000 +0200 ++++ kismet-2016-07-R1/conf/kismet.conf.in 2017-01-17 10:59:15.329493490 +0100 +@@ -11,7 +11,7 @@ + # servername=Kismet Server # Prefix of where we log (as used in the logtemplate later) -# logprefix=/some/path/to/logs @@ -9,7 +20,7 @@ # Do we process the contents of data frames? If this is enabled, data # frames will be truncated to the headers only immediately after frame type -@@ -121,12 +121,12 @@ +@@ -122,13 +122,13 @@ # OUI file, expected format 00:11:22manufname # IEEE OUI file used to look up manufacturer info. We default to the # wireshark one since most people have that. @@ -18,21 +29,12 @@ +#ouifile=/etc/manuf +#ouifile=/usr/share/wireshark/wireshark/manuf ouifile=/usr/share/wireshark/manuf +-ouifile=/Applications/Wireshark.app/Contents/Resources/share/wireshark/manuf ++#ouifile=/Applications/Wireshark.app/Contents/Resources/share/wireshark/manuf # Do we have a GPS? -gps=true +gps=false - # Do we use a locally serial attached GPS, or use a gpsd server? - # (Pick only one) - gpstype=gpsd ---- kismet-2010-07-R1/conf/kismet_drone.conf~ 2008-12-11 00:12:27.000000000 +0200 -+++ kismet-2010-07-R1/conf/kismet_drone.conf 2011-01-13 20:03:48.696974538 +0200 -@@ -16,7 +16,7 @@ - droneringlen=65535 - - # Do we have a GPS? --gps=true -+gps=false - # Do we use a locally serial attached GPS, or use a gpsd server? + # Do we use a locally serial attached GPS, or use a gpsd server, or + # use a fixed virtual gps? # (Pick only one) - gpstype=gpsd diff --git a/kismet.spec b/kismet.spec index 66ebd68..ac9e0f5 100644 --- a/kismet.spec +++ b/kismet.spec @@ -5,12 +5,12 @@ Summary: Wireless network sniffer Summary(pl.UTF-8): Sniffer sieci bezprzewodowych Name: kismet -Version: 2011_03_R2 -Release: 10 +Version: 2016_07_R1 +Release: 1 License: GPL Group: Networking/Utilities -Source0: http://www.kismetwireless.net/code/%{name}-%{tarver}.tar.gz -# Source0-md5: 8bf077e8111e6dc8c12cadefdf40aadd +Source0: http://www.kismetwireless.net/code/%{name}-%{tarver}.tar.xz +# Source0-md5: 7fa6e86c5078a0e7d91fc9bf954c5107 Patch0: config.patch URL: http://www.kismetwireless.net/ BuildRequires: autoconf @@ -31,7 +31,7 @@ Suggests: %{name}-server %requires_eq libpcap BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define plugins plugin-autowep plugin-btscan plugin-ptw plugin-spectools +%define plugins plugin-alertsyslog plugin-btscan plugin-spectools plugin-syslog %description Kismet is a 802.11b wireless network sniffer. It is capable of @@ -134,8 +134,8 @@ fi %{_mandir}/man5/kismet.conf.5* %{_mandir}/man5/kismet_drone.conf.5* %dir %{_libdir}/kismet -%attr(755,root,root) %{_libdir}/kismet/aircrack-kismet.so -%attr(755,root,root) %{_libdir}/kismet/autowep-kismet.so +%attr(755,root,root) %{_libdir}/kismet/kismet-syslog.so +%attr(755,root,root) %{_libdir}/kismet/alertsyslog.so %attr(755,root,root) %{_libdir}/kismet/btscan.so %attr(755,root,root) %{_libdir}/kismet/spectool_net.so %dir %attr(770,root,kismet) /var/log/%{name} -- 2.43.0