From 83e2a84c5e2914e991a741be5d14ef96a09091fe Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 18 Aug 2009 19:19:59 +0000 Subject: Make isc-dhcp3 build on DragonFly. --- net/isc-dhclient/distinfo | 5 +++-- net/isc-dhcp/distinfo | 5 +++-- net/isc-dhcp/patches/patch-aa | 13 +++++++++++++ net/isc-dhcp/patches/patch-ab | 17 +++++++++++++---- net/isc-dhcpd/distinfo | 5 +++-- net/isc-dhcrelay/distinfo | 5 +++-- 6 files changed, 38 insertions(+), 12 deletions(-) create mode 100644 net/isc-dhcp/patches/patch-aa diff --git a/net/isc-dhclient/distinfo b/net/isc-dhclient/distinfo index d8456142a1d..bbfe1984c70 100644 --- a/net/isc-dhclient/distinfo +++ b/net/isc-dhclient/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2009/07/16 18:29:49 adrianp Exp $ +$NetBSD: distinfo,v 1.5 2009/08/18 19:19:59 hasso Exp $ SHA1 (dhcp-3.1.2p1.tar.gz) = 730214fa6e70d187f1492aa3d4f1c2868ffcc8de RMD160 (dhcp-3.1.2p1.tar.gz) = 53434f8404c69e8e113cad030ec975cf13b467cc Size (dhcp-3.1.2p1.tar.gz) = 792355 bytes -SHA1 (patch-ab) = e5d0a682c0228ce1c63533fe361f5649d5dd2c17 +SHA1 (patch-aa) = 6562b76a9cdc3344786aa02e6d3c0a21456bfca5 +SHA1 (patch-ab) = 68fea028b08128b68eb842d361fa4f6534c122c9 SHA1 (patch-ad) = bd10d5f519065ecbd061f3ccff6685c390a1118a diff --git a/net/isc-dhcp/distinfo b/net/isc-dhcp/distinfo index d8456142a1d..bbfe1984c70 100644 --- a/net/isc-dhcp/distinfo +++ b/net/isc-dhcp/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2009/07/16 18:29:49 adrianp Exp $ +$NetBSD: distinfo,v 1.5 2009/08/18 19:19:59 hasso Exp $ SHA1 (dhcp-3.1.2p1.tar.gz) = 730214fa6e70d187f1492aa3d4f1c2868ffcc8de RMD160 (dhcp-3.1.2p1.tar.gz) = 53434f8404c69e8e113cad030ec975cf13b467cc Size (dhcp-3.1.2p1.tar.gz) = 792355 bytes -SHA1 (patch-ab) = e5d0a682c0228ce1c63533fe361f5649d5dd2c17 +SHA1 (patch-aa) = 6562b76a9cdc3344786aa02e6d3c0a21456bfca5 +SHA1 (patch-ab) = 68fea028b08128b68eb842d361fa4f6534c122c9 SHA1 (patch-ad) = bd10d5f519065ecbd061f3ccff6685c390a1118a diff --git a/net/isc-dhcp/patches/patch-aa b/net/isc-dhcp/patches/patch-aa new file mode 100644 index 00000000000..70cda285718 --- /dev/null +++ b/net/isc-dhcp/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2009/08/18 19:19:59 hasso Exp $ + +--- includes/osdep.h.orig 2009-08-08 14:12:41 +0300 ++++ includes/osdep.h 2009-08-08 14:13:18 +0300 +@@ -89,7 +89,7 @@ + # include "cf/netbsd.h" + #endif + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + # include "cf/freebsd.h" + #endif + diff --git a/net/isc-dhcp/patches/patch-ab b/net/isc-dhcp/patches/patch-ab index c995b704e98..a87ec5e1aff 100644 --- a/net/isc-dhcp/patches/patch-ab +++ b/net/isc-dhcp/patches/patch-ab @@ -1,8 +1,17 @@ -$NetBSD: patch-ab,v 1.1.1.1 2007/12/12 20:02:08 adrianp Exp $ +$NetBSD: patch-ab,v 1.2 2009/08/18 19:19:59 hasso Exp $ ---- configure.orig 2004-09-10 23:02:30.000000000 +0200 -+++ configure -@@ -259,7 +259,7 @@ for foo in $dirs; do +--- configure.orig 2005-03-17 22:14:55 +0200 ++++ configure 2009-08-08 14:06:41 +0300 +@@ -139,6 +139,8 @@ if [ "$sysname" = "" ]; then + sysname=openbsd;; + FreeBSD) + sysname=freebsd;; ++ DragonFly) ++ sysname=freebsd;; + hpux) + IFS=":" + for foo in $PATH; do +@@ -259,7 +261,7 @@ for foo in $dirs; do