# Template file for 'tor' pkgname=tor version=0.3.5.7 revision=1 build_style=gnu-configure makedepends="libevent-devel libseccomp-devel zlib-devel" depends="ca-certificates torsocks" short_desc="Anonymity Online" maintainer="Juan RP " license="BSD-3-Clause" homepage="https://www.torproject.org/" changelog="https://blog.torproject.org/new-releases-tor-0357-03410-and-03311" distfiles="https://www.torproject.org/dist/tor-${version}.tar.gz" checksum=1b0887fc21ac535befea7243c5d5f1e31394d7458d64b30807a3e98cca0d839e conf_files="/etc/tor/torrc" system_accounts="tor" tor_homedir=/var/lib/tor make_dirs="/var/lib/tor 0700 tor tor" case "$XBPS_TARGET_MACHINE" in aarch64*) configure_args="--disable-seccomp";; esac 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 }