From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0@we.make.ritual.n0.is Subject: Re: Tor Browser Date: Wed, 29 Jun 2016 12:48:54 +0000 Message-ID: <87bn2kxirt.fsf@we.make.ritual.n0.is> References: <20160623104107.GA2505@shadowwalker> <20160623132347.GA9193@shadowwalker> <87a8ia7pq4.fsf@gnu.org> <20160624134357.GA30727@shadowwalker> <87por637vi.fsf_-_@gnu.org> <20160624174913.GA19633@shadowwalker> <87r3bkmfja.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIEvS-0006bI-8g for guix-devel@gnu.org; Wed, 29 Jun 2016 08:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIEvO-0001Oo-W5 for guix-devel@gnu.org; Wed, 29 Jun 2016 08:49:06 -0400 Received: from 93-95-228-168.1984.is ([93.95.228.168]:40381 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIEvO-0001Ja-Hz for guix-devel@gnu.org; Wed, 29 Jun 2016 08:49:02 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 017bfcbe TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Wed, 29 Jun 2016 12:48:57 +0000 (UTC) In-Reply-To: <87r3bkmfja.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 26 Jun 2016 12:05:13 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Ludovic Courtès writes: > Hi! > > ng0 skribis: > >> What it does is the following: >> >> A shallow checkout of https://git.torproject.org/tor-browser.git >> which is usually pinned to a tag specified in the gitian build >> repository of torproject for tor-browser, >> pull in gentoo specific patchsets for the firefox version, >> pull in an architecture specific torbrowser from either >> https://archive.torproject.org/tor-package-archive/${PN}/${TOR_PV}or >> https://dist.torproject.org/${PN}/${TOR_PV} (arch is x86 or amd64), >> prepare the source: >> 1. apply firefox patches >> 2. revert "change the default firefox profile directory to be tbb-relative" (patch) >> 3. allow the lightspark and freshplayerplugins for whatever reasons (except them from a blocklist) >> 4. fix some nss problems >> 5. set the plugins directory to the global one of gentoo >> 6. fix sandbox violations >> etc etc (very similar to firefox at this point and before it) >> configure: >> rename install executables and directories >> disable the update + set the tor-browser version >> install (build): >> some orientation around the tor-browser-bunde.git repository >> some firefox again >> set a profile >> install files. > > I suppose TB contains a script that does all that, right? Would it work > to simply run it? If it invokes wget/curl, then this needs to be > replaced, but the rest should be fine. It's not that easy I'm afraid. Currently they use a gitian build, as described in this README[0], which the person maintaining the torbrowser ebuild for Gentoo out of portage replicates and follows in parts. It can't be followed completely, as `builders/tor-browser-bundle' requires a checkout of gitian of the torproject.org So we have to look at what they do and recreate this build procedure, there's no individual Makefile, the releases are created in VMs. Dependencies are kept up to date here[1]. This[2] is the script connecting/using gitian for gnu-linux releases. The Makefile just runs the corresponding scripts. 18 Months ago they also started a trac ticket on NixOS as an idea[3] > It’s unfortunate that there’s no ready-to-build TB tarball, that would > simplify things for us. Yes.. But I think icecat suffers from the same problem, only that icecat tarballs/binaries are built using a bash script applying all that's needed to the firefox sources again. > Thanks, > Ludo’. > [0]: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/README.build [1]: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/versions [2]: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/mkbundle-linux.sh [3]: https://trac.torproject.org/projects/tor/ticket/12520 -- ♥Ⓐ ng0 For non-prism friendly talk find me on psyced.org / loupsycedyglgamf.onion