From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sJvrGPZO6V5lcwAA0tVLHw (envelope-from ) for ; Tue, 16 Jun 2020 23:00:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WOO0FPZO6V5kXAAAbx9fmQ (envelope-from ) for ; Tue, 16 Jun 2020 23:00:06 +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 D9745940CBF for ; Tue, 16 Jun 2020 23:00:05 +0000 (UTC) Received: from localhost ([::1]:41002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlKYm-00082A-H8 for larch@yhetil.org; Tue, 16 Jun 2020 19:00:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlKYc-00081r-K5 for guix-devel@gnu.org; Tue, 16 Jun 2020 18:59:54 -0400 Received: from mx1.riseup.net ([198.252.153.129]:45254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlKYa-0004Vd-4I for guix-devel@gnu.org; Tue, 16 Jun 2020 18:59:54 -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 49mkDP42LvzFgsF for ; Tue, 16 Jun 2020 15:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1592348389; bh=wAABurQ0pP65r8gPtLGHE8MMl+lIWIyzF2qxLNLX2WI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Exnl/sxzuq1x77ngLBjG1yj8/wgdas2rbpTHVTlW5uhh4b8bmyCa+2BsUplTdTnbY LgbKy5cvvO4FjZra3jQoGnSM/T3Gsrliiba92Mv8yjvVnpuMbcXaRWMgCax4wnfbt0 JEvU9BfBirKxFXCj3XOfjkS8WDegbh7zb6N2mDxQ= X-Riseup-User-ID: B1DB0D91D04014C1B916404DB8DB533EB4C61E81F1F4C1AD5C4F98CB77B7AC00 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 49mkDN3FpjzJp3k for ; Tue, 16 Jun 2020 15:59:48 -0700 (PDT) Date: Tue, 16 Jun 2020 19:59:40 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: guix-devel@gnu.org Subject: Re: [PATCH] Add Tor client only package definition Message-ID: <20200616225940.GA13008@andel> References: <20200517031127.GA17209@andel> <87y2phys3f.fsf@gnu.org> <20200526145621.GA28490@andel> <20200531194030.GA30215@andel> <20200531234236.GA9783@andel> <20200603044943.GA6679@andel> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <20200603044943.GA6679@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/16 18:59:49 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.01, RCVD_IN_MSPIKE_WL=-0.01, 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=Exnl/sxz; 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: -3.31 X-TUID: 80XEKY4d77Yf --wzJLGUyc3ArbnUjN Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline; filename="0001-gnu-Add-tor-client.patch" Content-Transfer-Encoding: quoted-printable =46rom ac47ba538dd5cf628b26cce05e3b15b24ca03077 Mon Sep 17 00:00:00 2001 =46rom: =3D?UTF-8?q?Andr=3DC3=3DA9=3D20Batista?=3D Date: Tue, 16 Jun 2020 19:20:57 -0300 Subject: [PATCH] gnu: Add tor-client. To: guix-devel@gnu.org * gnu/packages/tor.scm (tor-client): New variable. --- gnu/packages/tor.scm | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index 2f2623b0e6..06debfed07 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -8,6 +8,7 @@ ;;; Copyright =A9 2017 Rutger Helling ;;; Copyright =A9 2018 Ricardo Wurmus ;;; Copyright =A9 2020 Vincent Legoll +;;; Copyright =A9 2020 Andr=E9 Batista ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,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 +87,36 @@ location. Tor works with many of your existing applica= tions, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol. =20 +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 T= or +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 applicat= ion, which has not been designed for use with Tor such as ssh, will use only To= r 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."))) =20 (define-public torsocks (package --=20 2.26.2 --6TrnltStXW4iwmi0-- --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI5BAABCgAjFiEEIBdLYNLH+F+MBdSrYrJ+WmBEwoIFAl7pTtkFgwPCZwAACgkQ YrJ+WmBEwoLNBRAAg89t6X/wz2Y/zaoMJj3hLpKn0s52qo+gR2LIXc4YEeNsDAgL WjQzXPnM8rzb2cV9kMbigVuHQ/HJO+9cGS1YOHWLH+GQr59eiFgSyKP+CtKOsBjl 41qvrLrGrUO4ZO+y2vJIu9+bPe0i7Rv8rJNOvzinmBV+oDPTbc5JTnVh5FrQ0XJo B+2SjPO7i393k63oHrDn8GUhlwoa6FA1f2ECMt2ofavCQgCBmJRPqJVJgPG+jed4 V3fNPuTvIDc4f6aLqijMlX+L7vnZM8fprtIJITSssK0GdVl8Gk2kyudejPhycnw8 JessY/j/5rEwSDaW2ayglMxL8WsjisSM0UtAZE5Se/+PqyKXoV7EiDxqyYcDgybx rZkai3nJhMrvibzOTsu5yeHFE1D7P8VGoYqdO9IjV3FZdZv9zT8vR7VNQ6X8l6VA B6h9Oe47X/5QvaScY4/3MoN/O1HIEXEHcOPEZxv5YRvAaPyaaPX/G5i/wKbxN3s+ g74jGrxsHSo1tprQU9y54TpKn7nrc+EpgTero4EsRGcBIdZPwFDejITrNlTAmeta jQOcjAaxu3rYCpDrrlgpwYxAHQf/x8auDcqlAo6Y+WboIZhZ4JqpS5Nvfy/F6KzL zBR7WBK1c8hDMS63Mgl5O3WKPVoVz2neb71qqNpx5Z+uKSQcdhZ1NyG8W9k= =fnGi -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--