summaryrefslogtreecommitdiff
path: root/packages/openvpn/openvpn_2.0rc1.bb
blob: 84e579b513dd6ad547cc036fef5626b0eb0c1ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SECTION = "console/network"
DESCRIPTION = "A VPN solution via tun device.  Not IPSEC!"
HOMEPAGE = "http://openvpn.sourceforge.net"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
LICENSE = "GPLv2"
PRIORITY = "optional"
DEPENDS = "lzo openssl"
RRECOMMENDS = "kernel-module-tun"
PR = "r2"

SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-2.0_rc1.tar.gz \
	file://openvpn"
S = "${WORKDIR}/openvpn-2.0_rc1"

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
}