pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/openvpn Make it work on DragonFly 2.0 and up. Bump...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b0cfcb1a516
branches:  trunk
changeset: 551037:8b0cfcb1a516
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Fri Dec 05 08:13:35 2008 +0000

description:
Make it work on DragonFly 2.0 and up. Bump PKGREVISION.

diffstat:

 net/openvpn/Makefile         |   4 ++--
 net/openvpn/distinfo         |   3 ++-
 net/openvpn/patches/patch-aa |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 58b6ffcd6109 -r 8b0cfcb1a516 net/openvpn/Makefile
--- a/net/openvpn/Makefile      Fri Dec 05 06:48:05 2008 +0000
+++ b/net/openvpn/Makefile      Fri Dec 05 08:13:35 2008 +0000
@@ -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 -r 58b6ffcd6109 -r 8b0cfcb1a516 net/openvpn/distinfo
--- a/net/openvpn/distinfo      Fri Dec 05 06:48:05 2008 +0000
+++ b/net/openvpn/distinfo      Fri Dec 05 08:13:35 2008 +0000
@@ -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 -r 58b6ffcd6109 -r 8b0cfcb1a516 net/openvpn/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openvpn/patches/patch-aa      Fri Dec 05 08:13:35 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index