From f6c14242ddf5a02c9543eca44a7c6588831589f0 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 30 Apr 2011 08:26:41 +0000 Subject: [PATCH] upgrading package: openvpn -> 2.2.0 --- openvpn/openvpn.patch | 19 +++---------------- openvpn/openvpn.spec | 6 +++--- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/openvpn/openvpn.patch b/openvpn/openvpn.patch index 24f08c59fe..de3ce11acd 100644 --- a/openvpn/openvpn.patch +++ b/openvpn/openvpn.patch @@ -1,20 +1,7 @@ -Index: sample-scripts/verify-cn ---- sample-scripts/verify-cn.orig 2005-02-07 03:08:16 +0100 -+++ sample-scripts/verify-cn 2005-08-25 19:37:04 +0200 -@@ -36,7 +36,8 @@ - if ($x509 =~ /\/CN=([^\/]+)/) { - # Accept the connection if the X509 common name - # string matches the passed cn argument. -- if ($cn eq $1) { -+ my $x509_cn = $1; -+ if ($x509_cn =~ m/^${cn}$/s) { - exit 0; - } - } Index: tun.c ---- tun.c.orig 2005-08-04 06:46:17.000000000 +0200 -+++ tun.c 2005-09-28 20:31:17.062344594 +0200 -@@ -1168,7 +1168,8 @@ +--- tun.c.orig 2011-04-06 18:05:52.000000000 +0200 ++++ tun.c 2011-04-30 10:22:38.000000000 +0200 +@@ -1400,7 +1400,8 @@ #elif defined(TARGET_SOLARIS) #ifndef TUNNEWPPA diff --git a/openvpn/openvpn.spec b/openvpn/openvpn.spec index 9afd78a597..ac52465e48 100644 --- a/openvpn/openvpn.spec +++ b/openvpn/openvpn.spec @@ -22,8 +22,8 @@ ## # package version -%define V_dist 2.1.4 -%define V_opkg 2.1.4 +%define V_dist 2.2.0 +%define V_opkg 2.2.0 # package information Name: openvpn @@ -36,7 +36,7 @@ Class: BASE Group: Network License: GPL Version: %{V_opkg} -Release: 20101111 +Release: 20110430 # package options %option with_fsl yes