]> git.pld-linux.org Git - packages/dsniff.git/blob - dsniff.spec
8d4393b9e030fe15b248c5ba92075969c0169a1c
[packages/dsniff.git] / dsniff.spec
1 Summary:        Network audit tools
2 Summary(pl):    Narzêdzia do kontroli sieci
3 Name:           dsniff
4 Version:        2.3
5 Release:        8
6 License:        BSD
7 Group:          Networking/Utilities
8 Source0:        http://www.monkey.org/~dugsong/%{name}/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-slist.patch
10 Patch1:         %{name}-headers.patch
11 Patch2:         %{name}-ac.patch
12 #ggsniff 1.2 from http://ggsniff.sourceforge.net/
13 Patch3:         %{name}-gg.patch
14 URL:            http://www.monkey.org/~dugsong/
15 BuildRequires:  XFree86-devel
16 BuildRequires:  libpcap-devel
17 BuildRequires:  libnids-devel
18 BuildRequires:  libnet-devel
19 BuildRequires:  glibc-static
20 BuildRequires:  openssl-devel >= 0.9.7a
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  db-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Tools to audit network and to demonstrate the insecurity of cleartext
28 network protocols. Please do not abuse this software.
29
30 %description -l pl
31 Narzêdzia do kontroli sieci oraz demonstracji braku zabezpieczeñ w
32 nieszyfrowanych protoko³ach sieciowych. Proszê nie nadu¿ywaæ tego
33 oprogramowania.
34
35 %package webspy
36 Summary:        Network audit tools
37 Summary(pl):    Narzêdzia do kontroli sieci
38 Group:          Networking/Utilities
39 Requires:       %{name} = %{version}
40 Requires:       netscape-navigator
41
42 %description webspy
43 webspy sends URLs sniffed from a client to your local Netscape browser
44 for display, updated in real-time (as the target surfs, your browser
45 surfs along with them, automagically). Netscape must be running on
46 your local X display ahead of time.
47
48 %description webspy -l pl
49 webspy przesy³a pods³uchane URLe do wy¶wietlenia w lokalnie
50 uruchomionej przegl±darce Netscape Navigator. Adresy s± uaktualniane
51 na bie¿±co (a wiêc przegl±dasz strony równolegle z pods³uchiwanym).
52 Netscape musi byæ wcze¶niej uruchomiony na lokalnym serwerze X.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58 %patch2 -p1
59 %patch3 -p1
60
61 %build
62 %{__autoheader}
63 %{__aclocal}
64 %{__autoconf}
65 CFLAGS="%{rpmcflags} -I./missing"
66 %configure \
67         --libdir=%{_datadir}/%{name}
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         install_prefix=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc README*
82 %attr(755,root,root) %{_sbindir}/[a-u]*
83 %attr(755,root,root) %{_sbindir}/webmitm
84 %{_datadir}/%{name}
85 %{_mandir}/man8/[a-u]*
86 %{_mandir}/man8/webmitm*
87
88 %files webspy
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_sbindir}/webspy
91 %{_mandir}/man8/webspy*
This page took 0.638331 seconds and 2 git commands to generate.