Name: p0f Version: 3.05b Release: 1%{?dist} Summary: Versatile passive OS fingerprinting tool Group: Applications/Internet License: LGPLv2+ URL: http://lcamtuf.coredump.cx/p0f.shtml Source: http://lcamtuf.coredump.cx/p0f3/releases/p0f-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpcap-devel %description P0f is a versatile passive OS fingerprinting tool. P0f can identify the system on machines that talk thru or near your box. p0f will also check masquerading and firewall presence, the distance to the remote system and its uptime, other guy's network hookup (DSL, OC3, avian carriers) and his ISP. %prep %setup -q %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DFP_FILE=\"%{_sysconfdir}/p0f/p0f.fp\"" %install rm -rf $RPM_BUILD_ROOT %{__mkdir_p} $RPM_BUILD_ROOT%{_sbindir} %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/p0f %{__cp} p0f $RPM_BUILD_ROOT%{_sbindir} %{__cp} p0f.fp $RPM_BUILD_ROOT%{_sysconfdir}/p0f # Build the tools cd tools make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %{__cp} p0f-client p0f-sendsyn p0f-sendsyn6 $RPM_BUILD_ROOT%{_sbindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc docs/* %doc tools/README-TOOLS %{_sbindir}/* %dir %{_sysconfdir}/p0f %config %{_sysconfdir}/p0f/p0f.fp %changelog * Wed Jun 20 2012 Athmane Madjoudj 3.05b-1 - Update to last upstream release * Wed Feb 08 2012 Athmane Madjoudj - 3.03b-10 - Update to 3.03b - Fix FP_FILE path (reported by Michal Ambroz) * Mon Jan 16 2012 Athmane Madjoudj - 3.00b-9 - Update to 3.00b - Clean-up the spec * Fri Jan 13 2012 Fedora Release Engineering - 2.0.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.0.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jul 25 2009 Fedora Release Engineering - 2.0.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 10 2008 Kevin Fenzi - 2.0.8-4 - Rebuild for gcc43 * Thu Oct 11 2007 Kevin Fenzi - 2.0.8-3 - Rebuild for BuildID - Update License tag * Wed Nov 29 2006 Kevin Fenzi - 2.0.8-2 - Rebuild for new libpcap * Sat Nov 11 2006 Kevin Fenzi - 2.0.8-1 - Update to 2.0.8 * Sun Aug 27 2006 Kevin Fenzi - 2.0.7-2 - Rebuild for fc6 * Wed Aug 23 2006 Kevin Fenzi - 2.0.7-1 - Update to 2.0.7 * Thu Jun 29 2006 Kevin Fenzi - 2.0.6-2 - libpcap to libpcap-devel in BuildRequires * Mon May 8 2006 Kevin Fenzi - 2.0.6-1 - Upgrade to 2.0.6 - Remove unneeded include patch (fixed upstream) * Thu Feb 16 2006 Kevin Fenzi - 2.0.5-4.fc5 - Rebuild for fc5 - Add dist tag * Sun May 22 2005 Jeremy Katz - 2.0.5-3 - rebuild on all arches * Fri Apr 7 2005 Michael Schwendt - rebuilt * Tue Oct 26 2004 Adrian Reber - 0:2.0.5-1 - updated to 2.0.5 - fixed build on FC2 - bring specfile up to date with current spec templates * Mon Oct 27 2003 Darryl Luff - 0:2.0.2-0.fdr.0.1 - Update for version 2.0.2 and Fedora comments. * Sat Sep 6 2003 Darryl Luff - 0:2.0.1-0.fdr.0.1 - initial RPM