summaryrefslogtreecommitdiff
path: root/recipes/openvpn/openvpn.inc
blob: c4870b5dfa1222bb02ebf5c02710b7dcb36f0454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_${PN} = "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
}