From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ESImHyAs114rNAAA0tVLHw (envelope-from ) for ; Wed, 03 Jun 2020 04:50:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mBi3GiAs114PXQAAB5/wlQ (envelope-from ) for ; Wed, 03 Jun 2020 04:50:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C72219403EC for ; Wed, 3 Jun 2020 04:50:39 +0000 (UTC) Received: from localhost ([::1]:42972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgLMM-00012A-Fq for larch@yhetil.org; Wed, 03 Jun 2020 00:50:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgLME-00011v-0R for guix-devel@gnu.org; Wed, 03 Jun 2020 00:50:30 -0400 Received: from mx1.riseup.net ([198.252.153.129]:44920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgLMC-00048I-JN for guix-devel@gnu.org; Wed, 03 Jun 2020 00:50:29 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 49cGfy1sqJzFdXP for ; Tue, 2 Jun 2020 21:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1591159826; bh=6ZacG4zP4nh/JCjqI3/eRMY4FsZKAF4eAUko/BWiDRI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=V5yGGO6viXsu53qErbiVvD5E86Rghnvua5ZszmvbWLt8GEUm4cIHe1tokQt3WDEN1 J3hNsWV8DFAULJDQhFSrNzeuchNCnlGHeOphH+Y+TrSJC82fxUvdaVYEyYJW9W4A/k LWlk8jXda0qMRFuuwr+E4jcmoo3oA/58LjlPWZBw= X-Riseup-User-ID: 2CCC12CE7F0771E858EED0689506E66A3F414962E0D3B2E9ADE6ED7E4E94B38A Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 49cGfx1TpqzJpn8 for ; Tue, 2 Jun 2020 21:50:00 -0700 (PDT) Date: Wed, 3 Jun 2020 01:49:43 -0300 From: Andre Batista To: guix-devel@gnu.org Subject: Re: [PATCH] Add Tor client only package definition Message-ID: <20200603044943.GA6679@andel> References: <20200517031127.GA17209@andel> <87y2phys3f.fsf@gnu.org> <20200526145621.GA28490@andel> <20200531194030.GA30215@andel> <20200531234236.GA9783@andel> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: <20200531234236.GA9783@andel> Received-SPF: pass client-ip=198.252.153.129; envelope-from=nandre@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/03 00:50:26 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=V5yGGO6v; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.29 X-TUID: fMcblKV41kxx --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I need to stop thinking of cars and cdrs. It didn't even try to compile again, just gave me the address on the store, so I'm guessing guile is smart enough to see it's equivalent and does not care at all. I'll be less clumsy next time around. --- --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Description: 018cffc9c9e5a5855733f5f45a1c4d396bb6a321.diff Content-Disposition: attachment; filename="diff.new" --- a/gnu/packages/tor.scm 2020-06-03 01:29:12.723126381 -0300 +++ b/gnu/packages/tor.scm 2020-06-03 01:29:02.532964662 -0300 @@ -27,6 +27,7 @@ (define-module (gnu packages tor) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) @@ -85,11 +86,36 @@ web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol. +This package is the full featured @code{tor} which is needed for running +relays, bridges or directory authorities. If you just want to access the Tor +network or to setup an onion service you may install @code{tor-client} +instead.") + (license license:bsd-3))) + +(define-public tor-client + (package + (inherit tor) + (name "tor-client") + (arguments + (substitute-keyword-arguments (package-arguments tor) + ((#:configure-flags flags) + (append flags + '("--disable-module-relay"))))) + (synopsis "Client to the anonymous Tor network") + (description + "Tor protects you by bouncing your communications around a distributed +network of relays run by volunteers all around the world: it prevents +somebody watching your Internet connection from learning what sites you +visit, and it prevents the sites you visit from learning your physical +location. Tor works with many of your existing applications, including +web browsers, instant messaging clients, remote login, and other +applications based on the TCP protocol. + To @code{torify} applications (to take measures to ensure that an application, which has not been designed for use with Tor such as ssh, will use only Tor for internet connectivity, and also ensures that there are no leaks from DNS, UDP or -the application layer) you need to install @code{torsocks}.") - (license license:bsd-3))) +the application layer) you need to install @code{torsocks}. This package only +provides a client to the Tor Network."))) (define-public torsocks (package --oLBj+sq0vYjzfsbl--