summaryrefslogtreecommitdiff
path: root/net/openvpn
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2008-12-05 08:13:35 +0000
committerhasso <hasso@pkgsrc.org>2008-12-05 08:13:35 +0000
commitd7adb762c0a1ff050edfe654a0e6aee437d20083 (patch)
tree82d060004f3c0939a06580533a4cb4199630bb6d /net/openvpn
parentb4f7fd588ddcfb7db86bf8ba1d4c45121a043835 (diff)
downloadpkgsrc-d7adb762c0a1ff050edfe654a0e6aee437d20083.tar.gz
Make it work on DragonFly 2.0 and up. Bump PKGREVISION.
Diffstat (limited to 'net/openvpn')
-rw-r--r--net/openvpn/Makefile4
-rw-r--r--net/openvpn/distinfo3
-rw-r--r--net/openvpn/patches/patch-aa16
3 files changed, 20 insertions, 3 deletions
diff --git a/net/openvpn/Makefile b/net/openvpn/Makefile
index 361ec034f52..a21628faae7 100644
--- a/net/openvpn/Makefile
+++ b/net/openvpn/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.27 2008/11/23 15:16:42 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2008/12/05 08:13:35 hasso Exp $
#
DISTNAME= openvpn-2.1_rc13
PKGNAME= ${DISTNAME:S/_//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://openvpn.net/release/ \
http://openvpn.net/release/old/
diff --git a/net/openvpn/distinfo b/net/openvpn/distinfo
index a0ebc31e0cc..d4f280a7cb1 100644
--- a/net/openvpn/distinfo
+++ b/net/openvpn/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.15 2008/10/09 10:57:23 sborrill Exp $
+$NetBSD: distinfo,v 1.16 2008/12/05 08:13:35 hasso Exp $
SHA1 (openvpn-2.1_rc13.tar.gz) = 904d54249e62f02b6f2c7fc4a35f56babe014b7e
RMD160 (openvpn-2.1_rc13.tar.gz) = d52261aa1992f46f890793944858f057fa239fdd
Size (openvpn-2.1_rc13.tar.gz) = 825890 bytes
+SHA1 (patch-aa) = e27e5a6411c9fb6545a1ad630f165200546b7213
SHA1 (patch-ab) = d26cdc9166a8813860f31cb5b11bc5b3643b8aa5
SHA1 (patch-ac) = f59615702208cae2a094306bc5fa7fb96234e55a
SHA1 (patch-ad) = 69f5fff5105131dc05ab38a1a717e1b363f88c1c
diff --git a/net/openvpn/patches/patch-aa b/net/openvpn/patches/patch-aa
new file mode 100644
index 00000000000..c2e74d227a1
--- /dev/null
+++ b/net/openvpn/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.4 2008/12/05 08:13:35 hasso Exp $
+
+--- route.c.orig 2008-11-17 02:48:04 +0200
++++ route.c 2008-12-04 23:33:09 +0200
+@@ -1557,7 +1557,11 @@ get_default_gateway (in_addr_t *gateway,
+ #define RTA_NETMASK 0x4
+
+ #define RTM_GET 0x4
++#if defined(TARGET_DRAGONFLY) && __DragonFly_version >= 200000
++#define RTM_VERSION 6
++#else
+ #define RTM_VERSION 5
++#endif
+
+ #define RTF_UP 0x1
+ #define RTF_GATEWAY 0x2