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