Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:FunkyM
dsniff
dsniff.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dsniff.spec of Package dsniff
# norootforbuild %define _prefix /usr %if %suse_version >= 920 %define xwindow xorg-x11 %else %define xwindow XFree86 %endif Name: dsniff Version: 2.4_0.1 %define pkg_version 2.4b1 %define pkg_srcdir 2.4 Release: 1 Summary: Sniffing Utilities for Network Security Testing Source: http://naughty.monkey.org/~dugsong/dsniff/beta/dsniff-%{pkg_version}.tar.gz Patch1: dsniff-time_h.diff Patch2: dsniff-mailsnarf-corrupt.diff Patch3: dsniff-multiple_intf.diff Patch4: dsniff-urlsnarf-zeropad.diff Patch5: dsniff-pcap_read_dump.diff Patch6: dsniff-amd64-fix.diff Patch7: dsniff-libnet-1.1.diff Patch8: dsniff-sshow-clk_tck.diff Patch9: dsniff-sshcrypto-includes.diff Patch10: dsniff-config-sysconfdir.diff Patch11: dsniff-configure-ac_libobj.diff Patch12: dsniff-memset-proto.diff Patch13: dsniff-rename-csin.diff Patch14: dsniff-lib64.diff URL: http://naughty.monkey.org/~dugsong/dsniff/ Group: Productivity/Networking/Security License: BSD License (original) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: make gcc glibc-devel openssl openssl-devel libnet >= 1.1.0 BuildRequires: libnids libpcap libpcap-devel db db-devel BuildRequires: %{xwindow}-libs %{xwindow}-devel autoconf automake libtool %if %suse_version >= 1020 BuildRequires: glib2 glib2-devel pkgconfig %endif ExclusiveArch: %ix86 amd64 x86_64 ia32e %description dsniff is a collection of tools for network auditing and penetration testing. dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf, and webspy passively monitor a network for interesting data (passwords, e-mail, files, etc.). arpspoof, dnsspoof, and macof facilitate the interception of network traffic normally unavailable to an attacker (e.g, due to layer-2 switching). sshmitm and webmitm implement active monkey-in-the-middle attacks against redirected SSH and HTTPS sessions by exploiting weak bindings in ad-hoc PKI. %if %suse_version >= 930 %debug_package %endif %prep %setup -q -n "dsniff-%{pkg_srcdir}" %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %patch11 %patch12 %patch13 %if "%{_lib}"=="lib64" %patch14 %endif %__sed -i 's|/usr/local/lib/|%{_sysconfdir}/|' *.8 pathnames.h %if "%{_lib}"=="lib64" %__sed -i 's|/usr/lib|%{_libdir}|g' configure %endif %build autoreconf -fiv %if %suse_version >= 1020 export LDFLAGS="`pkg-config --libs glib-2.0` `pkg-config --libs gthread-2.0`" %endif %configure # don't pass -j, causes random build failures %__make %install %__make install_prefix="%{buildroot}" install %if %suse_version < 930 %__strip \ "%{buildroot}%{_bindir}"/* \ "%{buildroot}%{_libdir}"/lib*.so.* \ 2>/dev/null || : %endif %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc CHANGES LICENSE README TODO %config(noreplace) %{_sysconfdir}/dnsspoof.hosts %config(noreplace) %{_sysconfdir}/dsniff.magic %config(noreplace) %{_sysconfdir}/dsniff.services %{_sbindir}/arpspoof %{_sbindir}/dnsspoof %{_sbindir}/dsniff %{_sbindir}/filesnarf %{_sbindir}/macof %{_sbindir}/mailsnarf %{_sbindir}/msgsnarf %{_sbindir}/sshmitm %{_sbindir}/sshow %{_sbindir}/tcpkill %{_sbindir}/tcpnice %{_sbindir}/urlsnarf %{_sbindir}/webmitm %{_sbindir}/webspy %doc %{_mandir}/man8/arpspoof.8* %doc %{_mandir}/man8/dnsspoof.8* %doc %{_mandir}/man8/dsniff.8* %doc %{_mandir}/man8/filesnarf.8* %doc %{_mandir}/man8/macof.8* %doc %{_mandir}/man8/mailsnarf.8* %doc %{_mandir}/man8/msgsnarf.8* %doc %{_mandir}/man8/sshmitm.8* %doc %{_mandir}/man8/sshow.8* %doc %{_mandir}/man8/tcpkill.8* %doc %{_mandir}/man8/tcpnice.8* %doc %{_mandir}/man8/urlsnarf.8* %doc %{_mandir}/man8/webmitm.8* %doc %{_mandir}/man8/webspy.8* %changelog * Mon Nov 13 2006 Pascal Bleser <guru@unixtech.be> 2.4_0.1-3 - added linking glib2 to fix build on 10.2 * Wed Sep 27 2006 Pascal Bleser <guru@unixtech.be> 2.4_0.1-2 - rewrote spec file, x86_64 and SUSE 10.1 builds * Wed Nov 2 2005 Pascal Bleser <guru@unixtech.be> 2.3-2 - ported Debian patches, compiles against libnet 1.1.x * Tue Nov 1 2005 Pascal Bleser <guru@unixtech.be> 2.3-1 - new package # Local Variables: # mode: rpm-spec # tab-width: 3 # End:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor