pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/scamper Add DragonFly support. Use kqueue also on ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/71f410bcc447
branches: trunk
changeset: 508736:71f410bcc447
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Feb 24 19:53:52 2006 +0000
description:
Add DragonFly support. Use kqueue also on NetBSD.
diffstat:
net/scamper/distinfo | 9 ++++++++-
net/scamper/patches/patch-aa | 13 +++++++++++++
net/scamper/patches/patch-ab | 13 +++++++++++++
net/scamper/patches/patch-ac | 13 +++++++++++++
net/scamper/patches/patch-ad | 22 ++++++++++++++++++++++
net/scamper/patches/patch-ae | 15 +++++++++++++++
net/scamper/patches/patch-af | 13 +++++++++++++
net/scamper/patches/patch-ag | 13 +++++++++++++
8 files changed, 110 insertions(+), 1 deletions(-)
diffs (147 lines):
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/distinfo
--- a/net/scamper/distinfo Fri Feb 24 19:47:02 2006 +0000
+++ b/net/scamper/distinfo Fri Feb 24 19:53:52 2006 +0000
@@ -1,5 +1,12 @@
-$NetBSD: distinfo,v 1.2 2006/02/03 04:47:42 rpaulo Exp $
+$NetBSD: distinfo,v 1.3 2006/02/24 19:53:52 joerg Exp $
SHA1 (scamper-cvs-20051128.tar.gz) = f7d9eceae17b16c226fe6312f45f7db8bb9514ca
RMD160 (scamper-cvs-20051128.tar.gz) = 72a70fe392c20b25b50f01945d9d00d223c4d66f
Size (scamper-cvs-20051128.tar.gz) = 155813 bytes
+SHA1 (patch-aa) = 0757790cd1b70d3624e9786512932f0e83bf85cf
+SHA1 (patch-ab) = d030f03cfd6c1381a31905e710abb7a33ca37816
+SHA1 (patch-ac) = 0db3f57b73c42cd17402756a8c1e51b8dcd127c5
+SHA1 (patch-ad) = 7cd762297366ae5de1ee86be8eb3aa169debc3c1
+SHA1 (patch-ae) = fba854f5648b8e50589de1b3caacbf81b9ec6bb1
+SHA1 (patch-af) = 85258f05042fc6a916256800ee91835292991f0b
+SHA1 (patch-ag) = b0c3b8186eaf148ff53786515408781bbb7483a1
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-aa Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- utils.c.orig 2006-02-24 19:45:31.000000000 +0000
++++ utils.c
+@@ -28,7 +28,7 @@
+ #include <stdint.h>
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define HAVE_SOCKADDR_SA_LEN
+ #endif
+
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-ab Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- scamper_rtsock.c.orig 2006-02-24 19:45:49.000000000 +0000
++++ scamper_rtsock.c
+@@ -59,7 +59,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define HAVE_BSD_ROUTE_SOCKET
+ #endif
+
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-ac Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- scamper_privsep.c.orig 2006-02-24 19:46:04.000000000 +0000
++++ scamper_privsep.c
+@@ -32,7 +32,7 @@
+ #define HAVE_ACCRIGHTS
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define HAVE_SETPROCTITLE
+ #endif
+
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-ad Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- scamper_icmp4.c.orig 2006-02-24 19:46:32.000000000 +0000
++++ scamper_icmp4.c
+@@ -268,7 +268,7 @@ uint16_t scamper_icmp4_icmp_ip_len(struc
+
+ #if defined(__linux__) || defined(__OpenBSD__) || defined(__sun__)
+ len = ntohs(icmp->icmp_ip.ip_len);
+-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ if(icmp->icmp_type == ICMP_TIMXCEED)
+ {
+ if(icmp->icmp_code <= 1)
+@@ -298,7 +298,7 @@ uint16_t scamper_icmp4_icmp_ip_len(struc
+ case ICMP_UNREACH_HOST_PROHIB:
+ case ICMP_UNREACH_TOSHOST:
+
+-# if defined(__FreeBSD__) || defined(__APPLE__)
++# if defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ case ICMP_UNREACH_HOST_PRECEDENCE:
+ case ICMP_UNREACH_PRECEDENCE_CUTOFF:
+ case ICMP_UNREACH_FILTER_PROHIB:
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-ae Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- scamper_fds.c.orig 2006-02-24 19:47:02.000000000 +0000
++++ scamper_fds.c
+@@ -33,6 +33,10 @@
+ #if 0
+ #if defined(__FreeBSD__) && __FreeBSD_version >= 410000
+ #define HAVE_KQUEUE
++#elif defined(__DragonFly__)
++#define HAVE_KQUEUE
++#elif defined(__NetBSD__) && __NetBSD_Version >= 200000000
++#define HAVE_KQUEUE
+ #elif defined(__OpenBSD__) && OpenBSD >= 200105
+ #define HAVE_KQUEUE
+ #else
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-af Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- scamper_dl.c.orig 2006-02-24 19:47:53.000000000 +0000
++++ scamper_dl.c
+@@ -49,7 +49,7 @@
+ #include <stdint.h>
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define HAVE_BPF
+ #endif
+
diff -r 878df2c57b3d -r 71f410bcc447 net/scamper/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scamper/patches/patch-ag Fri Feb 24 19:53:52 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2006/02/24 19:53:52 joerg Exp $
+
+--- scamper_addr2mac.c.orig 2006-02-24 19:48:36.000000000 +0000
++++ scamper_addr2mac.c
+@@ -15,7 +15,7 @@
+ #include <stdint.h>
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define HAVE_BSD_ARPCACHE
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index