3fdad91bf9
Discussed with @chneukirchen.
25 lines
737 B
Bash
25 lines
737 B
Bash
# Template file for 'tor'
|
|
pkgname=tor
|
|
version=0.2.6.10
|
|
revision=2
|
|
build_style=gnu-configure
|
|
makedepends="zlib-devel libressl-devel libevent-devel libseccomp-devel"
|
|
depends="ca-certificates tsocks"
|
|
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="http://www.torproject.org/dist/tor-$version.tar.gz"
|
|
checksum=0542c0efe43b86619337862fa7eb02c7a74cb23a79d587090628a5f0f1224b8d
|
|
|
|
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
|
|
}
|