From c379ec94f53ddc084db557dbd6d34e4fcfa26929 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 23 Mar 2006 16:53:27 +0000 Subject: Add DragonFly support. --- net/vpnc/distinfo | 5 +++-- net/vpnc/patches/patch-ab | 17 ++++++++++++++--- net/vpnc/patches/patch-ad | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 net/vpnc/patches/patch-ad 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 + #include ++#if defined(__DragonFly__) ++#include ++#else + #include ++#endif + + #include "sysdep.h" + -- cgit v1.2.3