diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6488245 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xprobe2-0.3.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 91c452b..0000000 --- a/dead.package +++ /dev/null @@ -1,2 +0,0 @@ -2015-05-12: Retired orphaned package, because it was orphaned for more than six weeks. - diff --git a/sources b/sources new file mode 100644 index 0000000..154de83 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +3ebb89ed9380038d368327816e34ec54 xprobe2-0.3.tar.gz diff --git a/xprobe2-0.3-gcc43.patch b/xprobe2-0.3-gcc43.patch new file mode 100644 index 0000000..1ca9cd1 --- /dev/null +++ b/xprobe2-0.3-gcc43.patch @@ -0,0 +1,30 @@ +--- libs-external/USI++/src/misc.cc.orig 2008-02-08 22:59:11.000000000 -0500 ++++ libs-external/USI++/src/misc.cc 2008-02-08 22:59:52.000000000 -0500 +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + + + namespace usipp { +--- libs-external/USI++/src/ip.cc.orig 2008-02-08 23:00:02.000000000 -0500 ++++ libs-external/USI++/src/ip.cc 2008-02-08 23:00:12.000000000 -0500 +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + namespace usipp { + +--- libs-external/USI++/usi++/tcp.h.orig 2008-02-08 23:16:18.000000000 -0500 ++++ libs-external/USI++/usi++/tcp.h 2008-02-08 23:16:44.000000000 -0500 +@@ -12,6 +12,7 @@ + #ifndef _TCP_H_ + #define _TCP_H_ + ++#include + #include "usi-structs.h" + #include "datalink.h" + #include "ip.h" diff --git a/xprobe2.spec b/xprobe2.spec new file mode 100644 index 0000000..9b89f51 --- /dev/null +++ b/xprobe2.spec @@ -0,0 +1,101 @@ +Name: xprobe2 +Version: 0.3 +Release: 14%{?dist} +Summary: Xprobe2 is an active operating system fingerprinting tool + +Group: Applications/Internet +License: GPLv2 +URL: http://www.sys-security.com/index.php?page=xprobe +Source0: http://downloads.sourceforge.net/xprobe/%{name}-%{version}.tar.gz +Patch0: %{name}-%{version}-gcc43.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libpcap-devel + +%description +Xprobe is an alternative to some tools which are heavily dependent upon the +usage of the TCP protocol for remote active operating system fingerprinting. + +Xprobe I combines various remote active operating system fingerprinting methods +using the ICMP protocol, which were discovered during the "ICMP Usage in +Scanning" research project, into a simple, fast, efficient and a powerful way +to detect an underlying operating system a targeted host is using. + +Xprobe2 is an active operating system fingerprinting tool with a different +approach to operating system fingerprinting. Xprobe2 rely on fuzzy signature +matching, probabilistic guesses, multiple matches simultaneously, and a +signature database. + + +%prep +%setup -q +%patch0 +chmod 644 docs/* COPYING TODO +sed -i -e 's/^\s*strip\s*//' src/Makefile.in + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGELOG README CREDITS COPYING TODO docs/* +%dir %{_sysconfdir}/xprobe2 +%config(noreplace) %{_sysconfdir}/xprobe2/xprobe2.conf +%{_bindir}/xprobe2 +%{_mandir}/*/* + + +%changelog +* Mon Jan 11 2010 Luke Macken - 0.3-14 +- Fix the source URL + +* Mon Jul 27 2009 Fedora Release Engineering - 0.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 8 2008 Luke Macken 0.3-11 +- Add a trivial patch to fix a compilation error + +* Fri Feb 8 2008 Luke Macken 0.3-10 +- Rebuild for gcc 4.3 + +* Tue Aug 21 2007 Luke Macken 0.3-9 +- Update license tag to GPLv2 + +* Sun Sep 3 2006 Luke Macken 0.3-8 +- Rebuild for FC6 + +* Wed Aug 16 2006 Luke Macken 0.3-7 +- Add libpcap-devel BR + +* Wed Aug 16 2006 Luke Macken 0.3-6 +- Rebuild + +* Mon Feb 13 2006 Luke Macken 0.3-5 +- Rebuild for FE5 + +* Tue Dec 27 2005 Luke Macken 0.3-4 +- Rebuild + +* Sat Nov 12 2005 Luke Macken 0.3-3 +- Rebuild + +* Sun Oct 16 2005 Luke Macken 0.3-2 +- Don't strip the binary (Bug #170968) + +* Fri Aug 05 2005 Luke Macken 0.3-1 +- Packaged for Fedora Extras