diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-09-30 12:03:21 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-09-30 12:03:21 +0000 |
commit | a7bf8c835d2ac004527f13694a2f160271660ffa (patch) | |
tree | a2bde1a27da68cd5a2953edef82d233fb84b3b0a | |
parent | 915438437ebe70f934cedd8c837b45d7f0706658 (diff) | |
download | pkgsrc-a7bf8c835d2ac004527f13694a2f160271660ffa.tar.gz |
Make this build on NetBSD -current (using the same hack as libesmtp does,
including <des.h> if we are on -current or create a symlink in the
BUILDLINK_DIR if we don't have OpenSSL 0.9.7).
Closes PR pkg/22710 by Soren Jacobsen. Bump pkgrevision to 4.
-rw-r--r-- | net/ettercap/Makefile | 12 | ||||
-rw-r--r-- | net/ettercap/distinfo | 3 | ||||
-rw-r--r-- | net/ettercap/patches/patch-af | 12 |
3 files changed, 24 insertions, 3 deletions
diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile index 2606c9a5365..abaf0c0f224 100644 --- a/net/ettercap/Makefile +++ b/net/ettercap/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2003/09/28 09:13:58 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2003/09/30 12:03:21 xtraeme Exp $ DISTNAME= ettercap-0.6.9 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security net MASTER_SITES= http://ettercap.sourceforge.net/download/ @@ -18,10 +18,18 @@ USE_BUILDLINK2= yes USE_NCURSES= # newpad(), MAX_FORM_COMMAND PTHREAD_OPTS+= require MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} +LIBS+= -ldes BUILD_DIRS= ${WRKSRC} ${WRKSRC}/plugins INSTALL_DIRS= ${WRKSRC} ${WRKSRC}/plugins +post-buildlink: + if [ ! -f /usr/include/des.h ]; then \ + ${LN} -s ${BUILDLINK_DIR}/include/openssl/des.h \ + ${BUILDLINK_DIR}/include; \ + fi + .include "../../devel/ncurses/buildlink2.mk" +.include "../../security/openssl/buildlink2.mk" .include "../../mk/pthread.buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/ettercap/distinfo b/net/ettercap/distinfo index 7d2ce415004..c9177a1f7b8 100644 --- a/net/ettercap/distinfo +++ b/net/ettercap/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2003/07/14 11:42:13 jmmv Exp $ +$NetBSD: distinfo,v 1.9 2003/09/30 12:03:21 xtraeme Exp $ SHA1 (ettercap-0.6.9.tar.gz) = 2f70055af569cca75cf2460677229b7b4e4c38a5 Size (ettercap-0.6.9.tar.gz) = 681245 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 107ef5dda9457313d7d939745a6a21dbe2b989ce SHA1 (patch-ac) = 6771b96f36fa9439b0edf79e632f0d2f1125eecd SHA1 (patch-ad) = c7f997876c5b76fff77f70280f5b5fe523778abf SHA1 (patch-ae) = 58ea3d1500fb5f1c4b38ec795b884cfb2dd0ab42 +SHA1 (patch-af) = 0e94147d720e12a4298c0bf536d4385ee75625b0 diff --git a/net/ettercap/patches/patch-af b/net/ettercap/patches/patch-af new file mode 100644 index 00000000000..1adcf9875ff --- /dev/null +++ b/net/ettercap/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1 2003/09/30 12:03:21 xtraeme Exp $ + +--- src/ec_dissector_ssh.c.orig 2003-09-30 13:46:55.000000000 +0200 ++++ src/ec_dissector_ssh.c 2003-09-30 13:48:01.000000000 +0200 +@@ -29,6 +29,7 @@ + #else + #include <arpa/nameser.h> + #endif ++#include <des.h> + #include <openssl/ssl.h> + #include <openssl/rand.h> + #include <ctype.h> |