summaryrefslogtreecommitdiff
path: root/recipes/openvpn
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2010-09-24 14:46:20 -0400
committerMichael Smith <msmith@cbnco.com>2010-09-27 07:53:40 -0400
commit3619711f4c1c3e99d542801259d029e74a8cab8b (patch)
tree326e42f282c374f6b802b4a7235b512ca7dc38e2 /recipes/openvpn
parent3f0fd6ab6747bbd143b317dc64570157b6764c95 (diff)
openvpn: change kernel-module-tun to RRECOMMEND
RRECOMMEND, not RDEPEND, in case a particular platform doesn't have a separate kernel-module-tun package. Matches behaviour of other packages, like bridge-utils. Also switch to INC_PR. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/openvpn')
-rw-r--r--recipes/openvpn/openvpn.inc4
-rw-r--r--recipes/openvpn/openvpn_2.1.0.bb2
-rw-r--r--recipes/openvpn/openvpn_2.1.3.bb2
3 files changed, 5 insertions, 3 deletions
diff --git a/recipes/openvpn/openvpn.inc b/recipes/openvpn/openvpn.inc
index c4870b5dfa..68bfc51716 100644
--- a/recipes/openvpn/openvpn.inc
+++ b/recipes/openvpn/openvpn.inc
@@ -4,7 +4,9 @@ SECTION = "console/network"
LICENSE = "GPLv2"
PRIORITY = "optional"
DEPENDS = "lzo openssl"
-RDEPENDS_${PN} = "kernel-module-tun"
+RRECOMMENDS_${PN} = "kernel-module-tun"
+
+INC_PR = "r2"
SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
file://openvpn"
diff --git a/recipes/openvpn/openvpn_2.1.0.bb b/recipes/openvpn/openvpn_2.1.0.bb
index 16d551f8d7..69d1da596a 100644
--- a/recipes/openvpn/openvpn_2.1.0.bb
+++ b/recipes/openvpn/openvpn_2.1.0.bb
@@ -1,6 +1,6 @@
require openvpn.inc
-PR = "r1"
+PR = "${INC_PR}.0"
SRC_URI = "http://openvpn.net/release/${P}.tar.gz \
file://openvpn"
diff --git a/recipes/openvpn/openvpn_2.1.3.bb b/recipes/openvpn/openvpn_2.1.3.bb
index c44815180c..ceadf31e6a 100644
--- a/recipes/openvpn/openvpn_2.1.3.bb
+++ b/recipes/openvpn/openvpn_2.1.3.bb
@@ -1,6 +1,6 @@
require openvpn.inc
-PR = "r0"
+PR = "${INC_PR}.0"
SRC_URI = "http://openvpn.net/release/${P}.tar.gz \
file://openvpn"