Tor-project & git ....

Polytropon freebsd at
Wed Sep 24 01:50:05 UTC 2014

On Tue, 23 Sep 2014 18:46:48 -0500, William A. Mahaffey III wrote:
> On 09/23/14 16:03, Polytropon wrote:
> > On Tue, 23 Sep 2014 15:46:45 -0500, William A. Mahaffey III wrote:
> >> .... I am interested in the tor project (
> >> for anonymizing my browsing. Inconveniently (but not surprisingly), they
> >> don't have a prebuilt FBSD 9.3 package.
> > FreeBSD has a port of Tor in its collection, but I don't know
> > how far that can be used as an integration to web browsers...
> Hmmmm .... I poked around w/ pkg & found nothing .... Is the port mature 
> enough that it would have a pkg (just curious) ? If not, I will poke 
> around in my ports tree

It's possible that there is no pkg for it, but installing it
from the ports collection should not be a big problem. As far
as I see, there are only few dependencies.

> >> Even more inconveniently, they
> >> use git for project management, which I know nothing about. I downloaded
> >> & installed FBSD git (git-2.1.0) a week or 2 ago, & have been reading
> >> the man pages, but am still a bit clueless (OK, fully & completely
> >> clueless) as to how it operates, including how to download a software
> >> tree to start with.
> > That's easy: "git clone <source>", where the source is usually
> > provided on the project page. This will get you a local copy of
> > the source tree.
> I tried that & it failed, but I think I was too far down the tree, I'll 
> try again higher up ....
> [root at kabini1, ~/dev, 4:12:27pm] 358 % git clone 
> Cloning into 'maint-3.6'...
> fatal: repository 
> '' 
> not found
> [root at kabini1, ~/dev, 4:12:37pm] 359 %

It's common to clone the _whole_ repository, which means that
you have a complete copy of the entire version history of all
the files. That's often not what you want when you just need
the most recent versions of a subset of the files (i. e., the
ones you need for building from source). This local copy can
be synchronized or updated later on.

There's also "git checkout" which can be used to obtain a
particular branch or subtree:

However, fiddling with git, repositories and software not intended
for FreeBSD is not the common way to install software on FreeBSD.
The ports collection is the 1st class tool to do this (using
source code), and pkg, if a precompiled package exists. This is
to make sure that what you have will actually _compile and run_
on FreeBSD, which you often can't expect when directly downloading
source archives or cloning code repositories from the vendor.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list