# Template file for 'tor' pkgname=tor version=0.2.9.10 revision=3 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 " license="BSD" homepage="https://www.torproject.org/" distfiles="https://www.torproject.org/dist/tor-$version.tar.gz" checksum=d611283e1fb284b5f884f8c07e7d3151016851848304f56cfdf3be2a88bd1341 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 }