]> git.pld-linux.org Git - packages/dsniff.git/blob - dsniff.spec
bbbe7552a825b7a158df861066707f0d95455ad8
[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:        9
6 License:        BSD
7 Group:          Networking/Utilities
8 Source0:        http://www.monkey.org/~dugsong/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  183e336a45e38013f3af840bddec44b4
10 Patch0:         %{name}-slist.patch
11 Patch1:         %{name}-headers.patch
12 Patch2:         %{name}-ac.patch
13 #ggsniff 1.2 from http://ggsniff.sourceforge.net/
14 Patch3:         %{name}-gg.patch
15 Patch4:         %{name}-libnet1.patch
16 URL:            http://www.monkey.org/~dugsong/
17 BuildRequires:  XFree86-devel
18 BuildRequires:  libpcap-devel
19 BuildRequires:  libnids-devel
20 BuildRequires:  libnet1-devel
21 BuildRequires:  glibc-static
22 BuildRequires:  openssl-devel >= 0.9.7ca
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  db-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Tools to audit network and to demonstrate the insecurity of cleartext
30 network protocols. Please do not abuse this software.
31
32 %description -l pl
33 Narzêdzia do kontroli sieci oraz demonstracji braku zabezpieczeñ w
34 nieszyfrowanych protoko³ach sieciowych. Proszê nie nadu¿ywaæ tego
35 oprogramowania.
36
37 %package webspy
38 Summary:        Network audit tools
39 Summary(pl):    Narzêdzia do kontroli sieci
40 Group:          Networking/Utilities
41 Requires:       %{name} = %{version}
42 Requires:       netscape-navigator
43
44 %description webspy
45 webspy sends URLs sniffed from a client to your local Netscape browser
46 for display, updated in real-time (as the target surfs, your browser
47 surfs along with them, automagically). Netscape must be running on
48 your local X display ahead of time.
49
50 %description webspy -l pl
51 webspy przesy³a pods³uchane URLe do wy¶wietlenia w lokalnie
52 uruchomionej przegl±darce Netscape Navigator. Adresy s± uaktualniane
53 na bie¿±co (a wiêc przegl±dasz strony równolegle z pods³uchiwanym).
54 Netscape musi byæ wcze¶niej uruchomiony na lokalnym serwerze X.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60 %patch2 -p1
61 %patch3 -p1
62 %patch4 -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.110946 seconds and 3 git commands to generate.