File kismet.spec of Package kismet
#
# spec file for package kismet (Version 2008_05_R1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kismet
BuildRequires: ImageMagick-devel gcc-c++ gmp-devel libpcap-devel wget wireshark-devel
BuildRequires: libexpat-devel ncurses-devel
Version: 2008_05_R1
Release: 19.<RELEASE52>
%define realver 2008-05-R1
Requires: wget wireless-tools
AutoReqProv: on
Group: Productivity/Networking/Diagnostic
License: GPL v2 or later
Url: http://www.kismetwireless.net/
Summary: An 802.11 Wireless Network Sniffer
Source: %{name}-%{realver}.tar.bz2
Patch0: %{name}-%{realver}-fmt.diff
Patch1: %{name}-%{realver}-infinite-loop.diff
Patch2: %{name}-%{realver}-makefile.diff
Patch3: %{name}-%{realver}-crash.diff
Patch4: %{name}-%{realver}-nonvoid.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Kismet is an 802.11 wireless network sniffer. This is different from a
normal network sniffer (such as Ethereal or tcpdump) because it
separates and identifies different wireless networks in the area.
Kismet works with any 802.11b wireless card that is capable of
reporting raw packets (rfmon support), which include any Prism2-based
cards (Linksys, D-Link, Rangelan, and more), Cisco Aironet cards, and
Orinoco-based cards. Kismet also supports the WSP100 802.11b remote
sensor by Network Chemistry and is able to monitor 802.11a networks
with cards that use the ar5k chipset.
Authors:
--------
Mike Kershaw <dragorn@kismetwireless.net>
%prep
%setup -q -n %{name}-%{realver}
%patch0
%patch1
%patch2
%patch3
%patch4
%build
export CFLAGS="$RPM_OPT_FLAGS -Wall -fstack-protector -fno-strict-aliasing `ncurses5-config --cflags`"
export CXXFLAGS="$RPM_OPT_FLAGS -Wall -fstack-protector -fno-strict-aliasing `ncurses5-config --cflags`"
export LDFLAGS="-Wl,--as-needed"
%configure --enable-ipv6 --disable-setuid
make dep
%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README CHANGELOG CHANGELOG-OLD GPL TODO docs/
%{_mandir}/man?/*
%config %{_sysconfdir}/kismet.conf
%config %{_sysconfdir}/kismet_ui.conf
%config %{_sysconfdir}/kismet_drone.conf
%{_sysconfdir}/ap_manuf
%{_sysconfdir}/client_manuf
%{_datadir}/kismet
%{_bindir}/*
%changelog
* Mon Jan 05 2009 mseben@suse.cz
- added libexpat-devel to BuildRequires (needed to build gpsmap)
[bnc#462695]
* Mon Sep 01 2008 ro@suse.de
- add ncurses include path to cflags
* Wed Jul 09 2008 prusnak@suse.cz
- updated to 2008-05-R1
* wrt54 fixes
* Multiple Darwin fixes
* GPS rewrite and fixes
* Nokia tweaks
* Imagemagick fixes
* More wrt54 prism0 hacks
* Tweaked the wrt54 stuff more (where does prism0 come from?)
* Tweaked wrt54 source
* Added configure patch for OSX and debian control files from
Evan Broder
* Fixed imagemagick detect on modern IM installs
* Added gpsmap patches from Kripton to support open street maps
* Added DLT80211 and DLT80211_AVS to the linktype setting code
on Darwin, BSD
* Added 'kismet' wrapper binary, conf files to clean/distclean
* Fixed assorted messages being printed in quiet mode
* Added additional warnings/info for madwifi-ng about autocreate=none
when other vaps are found.
* Removed wlancond/power setting on Maemo/Nokia since it doesn't seem
to reliably help
* Merged patches from Alexandre Balavas to clean up warnings on CentOS
* Re-ordered headers in panelfront_display to prevent weird compiler issue
on Darwin
* Fixed gpsd speed issue on water mode, thanks again to Antonio
* Fixed segv on gps=false introduced in recent gps rewrite
(thanks Antonio Eugenio Burriel for patch)
* Added rt61 and rt8187 source names
* Fixed segv on OSX in client on closedir
* Revamped GPS to use 'watch' mode in GPSD
* Revamped GPS again to work with watch better and to dynamically use poll
mode on older GPSD implementations
* Revamped GPS a third time in the same day to take the seemingly broken Maemo
GPSD into account and use R=1 debug mode on Maemo devices
* Added Hildon GPS support
* Fixed huge bug in IE tag parsing that ignored large beacon frames,
thanks to Duane Compton
* Disabled probenojoin by default in config, it's sort of a useless alert
which makes a lot of noise.
* More capture source control changes to try to solve problems capturing reliably
on Nokia 8x0 devices
* Nokia-specific changes
* Added kernel version detection for Darwin to accept enX on >= Leopard,
VERY NEW LIBPCAP required.
* Fixed admtek fatal error on ssid zero (errors now ignored)
* Fixed a problem where the first connection to the server would be ignored.
* Merged a patchset from Pavol Rusnak and SUSE including some ncurses cleanups,
format string quirks with size_t, and header massaging
* Fixed 'make install' and 'make suidinstall' not dep'ing 'kismet' binary
* Added --disable-dbus to configure for environments which don't detect properly
- fixed return of random data from nonvoid function (nonvoid.diff)
- removed obsoleted patches:
* bool.diff (included in update)
* includes.diff (included in update)
* intptr.diff (included in update)
* wtap.diff (included in update)
* Thu Feb 21 2008 crrodriguez@suse.de
- correct buildrequires after wireshark-devel changes
- only link with the needed libraries
* Mon Feb 11 2008 schwab@suse.de
- Fix crash on exit.
* Tue Dec 04 2007 prusnak@suse.cz
- fixed missing includes (includes.patch)
* Wed Oct 31 2007 prusnak@suse.cz
- update to 2007-10-R1
* basic 802.11N support
* Airpcap 11n header support
* DBUS support for controlling NetworkManager
* significant memory reduction in server/client
* significantly faster client code
* D80211 device support (iwl, others)
* revamped madwifi-ng support
* GPSD anti-jitter handling
* innumerable bug fixes
* see CHANGELOG for more details
* Fri Sep 21 2007 schwab@suse.de
- Update BuildRequires.
* Fri Mar 30 2007 dmueller@suse.de
- update buildrequires
* Tue Feb 27 2007 dmueller@suse.de
- reduce buildRequires
* Thu Feb 08 2007 prusnak@suse.cz
- upgraded to 2007-01-R1b
* added Nokia 770/800 support
* added multiple IDS alerts
* fixed memory mismanagement crashes
- fixed spec file and makefile.diff for #norootforbuild
* Mon Jul 17 2006 mskibbe@suse.de
- update to version 2006_04 which
o contains patch:
kismet-2005-08-R1-madwifi-ng.diff
kismet-2005-08-R1-bcm43xx.diff
kismet-2005-08-R1-prism2.diff
kismet-2005-08-R1-svn.diff
o Added --retain-monitor cmdline option on request
o Added setting madwifi-ng to radiotap mode
o Added the initial ipw3945 madwifi-ng support
o Added zd1211 capture source (with warnings)
o Added memset 0 to gpsd code to explicity zero the gps data
o Added a fix to ringbuf from Shane Schisler
o Added extremely experimental support for broadcom 43xx
o Fixed several crashes due to not checking noise/junk
o Fixed madwifi-ng fcs bytes
o Fixed madwifi-ng not shutting down rfmon vap
o Fixed madwifi_ag with madwifi-ng drivers
o Moved ipw3945parasite to ipwlivetap
o Moved madwifing support into madwifi standard as an auto-detect
o Switched ACX100 capture to not expect the FCS bytes
buffer on startup
o Changed prism2 header conversion to ignore a broken length
field in the header
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 24 2006 mjancar@suse.cz
- backports from svn
* support for madwifi-ng (#136896)
* support for bcm43xx
* various bugfixes
* Sun Jan 22 2006 coolo@suse.de
- fixed crash (and avoid stripping)
* Sat Jan 14 2006 kukuk@suse.de
- Add gmp-devel to nfb
* Thu Jan 12 2006 mjancar@suse.cz
- compile with -fstack-protector
* Fri Oct 07 2005 schwab@suse.de
- Fix last change.
- Fix more format string bugs.
- Fix infinite loop.
* Fri Oct 07 2005 yxu@suse.de
- complete missing parameter for function fprintf
* Tue Aug 30 2005 ro@suse.de
- added ethereal-devel to nfb
* Mon Aug 29 2005 mjancar@suse.cz
- update to 2005-08-R1
* fix heap overflow (#106134)
* Thu Jul 28 2005 mjancar@suse.cz
- update to 2005-07-R1a
* Tue Apr 12 2005 mjancar@suse.cz
- upgrade to 2005-04-R1
- fix for gcc 4.0
* Wed Oct 27 2004 meissner@suse.de
- Upgraded to 2004-10-R1:
Some fixup to gpsd handling (More to come)
GCC-3.4 cleanups
BSS Timestamp alerts
Centrino support, support for GPL ADMTek drivers,
Support for alternate cisco drivers
Imagemagick support for new imagemagick api changes
Expanded alert protocol to carry additional info about the environment
that generated the alert
Fixed packet number and delta calculations, and sound output for
traffic seen
Fixed crankiness with hostap if interface is down
Added default "no-type" card to force new users to configure
Lots of other bug fixes
WSP100 is known to be broken in this release
* Tue Aug 31 2004 meissner@suse.de
- fixed problem with new ImageMagick.
* Wed Aug 18 2004 meissner@suse.de
- Add README and CHANGELOG to documentation.
* Mon Jul 26 2004 meissner@suse.de
- Upgraded to 2004-04-R1 release. (new features, lots of bugfixes, etc ...)
- Fixed C++ problem which caused endless loops on 64bit. #43108
- Made gpsmap build.
* Fri Feb 13 2004 meissner@suse.de
- Upgraded to feb.04.01 release. (new american naming scheme
which will break RPM ordering).
* Tue Jan 27 2004 ro@suse.de
- undef bool after including ncurses
* Fri Aug 08 2003 meissner@suse.de
- updated to 3.0.0
* Mon Jul 28 2003 meissner@suse.de
- /usr/bin/convert now needs libexif, added to nfb
* Fri Jul 25 2003 meissner@suse.de
- make build on ppc64, fixed configure.in problems.
* Mon Jul 21 2003 meissner@suse.de
- apply cast to fix 64bit problem.
- fixed default config files to use /usr/ instead of /usr/local/
* Fri Jul 18 2003 meissner@suse.de
- package created with version 2.8.1.