X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=kismet.spec;h=a0ff4f168d46e8a68a4d11ad4ad892a81f91c9e6;hb=3659c40e3d4ed18e3f3c19586c9013e60c613c11;hp=e23b04494d0aff13254eff71dc6da7f19ef7ccb5;hpb=58c6549693090c9cbfd754a135a89404995a7143;p=packages%2Fkismet.git diff --git a/kismet.spec b/kismet.spec index e23b044..a0ff4f1 100644 --- a/kismet.spec +++ b/kismet.spec @@ -1,23 +1,27 @@ +# +# TODO: Anybody knows, why it will not build, +# when kernel-headers are installed? +# Summary: Wireless network sniffer -Summary(pl): Sniffer sieci bezprzewodowych +Summary(pl.UTF-8): Sniffer sieci bezprzewodowych Name: kismet -Version: 3.0.1 -Release: 1 +Version: 2007_01_R1b +%define _ver 2007-01-R1b +Release: 3 License: GPL Group: Networking/Utilities -Source0: http://www.kismetwireless.net/code/%{name}-%{version}.tar.gz -# Source0-md5: 7ba34081eb93d7ca27377593ba40524b -Patch0: %{name}-acfix.patch -Patch1: %{name}-pcap.patch +Source0: http://www.kismetwireless.net/code/%{name}-%{_ver}.tar.gz +# Source0-md5: a1dcea71f0c3f881ef72f5bca2db7b39 +Patch0: %{name}-c++.patch URL: http://www.kismetwireless.net/ BuildRequires: ImageMagick-devel -BuildRequires: XFree86-devel BuildRequires: autoconf BuildRequires: automake -BuildRequires: expat-devel -BuildRequires: libpcap-devel >= 0.8.1-2 -BuildRequires: ncurses-devel -BuildRequires: zlib-devel +BuildRequires: gmp-devel +BuildRequires: libpcap-devel >= 2:0.9.4-1 +BuildRequires: libstdc++-devel +BuildRequires: libwiretap-devel +BuildRequires: ncurses-ext-devel # it uses internal structures - so strict deps %requires_eq libpcap BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -30,35 +34,34 @@ Rangelan, etc), cards which support standard packet capture via libpcap (Cisco), and limited support for cards without RF Monitor support. -%description -l pl +%description -l pl.UTF-8 Kismet to sniffer bezprzewodowych sieci 802.11b. Jest zdolny do -sniffowania u¿ywaj±c prawie dowolnych bezprzewodowych kart sieciowych -w Linuxie w³±czaj±c w to karty Prism2 wspierane przez projekt Wlan-NG -(Linksys, Dlink, Rangelan, etc), kart które umo¿liwiaj± -przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone -wsparcie dla kart bez obs³ugi Monitora RF. +sniffowania używając prawie dowolnych bezprzewodowych kart sieciowych +w Linuksie włączając w to karty Prism2 wspierane przez projekt Wlan-NG +(Linksys, Dlink, Rangelan, etc), kart które umożliwiają +przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone +wsparcie dla kart bez obsługi Monitora RF. %prep -%setup -q +%setup -q -n %{name}-%{_ver} %patch0 -p1 -%patch1 -p1 -%build -cp Makefile.in Makefile.new -sed -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' \ - Makefile.new > Makefile.in +sed -i -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' Makefile.in +%build +cp -f /usr/share/automake/config.* . %{__aclocal} %{__autoconf} CPPFLAGS="-I/usr/include/ncurses" %configure \ --enable-syspcap \ - --without-ethereal \ + --with-linuxheaders=no \ + --with-ethereal=%{_includedir} \ %ifarch arm - --enable-zaurus \ + --enable-zaurus %endif -%{__make} dep all +%{__make} %install rm -rf $RPM_BUILD_ROOT @@ -79,9 +82,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc docs/* CHANGELOG FAQ README +%doc docs/* CHANGELOG CHANGELOG-OLD README %attr(755,root,root) %{_bindir}/* %{_sysconfdir}/*_manuf %{_datadir}/%{name} %{_mandir}/man?/* -%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}* +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}*