]> git.pld-linux.org Git - packages/angst.git/blame - angst.spec
- pass CC & CFLAGS taken from rpm macros.
[packages/angst.git] / angst.spec
CommitLineData
127b9c2e 1Summary: active sniffer
2Summary(pl): aktywny sniffer
3Name: angst
4Version: 0.4b
5Release: 1
6License: BSD
7Group: Networking/Utilities
58d4e549 8Source0: http://heanet.dl.sourceforge.net/angst/%{name}-%{version}.tar.gz
127b9c2e 9# Source0-md5: 21643cd776bf478c6fbe4ddabb826be8
10Patch0: %{name}-DESTDIR.patch
11Patch1: %{name}-libnet.patch
12URL: http://angst.sourceforge.net/
daf524c8 13BuildRequires: libnet1-devel
127b9c2e 14BuildRequires: libpcap-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Angst is an active sniffer, based on libpcap and libnet. Angst
19provides methods for aggressive sniffing on switched local area
20network environments. It dumps the payload of all the TCP packets
21received on the specified ports. Moreover, it implements methods for
22active sniffing. Angst currently provides two active sniffing methods.
23The first monitors ARP requests, and after enabling IP forwarding on
24the local host, sends ARP replies mapping all IPs to the local MAC
25address. The second method floods the local network with random MAC
26addresses (like macof v1.1 by Ian Vitek), causing switches to send
27packets to all ports.
28
29%prep
30%setup -q
31%patch0 -p1
32%patch1 -p1
33
34mv Makefile.linux Makefile
35
36%build
fe4d092d 37%{__make} \
38 CC="%{__cc}"
39 CFLAGS="%{rpmcflags}"
127b9c2e 40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc ChangeLog README TODO
53%attr(755,root,root) %{_sbindir}/*
54%{_mandir}/man8/%{name}.8*
This page took 0.065589 seconds and 4 git commands to generate.