summaryrefslogtreecommitdiff
path: root/packages/tor/tor_0.1.1.23.bb
blob: 54f9ed2f7d0991ddf6d1284a770cc516f0ff1c93 (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
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"
MAINTAINER = "Bastian Ballmann <balle@chaostal.de>"
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
}