SPECS: dhcptool.spec (NEW) - new

radek radek at pld-linux.org
Thu Aug 30 23:55:54 CEST 2007


Author: radek                        Date: Thu Aug 30 21:55:54 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   dhcptool.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dhcptool.spec
diff -u /dev/null SPECS/dhcptool.spec:1.1
--- /dev/null	Thu Aug 30 23:55:54 2007
+++ SPECS/dhcptool.spec	Thu Aug 30 23:55:49 2007
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary:	dhcptool - an utility to generate and transmit custom DHCP/BOOTP packets
+#Summary(pl.UTF-8):	-
+Name:		dhcptool
+Version:	0.8b
+Release:	1
+License:	BSD
+Group:		Networking/Utilities
+Source0:	http://www.gatorhole.com/downloads/%{name}-%{version}.tar.gz
+# Source0-md5:	96f9ee1cc96631d52972a992af725f7c
+URL:		http://gatorhole.com/index.php?product=dhcp
+BuildRequires:	libnet-devel
+BuildRequires:	libpcap-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D dhcptool   $RPM_BUILD_ROOT%{_bindir}/dhcptool
+install -D dhcptool.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcptool.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/08/30 21:55:49  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list