diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-22 15:59:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-22 15:59:56 +0000 |
commit | e075251c7fd5b10fa607a034271dab457812f3b8 (patch) | |
tree | 654bdee0bfb956dc4021921a46dbb6d4fbdfbcc5 | |
parent | 2db15e8c1ba4b4053b7b45e7b2ac2e3fe4a2e9d4 (diff) | |
download | pkgsrc-e075251c7fd5b10fa607a034271dab457812f3b8.tar.gz |
Add DragonFly support.
-rw-r--r-- | net/dnsmasq/distinfo | 3 | ||||
-rw-r--r-- | net/dnsmasq/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/net/dnsmasq/distinfo b/net/dnsmasq/distinfo index a54bfdd396e..43fe2b76487 100644 --- a/net/dnsmasq/distinfo +++ b/net/dnsmasq/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/10/18 04:41:59 minskim Exp $ +$NetBSD: distinfo,v 1.2 2006/03/22 15:59:56 joerg Exp $ SHA1 (dnsmasq-2.23.tar.gz) = 6ddeaaa9b7a457d65c8d02980a69ccbd08925acc RMD160 (dnsmasq-2.23.tar.gz) = 3ba342790e1912828a5bb389abfa4679e4d93c2c Size (dnsmasq-2.23.tar.gz) = 159102 bytes +SHA1 (patch-aa) = 2450048934b3102ee47a4af26ec279162c414302 diff --git a/net/dnsmasq/patches/patch-aa b/net/dnsmasq/patches/patch-aa new file mode 100644 index 00000000000..1cd615860cb --- /dev/null +++ b/net/dnsmasq/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2006/03/22 15:59:56 joerg Exp $ + +--- src/config.h.orig 2006-03-22 15:55:31.000000000 +0000 ++++ src/config.h +@@ -32,7 +32,7 @@ + # define RESOLVFILE "/etc/resolv.conf" + #endif + #define RUNFILE "/var/run/dnsmasq.pid" +-#if defined(__FreeBSD__) || defined (__OpenBSD__) ++#if defined(__FreeBSD__) || defined (__OpenBSD__) || defined(__DragonFly__) + # define LEASEFILE "/var/db/dnsmasq.leases" + #else + # define LEASEFILE "/var/lib/misc/dnsmasq.leases" +@@ -276,7 +276,7 @@ typedef unsigned long in_addr_t; + #endif + #endif + +-#elif defined(__FreeBSD__) || defined(__OpenBSD__) ++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) + #undef HAVE_LINUX_IPV6_PROC + #undef HAVE_RTNETLINK + /* Later verions of FreeBSD have getopt_long() */ |