27 lines
750 B
Bash
27 lines
750 B
Bash
# Template file for 'tor'
|
|
pkgname=tor
|
|
version=0.2.6.9
|
|
revision=1
|
|
build_pie=yes
|
|
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=4a6c29ad89a98d7832c599d9480d6d8e55355fb3b8f4b506c5df557f15942f9c
|
|
|
|
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
|
|
}
|