]> git.pld-linux.org Git - packages/dsniff.git/blob - dsniff.spec
- rel 32
[packages/dsniff.git] / dsniff.spec
1 # TODO
2 # - make R: firefox something generic (it uses X11 and remote.c to find
3 #   browser window to send openURL(%s, %s) command there)
4 %define         rel     32
5 Summary:        Network audit tools
6 Summary(pl.UTF-8):      Narzędzia do kontroli sieci
7 Name:           dsniff
8 Version:        2.4
9 Release:        0.b1.%{rel}
10 License:        BSD
11 Group:          Networking/Utilities
12 Source0:        http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz
13 # Source0-md5:  2f761fa3475682a7512b0b43568ee7d6
14 Patch0:         debian.patch
15 Patch1:         %{name}-libdir.patch
16 Patch2:         %{name}-nolibs.patch
17 Patch3:         pcap.patch
18 Patch4:         rpc.patch
19 # ggsniff 1.2 from http://ggsniff.sourceforge.net/
20 #Patch3:        %{name}-gg.patch
21 URL:            http://www.monkey.org/~dugsong/dsniff/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  cpp
25 BuildRequires:  db-devel
26 BuildRequires:  glibc-static
27 BuildRequires:  libnet-devel >= 1:1.1
28 BuildRequires:  libnids-devel
29 BuildRequires:  libnsl-devel
30 BuildRequires:  libpcap-devel
31 BuildRequires:  libtirpc-devel
32 BuildRequires:  openssl-devel >= 0.9.7d
33 BuildRequires:  rpcsvc-proto
34 BuildRequires:  rpm >= 4.4.9-56
35 BuildRequires:  xorg-lib-libX11-devel
36 BuildRequires:  xorg-lib-libXmu-devel
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Tools to audit network and to demonstrate the insecurity of cleartext
41 network protocols. Please do not abuse this software.
42
43 %description -l pl.UTF-8
44 Narzędzia do kontroli sieci oraz demonstracji braku zabezpieczeń w
45 nieszyfrowanych protokołach sieciowych. Proszę nie nadużywać tego
46 oprogramowania.
47
48 %package webspy
49 Summary:        Network audit tools
50 Summary(pl.UTF-8):      Narzędzia do kontroli sieci
51 Group:          Networking/Utilities
52 Requires:       %{name} = %{version}-%{release}
53 Requires:       firefox
54
55 %description webspy
56 webspy sends URLs sniffed from a client to your local Firefox browser
57 for display, updated in real-time (as the target surfs, your browser
58 surfs along with them, automagically). Firefox must be running on your
59 local X display ahead of time.
60
61 %description webspy -l pl.UTF-8
62 webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie
63 uruchomionej przeglądarce Firefox. Adresy są uaktualniane na bieżąco
64 (a więc przegląda się strony równolegle z podsłuchiwanym). Firefox
65 musi być wcześniej uruchomiony na lokalnym serwerze X.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71 %patch2 -p1
72 %patch3 -p1
73 %patch4 -p1
74
75 %{__rm} configure
76
77 %build
78 %{__aclocal}
79 %{__autoconf}
80 %{__autoheader}
81 %configure \
82         --libdir=%{_datadir}/%{name}
83
84 # don't build libmissing.a with progs in parallel 
85 %{__make} libmissing.a
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         install_prefix=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc CHANGES LICENSE README TODO
100 %attr(755,root,root) %{_sbindir}/arpspoof
101 %attr(755,root,root) %{_sbindir}/dnsspoof
102 %attr(755,root,root) %{_sbindir}/dsniff
103 %attr(755,root,root) %{_sbindir}/filesnarf
104 %attr(755,root,root) %{_sbindir}/macof
105 %attr(755,root,root) %{_sbindir}/mailsnarf
106 %attr(755,root,root) %{_sbindir}/msgsnarf
107 %attr(755,root,root) %{_sbindir}/sshmitm
108 %attr(755,root,root) %{_sbindir}/sshow
109 %attr(755,root,root) %{_sbindir}/tcpkill
110 %attr(755,root,root) %{_sbindir}/tcpnice
111 %attr(755,root,root) %{_sbindir}/urlsnarf
112 %attr(755,root,root) %{_sbindir}/webmitm
113 %{_datadir}/%{name}
114 %{_mandir}/man8/arpspoof.8*
115 %{_mandir}/man8/dnsspoof.8*
116 %{_mandir}/man8/dsniff.8*
117 %{_mandir}/man8/filesnarf.8*
118 %{_mandir}/man8/macof.8*
119 %{_mandir}/man8/mailsnarf.8*
120 %{_mandir}/man8/msgsnarf.8*
121 %{_mandir}/man8/sshmitm.8*
122 %{_mandir}/man8/sshow.8*
123 %{_mandir}/man8/tcpkill.8*
124 %{_mandir}/man8/tcpnice.8*
125 %{_mandir}/man8/urlsnarf.8*
126 %{_mandir}/man8/webmitm.8*
127
128 %files webspy
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_sbindir}/webspy
131 %{_mandir}/man8/webspy.8*
This page took 0.118041 seconds and 4 git commands to generate.