From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iHs8AQxB1F4GJgAA0tVLHw (envelope-from ) for ; Sun, 31 May 2020 23:43:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2Ea8OAtB1F5gQAAA1q6Kng (envelope-from ) for ; Sun, 31 May 2020 23:43:07 +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 6E225940415 for ; Sun, 31 May 2020 23:43:07 +0000 (UTC) Received: from localhost ([::1]:60598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfXbe-00071W-As for larch@yhetil.org; Sun, 31 May 2020 19:43:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfXbR-00071K-4T for guix-devel@gnu.org; Sun, 31 May 2020 19:42:53 -0400 Received: from mx1.riseup.net ([198.252.153.129]:59202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfXbP-0002WA-GH for guix-devel@gnu.org; Sun, 31 May 2020 19:42:52 -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 49ZvxL2YlwzFfq5 for ; Sun, 31 May 2020 16:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1590968566; bh=GZQglcz98W4cDxgffyVrhMFAJhXZunYq7YYZAHWYgYY=; h=Date:From:To:Subject:References:In-Reply-To:From; b=HykmrPrYJc0GERaZVu0iP4DG7J0UEi49yr4OKWLVqFxukUuquzrLx5Y0x/eC4ToBW fxhMXwgDovWCXU4XyETllV+nd1W6rJfONPuMrLlHFQi130A9SYxgy9BpBfYrUMWh4s aduYl8AoPPfyCMvKsc6sjEC+Bi+v1VxmGYCSGUdw= X-Riseup-User-ID: 62CD1E456661BE5B42FC44A3EC528F871695BC9C32AFF62B7219C1478BABD92F Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 49ZvxK0PJZzJpp6 for ; Sun, 31 May 2020 16:42:44 -0700 (PDT) Date: Sun, 31 May 2020 20:42:36 -0300 From: Andre Batista To: guix-devel@gnu.org Subject: Re: [PATCH] Add Tor client only package definition Message-ID: <20200531234236.GA9783@andel> References: <20200517031127.GA17209@andel> <87y2phys3f.fsf@gnu.org> <20200526145621.GA28490@andel> <20200531194030.GA30215@andel> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <20200531194030.GA30215@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/05/31 19:42:46 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=HykmrPrY; 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: 9xWl2dBOOXtT --KFztAG8eRSV9hGtP Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline There was a missing space on the previous email. 'indent-code.el' did not keep exactly the same indenting as other definitions so I did insert spaces by hand but forgot one, so I'm resending. Also, I've forgot to mention that the build seems to be deterministic. --- commit: 018cffc9c9e5a5855733f5f45a1c4d396bb6a321 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Description: 018cffc9c9e5a5855733f5f45a1c4d396bb6a321.diff Content-Disposition: inline; filename="tor.diff" Content-Transfer-Encoding: quoted-printable --- a/gnu/packages/tor.scm 2020-05-31 00:45:08.246476629 -0300 +++ b/gnu/packages/tor.scm 2020-05-31 17:50:52.023646115 -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. =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) + `(list ,@(cdr 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 --UlVJffcvxoiEqYs2-- --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI5BAABCgAjFiEEIBdLYNLH+F+MBdSrYrJ+WmBEwoIFAl7UQOkFgwPCZwAACgkQ YrJ+WmBEwoJgghAAl3iRG/6zcnN7/kOe/hxG782MOZw6s4poXwz3SJffba9JtkiC G6aom4Fh13tkHACdWUzXSJCmnsYdkpTkm9kP6t/QiOi2NJcVWT85N+erziDLG85D hS54V+KsOOf+YPRyVmqBe58Wg40TRY4wZ82mpWgvtlYrt+Vpnh9u9yHJn1NJx8JF i0qn//QgLujs+a9VClHIkhOeiM+qD54saJjg0Ppkvd8NYl62acr8wSs8u6dWie2j LHtPyPkZnKDyvsfvF2GrQqFQIsimS8FjyX17C3xqK5UTCJ9uY3zzp2oWof2e9c9d nTmoBnJAVNNgXL28MuzsGes2UfKx7q+KydBpFreNPeGKQBdZxae45eJLKIF2Ab4r Ge/YyCsnIdAFc/jTHzYqcLRt6IxOpxAMasZKRKI8GCTyp8cmP/RwjLuIEL9ixTF6 VsPrksscisdDUNO6WZSEtA0/il3Ooaj0wK+dxiJf/I7Xc90eEAOGkZvrnQdxYGBI iOnQlyPeVbRSlH+YMKrmDrGXmQDhlevpB0kyHClvOQ140we9AmGoC5Ztj3tup1+c IY8H+4/oVhMzECg4pOve7pMsjMgbp6uwsz45YzQhlW4OT5F3x+uw5jn5HYfjjlYr wRDjknnpM66y4/7HZ0/m4Xt595klqoWWp+npBhfvKmrTkZ1/5/fifGBpY1A= =Zt3Z -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--