pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/dsniff Allow this to build and run with OpenS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcd7a20d8271
branches:  trunk
changeset: 463128:fcd7a20d8271
user:      cube <cube%pkgsrc.org@localhost>
date:      Wed Oct 29 18:10:10 2003 +0000

description:
Allow this to build and run with OpenSSL >= 0.9.7 (des -> DES API changes).
Fixes PR pkg/23303.

diffstat:

 security/dsniff/distinfo         |   3 ++-
 security/dsniff/patches/patch-ab |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 60a94ce69bdf -r fcd7a20d8271 security/dsniff/distinfo
--- a/security/dsniff/distinfo  Wed Oct 29 18:06:36 2003 +0000
+++ b/security/dsniff/distinfo  Wed Oct 29 18:10:10 2003 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 15:40:30 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/10/29 18:10:10 cube Exp $
 
 SHA1 (dsniff-2.3.tar.gz) = 671a1df823ab0657fc95e79112924a57281e9c3b
 Size (dsniff-2.3.tar.gz) = 126797 bytes
 SHA1 (patch-aa) = b50347c772c13abd6b62a80315c7bfecc139ba60
+SHA1 (patch-ab) = 88c8e182a95b03120446f1453806e5354c074b83
diff -r 60a94ce69bdf -r fcd7a20d8271 security/dsniff/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/dsniff/patches/patch-ab  Wed Oct 29 18:10:10 2003 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2003/10/29 18:10:10 cube Exp $
+
+--- sshcrypto.c.orig   2000-11-28 22:23:28.000000000 +0100
++++ sshcrypto.c
+@@ -21,6 +21,15 @@
+ 
+ #include "sshcrypto.h"
+ 
++#if OPENSSL_VERSION_NUMBER > 0x00907000L
++#define des_cblock            DES_cblock
++#define des_key_schedule      DES_key_schedule
++
++#define des_set_key(key,schedule)             DES_set_key(key,&schedule)
++#define des_ncbc_encrypt(input,output,length,schedule,ivec,enc)       \
++                                              DES_ncbc_encrypt(input,output,length,&schedule,ivec,enc)
++#endif
++
+ struct blowfish_state {
+       struct bf_key_st        key;
+       u_char                  iv[8];



Home | Main Index | Thread Index | Old Index