Name: thcrut Version: 1.2.5 Release: 1%{?dist} Summary: RUT gathers information from local and remote networks Group: Applications/Internet License: Non-Commercial URL: http://freeworld.thc.org/thc-rut/ Source0: http://freeworld.thc.org/releases/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libnet-devel BuildRequires: libpcap-devel BuildRequires: pcre-devel %description RUT offers a wide range of network discovery tools: arp lookup on an IP range, spoofed DHCP request, RARP, BOOTP, ICMP-ping, ICMP address mask request, OS fingerprintings, high-speed host discovery, etc. %prep %setup -q %build %configure --enable-dist # uncomment these if you want to port thcrut to libnet 1.1.x. #sed --in-place 's|^LIBS =|LIBS = -lnet -lpcre|' src/Makefile #sed --in-place -r 's#-[LI]../(pcre-3.9|Libnet-1.0.2a/(src|include))##g' \ # src/Makefile #sed --in-place 's|^AM_CFLAGS =.*$|AM_CFLAGS = -I/usr/include|' src/Makefile 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 LICENSE README ChangeLog FAQ %{_bindir}/%{name} %{_datadir}/%{name}/* %changelog * Sat Aug 2 2008 Conrad Meyer - 1.2.5-1 - Initial package.