@comment PKG_FORMAT_REVISION:1.1
@name tor-0.2.2.35
@comment ORIGIN:security/tor
@cwd /usr/local
@pkgdep openssl-1.0.0_10
@comment DEPORIGIN:security/openssl
@pkgdep libevent2-2.0.16
@comment DEPORIGIN:devel/libevent2
@conflicts tor-devel-[0-9]*
@exec echo "===> Creating users and/or groups."
@exec if ! /usr/sbin/pw groupshow _tor >/dev/null 2>&1; then  echo "Creating group '_tor' with gid '256'.";  /usr/sbin/pw groupadd _tor -g 256; else echo "Using existing group '_tor'."; fi
@exec if ! /usr/sbin/pw usershow _tor >/dev/null 2>&1; then  echo "Creating user '_tor' with uid '256'.";  /usr/sbin/pw useradd _tor -u 256 -g 256  -c "Tor anonymizing router" -d /var/db/tor -s /usr/sbin/nologin;  else echo "Using existing user '_tor'."; fi
@exec install -d -g 256 -o 256 /var/db/tor
share/licenses/tor-0.2.2.35/catalog.mk
@comment MD5:a627fc3e9b431a6cc70c4f14a02faf3f
share/licenses/tor-0.2.2.35/LICENSE
@comment MD5:807c1ba1db0a83176c87c49994680ffc
share/licenses/tor-0.2.2.35/BSD
@comment MD5:8429e3ae8fdbfe553453f89984e1b5c1
man/man1/tor.1.gz
@comment MD5:9def8864e3721ee22bba3ec057b829f1
man/man1/tor-resolve.1.gz
@comment MD5:72881b88c801ff4dcee073ac459c4fb9
man/man1/torify.1.gz
@comment MD5:89363a508f8143d6a1e3ebc75d599312
man/man1/tor-gencert.1.gz
@comment MD5:cd24bae1d28034bc3292b6d27eac37b5
@unexec rm -f %D/man/cat1/tor.1.gz %D/man/cat1/tor.1 %D/man/cat1/tor.1.gz %D/man/cat1/tor.1.gz.gz %D/man/cat1/tor.1.gz.bz2
@unexec rm -f %D/man/cat1/tor-resolve.1.gz %D/man/cat1/tor-resolve.1 %D/man/cat1/tor-resolve.1.gz %D/man/cat1/tor-resolve.1.gz.gz %D/man/cat1/tor-resolve.1.gz.bz2
@unexec rm -f %D/man/cat1/torify.1.gz %D/man/cat1/torify.1 %D/man/cat1/torify.1.gz %D/man/cat1/torify.1.gz.gz %D/man/cat1/torify.1.gz.bz2
@unexec rm -f %D/man/cat1/tor-gencert.1.gz %D/man/cat1/tor-gencert.1 %D/man/cat1/tor-gencert.1.gz %D/man/cat1/tor-gencert.1.gz.gz %D/man/cat1/tor-gencert.1.gz.bz2
bin/tor
@comment MD5:ab054e167e846836dd9fdf06a8bc269c
bin/tor-gencert
@comment MD5:371b4bad78f56083fd7d7349f62d9cb1
bin/tor-resolve
@comment MD5:6b57b1f28719c399bc3b03383f7ad0b6
bin/torify
@comment MD5:5de638cfc860637b9cbd6627338eb9e5
etc/tor/tor-tsocks.conf.sample
@comment MD5:771897a706f291187a3c5119ba683ce6
etc/tor/torrc.sample
@comment MD5:60d0a060df733854447b7352e1a515fb
share/tor/geoip
@comment MD5:1f69f0b25d7897e2029311201e319f94
@dirrm share/tor
@dirrm etc/tor
@unexec if /usr/sbin/pw usershow _tor >/dev/null 2>&1; then  echo "==> You should manually remove the \"_tor\" user. "; fi
@cwd 
@dirrm share/licenses/tor-0.2.2.35
@unexec rmdir %D/share/licenses 2>/dev/null || true
@cwd /usr/local
etc/rc.d/tor
@comment MD5:902274aefd0511834104001049afcbb2
@display +DISPLAY
