aboutsummaryrefslogtreecommitdiff
path: root/recipes/tor/tor_0.1.1.26.bb
blob: 1045c0b6b662ef54643943d310b0b2b2a09bc9ee (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
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://configure.patch \
          file://make.patch \
          file://compat.patch \
          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] = "0667df7a1f670bee5163b607aea172ba"
SRC_URI[sha256sum] = "3be8c89be5b927e73b77a82ca3d83f0f162fceea2d6a14ce1c0cf5333b36cd1c"