pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/dsniff Fix build on DragonFly. Don't depend o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccf0c1ffeb46
branches:  trunk
changeset: 512567:ccf0c1ffeb46
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 11 15:39:20 2006 +0000

description:
Fix build on DragonFly. Don't depend on dsniff and dsniff-nox11 being
in the same toplevel directory.

diffstat:

 security/dsniff/Makefile.common  |   6 +++---
 security/dsniff/distinfo         |   3 ++-
 security/dsniff/patches/patch-ac |  13 +++++++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r f1667cbde49b -r ccf0c1ffeb46 security/dsniff/Makefile.common
--- a/security/dsniff/Makefile.common   Thu May 11 15:35:04 2006 +0000
+++ b/security/dsniff/Makefile.common   Thu May 11 15:39:20 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2006/04/06 06:22:38 reed Exp $
+# $NetBSD: Makefile.common,v 1.5 2006/05/11 15:39:20 joerg Exp $
 
 DISTNAME=      dsniff-${VERS}
 VERS=          2.3
@@ -12,8 +12,8 @@
 
 BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
 
-PATCHDIR=      ${.CURDIR}/../dsniff/patches
-DISTINFO_FILE= ${.CURDIR}/../dsniff/distinfo
+PATCHDIR=      ${.CURDIR}/../../security/dsniff/patches
+DISTINFO_FILE= ${.CURDIR}/../../security/dsniff/distinfo
 
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../devel/libnet/buildlink3.mk"
diff -r f1667cbde49b -r ccf0c1ffeb46 security/dsniff/distinfo
--- a/security/dsniff/distinfo  Thu May 11 15:35:04 2006 +0000
+++ b/security/dsniff/distinfo  Thu May 11 15:39:20 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/12/11 18:26:03 salo Exp $
+$NetBSD: distinfo,v 1.6 2006/05/11 15:39:20 joerg Exp $
 
 SHA1 (dsniff-2.3.tar.gz) = 671a1df823ab0657fc95e79112924a57281e9c3b
 RMD160 (dsniff-2.3.tar.gz) = 89dad0259e90acef30a7aa5f3471de3aaeb06147
 Size (dsniff-2.3.tar.gz) = 126797 bytes
 SHA1 (patch-aa) = b50347c772c13abd6b62a80315c7bfecc139ba60
 SHA1 (patch-ab) = 6385da7139dcb11ea29ffba468e7fac260b61b44
+SHA1 (patch-ac) = 55ad4f73e53578857bc5ad7a445c8e6125c39215
diff -r f1667cbde49b -r ccf0c1ffeb46 security/dsniff/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/dsniff/patches/patch-ac  Thu May 11 15:39:20 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/05/11 15:39:20 joerg Exp $
+
+--- arp.c.orig 2000-11-14 15:51:03.000000000 +0000
++++ arp.c
+@@ -17,7 +17,7 @@
+ #include <sys/sysctl.h>
+ #include <net/if_dl.h>
+ #include <net/route.h>
+-#ifdef __FreeBSD__    /* XXX */
++#if defined(__FreeBSD__) || defined(__DragonFly__)    /* XXX */
+ #define ether_addr_octet octet
+ #endif
+ #else /* !BSD */



Home | Main Index | Thread Index | Old Index