Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

The ports tree of FreeBSD 11 has the Tor 0.3.1.9 marked broken as “BROKEN_powerpc64= does not build: error: Need a uint128_t implementation!” The port can be successfuly built using GNU Compiler Collection 5.

Install GCC5 on your FreeBSD.

# pkg install gcc5;

Add the following settings to the /etc/make.conf to be applied to every build where “make” is used.

.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc5)
CC=gcc5
CXX=g++5
CPP=cpp5
.endif

Comment out the “BROKEN_powerpc64=” line in the /usr/ports/security/tor/Makefile.

#BROKEN_powerpc64= does not build: error: Need a uint128_t implementation!

Make and install the Tor port.

# cd /usr/ports/security/tor;
# make install clean;

Building should begin with no errors and in very first lines you should notice the following.

checking for gcc... gcc5

Verify if desired version has be installed.

# pkg info | grep ^tor-;
tor-0.3.1.9_1                  Anonymizing overlay network for TCP

Startup the Tor daemon.

# service tor start;

Read and understand the Tor manual before enabling the service.

Send me a digital donation if you find this information useful
Wireless Intelligent Lifeform Keen on Accurate Repair and Troubleshooting
brave