]> git.pld-linux.org Git - packages/dsniff.git/blob - dsniff.spec
9c55d15daf727e7d1507faf3ae7cc001e61d44e3
[packages/dsniff.git] / dsniff.spec
1 %define         _rel    7
2 Summary:        Network audit tools
3 Summary(pl.UTF-8):      Narzędzia do kontroli sieci
4 Name:           dsniff
5 Version:        2.4
6 Release:        0.b1.%{_rel}
7 License:        BSD
8 Group:          Networking/Utilities
9 Source0:        http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz
10 # Source0-md5:  2f761fa3475682a7512b0b43568ee7d6
11 Patch0:         %{name}-ac.patch
12 Patch1:         %{name}-libnet1.patch
13 Patch2:         %{name}-clk_tck.patch
14 Patch3:         %{name}-openssl-0.9.8.patch
15 #ggsniff 1.2 from http://ggsniff.sourceforge.net/
16 #Patch3:                %{name}-gg.patch
17 URL:            http://www.monkey.org/~dugsong/dsniff/
18 BuildRequires:  xorg-lib-libX11-devel
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  db-devel
22 BuildRequires:  glibc-static
23 BuildRequires:  libnet1-devel
24 BuildRequires:  libnids-devel
25 BuildRequires:  libpcap-devel
26 BuildRequires:  openssl-devel >= 0.9.7d
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Tools to audit network and to demonstrate the insecurity of cleartext
31 network protocols. Please do not abuse this software.
32
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
36 oprogramowania.
37
38 %package webspy
39 Summary:        Network audit tools
40 Summary(pl.UTF-8):      Narzędzia do kontroli sieci
41 Group:          Networking/Utilities
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       mozilla-firefox
44
45 %description webspy
46 webspy sends URLs sniffed from a client to your local Mozilla browser
47 for display, updated in real-time (as the target surfs, your browser
48 surfs along with them, automagically). Mozilla must be running on
49 your local X display ahead of time.
50
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.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61 %patch2 -p1
62 %patch3 -p1
63
64 %build
65 %{__autoheader}
66 %{__aclocal}
67 %{__autoconf}
68 CFLAGS="%{rpmcflags} -I./missing"
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
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc README*
85 %attr(755,root,root) %{_sbindir}/[a-u]*
86 %attr(755,root,root) %{_sbindir}/webmitm
87 %{_datadir}/%{name}
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*
This page took 0.075177 seconds and 3 git commands to generate.