aboutsummaryrefslogtreecommitdiff
path: root/recipes/tinc/tinc_1.0.2.bb
blob: cc7d3ed2079aea72b4227c7672eaeb34c49348e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SECTION = "console/network"
DESCRIPTION ="tinc is a Virtual Private Network (VPN) daemon"
HOMEPAGE = "http://www.tinc-vpn.org/"
LICENSE = "GPLv2"
PR = "r2"

SRC_URI="http://www.tinc-vpn.org/packages/tinc-1.0.2.tar.gz \
	file://mtu-vlan.diff \
	file://public-key-fix.diff \
	file://init"

DEPENDS = "openssl lzo zlib"
RRECOMMENDS_${PN} = "kernel-module-tun"

inherit autotools

EXTRA_OECONF = "--disable-maintainer-mode --disable-tracing"

do_configure() {
	oe_runconf
}

do_compile() {
	oe_runmake
}

do_install() {
        oe_runmake install DESTDIR=${D}
	install -d ${D}${sysconfdir}/init.d
	install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/tinc
}

SRC_URI[md5sum] = "5396e8d279b5140e86113c80abc041ad"
SRC_URI[sha256sum] = "2e6a535ba29d06337daf22ae12e17cbe10e70de95134ebd7b6e8a6838e3ca5a0"