summaryrefslogtreecommitdiff
path: root/packages/openvpn/openvpn_1.6.0.bb
blob: 4b5c46e85960a9202a2a183db27124a4adab39c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}