]>
Commit | Line | Data |
---|---|---|
43e1ee86 | 1 | %define rel 11 |
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 |
1cf7c624 | 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 |
f04debea ER |
15 | # ggsniff 1.2 from http://ggsniff.sourceforge.net/ |
16 | #Patch3: %{name}-gg.patch | |
e6f9ad80 | 17 | URL: http://www.monkey.org/~dugsong/dsniff/ |
cf7f79f5 JB |
18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
1cf7c624 | 20 | BuildRequires: cpp |
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 | |
f04debea ER |
27 | BuildRequires: rpm >= 4.4.9-56 |
28 | %if "%{pld_release}" == "ac" | |
29 | BuildRequires: XFree86-devel | |
30 | %else | |
31 | BuildRequires: xorg-lib-libX11-devel | |
32 | %endif | |
d6e5b605 JR |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
36 | Tools to audit network and to demonstrate the insecurity of cleartext | |
65dbf8d6 AM |
37 | network protocols. Please do not abuse this software. |
38 | ||
a40dc757 JR |
39 | %description -l pl.UTF-8 |
40 | Narzędzia do kontroli sieci oraz demonstracji braku zabezpieczeń w | |
41 | nieszyfrowanych protokołach sieciowych. Proszę nie nadużywać tego | |
65dbf8d6 | 42 | oprogramowania. |
d6e5b605 | 43 | |
c71d8236 | 44 | %package webspy |
27fab33b | 45 | Summary: Network audit tools |
7c58a10d | 46 | Summary(pl.UTF-8): Narzędzia do kontroli sieci |
c71d8236 | 47 | Group: Networking/Utilities |
48c59cf7 | 48 | Requires: %{name} = %{version}-%{release} |
9e045553 | 49 | Requires: mozilla-firefox |
c71d8236 JR |
50 | |
51 | %description webspy | |
c95ba9d9 | 52 | webspy sends URLs sniffed from a client to your local Mozilla browser |
098777e8 | 53 | for display, updated in real-time (as the target surfs, your browser |
f04debea ER |
54 | surfs along with them, automagically). Mozilla must be running on your |
55 | local X display ahead of time. | |
c71d8236 | 56 | |
a40dc757 JR |
57 | %description webspy -l pl.UTF-8 |
58 | webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie | |
59 | uruchomionej przeglądarce Mozilla. Adresy są uaktualniane na bieżąco | |
60 | (a więc przegląda się strony równolegle z podsłuchiwanym). Mozilla | |
61 | musi być wcześniej uruchomiona na lokalnym serwerze X. | |
cdad4a29 | 62 | |
d6e5b605 JR |
63 | %prep |
64 | %setup -q | |
65dbf8d6 | 65 | %patch0 -p1 |
c71d8236 | 66 | %patch1 -p1 |
e14a129a | 67 | %patch2 -p1 |
42299605 | 68 | %patch3 -p1 |
d6e5b605 JR |
69 | |
70 | %build | |
49139d77 | 71 | %{__autoheader} |
72 | %{__aclocal} | |
6d7a0466 | 73 | %{__autoconf} |
27fab33b | 74 | CFLAGS="%{rpmcflags} -I./missing" |
d6e5b605 JR |
75 | %configure \ |
76 | --libdir=%{_datadir}/%{name} | |
79717841 | 77 | sed -i -e 's#-L/usr/lib64 # #g' -e 's#-L/usr/lib # #g' Makefile |
d6e5b605 JR |
78 | %{__make} |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | install_prefix=$RPM_BUILD_ROOT | |
85 | ||
d6e5b605 JR |
86 | %clean |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
0b06cff9 | 91 | %doc README* |
c71d8236 JR |
92 | %attr(755,root,root) %{_sbindir}/[a-u]* |
93 | %attr(755,root,root) %{_sbindir}/webmitm | |
9ec81c74 | 94 | %{_datadir}/%{name} |
c71d8236 JR |
95 | %{_mandir}/man8/[a-u]* |
96 | %{_mandir}/man8/webmitm* | |
97 | ||
98 | %files webspy | |
99 | %defattr(644,root,root,755) | |
100 | %attr(755,root,root) %{_sbindir}/webspy | |
101 | %{_mandir}/man8/webspy* |