summaryrefslogtreecommitdiff
path: root/recipes/openvpn/openvpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/openvpn/openvpn.inc')
-rw-r--r--recipes/openvpn/openvpn.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/openvpn/openvpn.inc b/recipes/openvpn/openvpn.inc
new file mode 100644
index 0000000000..70cdf4c84e
--- /dev/null
+++ b/recipes/openvpn/openvpn.inc
@@ -0,0 +1,21 @@
+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"
+
+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
+}