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