]>
Commit | Line | Data |
---|---|---|
44bf0aa7 | 1 | Summary: dhcptool - an utility to generate and transmit custom DHCP/BOOTP packets |
20f24d47 | 2 | Summary(pl.UTF-8): dhcptool - narzędzie do generowania i przesyłania własnych pakietów DHCP/BOOTP |
44bf0aa7 | 3 | Name: dhcptool |
4 | Version: 0.8b | |
5 | Release: 1 | |
6 | License: BSD | |
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) | |
14 | ||
15 | %description | |
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. | |
21 | ||
20f24d47 JB |
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. | |
44bf0aa7 | 29 | |
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | install -D dhcptool $RPM_BUILD_ROOT%{_bindir}/dhcptool | |
41 | install -D dhcptool.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcptool.1 | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %{_mandir}/man1/* |