summaryrefslogtreecommitdiff
path: root/packages/tor/tor_0.1.1.23.bb
blob: 29cda6945f6fe76f4353c278f136ab6d331c8338 (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
DESCRIPTION = "Tor is a network of virtual tunnels that allows people and groups \
              to improve their privacy and security on the Internet."
SECTION = "console/network"
PRIORITY = "optional"
HOMEPAGE = "http://tor.eff.org"
LICENSE = "BSD"
PR="r0"
DEPENDS = "libevent openssl zlib"

SRC_URI = "http://tor.eff.org/dist/tor-0.1.1.23.tar.gz \
          file://configure.patch;patch=1;pnum=1 \
          file://make.patch;patch=1;pnum=1 \
          file://compat.patch;patch=1;pnum=1 \
          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
}