summaryrefslogtreecommitdiff
path: root/packages/openvpn/openvpn_2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openvpn/openvpn_2.0.bb')
-rw-r--r--packages/openvpn/openvpn_2.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/openvpn/openvpn_2.0.bb b/packages/openvpn/openvpn_2.0.bb
index e69de29bb2..e67a99c9eb 100644
--- a/packages/openvpn/openvpn_2.0.bb
+++ b/packages/openvpn/openvpn_2.0.bb
@@ -0,0 +1,21 @@
+SECTION = "console/network"
+DESCRIPTION = "A full-featured SSL VPN solution via tun device."
+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 = "r0"
+
+SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
+ file://openvpn"
+S = "${WORKDIR}/openvpn-${PV}"
+
+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
+}