X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dsniff.spec;h=ef3cc196d909b49b723f1d849e28500dd2a508f6;hb=b085a272b1ceafc25a6ed6c992f96d3bb05605b8;hp=f06be2634b4b260eb63946440da93c59d7a59bd2;hpb=48c59cf77b367ca92d6cade93c8de29eecea416e;p=packages%2Fdsniff.git diff --git a/dsniff.spec b/dsniff.spec index f06be26..ef3cc19 100644 --- a/dsniff.spec +++ b/dsniff.spec @@ -1,8 +1,12 @@ +# TODO +# - make R: mozilla-firefox something generic (it uses X11 and remote.c to find +# browser window to send openURL(%s, %s) command there) +%define rel 24 Summary: Network audit tools -Summary(pl): Narzêdzia do kontroli sieci +Summary(pl.UTF-8): Narzędzia do kontroli sieci Name: dsniff Version: 2.4 -Release: 0.b1.4 +Release: 0.b1.%{rel} License: BSD Group: Networking/Utilities Source0: http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz @@ -10,55 +14,66 @@ Source0: http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz Patch0: %{name}-ac.patch Patch1: %{name}-libnet1.patch Patch2: %{name}-clk_tck.patch -#ggsniff 1.2 from http://ggsniff.sourceforge.net/ -#Patch3: %{name}-gg.patch +Patch3: %{name}-openssl-0.9.8.patch +# ggsniff 1.2 from http://ggsniff.sourceforge.net/ +#Patch3: %{name}-gg.patch URL: http://www.monkey.org/~dugsong/dsniff/ -BuildRequires: XFree86-devel -BuildRequires: libpcap-devel -BuildRequires: libnids-devel -BuildRequires: libnet1-devel -BuildRequires: glibc-static -BuildRequires: openssl-devel >= 0.9.7d BuildRequires: autoconf BuildRequires: automake +BuildRequires: cpp BuildRequires: db-devel +BuildRequires: glibc-static +BuildRequires: libnet1-devel +BuildRequires: libnids-devel +BuildRequires: libpcap-devel +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: rpm >= 4.4.9-56 +%if "%{pld_release}" == "ac" +BuildRequires: XFree86-devel +%else +BuildRequires: xorg-lib-libX11-devel +BuildRequires: xorg-lib-libXmu-devel +%endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Tools to audit network and to demonstrate the insecurity of cleartext network protocols. Please do not abuse this software. -%description -l pl -Narzêdzia do kontroli sieci oraz demonstracji braku zabezpieczeñ w -nieszyfrowanych protoko³ach sieciowych. Proszê nie nadu¿ywaæ tego +%description -l pl.UTF-8 +Narzędzia do kontroli sieci oraz demonstracji braku zabezpieczeń w +nieszyfrowanych protokołach sieciowych. Proszę nie nadużywać tego oprogramowania. %package webspy Summary: Network audit tools -Summary(pl): Narzêdzia do kontroli sieci +Summary(pl.UTF-8): Narzędzia do kontroli sieci Group: Networking/Utilities Requires: %{name} = %{version}-%{release} -Requires: mozilla +%if "%{pld_release}" == "ac" +Requires: mozilla-firefox +%else +Requires: iceweasel +%endif %description webspy -webspy sends URLs sniffed from a client to your local Netscape browser +webspy sends URLs sniffed from a client to your local Mozilla browser for display, updated in real-time (as the target surfs, your browser -surfs along with them, automagically). Netscape must be running on -your local X display ahead of time. +surfs along with them, automagically). Mozilla must be running on your +local X display ahead of time. -%description webspy -l pl -webspy przesy³a pods³uchane URLe do wy¶wietlenia w lokalnie -uruchomionej przegl±darce Netscape Navigator. Adresy s± uaktualniane -na bie¿±co (a wiêc przegl±dasz strony równolegle z pods³uchiwanym). -Netscape musi byæ wcze¶niej uruchomiony na lokalnym serwerze X. +%description webspy -l pl.UTF-8 +webspy przesyła podsłuchane URL-e do wyświetlenia w lokalnie +uruchomionej przeglądarce Mozilla. Adresy są uaktualniane na bieżąco +(a więc przegląda się strony równolegle z podsłuchiwanym). Mozilla +musi być wcześniej uruchomiona na lokalnym serwerze X. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 -# no gg patch for this version -#%patch3 -p1 +%patch3 -p1 %build %{__autoheader} @@ -67,7 +82,8 @@ Netscape musi by CFLAGS="%{rpmcflags} -I./missing" %configure \ --libdir=%{_datadir}/%{name} -%{__make} +sed -i -e 's#-L/usr/lib64 # #g' -e 's#-L/usr/lib # #g' Makefile +%{__make} libmissing.a all %install rm -rf $RPM_BUILD_ROOT