Group :: Networking/Other
RPM: p0f
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: p0f
Version: 2.0.5
Release: alt1
Summary: Passive OS fingerprinting tool
License: LGPL
Group: Networking/Other
URL: http://lcamtuf.coredump.cx/p0f.shtml
# see also URL http://www.stearns.org/p0f/
Source: http://lcamtuf.coredump.cx/p0f/p0f-%version.tgz
Source1: p0f.init
Source2: p0f.sysconfig
Source3: p0f.logrotate
# Automatically added by buildreq on Fri Oct 17 2003
BuildRequires: libpcap-devel
%description
p0f performs passive OS fingerprinting technique bases on information coming
from remote host when it establishes connection to our system. Captured
packets contains enough information to determine OS - and, unlike
active scanners (nmap, queSO) - it is done without sending anything to
this host.
%prep
%setup -q -n %name
%build
make all CC="gcc %optflags"
%install
install -d $RPM_BUILD_ROOT%_sysconfdir/{sysconfig,p0f,logrotate.d}
install -d $RPM_BUILD_ROOT%_initrddir
install -d $RPM_BUILD_ROOT%_bindir
install -d $RPM_BUILD_ROOT%_sbindir
install -d $RPM_BUILD_ROOT%_mandir/man1
install -m755 p0f $RPM_BUILD_ROOT%_sbindir
install -m755 p0frep $RPM_BUILD_ROOT%_bindir
install -m755 %_sourcedir/p0f.init $RPM_BUILD_ROOT%_initrddir/p0f
install -m644 %_sourcedir/p0f.sysconfig $RPM_BUILD_ROOT%_sysconfdir/sysconfig/p0f
install -m644 %_sourcedir/p0f.logrotate $RPM_BUILD_ROOT%_sysconfdir/logrotate.d/p0f
install -m644 p0f.1 $RPM_BUILD_ROOT%_mandir/man1/
install -m644 *.fp $RPM_BUILD_ROOT%_sysconfdir/p0f/
%files
%doc doc/{CREDITS,ChangeLog,KNOWN_BUGS,README,TODO}
%_bindir/*
%_sbindir/*
%dir %_sysconfdir/p0f
%config(noreplace) %_sysconfdir/p0f/*
%config %_initrddir/p0f
%config(noreplace) %_sysconfdir/sysconfig/p0f
%config(noreplace) %_sysconfdir/logrotate.d/p0f
%_mandir/man1/*
%changelog
…
Full changelog you can see here
Version: 2.0.5
Release: alt1
Summary: Passive OS fingerprinting tool
License: LGPL
Group: Networking/Other
URL: http://lcamtuf.coredump.cx/p0f.shtml
# see also URL http://www.stearns.org/p0f/
Source: http://lcamtuf.coredump.cx/p0f/p0f-%version.tgz
Source1: p0f.init
Source2: p0f.sysconfig
Source3: p0f.logrotate
# Automatically added by buildreq on Fri Oct 17 2003
BuildRequires: libpcap-devel
%description
p0f performs passive OS fingerprinting technique bases on information coming
from remote host when it establishes connection to our system. Captured
packets contains enough information to determine OS - and, unlike
active scanners (nmap, queSO) - it is done without sending anything to
this host.
%prep
%setup -q -n %name
%build
make all CC="gcc %optflags"
%install
install -d $RPM_BUILD_ROOT%_sysconfdir/{sysconfig,p0f,logrotate.d}
install -d $RPM_BUILD_ROOT%_initrddir
install -d $RPM_BUILD_ROOT%_bindir
install -d $RPM_BUILD_ROOT%_sbindir
install -d $RPM_BUILD_ROOT%_mandir/man1
install -m755 p0f $RPM_BUILD_ROOT%_sbindir
install -m755 p0frep $RPM_BUILD_ROOT%_bindir
install -m755 %_sourcedir/p0f.init $RPM_BUILD_ROOT%_initrddir/p0f
install -m644 %_sourcedir/p0f.sysconfig $RPM_BUILD_ROOT%_sysconfdir/sysconfig/p0f
install -m644 %_sourcedir/p0f.logrotate $RPM_BUILD_ROOT%_sysconfdir/logrotate.d/p0f
install -m644 p0f.1 $RPM_BUILD_ROOT%_mandir/man1/
install -m644 *.fp $RPM_BUILD_ROOT%_sysconfdir/p0f/
%files
%doc doc/{CREDITS,ChangeLog,KNOWN_BUGS,README,TODO}
%_bindir/*
%_sbindir/*
%dir %_sysconfdir/p0f
%config(noreplace) %_sysconfdir/p0f/*
%config %_initrddir/p0f
%config(noreplace) %_sysconfdir/sysconfig/p0f
%config(noreplace) %_sysconfdir/logrotate.d/p0f
%_mandir/man1/*
%changelog
…
Full changelog you can see here