Summary: Generates and transmits custom DHCP/BOOTP packets Name: dhcptool Version: 0.9b Release: %mkrel 3 License: BSD Group: Networking/Other URL: http://www.gatorhole.se/index.php?product=dhcp&lang=gb Source0: http://www.gatorhole.com/downloads/%{name}-%{version}.tar.gz Patch0: dhcptool-0.9b-DESTDIR.diff BuildRequires: pcap-devel BuildRequires: net-devel >= 1.1.3 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description DHCPTool is a command-line utility used to e.g. test DHCP servers or DHCP relay agents. It can generate almost any kind of DHCP packet, and the idea is to facilitate simulation of e.g. broken DHCP clients to see how well servers handle them and/or to detect stability bugs in any software that parses DHCP messages. %prep %setup -q %patch0 -p0 %build rm -f configure autoreconf -fis %configure2_5x %make CFLAGS="%{optflags}" %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGELOG LICENSE %{_bindir}/* %{_mandir}/*/* %changelog * Thu Jun 04 2009 Oden Eriksson <oeriksson@mandriva.com> 0.9b-3mdv2010.0 + Revision: 382697 - rebuilt against libnet 1.1.3 * Wed Oct 29 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9b-2mdv2009.1 + Revision: 298238 - rebuilt against libpcap-1.0.0 * Fri Oct 10 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9b-1mdv2009.1 + Revision: 291336 - import dhcptool * Wed Oct 08 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9b-1mdv2009.0. - initial Mandriva package