From b6504f3f8f48cf4685c44bcecbdbd08d0fc7c3a4 Mon Sep 17 00:00:00 2001 From: slerena Date: Tue, 8 Dec 2009 19:05:35 +0000 Subject: [PATCH] 2009-12-08 Sancho lerena * aditional_rpmspec/xprobe2-0.3.spec: Added spec for xprobe2 (SUSE and RH). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- extras/ChangeLog | 2 + extras/aditional_rpmspec/xprobe2-0.3.spec | 62 +++++++++++++++++++++++ extras/build_rpm_packages.sh | 2 +- 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 extras/aditional_rpmspec/xprobe2-0.3.spec diff --git a/extras/ChangeLog b/extras/ChangeLog index f8681a13d8..37460cd511 100644 --- a/extras/ChangeLog +++ b/extras/ChangeLog @@ -6,6 +6,8 @@ * aditional_sources/xprobe_0.3: Patched version to compile with gcc4.x and used to do SUSE RPM packages for 11.x + * aditional_rpmspec/xprobe2-0.3.spec: Added spec for xprobe2 (SUSE and RH). + 2009-11-11 Sancho Lerena * tentacle_proxy: Upgrade to support a previous check of connectiviy diff --git a/extras/aditional_rpmspec/xprobe2-0.3.spec b/extras/aditional_rpmspec/xprobe2-0.3.spec new file mode 100644 index 0000000000..97600c2b60 --- /dev/null +++ b/extras/aditional_rpmspec/xprobe2-0.3.spec @@ -0,0 +1,62 @@ +Name: xprobe2 +Version: 0.3 +Release: 1 +Summary: Tool to detect OS remotely by TCP/IP fingerprinting. +License: GPLv2 +Group: Network/Security +URL: http://xprobe.sourceforge.net/ +Packager: Sancho Lerena +Source: http://dl.sf.net/xprobe/xprobe2-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version} +Provides: xprobe2 +Requires: libpcap +BuildRequires: gcc-c++ 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 + +%build +./configure --with-libpcap-libraries=/usr/lib --with-libpcap-includes=/usr/include/pcap --mandir=%{_mandir} --disable-schemas-install +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +ln -s /usr/local/bin/xprobe2 /usr/bin + +%preun + +%postun + +%files +%defattr(-,root,root,0755) +%doc AUTHORS CHANGELOG COPYING CREDITS README TODO docs/* +%doc /usr/share/man/man1/xprobe2.1.gz +/usr/local/bin/xprobe2 +/usr/local/etc/xprobe2 +/usr/local/etc/xprobe2/xprobe2.conf + + + +%changelog +* Tue Dec 08 2009 Sancho Lerena 3.2-1 +- First RPM Spec for SUSE Systems, based on CentOS Spec from Dag Wieers + diff --git a/extras/build_rpm_packages.sh b/extras/build_rpm_packages.sh index d6b932ac30..31143f77c6 100644 --- a/extras/build_rpm_packages.sh +++ b/extras/build_rpm_packages.sh @@ -5,7 +5,7 @@ # CONFIG BEGINS HERE CODEHOME=~/code/pandora/trunk CODEHOME_ENT=~/code/artica/code/ -RPMHOME=/usr/src/rpm +RPMHOME=/usr/src/packages VERSION=3.0.0 # CONFIG ENDS HERE