aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tor/tor_0.2.1.30.bb
blob: e713629b5cf7c147d44102eb65b92f6d842a3771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Tor is a network of virtual tunnels that allows people and groups \
              to improve their privacy and security on the Internet."
HOMEPAGE = "http://tor.eff.org"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "BSD"
DEPENDS = "libevent openssl zlib"

SRC_URI = "http://tor.eff.org/dist/${P}.tar.gz \
           file://tor.init"

inherit autotools update-rc.d

INITSCRIPT_NAME = "tor"

do_install_append() {
	install -d ${D}${sysconfdir}/init.d
	install ${WORKDIR}/tor.init ${D}${sysconfdir}/init.d/tor
}

SRC_URI[md5sum] = "6c6d61e053af5969a245d025c4cfce9d"
SRC_URI[sha256sum] = "f352a1a8ffa469ae251324f89386074074bcffef1a7c6a72caa7e4c2d12ce109"