]> git.pld-linux.org Git - packages/dhcptool.git/commitdiff
- new
authorradek <radek@pld-linux.org>
Thu, 30 Aug 2007 21:55:49 +0000 (21:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcptool.spec -> 1.1

dhcptool.spec [new file with mode: 0644]

diff --git a/dhcptool.spec b/dhcptool.spec
new file mode 100644 (file)
index 0000000..7c964a6
--- /dev/null
@@ -0,0 +1,43 @@
+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/*
This page took 0.097402 seconds and 4 git commands to generate.