]> git.pld-linux.org Git - packages/dsniff.git/blame - dsniff.spec
- release 11
[packages/dsniff.git] / dsniff.spec
CommitLineData
43e1ee86 1%define rel 11
cf7f79f5 2Summary: Network audit tools
7c58a10d 3Summary(pl.UTF-8): Narzędzia do kontroli sieci
d6e5b605 4Name: dsniff
88cb443f 5Version: 2.4
1cf7c624 6Release: 0.b1.%{rel}
d6e5b605
JR
7License: BSD
8Group: Networking/Utilities
48c59cf7 9Source0: http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz
88cb443f
AM
10# Source0-md5: 2f761fa3475682a7512b0b43568ee7d6
11Patch0: %{name}-ac.patch
12Patch1: %{name}-libnet1.patch
13Patch2: %{name}-clk_tck.patch
42299605 14Patch3: %{name}-openssl-0.9.8.patch
f04debea
ER
15# ggsniff 1.2 from http://ggsniff.sourceforge.net/
16#Patch3: %{name}-gg.patch
e6f9ad80 17URL: http://www.monkey.org/~dugsong/dsniff/
cf7f79f5
JB
18BuildRequires: autoconf
19BuildRequires: automake
1cf7c624 20BuildRequires: cpp
8a393a6f 21BuildRequires: db-devel
c95ba9d9
JB
22BuildRequires: glibc-static
23BuildRequires: libnet1-devel
24BuildRequires: libnids-devel
25BuildRequires: libpcap-devel
26BuildRequires: openssl-devel >= 0.9.7d
f04debea
ER
27BuildRequires: rpm >= 4.4.9-56
28%if "%{pld_release}" == "ac"
29BuildRequires: XFree86-devel
30%else
31BuildRequires: xorg-lib-libX11-devel
32%endif
d6e5b605
JR
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Tools to audit network and to demonstrate the insecurity of cleartext
65dbf8d6
AM
37network protocols. Please do not abuse this software.
38
a40dc757
JR
39%description -l pl.UTF-8
40Narzędzia do kontroli sieci oraz demonstracji braku zabezpieczeń w
41nieszyfrowanych protokołach sieciowych. Proszę nie nadużywać tego
65dbf8d6 42oprogramowania.
d6e5b605 43
c71d8236 44%package webspy
27fab33b 45Summary: Network audit tools
7c58a10d 46Summary(pl.UTF-8): Narzędzia do kontroli sieci
c71d8236 47Group: Networking/Utilities
48c59cf7 48Requires: %{name} = %{version}-%{release}
9e045553 49Requires: mozilla-firefox
c71d8236
JR
50
51%description webspy
c95ba9d9 52webspy sends URLs sniffed from a client to your local Mozilla browser
098777e8 53for display, updated in real-time (as the target surfs, your browser
f04debea
ER
54surfs along with them, automagically). Mozilla must be running on your
55local X display ahead of time.
c71d8236 56
a40dc757
JR
57%description webspy -l pl.UTF-8
58webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie
59uruchomionej przeglądarce Mozilla. Adresy są uaktualniane na bieżąco
60(a więc przegląda się strony równolegle z podsłuchiwanym). Mozilla
61musi być wcześniej uruchomiona na lokalnym serwerze X.
cdad4a29 62
d6e5b605
JR
63%prep
64%setup -q
65dbf8d6 65%patch0 -p1
c71d8236 66%patch1 -p1
e14a129a 67%patch2 -p1
42299605 68%patch3 -p1
d6e5b605
JR
69
70%build
49139d77 71%{__autoheader}
72%{__aclocal}
6d7a0466 73%{__autoconf}
27fab33b 74CFLAGS="%{rpmcflags} -I./missing"
d6e5b605
JR
75%configure \
76 --libdir=%{_datadir}/%{name}
79717841 77sed -i -e 's#-L/usr/lib64 # #g' -e 's#-L/usr/lib # #g' Makefile
d6e5b605
JR
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
84 install_prefix=$RPM_BUILD_ROOT
85
d6e5b605
JR
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%files
90%defattr(644,root,root,755)
0b06cff9 91%doc README*
c71d8236
JR
92%attr(755,root,root) %{_sbindir}/[a-u]*
93%attr(755,root,root) %{_sbindir}/webmitm
9ec81c74 94%{_datadir}/%{name}
c71d8236
JR
95%{_mandir}/man8/[a-u]*
96%{_mandir}/man8/webmitm*
97
98%files webspy
99%defattr(644,root,root,755)
100%attr(755,root,root) %{_sbindir}/webspy
101%{_mandir}/man8/webspy*
This page took 0.082074 seconds and 4 git commands to generate.