summaryrefslogtreecommitdiff
path: root/net/ettercap
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-10-22 14:10:44 +0000
committerben <ben@pkgsrc.org>2004-10-22 14:10:44 +0000
commit73d1e9cd644f45d02d027eb9697123b2bce6409e (patch)
treec0252039da3c65734f12d03a22a1714aacd4d1d2 /net/ettercap
parent780b5f9c9f07a5ea18e65423e6745730df0133ae (diff)
downloadpkgsrc-73d1e9cd644f45d02d027eb9697123b2bce6409e.tar.gz
Modify how OpenSSL's des.h is included, to make ettercap build with
builtin SSL on -1.6_STABLE and -current. This addresses PR#26615.
Diffstat (limited to 'net/ettercap')
-rw-r--r--net/ettercap/Makefile8
-rw-r--r--net/ettercap/distinfo4
-rw-r--r--net/ettercap/patches/patch-af13
3 files changed, 12 insertions, 13 deletions
diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile
index b59c53f2ce4..14ea3163cf0 100644
--- a/net/ettercap/Makefile
+++ b/net/ettercap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2004/10/03 00:17:51 tv Exp $
+# $NetBSD: Makefile,v 1.31 2004/10/22 14:10:44 ben Exp $
DISTNAME= ettercap-0.6.b
PKGREVISION= 2
@@ -29,12 +29,6 @@ INSTALL_DIRS= ${WRKSRC} ${WRKSRC}/plugins
GCC_REQD+= 3.0
.endif
-post-buildlink:
- if [ ! -f /usr/include/des.h ]; then \
- ${LN} -s ${BUILDLINK_DIR}/include/openssl/des.h \
- ${BUILDLINK_DIR}/include; \
- fi
-
.include "../../devel/ncurses/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff --git a/net/ettercap/distinfo b/net/ettercap/distinfo
index 61bfe843d38..156c07646a8 100644
--- a/net/ettercap/distinfo
+++ b/net/ettercap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2003/12/18 03:01:38 xtraeme Exp $
+$NetBSD: distinfo,v 1.11 2004/10/22 14:10:44 ben Exp $
SHA1 (ettercap-0.6.b.tar.gz) = 8cc1bbfe61e894620deef74cff0b8ca5a0b9e628
Size (ettercap-0.6.b.tar.gz) = 689038 bytes
@@ -7,4 +7,4 @@ SHA1 (patch-ab) = 107ef5dda9457313d7d939745a6a21dbe2b989ce
SHA1 (patch-ac) = 6771b96f36fa9439b0edf79e632f0d2f1125eecd
SHA1 (patch-ad) = c7f997876c5b76fff77f70280f5b5fe523778abf
SHA1 (patch-ae) = 58ea3d1500fb5f1c4b38ec795b884cfb2dd0ab42
-SHA1 (patch-af) = 5dd9ef0e9cb2ab9fa6cbd6a7d2f13dbe670f9023
+SHA1 (patch-af) = 2d6501a50474524c05ecff837adea1ee87da1ac1
diff --git a/net/ettercap/patches/patch-af b/net/ettercap/patches/patch-af
index 405d2b6b183..63f01da565e 100644
--- a/net/ettercap/patches/patch-af
+++ b/net/ettercap/patches/patch-af
@@ -1,12 +1,17 @@
-$NetBSD: patch-af,v 1.2 2003/12/18 03:01:38 xtraeme Exp $
+$NetBSD: patch-af,v 1.3 2004/10/22 14:10:44 ben Exp $
---- src/ec_dissector_ssh.c.orig 2003-12-18 03:54:11.000000000 +0100
-+++ src/ec_dissector_ssh.c 2003-12-18 03:54:43.000000000 +0100
-@@ -37,6 +37,7 @@
+--- src/ec_dissector_ssh.c.orig Thu Jul 10 08:25:32 2003
++++ src/ec_dissector_ssh.c
+@@ -37,6 +37,12 @@
#define NS_PUT32 PUTLONG
#endif
++#include <openssl/opensslv.h>
++#if OPENSSL_VERSION_NUMBER < 0x0090700fL
++#include <openssl/des.h>
++#else
+#include <des.h>
++#endif
#include <openssl/ssl.h>
#include <openssl/rand.h>
#include <ctype.h>