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