26 lines
739 B
Bash
26 lines
739 B
Bash
# Template file for 'tor'
|
|
pkgname=tor
|
|
version=0.2.8.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="zlib-devel libressl-devel libevent-devel libseccomp-devel"
|
|
depends="ca-certificates torsocks"
|
|
conf_files="/etc/tor/torrc"
|
|
system_accounts="tor"
|
|
tor_homedir="/var/lib/tor"
|
|
make_dirs="/var/lib/tor 0700 tor tor"
|
|
short_desc="Anonymity Online"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="http://www.torproject.org/"
|
|
distfiles="https://www.torproject.org/dist/tor-$version.tar.gz"
|
|
checksum=3dc9fc02f7cd22ed5fce707e0d9b26a72b1bd0976766a804cb13078d32e3ab5a
|
|
|
|
post_install() {
|
|
# Use our own default config file.
|
|
vinstall ${FILESDIR}/torrc 640 etc/tor
|
|
rm -f ${DESTDIR}/etc/tor/torrc.sample
|
|
vlicense LICENSE
|
|
vsv tor
|
|
}
|