diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-11 15:39:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-11 15:39:20 +0000 |
commit | ee190933670498f0d2288a5ca26780ddc2c0ff02 (patch) | |
tree | 84d6c4da87d62f1b233beaf6ed6e9e1f9048b4ae /security/dsniff | |
parent | c6184a2b12a926218713e5ffb5029086202cf73e (diff) | |
download | pkgsrc-ee190933670498f0d2288a5ca26780ddc2c0ff02.tar.gz |
Fix build on DragonFly. Don't depend on dsniff and dsniff-nox11 being
in the same toplevel directory.
Diffstat (limited to 'security/dsniff')
-rw-r--r-- | security/dsniff/Makefile.common | 6 | ||||
-rw-r--r-- | security/dsniff/distinfo | 3 | ||||
-rw-r--r-- | security/dsniff/patches/patch-ac | 13 |
3 files changed, 18 insertions, 4 deletions
diff --git a/security/dsniff/Makefile.common b/security/dsniff/Makefile.common index dac3397c1b1..8bc7953e9cd 100644 --- a/security/dsniff/Makefile.common +++ b/security/dsniff/Makefile.common @@ -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 @@ GNU_CONFIGURE= yes 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 --git a/security/dsniff/distinfo b/security/dsniff/distinfo index 48a54a2458a..04f6e36dd3d 100644 --- a/security/dsniff/distinfo +++ b/security/dsniff/distinfo @@ -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 --git a/security/dsniff/patches/patch-ac b/security/dsniff/patches/patch-ac new file mode 100644 index 00000000000..808adac2177 --- /dev/null +++ b/security/dsniff/patches/patch-ac @@ -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 */ |