1 Summary: dhcptool - an utility to generate and transmit custom DHCP/BOOTP packets
2 Summary(pl.UTF-8): dhcptool - narzędzie do generowania i przesyłania własnych pakietów DHCP/BOOTP
7 Group: Networking/Utilities
8 Source0: http://www.gatorhole.com/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5: 96f9ee1cc96631d52972a992af725f7c
10 URL: http://gatorhole.com/index.php?product=dhcp
11 BuildRequires: libnet-devel
12 BuildRequires: libpcap-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 DHCPTool is a command-line utility used to e.g. test DHCP servers or
17 DHCP relay agents. It can generate almost any kind of DHCP packet,
18 and the idea is to facilitate simulation of e.g. broken DHCP clients
19 to see how well servers handle them and/or to detect stability bugs
20 in any software that parses DHCP messages.
22 %description -l pl.UTF-8
23 DHCPTool to obsługiwane z linii poleceń narzędzei służące np. do
24 testowania serwerów DHCP lub agentów przekazujących DHCP. Potrafi
25 wygenerować prawie każdy rodzaj pakietu DHCP, mając na celu ułatwienie
26 symulacji np. wadliwych klientów DHCP, aby sprawdzić, jak dobrze
27 serwery są w stanie je obsłużyć, albo wykryć błędy stabilności w
28 dowolnym kodzie analizującym komunikaty DHCP.
38 rm -rf $RPM_BUILD_ROOT
40 install -D dhcptool $RPM_BUILD_ROOT%{_bindir}/dhcptool
41 install -D dhcptool.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcptool.1
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*