From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YBNONJhgs2FsewEAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 15:13:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id D5jXL5hgs2FeOAAAbx9fmQ (envelope-from ) for ; Fri, 10 Dec 2021 14:13:44 +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 99DD8194D8 for ; Fri, 10 Dec 2021 15:13:44 +0100 (CET) Received: from localhost ([::1]:32842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvged-0003Mz-Ky for larch@yhetil.org; Fri, 10 Dec 2021 09:13:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvgdy-0003Ln-B3 for guix-patches@gnu.org; Fri, 10 Dec 2021 09:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvgdy-0006tO-2E for guix-patches@gnu.org; Fri, 10 Dec 2021 09:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvgdx-0000bX-UH for guix-patches@gnu.org; Fri, 10 Dec 2021 09:13:01 -0500 Subject: bug#51853: [PATCH 0/2] gnu: sendgmail: Rename package; don't limit domain. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 10 Dec 2021 14:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath Cc: Liliana Marie Prikler , 51853-done@debbugs.gnu.org Mail-Followup-To: 51853@debbugs.gnu.org, ludo@gnu.org, philip@philipmcgrath.com Received: via spool by 51853-done@debbugs.gnu.org id=D51853.16391455572283 (code D ref 51853); Fri, 10 Dec 2021 14:13:01 +0000 Received: (at 51853-done) by debbugs.gnu.org; 10 Dec 2021 14:12:37 +0000 Received: from localhost ([127.0.0.1]:45981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvgdZ-0000ak-CG for submit@debbugs.gnu.org; Fri, 10 Dec 2021 09:12:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvgdX-0000aU-Sz for 51853-done@debbugs.gnu.org; Fri, 10 Dec 2021 09:12:36 -0500 Received: from [2001:470:142:3::e] (port=53302 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvgdS-0006k0-Ij; Fri, 10 Dec 2021 09:12:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=LcOp+Oq2H4IYELoIBV/ZoeDzSuoHR7SHdczO6h1Stto=; b=nu0XHSKD80EOVzduPmgz TVw4cH/t8WjzSq1RDjAJVZZxgW0yZKRWDKf9JI205PN5hxgXSttIP9GHpFuHG7YEri8+I7qO85wmc zQserYij7CFAg+nVdInQHEOrb71+sqgPkQKdIFQpiUzCRdBqz33wEAh+zc+k0Zd+SG64yBBiWK964 0niV17IgyWMlxEVQa62cDcwo8FaMzSuj1tGpw/X3R+sLF1YxcN2M3qF+8HHTyVX5cQBGlmy8cjWOQ UB8r5Y/IN408C7GwjECeQS2N6Hn3zdA4Gi9g3d512jq3P64o8Au24/zTJEDG6NKnxTy8iqVslrUBr rUf+THnQciZanw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58717 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvgdS-0001K8-GL; Fri, 10 Dec 2021 09:12:30 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <077cf4ed09eab394f74bb87600e7442525143a53.camel@gmail.com> <20211120054353.987243-1-philip@philipmcgrath.com> <20211120054353.987243-2-philip@philipmcgrath.com> Date: Fri, 10 Dec 2021 15:12:28 +0100 In-Reply-To: <20211120054353.987243-2-philip@philipmcgrath.com> (Philip McGrath's message of "Sat, 20 Nov 2021 00:43:52 -0500") Message-ID: <87sfv08s6r.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639145624; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LcOp+Oq2H4IYELoIBV/ZoeDzSuoHR7SHdczO6h1Stto=; b=BaSDU2SokCoEkji4EUb1z8B4XZv+sVpUdJ78M4j+OXXQhiAMrE+uTrIUHYEhdr6w1p8WUN ounq92RTF6PlvMv0bYN8gtdH2ln76LTRIe+8Tipid8O61WqobhiRcOdqA4yKYGpGfvvpxb CSpRucLwqrZ/37iJ4Jjr4zC+sYg11FlsGV2cnHEISFvZD06GFpgmX+bB9ZLnPE1FI50MNA SE1hzRGA64o4UaLLfqDa4Pa5JbwpOJxVG4vSXLCOhNRkeBJSCqDQbhDqt2O5RqQ7/KXMbu i7saCArDmtOXazfY2ZEbJm04zW2iOfg59Cs2ONqoTMIlGS2g3lFF/iVLo5RDPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639145624; a=rsa-sha256; cv=none; b=d36QUujPTnhO0b4QXsBA/t3MEdkzI3tE7+tBSZ7KK482t8Uu3W84Y94xySWIIE+5fQDdqe uOoykA4PDGnupePry/jITqyZ9k97QHytF0UH0vXBZVD1fjdtbPzE/7W7XM2/OhO9Q4CiC7 9YtZqXInPh4Zs6CJTK4cXwBwmAbR5/Oup8KRGJxL5qSBKmeYLeFUiZOBY49GUKKzqnPB0J s2t2E2fjfXxD4RhR2zsQ6KtIbdRDm41o/bsBrgo7rjKTYWV1oDFX0naPtMoI8L9N3zPLLg wDYzEXbJSMVvjdP364ngwbQT7ivGYutqkx/1kndx0NeEI9TdDdwzufdDzUmIyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nu0XHSKD; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nu0XHSKD; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 99DD8194D8 X-Spam-Score: -3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5PolAiRYrK4Z Hi, Philip McGrath skribis: > Suggested by Ludo=E2=80=99 in . > > * gnu/packages/golang.scm > (go-github-com-google-gmail-oauth2-tools-go-sendgmail): Move to ... > * gnu/packages/mail.scm (sendgmail): ... this variable. > Change `propagated-inputs` to `inputs`. [...] > There are three open pull requests adding this functionality: > > - https://github.com/google/gmail-oauth2-tools/pull/17 (October 2019) > - https://github.com/google/gmail-oauth2-tools/pull/26 (May 2020) > - https://github.com/google/gmail-oauth2-tools/pull/37 (May 2021) > (The patch here is identical to #26, so I just closed this one.) > > Meanwhile, the most recent commit to the upstream repository was in > May 2019: that was the commit that first added `sendgmail`. > > This commit adjusts Guix's `sendgmail`, following Postel's advice, > to make the command "liberal in its receiving behavior" (RFC 760): > it always accepts email addresses with any domain name, as in #26, > and it accepts (and ignores) the `-gsuite` flag used in #17. > > * gnu/packages/patches/sendgmail-remove-domain-restriction.patch: > New file. This is the patch from #26. > * gnu/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch: > New file, based on #17. > * gnu/local.mk (dist_patch_DATA): Add the new patches. > * gnu/packages/mail.scm (sendgmail)[source]: Apply the new patches. > Increment the "revision" argument to `git-version` from 0 to 1. Applied both, thanks! Ludo=E2=80=99.