summaryrefslogtreecommitdiff
path: root/packages/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openvpn')
-rw-r--r--packages/openvpn/openvpn_1.5.0.bb6
-rw-r--r--packages/openvpn/openvpn_1.6.0.bb19
-rw-r--r--packages/openvpn/openvpn_2.0rc1.bb21
3 files changed, 43 insertions, 3 deletions
diff --git a/packages/openvpn/openvpn_1.5.0.bb b/packages/openvpn/openvpn_1.5.0.bb
index f5eabe4ae0..2ae76af84e 100644
--- a/packages/openvpn/openvpn_1.5.0.bb
+++ b/packages/openvpn/openvpn_1.5.0.bb
@@ -11,7 +11,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-${PV}.tar.gz \
inherit autotools
do_install_append() {
- install -d ${D}/${sysconfdir}/init.d
- install -d ${D}/${sysconfdir}/openvpn
- install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/openvpn
+ install -m 755 ${WORKDIR}/openvpn ${D}${sysconfdir}/init.d
}
diff --git a/packages/openvpn/openvpn_1.6.0.bb b/packages/openvpn/openvpn_1.6.0.bb
index e69de29bb2..4b5c46e859 100644
--- a/packages/openvpn/openvpn_1.6.0.bb
+++ b/packages/openvpn/openvpn_1.6.0.bb
@@ -0,0 +1,19 @@
+SECTION = "console/network"
+DESCRIPTION = "A VPN solution via tun device. Not IPSEC!"
+HOMEPAGE = "http://openvpn.sourceforge.net"
+LICENSE = "GPLv2"
+PRIORITY = "optional"
+DEPENDS = "lzo openssl"
+RDEPENDS = "kernel-module-tun"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-${PV}.tar.gz \
+ file://openvpn"
+
+inherit autotools
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/openvpn
+ install -m 755 ${WORKDIR}/openvpn ${D}${sysconfdir}/init.d
+}
diff --git a/packages/openvpn/openvpn_2.0rc1.bb b/packages/openvpn/openvpn_2.0rc1.bb
index e69de29bb2..8003d88709 100644
--- a/packages/openvpn/openvpn_2.0rc1.bb
+++ b/packages/openvpn/openvpn_2.0rc1.bb
@@ -0,0 +1,21 @@
+SECTION = "console/network"
+DESCRIPTION = "A VPN solution via tun device. Not IPSEC!"
+HOMEPAGE = "http://openvpn.sourceforge.net"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+LICENSE = "GPLv2"
+PRIORITY = "optional"
+DEPENDS = "lzo openssl"
+RDEPENDS = "kernel-module-tun"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-2.0_rc1.tar.gz \
+ file://openvpn"
+S = "${WORKDIR}/openvpn-2.0_rc1"
+
+inherit autotools
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/openvpn
+ install -m 755 ${WORKDIR}/openvpn ${D}${sysconfdir}/init.d
+}