download dsniff-build.patch
Language: NonCode
LOC: 0
Project Info
Pingwinek GNU/Linux(pingwinek)
Server: Gna!
Type: cvs
...ingwinek\pingwinek\patches\
   a2ps-gcc34.patch
   acpid-build.patch
   adns-destdir.patch
   anacron-build.patch
   antlr-box.patch
   apache-ant-antd.patch
   apache-ant-home.diff
   apache-ant-javah.patch
   ardour-build.patch
   atol-paths.patch
   aurora-library-build.patch
   aurora-panel-bugs.patch
   autogen-build.patch
   avidemux-build.patch
   backstep-build.patch
   barrage-desktop.patch
   ...command-not-found.patch
   bash-paths.diff
   bash-trap.patch
   binutils-fix.patch
   blam-build.patch
   blender-build.patch
   bluefish-desktop.diff
   bmp-wma-build.patch
   bonddb-build.patch
   boost-atomicity.patch
   bsd-finger-build.patch
   bsdiff-build.patch
   bzip2-makefile.diff
   cdemu-latest-kernel.patch
   cdparanoia-gcc34.patch
   childsplay-install.patch
   ...y-plugins-install.patch
   christine-shared.patch
   clanlib-build.patch
   compiz-build.patch
   confuse-shared.patch
   control-center-xkb.patch
   criawips-desktop.patch
   cuiterm-build.patch
   cups-ppdsdat.patch
   cvs-haiku-hacks.patch
   cvs-system-zlib.diff
   db-fhs.diff
   db-pthread.patch
   ...harp-glib-install.patch
   dctc-build.patch
   ...udio-player-paths.patch
   dhcdbd-build.patch
   ...ption_environment.patch
   ...ent-script-redhat.patch
   dhcp-fhs.diff
   dhcpcd-build.patch
   docbook-to-man-build.patch
   ...ook-utils-catalog.patch
   docbook-utils-elinks.patch
   dos2unix-fixes.patch
   drapes-build.patch
   drgeo-desktop.patch
   dsniff-build.patch
   dsniff-libnet11.patch
   eagle-usb-build.patch
   efax-gtk-desktop.patch
   efltk-build.patch
   eiciel-build.patch
   ekg2-build.patch
   emotion-build.patch
   entice-build.patch
   etcnet-config.patch
   evolution-gstreamer.patch
   ...rver__mmap_summary.diff
   faad-build.patch
   fam-build.diff
   fam-dnotify.diff
   fam-gcc34.patch
   fam-rpcsvc.diff
   fcron-destdir.patch
   festival-build.patch
   fftscope-gtk2.patch
   file-haiku-hacks.patch
   findutils-locate.patch
   firefox-lib-path.patch
   freewrl-build.patch
   g-wrap-build.patch
   gai-build.patch
   gammu-build.patch
   ganyremote-install.patch
   gazpacho-build.patch
   gcc-not-found.patch
   gcstar-install.patch
   gd-fontpath.patch
   gdb-system-readline.diff
   gdm-config.diff
   gexif-deprecated.patch
   gfilemanager-install.patch
   gg2-libnotify.patch
   ggseq-build.patch
   gimp-build.patch
   gimp-gcc4.patch
   git-gnu-install.patch
   glame-build.patch
   glib-haiku-hacks.patch
   glib1-build.patch
   glibc-localedata.diff
   glibrary-desktop.patch
   glom-gettext.patch
   glut-link.patch
   gnocky-bug.patch
   ...applets-gswitchit.patch
   ...e-menus-pingwinek.patch
   gnome-panel-config.patch
   ...ne-manager-pixmap.patch
   gnome-pilot-build.patch
   gnome-session-build.patch
   gnome-session-config.patch
   ...em-tools-grub_map.patch
   ...m-tools-pingwinek.patch
   ...e-terminal-config.patch
   gnome-themes-config.patch
   ...e-translate-build.patch
   ...late-selected-tag.patch
   ...ow-custom-widgets.patch
   gnomeicu-deprecated.patch
   gnuchess-build.patch
   gnusound-ffmpeg.patch
   goldwater-build.patch
   goldwater-soname.patch
   gpaint-gnome22.diff
   gpaint-imlib.diff
   gpdf-build.patch
   gplflash-build.patch
   gproftpd-desktop.patch
   groff-colors.patch
   grub-install.patch
   gsmlib-gcc34.patch
   gsoko-desktop.patch
   gsoko-gtk2.patch
   gst-ffmpeg-build.patch
   gtetrinet-fhs.patch
   ...-2.4.0-menushadow.patch
   gtk+-menu_size.patch
   gtk+-performance.patch
   gtk-doc-haiku-hacks.patch
   gtk-sharp-destdir.patch
   gtk-sharp-gtkhtml.patch
   ...ozembedmm-firefox.patch
   gtkperf-desktop.patch
   guniqueapp-build.patch
   gweled-bug.patch
   gweled-desktop.patch
   ...de-export-symbols.patch
   gwifimeter-install.patch
   haiku-build.patch
   hawknl-libname.patch
   heimdal-build.patch
   heimdal-link.patch
   helixplayer-build.patch
   hermes-build.patch
   howl-build.patch
   httpd-config.patch
   httpd-layout.patch
   ifplugd-build.patch
   ...ck-system-libltdl.patch
   indent-build.patch
   initng-livecd.patch
   initng-no-warnings.patch
   iplog-build.patch
   iproute2-pgw.diff
   iputils-pgw.diff
   ipw3945-build.patch
   iso-codes-pkgconfig.patch
   ...-ControlPanel-fix.patch
   kazehakase-build.patch
   kdebase-build.patch
   kdelibs-config.patch
   kdemultimedia-build.patch
   kvm-build.patch
   kvm-qemu-fixes.patch
   ladspa-build.patch
   lame-link.patch
   latex2html-build.patch
   libebml-build.patch
   libexif-gtk-build.patch
   libgenerics-install.patch
   libgnome-config.patch
   libgsm-makefile.patch
   libjpeg-fhs.patch
   libjpeg-haiku-shared.patch
   libmatroska-build.patch
   libmikmod-perms.diff
   libmpeg3-build.patch
   libnet-shared.diff
   libots-build.patch
   libpcap-shared.diff
   librhtv-build.patch
   libtextcat-devel.patch
   ...rrent-change-name.patch
   ...plugins-gstreamer.patch
   libxml2-haiku-hacks.patch
   links-languages.diff
   linneighborhood-gtk2.patch
   linux-initng.patch
   linux-sanity.patch
   linux-squashfs.patch
   linuxdcpp-build.patch
   littlewizard-build.patch
   log4cxx-build.patch
   lsdvd-build.patch
   make-haiku-hacks.patch
   man-not-found.patch
   mc-bash32.patch
   mc-haiku-hacks.patch
   mc-links.diff
   mc-pingwinek.patch
   mesa-demos-build.patch
   metacity-config.patch
   minicom-build.patch
   mjpegtools-build.patch
   mlview-build.patch
   monkeystudio-install.patch
   mono-build.patch
   mono-provreq.patch
   monodoc-destdir.patch
   mozilla-config.patch
   mozilla-freetype.patch
   mozilla-gcc-bugs.patch
   mozilla-latest-gcc.patch
   mplayer-desktop.patch
   mtools-destdir.patch
   mysql-build.patch
   nas-build.patch
   nautilus-build.patch
   nautilus-config.patch
   ncpfs-build.patch
   ncurses-haiku-fix.patch
   ndiswrapper-sandbox.patch
   ...s-libraries-build.patch
   net-tools-gcc34.patch
   net-tools-linux26.diff
   networkmanager-build.patch
   neverball-install.patch
   nginx-build.patch
   ooo-build-desktop.patch
   ooo-build-pingwinek.patch
   opal-build.patch
   openal-gcc42.patch
   openexr-build.patch
   opensp-gcc34.patch
   pacman-shared.patch
   pam-ac.patch
   pam-gcc.patch
   pam-shared.patch
   pcmciautils-udev.patch
   perl-gd-paths.patch
   ...ate-toolkit-paths.patch
   phat-build.patch
   phlib-gcc34.patch
   phlib-soname.patch
   php-config.patch
   phpmyadmin-config.patch
   pingus-build.patch
   pingus-prefix.patch
   pitfdll-latest.patch
   ...onfig-haiku-hacks.patch
   pkgconfig-pingwinek.patch
   plib-build.patch
   plib-shared.patch
   portmap-linux.diff
   ppp-build.patch
   prozgui-build.patch
   pwc-build.patch
   pwlib-build.patch
   python-json-install.patch
   ...on-pylucene-build.patch
   python-soap-build.patch
   ...-0.8.0-gcc4-hacks.patch
   qemu-0.8.3-gcc4.patch
   qsvn-qt4.patch
   quark-desktop.patch
   ...nge-applet-config.patch
   ...ktime4linux-build.patch
   qwt-fhs.patch
   readline-shared.patch
   rhythmbox-link.patch
   rtl8180-build.patch
   ...orrect-libtorrent.patch
   ruby-install.patch
   rubyripper-install.patch
   ...m-classpath-build.patch
   sablotron-expat.patch
   scintilla-build.patch
   scite-build.patch
   scite-config.patch
   screem-build.patch
   scribes-build.patch
   sdl-net-haiku-net.patch
   sdl-ttf-build.patch
   ...go-0.1.2-API-adds.patch
   setedit-build.patch
   shadow-login.diff
   smpeg-upstream.patch
   speech_tools-build.patch
   speedtouch-build.patch
   ...-selector-install.patch
   stlport-cxx.patch
   stlport-gcc34.patch
   ...ort-gcc3stdexcept.patch
   stlport-nodebug.patch
   stlport-soname.patch
   strace-build.patch
   stratagus-link.patch
   streamtuner-bmp.patch
   streamtuner-build.patch
   sudo-box.patch
   sudo-install.patch
   sudoku-savant-build.patch
   supertux-beos-hack.patch
   supertux-build.patch
   suspend-install.patch
   ...n-sensor-python23.patch
   sysklogd-linux26.diff
   syslinux-nowin32.patch
   ...s-backends-config.patch
   t1lib-build.patch
   tcp_wrappers-build.patch
   tcpdump-build.patch
   tesseract-build.patch
   texinfo-haiku-hacks.patch
   texmaker-build.patch
   tightvnc-gcc34.patch
   tightvnc-prefix.patch
   tightvnc-xsession.diff
   transfig-build.patch
   trophy-build.patch
   truevision-desktop.patch
   ...tream-vera-config.patch
   tvtime-build.patch
   udev-config.patch
   udev-modprobe.patch
   usbutils-config.patch
   util-linux-managed.patch
   vim-vimrc.diff
   vlc-desktop.patch
   vnc2swf-build.patch
   vrpe-glade-path.patch
   vsftpd-build.patch
   wahcade-build.patch
   webalizer-build.patch
   wikidpad-build.patch
   wormux-desktop.patch
   wvstreams-build.patch
   wvstreams-speex.patch
   wxwidgets-gtk24.patch
   wxwidgets-unicode.patch
   xaw3d-scrollbars.patch
   xcdroast-desktop.diff
   xchm-build.patch
   xfce-fm-build.patch
   xfce-panel-config.patch
   xfig-build.patch
   xfsprogs-build.patch
   xine-ui-desktop.patch
   xinetd-zombie.diff
   xmlrpc-epi-build.patch
   xmlrpc-epi-libname.patch
   xorg-getdriver.patch
   xpaint-build.patch
   xpdf-config.diff
   xplc-build.patch
   ypbind-errno.diff
   zopeinterface-build.patch

diff -urN dsniff-2.4.orig/configure.in dsniff-2.4/configure.in
--- dsniff-2.4.orig/configure.in	2007-01-29 21:23:50.134521506 +0000
+++ dsniff-2.4/configure.in	2007-01-29 21:29:21.093381775 +0000
@@ -86,77 +86,9 @@
 fi
 
 dnl Checks for Berkeley DB
-AC_MSG_CHECKING(for Berkeley DB with 1.85 compatibility)
-AC_ARG_WITH(db,
-[  --with-db=DIR           use Berkeley DB (with --enable-compat185) in DIR],
-[ case "$withval" in
-  yes|no)
-     AC_MSG_RESULT(no)
-     ;;
-  *)
-     AC_MSG_RESULT($withval)
-     if test -f $withval/build_unix/db_185.h -a \
-	     -f $withval/build_unix/libdb.a; then
-        owd=`pwd`
-        if cd $withval; then withval=`pwd`; cd $owd; fi
-	AC_DEFINE(HAVE_DB_185_H)
-	DBINC="-I$withval/build_unix"
-	DBLIB="-L$withval/build_unix -ldb"
-     elif test -f $withval/dist/db_185.h -a \
-	       -f $withval/dist/libdb.a; then
-        owd=`pwd`
-        if cd $withval; then withval=`pwd`; cd $owd; fi
-	AC_DEFINE(HAVE_DB_185_H)
-	DBINC="-I$withval/dist"
-	DBLIB="-L$withval/dist -ldb"
-     elif test -f $withval/include/db_185.h -a \
-	       -f $withval/lib/libdb.a; then
-	owd=`pwd`
-	if cd $withval; then withval=`pwd`; cd $owd; fi
-	AC_DEFINE(HAVE_DB_185_H)
-	DBINC="-I$withval/include"
-	DBLIB="-L$withval/lib -ldb"
-     else
-        AC_ERROR(db_185.h or libdb.a not found in $withval or not configured with --enable-compat185)
-     fi
-     ;;
-  esac ],
-[ for dir in ${prefix}/BerkeleyDB.3.1 ${prefix}/BerkeleyDB.3.0 \
-	     ${prefix}/BerkeleyDB ${prefix}/db ${prefix}; do
-    if test -f ${dir}/include/db_185.h; then
-       AC_DEFINE(HAVE_DB_185_H)
-       DBINC="-I${dir}/include"
-       DBLIB="-L${dir}/lib -ldb"
-       have_db=yes
-       break
-    elif test -f ${dir}/include/db.h; then
-       AC_DEFINE(HAVE_DB_H)
-       DBINC="-I${dir}/include"
-       DBLIB="-L${dir}/lib -ldb"
-       have_db=yes
-       break
-    fi
-  done
-  if test "x$have_db" = "x"; then
-     if test -f /usr/include/db2/db_185.h; then
-	AC_DEFINE(HAVE_DB_185_H)
-	DBINC="-I/usr/include/db2"
-	DBLIB="-ldb2"
-	have_db=yes
-     elif test -f /usr/include/db_185.h; then
-        AC_DEFINE(HAVE_DB_185_H)
-        DBLIB="-ldb"
-        have_db=yes
-     elif test -f /usr/include/db.h; then
-        AC_DEFINE(HAVE_DB_H)
-        have_db=yes
-     fi
-  fi
-  if test "x$have_db" = "x"; then
-        AC_ERROR(Berkeley DB with 1.85 compatibility not found)
-  fi
-  AC_MSG_RESULT(yes) ]
-)
+AC_DEFINE(HAVE_DB_185_H)
+DBINC="-I/usr/include/db3"
+DBLIB="-ldb-3.1"
 AC_SUBST(DBINC)
 AC_SUBST(DBLIB)
 
diff -urN dsniff-2.4.orig/Makefile.in dsniff-2.4/Makefile.in
--- dsniff-2.4.orig/Makefile.in	2007-01-29 21:23:50.126521050 +0000
+++ dsniff-2.4/Makefile.in	2007-01-29 21:24:18.632145493 +0000
@@ -29,7 +29,7 @@
 NIDSLIB	= @NIDSLIB@
 
 DBINC	= @DBINC@
-DBLIB	= @DBLIB@
+DBLIB	= @DBLIB@ -lpthread
 
 SSLINC	= @SSLINC@
 SSLLIB	= @SSLLIB@
diff -urN dsniff-2.4.orig/sshcrypto.c dsniff-2.4/sshcrypto.c
--- dsniff-2.4.orig/sshcrypto.c	2007-01-29 21:23:50.158522874 +0000
+++ dsniff-2.4/sshcrypto.c	2007-01-29 21:24:18.640145952 +0000
@@ -14,6 +14,8 @@
 
 #include <sys/types.h>
 #include <openssl/ssl.h>
+#include <openssl/blowfish.h>
+#include <openssl/des.h> 
 
 #include <err.h>
 #include <stdio.h>
diff -urN dsniff-2.4.orig/sshow.c dsniff-2.4/sshow.c
--- dsniff-2.4.orig/sshow.c	2007-01-29 21:23:50.186524470 +0000
+++ dsniff-2.4/sshow.c	2007-01-29 21:24:18.648146402 +0000
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <signal.h>
@@ -222,7 +223,7 @@
 	if (debug)
 		printf("- %s -> %s: DATA (%s bytes, %.2f seconds)\n",
 			s_saddr(ts), s_daddr(ts), s_range(plain_range),
-			(float)delay / CLK_TCK);
+			(float)delay / CLOCKS_PER_SEC);
 	if (debug > 1)
 		print_data(&ts->server, cipher_size);
 
@@ -270,7 +271,7 @@
 	if (debug)
 		printf("- %s <- %s: DATA (%s bytes, %.2f seconds)\n",
 		       s_saddr(ts), s_daddr(ts), s_range(plain_range),
-		       (float)delay / CLK_TCK);
+		       (float)delay / CLOCKS_PER_SEC);
 	if (debug > 1)
 		print_data(&ts->client, cipher_size);
 	
@@ -299,7 +300,7 @@
 	
 	if (session->state == 1 &&
 #ifdef USE_TIMING
-	    now - get_history(session, 2)->timestamp >= CLK_TCK &&
+	    now - get_history(session, 2)->timestamp >= CLOCKS_PER_SEC &&
 #endif
 	    session->protocol == 1 &&
 	    (session->history.directions & 7) == 5 &&

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us