summaryrefslogtreecommitdiff
path: root/packages/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openvpn')
-rw-r--r--packages/openvpn/openvpn_2.0.9.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/openvpn/openvpn_2.0.9.bb b/packages/openvpn/openvpn_2.0.9.bb
new file mode 100644
index 0000000000..badac9b551
--- /dev/null
+++ b/packages/openvpn/openvpn_2.0.9.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "A full-featured SSL VPN solution via tun device."
+HOMEPAGE = "http://openvpn.sourceforge.net"
+SECTION = "console/network"
+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}"
+
+CFLAGS += "-fno-inline"
+
+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
+}