1 Summary: dhcptool - an utility to generate and transmit custom DHCP/BOOTP packets
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
32 rm -rf $RPM_BUILD_ROOT
34 install -D dhcptool $RPM_BUILD_ROOT%{_bindir}/dhcptool
35 install -D dhcptool.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcptool.1
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/*