2012-03-08 16:50:52 +01:00
|
|
|
# Template file for 'tor'
|
|
|
|
pkgname=tor
|
2012-06-20 16:11:17 +02:00
|
|
|
version=0.2.2.37
|
2012-07-09 23:06:54 +02:00
|
|
|
revision=2
|
2012-03-08 16:50:52 +01:00
|
|
|
build_style=gnu-configure
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="zlib-devel openssl-devel libevent-devel"
|
|
|
|
fulldepends="ca-certificates tsocks"
|
2012-03-08 16:50:52 +01:00
|
|
|
short_desc="Anonymity Online"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2012-07-09 23:06:54 +02:00
|
|
|
homepage="http://www.torproject.org/"
|
|
|
|
distfiles="http://www.torproject.org/dist/tor-$version.tar.gz"
|
2012-06-20 16:11:17 +02:00
|
|
|
checksum=ae2c1fb52babd9e92264ac7c4486d3e941be6deb91b8a590965848fbbcbd9e88
|
2012-03-08 16:50:52 +01:00
|
|
|
long_desc="
|
|
|
|
Tor is a network of virtual tunnels that allows people and groups to improve
|
|
|
|
their privacy and security on the Internet. It also enables software developers
|
|
|
|
to create new communication tools with built-in privacy features. Tor provides
|
|
|
|
the foundation for a range of applications that allow organizations and
|
|
|
|
individuals to share information over public networks without compromising
|
|
|
|
their privacy."
|
|
|
|
|
|
|
|
conf_files="/etc/tor/tor-tsocks.conf /etc/tor/torrc"
|
|
|
|
make_dirs="/var/lib/tor 0700 tor tor"
|
|
|
|
systemd_services="tor.service on"
|
|
|
|
system_accounts="tor"
|
|
|
|
tor_homedir="/var/lib/tor"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Use our own default config file.
|
|
|
|
vinstall ${FILESDIR}/torrc 640 etc/tor
|
|
|
|
rm -f ${DESTDIR}/etc/tor/torrc.sample
|
|
|
|
# Install systemd service.
|
2012-07-09 23:06:54 +02:00
|
|
|
vinstall ${FILESDIR}/tor.service 644 usr/lib/systemd/system
|
2012-03-08 16:50:52 +01:00
|
|
|
}
|