]>
Commit | Line | Data |
---|---|---|
db798fbe | 1 | %define _rel 7 |
cf7f79f5 | 2 | Summary: Network audit tools |
7c58a10d | 3 | Summary(pl.UTF-8): Narzędzia do kontroli sieci |
d6e5b605 | 4 | Name: dsniff |
88cb443f | 5 | Version: 2.4 |
db798fbe | 6 | Release: 0.b1.%{_rel} |
d6e5b605 JR |
7 | License: BSD |
8 | Group: Networking/Utilities | |
48c59cf7 | 9 | Source0: http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz |
88cb443f AM |
10 | # Source0-md5: 2f761fa3475682a7512b0b43568ee7d6 |
11 | Patch0: %{name}-ac.patch | |
12 | Patch1: %{name}-libnet1.patch | |
13 | Patch2: %{name}-clk_tck.patch | |
42299605 | 14 | Patch3: %{name}-openssl-0.9.8.patch |
756f198e | 15 | #ggsniff 1.2 from http://ggsniff.sourceforge.net/ |
88cb443f | 16 | #Patch3: %{name}-gg.patch |
e6f9ad80 | 17 | URL: http://www.monkey.org/~dugsong/dsniff/ |
4831e7ae | 18 | BuildRequires: xorg-lib-libX11-devel |
cf7f79f5 JB |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
8a393a6f | 21 | BuildRequires: db-devel |
c95ba9d9 JB |
22 | BuildRequires: glibc-static |
23 | BuildRequires: libnet1-devel | |
24 | BuildRequires: libnids-devel | |
25 | BuildRequires: libpcap-devel | |
26 | BuildRequires: openssl-devel >= 0.9.7d | |
d6e5b605 JR |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Tools to audit network and to demonstrate the insecurity of cleartext | |
65dbf8d6 AM |
31 | network protocols. Please do not abuse this software. |
32 | ||
a40dc757 JR |
33 | %description -l pl.UTF-8 |
34 | Narzędzia do kontroli sieci oraz demonstracji braku zabezpieczeń w | |
35 | nieszyfrowanych protokołach sieciowych. Proszę nie nadużywać tego | |
65dbf8d6 | 36 | oprogramowania. |
d6e5b605 | 37 | |
c71d8236 | 38 | %package webspy |
27fab33b | 39 | Summary: Network audit tools |
7c58a10d | 40 | Summary(pl.UTF-8): Narzędzia do kontroli sieci |
c71d8236 | 41 | Group: Networking/Utilities |
48c59cf7 | 42 | Requires: %{name} = %{version}-%{release} |
9e045553 | 43 | Requires: mozilla-firefox |
c71d8236 JR |
44 | |
45 | %description webspy | |
c95ba9d9 | 46 | webspy sends URLs sniffed from a client to your local Mozilla browser |
098777e8 | 47 | for display, updated in real-time (as the target surfs, your browser |
c95ba9d9 | 48 | surfs along with them, automagically). Mozilla must be running on |
098777e8 | 49 | your local X display ahead of time. |
c71d8236 | 50 | |
a40dc757 JR |
51 | %description webspy -l pl.UTF-8 |
52 | webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie | |
53 | uruchomionej przeglądarce Mozilla. Adresy są uaktualniane na bieżąco | |
54 | (a więc przegląda się strony równolegle z podsłuchiwanym). Mozilla | |
55 | musi być wcześniej uruchomiona na lokalnym serwerze X. | |
cdad4a29 | 56 | |
d6e5b605 JR |
57 | %prep |
58 | %setup -q | |
65dbf8d6 | 59 | %patch0 -p1 |
c71d8236 | 60 | %patch1 -p1 |
e14a129a | 61 | %patch2 -p1 |
42299605 | 62 | %patch3 -p1 |
d6e5b605 JR |
63 | |
64 | %build | |
49139d77 | 65 | %{__autoheader} |
66 | %{__aclocal} | |
6d7a0466 | 67 | %{__autoconf} |
27fab33b | 68 | CFLAGS="%{rpmcflags} -I./missing" |
d6e5b605 JR |
69 | %configure \ |
70 | --libdir=%{_datadir}/%{name} | |
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | install_prefix=$RPM_BUILD_ROOT | |
78 | ||
d6e5b605 JR |
79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
0b06cff9 | 84 | %doc README* |
c71d8236 JR |
85 | %attr(755,root,root) %{_sbindir}/[a-u]* |
86 | %attr(755,root,root) %{_sbindir}/webmitm | |
9ec81c74 | 87 | %{_datadir}/%{name} |
c71d8236 JR |
88 | %{_mandir}/man8/[a-u]* |
89 | %{_mandir}/man8/webmitm* | |
90 | ||
91 | %files webspy | |
92 | %defattr(644,root,root,755) | |
93 | %attr(755,root,root) %{_sbindir}/webspy | |
94 | %{_mandir}/man8/webspy* |