OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Oct-2006 13:01:27
Branch: HEAD Handle: 2006101512012700
Modified files:
openpkg-src/dsniff dsniff.patch dsniff.spec
Log:
apply a bunch of Solaris fixes from Michael Schloh
Summary:
Revision Changes Path
1.4 +22 -0 openpkg-src/dsniff/dsniff.patch
1.31 +7 -1 openpkg-src/dsniff/dsniff.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/dsniff/dsniff.patch
============================================================================
$ cvs diff -u -r1.3 -r1.4 dsniff.patch
--- openpkg-src/dsniff/dsniff.patch 13 Aug 2003 16:04:22 -0000 1.3
+++ openpkg-src/dsniff/dsniff.patch 15 Oct 2006 11:01:27 -0000 1.4
@@ -234,3 +234,25 @@
#include "config.h"
#include <sys/types.h>
+--- configure.dist 2000-12-03 05:35:46.000000000 +0100
++++ configure 2006-04-10 16:12:01.413580000 +0200
+@@ -3023,7 +3023,7 @@
+ PCAPINC="-I$withval -I$withval/bpf"
+ PCAPLIB="-L$withval -lpcap"
+ elif test -f $withval/include/pcap.h -a \
+- -f $withval/include/net/bpf.h -a \
++ -f $withval/include/pcap-bpf.h -a \
+ -f $withval/lib/libpcap.a; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+--- sshcrypto.c.dist 2006-04-10 16:23:47.620867000 +0200
++++ sshcrypto.c 2006-04-10 16:23:51.097252000 +0200
+@@ -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>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/dsniff/dsniff.spec
============================================================================
$ cvs diff -u -r1.30 -r1.31 dsniff.spec
--- openpkg-src/dsniff/dsniff.spec 13 Oct 2006 17:27:48 -0000 1.30
+++ openpkg-src/dsniff/dsniff.spec 15 Oct 2006 11:01:27 -0000 1.31
@@ -49,7 +49,7 @@
Group: Capturing
License: BSD-style
Version: %{V_dsniff}
-Release: 20061013
+Release: 20061015
# list of sources
Source0: http://www.monkey.org/~dugsong/dsniff/dsniff-%{V_dsniff}.tar.gz
@@ -112,6 +112,10 @@
--prefix=%{l_prefix}
%{l_make} %{l_mflags -O}
) || exit $?
+ libs=""
+ case "%{l_platform -t}" in
+ *-sunos* ) libs="-lrt" ;;
+ esac
CC="%{l_cc}"
CFLAGS="%{l_cflags -O}"
CFLAGS="$CFLAGS -I`pwd`/Libnet-%{V_libnet}/include"
@@ -122,9 +126,11 @@
LDFLAGS="-L`pwd`/Libnet-%{V_libnet}/lib"
LDFLAGS="$LDFLAGS -L`pwd`/libnids-%{V_libnids}/src"
LDFLAGS="$LDFLAGS %{l_ldflags}"
+ LIBS="$libs"
export CC
export CFLAGS
export LDFLAGS
+ export LIBS
./configure \
--prefix=%{l_prefix} \
--libdir=%{l_prefix}/share/dsniff \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]