diff options
author | Guillermo Gomez S. (Gomix) <guillermo.gomez@gmail.com> | 2010-07-12 07:28:19 -0430 |
---|---|---|
committer | Guillermo Gomez S. (Gomix) <guillermo.gomez@gmail.com> | 2010-07-12 07:28:19 -0430 |
commit | 0fe1b754b8c481334dd9fa0fdaf519b0aa8a1376 (patch) | |
tree | 52755309b4141d859746e7e67abfaf3ef4fc1a7d | |
parent | 6bc3b272994e8e82913be3b007ff5f08bf91fb8c (diff) | |
download | dhcp_probe-master.tar.gz dhcp_probe-master.tar.xz dhcp_probe-master.zip |
-rw-r--r-- | 1.3.0-4/dhcp_probe-1.3.0-4.fc13.src.rpm | bin | 0 -> 223847 bytes | |||
-rw-r--r-- | 1.3.0-4/dhcp_probe.spec | 63 | ||||
-rw-r--r-- | dhcp_probe.spec | 12 |
3 files changed, 71 insertions, 4 deletions
diff --git a/1.3.0-4/dhcp_probe-1.3.0-4.fc13.src.rpm b/1.3.0-4/dhcp_probe-1.3.0-4.fc13.src.rpm Binary files differnew file mode 100644 index 0000000..589f8f5 --- /dev/null +++ b/1.3.0-4/dhcp_probe-1.3.0-4.fc13.src.rpm diff --git a/1.3.0-4/dhcp_probe.spec b/1.3.0-4/dhcp_probe.spec new file mode 100644 index 0000000..7bf166a --- /dev/null +++ b/1.3.0-4/dhcp_probe.spec @@ -0,0 +1,63 @@ +Name: dhcp_probe +Version: 1.3.0 +Release: 4%{?dist} +Summary: Tool for discover DHCP and BootP servers +License: GPLv2+ and MIT +Group: System Environment/Daemons +Url: http://www.net.princeton.edu/software/dhcp_probe/ +Source0: http://www.net.princeton.edu/software/dhcp_probe/%{name}-%{version}.tar.gz +Patch0: dhcp_probe-1.3.0-guignard-03_implicit_point_conv_bootp.c.patch +Patch1: dhcp_probe-1.3.0-guignard-04_linux_32_or_64bits.patch +Patch2: dhcp_probe-1.3.0-virta-01-pcap-loop.patch +Patch3: dhcp_probe-1.3.0-virta-02-keep-pcap.patch +Patch4: dhcp_probe-1.3.0-virta-03-drop-privs.patch +BuildRequires: libnet-devel libpcap-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +dhcp_probe attempts to discover DHCP and BootP servers on a directly-attached +Ethernet network. A network administrator can use this tool to locate +unauthorized DHCP and BootP servers. + +%prep +%setup -q +%patch0 +%patch1 +%patch2 +%patch3 +%patch4 + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install +install -p -m 644 -D extras/dhcp_probe.cf.sample %{buildroot}/%{_sysconfdir}/dhcp_probe.cf + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS NEWS TODO README COPYING.GPL COPYING COPYING.LIB +%config(noreplace) %_sysconfdir/dhcp_probe.cf +%{_sbindir}/%{name} +%{_mandir}/man8/* +%{_mandir}/man5/* + +%changelog +* Mon Jul 12 2010 Guillermo Gomez <ggomez@neotechgw.com> - 1.3.0-4 +- AUTHORS, NEWS and TODO documentation files added. Source install documentation + removed. + +* Sun Jul 11 2010 Guillermo Gomez <ggomez@neotechgw.com> - 1.3.0-3 +- Source0 url now use macros. Configuration file now preserve source + timestamp at install stage. + +* Tue Jul 06 2010 Guillermo Gomez <ggomez@neotechgw.com> - 1.3.0-2 +- Description typo corrected. Default permissions corrected. + +* Wed Mar 24 2010 Guillermo Gómez <ggomez@neotechgw.com> - 1.3.0-1 +- First Fedora spec compliant version diff --git a/dhcp_probe.spec b/dhcp_probe.spec index 4677472..7bf166a 100644 --- a/dhcp_probe.spec +++ b/dhcp_probe.spec @@ -1,6 +1,6 @@ Name: dhcp_probe Version: 1.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Tool for discover DHCP and BootP servers License: GPLv2+ and MIT Group: System Environment/Daemons @@ -41,16 +41,20 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc INSTALL INSTALL.dhcp_probe README COPYING.GPL COPYING COPYING.LIB +%doc AUTHORS NEWS TODO README COPYING.GPL COPYING COPYING.LIB %config(noreplace) %_sysconfdir/dhcp_probe.cf %{_sbindir}/%{name} %{_mandir}/man8/* %{_mandir}/man5/* %changelog +* Mon Jul 12 2010 Guillermo Gomez <ggomez@neotechgw.com> - 1.3.0-4 +- AUTHORS, NEWS and TODO documentation files added. Source install documentation + removed. + * Sun Jul 11 2010 Guillermo Gomez <ggomez@neotechgw.com> - 1.3.0-3 -- Source0 url now use macros. Configuration file now preserve - source timestamp at install stage. +- Source0 url now use macros. Configuration file now preserve source + timestamp at install stage. * Tue Jul 06 2010 Guillermo Gomez <ggomez@neotechgw.com> - 1.3.0-2 - Description typo corrected. Default permissions corrected. |