]> git.pld-linux.org Git - packages/dsniff.git/blob - dsniff.spec
- fix conflicts with libpcap
[packages/dsniff.git] / dsniff.spec
1 # TODO
2 # - make R: firefox something generic (it uses X11 and remote.c to find
3 #   browser window to send openURL(%s, %s) command there)
4 %define         rel     30
5 Summary:        Network audit tools
6 Summary(pl.UTF-8):      Narzędzia do kontroli sieci
7 Name:           dsniff
8 Version:        2.4
9 Release:        0.b1.%{rel}
10 License:        BSD
11 Group:          Networking/Utilities
12 Source0:        http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz
13 # Source0-md5:  2f761fa3475682a7512b0b43568ee7d6
14 Patch0:         debian.patch
15 Patch1:         %{name}-libdir.patch
16 Patch2:         %{name}-nolibs.patch
17 Patch3:         pcap.patch
18 Patch4:         rpc.patch
19 # ggsniff 1.2 from http://ggsniff.sourceforge.net/
20 #Patch3:        %{name}-gg.patch
21 URL:            http://www.monkey.org/~dugsong/dsniff/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  cpp
25 BuildRequires:  db-devel
26 BuildRequires:  glibc-static
27 BuildRequires:  libnet-devel >= 1:1.1
28 BuildRequires:  libnids-devel
29 BuildRequires:  libpcap-devel
30 BuildRequires:  libtirpc-devel
31 BuildRequires:  openssl-devel >= 0.9.7d
32 BuildRequires:  rpm >= 4.4.9-56
33 BuildRequires:  xorg-lib-libX11-devel
34 BuildRequires:  xorg-lib-libXmu-devel
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Tools to audit network and to demonstrate the insecurity of cleartext
39 network protocols. Please do not abuse this software.
40
41 %description -l pl.UTF-8
42 Narzędzia do kontroli sieci oraz demonstracji braku zabezpieczeń w
43 nieszyfrowanych protokołach sieciowych. Proszę nie nadużywać tego
44 oprogramowania.
45
46 %package webspy
47 Summary:        Network audit tools
48 Summary(pl.UTF-8):      Narzędzia do kontroli sieci
49 Group:          Networking/Utilities
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       firefox
52
53 %description webspy
54 webspy sends URLs sniffed from a client to your local Firefox browser
55 for display, updated in real-time (as the target surfs, your browser
56 surfs along with them, automagically). Firefox must be running on your
57 local X display ahead of time.
58
59 %description webspy -l pl.UTF-8
60 webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie
61 uruchomionej przeglądarce Firefox. Adresy są uaktualniane na bieżąco
62 (a więc przegląda się strony równolegle z podsłuchiwanym). Firefox
63 musi być wcześniej uruchomiony na lokalnym serwerze X.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68 %patch1 -p1
69 %patch2 -p1
70 %patch3 -p1
71 %patch4 -p1
72
73 %{__rm} configure
74
75 %build
76 %{__aclocal}
77 %{__autoconf}
78 %{__autoheader}
79 %configure \
80         --libdir=%{_datadir}/%{name}
81
82 # don't build libmissing.a with progs in parallel 
83 %{__make} libmissing.a
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         install_prefix=$RPM_BUILD_ROOT
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files
96 %defattr(644,root,root,755)
97 %doc CHANGES LICENSE README TODO
98 %attr(755,root,root) %{_sbindir}/arpspoof
99 %attr(755,root,root) %{_sbindir}/dnsspoof
100 %attr(755,root,root) %{_sbindir}/dsniff
101 %attr(755,root,root) %{_sbindir}/filesnarf
102 %attr(755,root,root) %{_sbindir}/macof
103 %attr(755,root,root) %{_sbindir}/mailsnarf
104 %attr(755,root,root) %{_sbindir}/msgsnarf
105 %attr(755,root,root) %{_sbindir}/sshmitm
106 %attr(755,root,root) %{_sbindir}/sshow
107 %attr(755,root,root) %{_sbindir}/tcpkill
108 %attr(755,root,root) %{_sbindir}/tcpnice
109 %attr(755,root,root) %{_sbindir}/urlsnarf
110 %attr(755,root,root) %{_sbindir}/webmitm
111 %{_datadir}/%{name}
112 %{_mandir}/man8/arpspoof.8*
113 %{_mandir}/man8/dnsspoof.8*
114 %{_mandir}/man8/dsniff.8*
115 %{_mandir}/man8/filesnarf.8*
116 %{_mandir}/man8/macof.8*
117 %{_mandir}/man8/mailsnarf.8*
118 %{_mandir}/man8/msgsnarf.8*
119 %{_mandir}/man8/sshmitm.8*
120 %{_mandir}/man8/sshow.8*
121 %{_mandir}/man8/tcpkill.8*
122 %{_mandir}/man8/tcpnice.8*
123 %{_mandir}/man8/urlsnarf.8*
124 %{_mandir}/man8/webmitm.8*
125
126 %files webspy
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_sbindir}/webspy
129 %{_mandir}/man8/webspy.8*
This page took 0.11615 seconds and 4 git commands to generate.