]> git.pld-linux.org Git - packages/dsniff.git/blame - dsniff.spec
- rel 32
[packages/dsniff.git] / dsniff.spec
CommitLineData
8d232c72 1# TODO
96e20b55 2# - make R: firefox something generic (it uses X11 and remote.c to find
8d232c72 3# browser window to send openURL(%s, %s) command there)
a379e52b 4%define rel 32
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 13# Source0-md5: 2f761fa3475682a7512b0b43568ee7d6
4d361a0b 14Patch0: debian.patch
96e20b55
JB
15Patch1: %{name}-libdir.patch
16Patch2: %{name}-nolibs.patch
6cb165c3
JR
17Patch3: pcap.patch
18Patch4: rpc.patch
f04debea
ER
19# ggsniff 1.2 from http://ggsniff.sourceforge.net/
20#Patch3: %{name}-gg.patch
e6f9ad80 21URL: http://www.monkey.org/~dugsong/dsniff/
cf7f79f5
JB
22BuildRequires: autoconf
23BuildRequires: automake
1cf7c624 24BuildRequires: cpp
8a393a6f 25BuildRequires: db-devel
c95ba9d9 26BuildRequires: glibc-static
96e20b55 27BuildRequires: libnet-devel >= 1:1.1
c95ba9d9 28BuildRequires: libnids-devel
da0c787d 29BuildRequires: libnsl-devel
c95ba9d9 30BuildRequires: libpcap-devel
6cb165c3 31BuildRequires: libtirpc-devel
c95ba9d9 32BuildRequires: openssl-devel >= 0.9.7d
da0c787d 33BuildRequires: rpcsvc-proto
f04debea 34BuildRequires: rpm >= 4.4.9-56
f04debea 35BuildRequires: xorg-lib-libX11-devel
1e8b50c3 36BuildRequires: xorg-lib-libXmu-devel
d6e5b605
JR
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40Tools to audit network and to demonstrate the insecurity of cleartext
65dbf8d6
AM
41network protocols. Please do not abuse this software.
42
a40dc757
JR
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
65dbf8d6 46oprogramowania.
d6e5b605 47
c71d8236 48%package webspy
27fab33b 49Summary: Network audit tools
7c58a10d 50Summary(pl.UTF-8): Narzędzia do kontroli sieci
c71d8236 51Group: Networking/Utilities
48c59cf7 52Requires: %{name} = %{version}-%{release}
a9283082 53Requires: firefox
c71d8236
JR
54
55%description webspy
96e20b55 56webspy sends URLs sniffed from a client to your local Firefox browser
098777e8 57for display, updated in real-time (as the target surfs, your browser
96e20b55 58surfs along with them, automagically). Firefox must be running on your
f04debea 59local X display ahead of time.
c71d8236 60
a40dc757
JR
61%description webspy -l pl.UTF-8
62webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie
96e20b55
JB
63uruchomionej przeglądarce Firefox. Adresy są uaktualniane na bieżąco
64(a więc przegląda się strony równolegle z podsłuchiwanym). Firefox
65musi być wcześniej uruchomiony na lokalnym serwerze X.
cdad4a29 66
d6e5b605
JR
67%prep
68%setup -q
65dbf8d6 69%patch0 -p1
96e20b55
JB
70%patch1 -p1
71%patch2 -p1
6cb165c3
JR
72%patch3 -p1
73%patch4 -p1
96e20b55
JB
74
75%{__rm} configure
d6e5b605
JR
76
77%build
49139d77 78%{__aclocal}
6d7a0466 79%{__autoconf}
96e20b55 80%{__autoheader}
d6e5b605
JR
81%configure \
82 --libdir=%{_datadir}/%{name}
441375c3 83
96e20b55
JB
84# don't build libmissing.a with progs in parallel
85%{__make} libmissing.a
86%{__make}
d6e5b605
JR
87
88%install
89rm -rf $RPM_BUILD_ROOT
90
91%{__make} install \
92 install_prefix=$RPM_BUILD_ROOT
93
d6e5b605
JR
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%files
98%defattr(644,root,root,755)
96e20b55
JB
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
c71d8236 112%attr(755,root,root) %{_sbindir}/webmitm
9ec81c74 113%{_datadir}/%{name}
96e20b55
JB
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*
c71d8236
JR
127
128%files webspy
129%defattr(644,root,root,755)
130%attr(755,root,root) %{_sbindir}/webspy
96e20b55 131%{_mandir}/man8/webspy.8*
This page took 0.135154 seconds and 4 git commands to generate.