pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/hping DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/adb65d5e3042
branches:  trunk
changeset: 509749:adb65d5e3042
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 14 02:29:11 2006 +0000

description:
DragonFly support.

diffstat:

 net/hping/distinfo         |   5 +++--
 net/hping/patches/patch-ad |   8 +++++---
 net/hping/patches/patch-ae |  31 +++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 5 deletions(-)

diffs (72 lines):

diff -r 9d7e1d67ac3a -r adb65d5e3042 net/hping/distinfo
--- a/net/hping/distinfo        Tue Mar 14 02:26:46 2006 +0000
+++ b/net/hping/distinfo        Tue Mar 14 02:29:11 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/07/13 14:18:22 drochner Exp $
+$NetBSD: distinfo,v 1.6 2006/03/14 02:29:11 joerg Exp $
 
 SHA1 (hping2.0.0-rc2.tar.gz) = ee10aa5cce7431ab0887ca0328b0fed86407cd3c
 RMD160 (hping2.0.0-rc2.tar.gz) = e32479f8d1f7408eaeaa9e507c8050618c81825e
@@ -6,4 +6,5 @@
 SHA1 (patch-aa) = f0b60b33df37c5b5f332c4dd5b668c87f2f00780
 SHA1 (patch-ab) = 7862d487c5fa9940a51c82154e5427f426c93270
 SHA1 (patch-ac) = b39369c28ca8932f13d9500509b84e28a1db6058
-SHA1 (patch-ad) = 2bae52bcd2e0faa9aab0475175ab43a9a8a37158
+SHA1 (patch-ad) = 0229fb92f51ec3884a8e16ff9487fd5cfa238f1c
+SHA1 (patch-ae) = 42d25825134ce41a84122d5effc67973c10b37f4
diff -r 9d7e1d67ac3a -r adb65d5e3042 net/hping/patches/patch-ad
--- a/net/hping/patches/patch-ad        Tue Mar 14 02:26:46 2006 +0000
+++ b/net/hping/patches/patch-ad        Tue Mar 14 02:29:11 2006 +0000
@@ -1,12 +1,14 @@
-$NetBSD: patch-ad,v 1.1 2005/07/13 14:18:22 drochner Exp $
+$NetBSD: patch-ad,v 1.2 2006/03/14 02:29:11 joerg Exp $
 
---- libpcap_stuff.c.orig       2001-08-23 20:49:39.000000000 +0200
+--- libpcap_stuff.c.orig       2001-08-23 18:49:39.000000000 +0000
 +++ libpcap_stuff.c
-@@ -15,8 +15,9 @@
+@@ -15,8 +15,11 @@
  #include <stdio.h>
  #include <stdlib.h>
  #include <sys/ioctl.h>
 -#include <pcap.h>
++#include <sys/time.h>
++#include <string.h>
  #include <net/bpf.h>
 +#define PCAP_DONT_INCLUDE_PCAP_BPF_H
 +#include <pcap.h>
diff -r 9d7e1d67ac3a -r adb65d5e3042 net/hping/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hping/patches/patch-ae        Tue Mar 14 02:29:11 2006 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.1 2006/03/14 02:29:11 joerg Exp $
+
+--- getifname.c.orig   2006-03-14 02:23:00.000000000 +0000
++++ getifname.c
+@@ -15,7 +15,7 @@
+ #include <net/if.h>
+ #include <unistd.h>           /* close */
+ 
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+ #include <stdlib.h>
+ #include <ifaddrs.h>
+ #endif /* defined(__*BSD__) */
+@@ -23,7 +23,7 @@
+ #include "hping2.h"
+ #include "globals.h"
+ 
+-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__linux__) && !defined(__sun__)
++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__linux__) && !defined(__sun__) && !defined(__DragonFly__)
+ #error Sorry, interface code not implemented.
+ #endif
+ 
+@@ -169,7 +169,7 @@ int get_if_name(void)
+       return 0;
+ }
+ 
+-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ 
+ /* return interface informations :
+    - from the specified (-I) interface



Home | Main Index | Thread Index | Old Index