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