summaryrefslogtreecommitdiff
path: root/tinc/tinc_1.0.2.oe
blob: 0aeae28ab20527d6d0e9cc58f7648a390fbb7ea5 (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
SECTION = "console/network"
DESCRIPTION="tinc is a Virtual Private Network (VPN) daemon"
SRC_URI="http://www.tinc-vpn.org/packages/tinc-1.0.2.tar.gz \
	file://mtu-vlan.diff;patch=1 \
	file://public-key-fix.diff;patch=1 \
	file://init"

DEPENDS="openssl lzo zlib"
RDEPENDS = "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
}