summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-23 16:53:27 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-23 16:53:27 +0000
commit1925f4fe892115d5193c080ea949d628fc70dd6a (patch)
tree68bc63dff978f568d240e3bf6f1f43f2d0e536b4
parentc13f40450d3fbe247c9ea416e7e57c256161b71d (diff)
downloadpkgsrc-1925f4fe892115d5193c080ea949d628fc70dd6a.tar.gz
Add DragonFly support.
-rw-r--r--net/vpnc/distinfo5
-rw-r--r--net/vpnc/patches/patch-ab17
-rw-r--r--net/vpnc/patches/patch-ad16
3 files changed, 33 insertions, 5 deletions
diff --git a/net/vpnc/distinfo b/net/vpnc/distinfo
index 1572116133a..741536219aa 100644
--- a/net/vpnc/distinfo
+++ b/net/vpnc/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.4 2006/01/03 21:48:17 hubertf Exp $
+$NetBSD: distinfo,v 1.5 2006/03/23 16:53:27 joerg Exp $
SHA1 (vpnc-0.3.3.tar.gz) = 95559e1c5b1f4bc78dc1a0b9f95e1a2d65a84c0a
RMD160 (vpnc-0.3.3.tar.gz) = ffcb229fb8cac18f8d6dea0e67f88cec420f31da
Size (vpnc-0.3.3.tar.gz) = 59939 bytes
SHA1 (patch-aa) = b7645f093f1c3bfbdf81871b3582273a1e6ddda0
-SHA1 (patch-ab) = e14e97c977badc03501c9206c6c2e3c89b20d9a7
+SHA1 (patch-ab) = 5dff14059698724e3cb5478c005b5e229fd03dbf
SHA1 (patch-ac) = 5eb5aca439e3fbc2404a15f74403f024e5fc386a
+SHA1 (patch-ad) = d386a3861f6c272b6471732089067a842757bdcb
diff --git a/net/vpnc/patches/patch-ab b/net/vpnc/patches/patch-ab
index 37d51e8d326..38ad18ff64a 100644
--- a/net/vpnc/patches/patch-ab
+++ b/net/vpnc/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2004/11/26 23:03:54 hubertf Exp $
+$NetBSD: patch-ab,v 1.3 2006/03/23 16:53:28 joerg Exp $
---- Makefile.orig 2004-11-13 00:23:36.000000000 +0100
+--- Makefile.orig 2005-05-01 20:30:35.000000000 +0000
+++ Makefile
-@@ -22,7 +22,7 @@ SBINDIR=$(PREFIX)/sbin
+@@ -23,7 +23,7 @@ SBINDIR=$(PREFIX)/sbin
MANDIR=$(PREFIX)/share/man
CC=gcc
@@ -11,3 +11,14 @@ $NetBSD: patch-ab,v 1.2 2004/11/26 23:03:54 hubertf Exp $
LDFLAGS=-g $(shell libgcrypt-config --libs)
ifeq ($(shell uname -s), Linux)
+@@ -33,6 +33,10 @@ ifeq ($(shell uname -s), FreeBSD)
+ CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN
+ SYSDEP=sysdep-bsd.o
+ endif
++ifeq ($(shell uname -s), DragonFly)
++CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN
++SYSDEP=sysdep-bsd.o
++endif
+ ifeq ($(shell uname -s), NetBSD)
+ CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN
+ SYSDEP=sysdep-bsd.o
diff --git a/net/vpnc/patches/patch-ad b/net/vpnc/patches/patch-ad
new file mode 100644
index 00000000000..d7dbfd7d2a6
--- /dev/null
+++ b/net/vpnc/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2006/03/23 16:53:28 joerg Exp $
+
+--- sysdep-bsd.c.orig 2006-03-23 16:51:00.000000000 +0000
++++ sysdep-bsd.c
+@@ -28,7 +28,11 @@
+
+ #include <sys/socket.h>
+ #include <net/if.h>
++#if defined(__DragonFly__)
++#include <net/tun/if_tun.h>
++#else
+ #include <net/if_tun.h>
++#endif
+
+ #include "sysdep.h"
+