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