From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 01:50:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A6C7392 for ; Wed, 24 Sep 2014 01:50:05 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD6DC987 for ; Wed, 24 Sep 2014 01:50:04 +0000 (UTC) Received: from r56.edvax.de (port-92-195-78-194.dynamic.qsc.de [92.195.78.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id CAF123CD81; Wed, 24 Sep 2014 03:49:55 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s8O1nsqg003092; Wed, 24 Sep 2014 03:49:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 24 Sep 2014 03:49:54 +0200 From: Polytropon To: "William A. Mahaffey III" Subject: Re: Tor-project & git .... Message-Id: <20140924034954.442a51f9.freebsd@edvax.de> In-Reply-To: <54220668.4030404@hiwaay.net> References: <5421DC35.5000402@hiwaay.net> <20140923230305.471c5dac.freebsd@edvax.de> <54220668.4030404@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 01:50:05 -0000 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 (https://www.torproject.org/) > >> 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 ", 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@kabini1, ~/dev, 4:12:27pm] 358 % git clone > https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/refs/heads/maint-3.6 > Cloning into 'maint-3.6'... > fatal: repository > 'https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/refs/heads/maint-3.6/' > not found > [root@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. http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository http://git-scm.com/docs/git-clone There's also "git checkout" which can be used to obtain a particular branch or subtree: http://git-scm.com/docs/git-checkout 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...