[p0f] Update to 3.00b Clean-up the spec

Kevin Fenzi kevin at fedoraproject.org
Thu Jan 19 02:39:31 UTC 2012


commit 10ac88be037e6450c15005796a71f0214c08c7d4
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Wed Jan 18 19:39:28 2012 -0700

    Update to 3.00b
    Clean-up the spec

 p0f.spec |   39 ++++++++++++++++++++++-----------------
 1 files changed, 22 insertions(+), 17 deletions(-)
---
diff --git a/p0f.spec b/p0f.spec
index fd2e177..599aad6 100644
--- a/p0f.spec
+++ b/p0f.spec
@@ -1,37 +1,42 @@
 Name: p0f
-Version: 2.0.8
-Release: 8%{?dist}
+Version: 3.00b
+Release: 9%{?dist}
 
 Summary: Versatile passive OS fingerprinting tool
 Group: Applications/Internet
 License: LGPLv2+
 URL: http://lcamtuf.coredump.cx/p0f.shtml
-Source: http://lcamtuf.coredump.cx/p0f/p0f-2.0.8.tgz
+Source: http://lcamtuf.coredump.cx/p0f3/releases/p0f-%{version}.tgz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libpcap-devel
 
 %description
-P0f v2 is a versatile passive OS fingerprinting tool. P0f can identify the
+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 -n p0f
+%setup -q
 
 %build
-make -f mk/Linux %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__mkdir_p} $RPM_BUILD_ROOT%{_sbindir}
-%{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1
 %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/p0f
-%{__cp} p0f p0frep $RPM_BUILD_ROOT%{_sbindir}
-%{__cp} p0f.fp p0fa.fp p0fr.fp p0fo.fp $RPM_BUILD_ROOT%{_sysconfdir}/p0f
-%{__cp} p0f.1 $RPM_BUILD_ROOT%{_mandir}/man1
+%{__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
@@ -39,18 +44,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc doc/*
-%{_sbindir}/p0f
-%{_sbindir}/p0frep
+%doc docs/*
+%doc tools/README-TOOLS
+%{_sbindir}/*
 %dir %{_sysconfdir}/p0f
 %config %{_sysconfdir}/p0f/p0f.fp
-%config %{_sysconfdir}/p0f/p0fa.fp
-%config %{_sysconfdir}/p0f/p0fr.fp
-%config %{_sysconfdir}/p0f/p0fo.fp
-%{_mandir}/man1/p0f.1.gz
 
 
 %changelog
+* Mon Jan 16 2012 Athmane Madjoudj <athmane at fedoraproject.org> - 3.00b-9
+- Update to 3.00b
+- Clean-up the spec
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.8-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list