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