summaryrefslogtreecommitdiff
path: root/security/ipsec-tools
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-11-11 11:50:20 +0000
committergrant <grant@pkgsrc.org>2004-11-11 11:50:20 +0000
commit1e934ed27725ab81b56a7bd4a1128e973419c5e0 (patch)
tree1852f9a1c875201e07c0b935b528ee934f9f3bb8 /security/ipsec-tools
parent4a59de253017891c7780057379c0ea2fccfe7382 (diff)
downloadpkgsrc-1e934ed27725ab81b56a7bd4a1128e973419c5e0.tar.gz
include some additional header files on FreeBSD >= 5.
Diffstat (limited to 'security/ipsec-tools')
-rw-r--r--security/ipsec-tools/distinfo3
-rw-r--r--security/ipsec-tools/patches/patch-ac21
2 files changed, 23 insertions, 1 deletions
diff --git a/security/ipsec-tools/distinfo b/security/ipsec-tools/distinfo
index b0d26f3d8aa..e1985b9f646 100644
--- a/security/ipsec-tools/distinfo
+++ b/security/ipsec-tools/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2004/11/10 17:26:04 manu Exp $
+$NetBSD: distinfo,v 1.3 2004/11/11 11:50:20 grant Exp $
SHA1 (ipsec-tools-0.5.pre20041109.tar.bz2) = 2e91a2b1adea46facdbdfe70dfcc4aca3cc01913
Size (ipsec-tools-0.5.pre20041109.tar.bz2) = 618629 bytes
SHA1 (patch-aa) = fadc2685847af19288782a0fd911dc5accee0fc9
SHA1 (patch-ab) = dd5293512228a02ce8f37f8d1a10fb865cc79aa5
+SHA1 (patch-ac) = 28cbaa97ab1853bb03202c46718c0c72bc4b8fb6
diff --git a/security/ipsec-tools/patches/patch-ac b/security/ipsec-tools/patches/patch-ac
new file mode 100644
index 00000000000..d90cd1dc1ce
--- /dev/null
+++ b/security/ipsec-tools/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2004/11/11 11:50:20 grant Exp $
+
+--- src/racoon/grabmyaddr.c.orig 2004-10-29 21:50:04.000000000 +1000
++++ src/racoon/grabmyaddr.c
+@@ -37,8 +37,14 @@
+ #include <sys/ioctl.h>
+
+ #include <net/if.h>
+-#if defined(__FreeBSD__) && __FreeBSD__ >= 3
+-#include <net/if_var.h>
++#ifdef __FreeBSD__
++# if __FreeBSD__ >= 3
++# include <net/if_var.h>
++# endif
++# if __FreeBSD__ >= 5
++# include <netinet/in.h>
++# include <netinet6/in6_var.h>
++# endif
+ #endif
+ #ifdef __NetBSD__
+ #include <netinet/in.h>