From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Nov 2022 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59018@debbugs.gnu.org Cc: Peter Polidoro X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166758459022804 (code B ref -1); Fri, 04 Nov 2022 17:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2022 17:56:30 +0000 Received: from localhost ([127.0.0.1]:54751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or0ve-0005ve-1m for submit@debbugs.gnu.org; Fri, 04 Nov 2022 13:56:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:34496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or0va-0005vT-LA for submit@debbugs.gnu.org; Fri, 04 Nov 2022 13:56:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1or0va-0005DY-EM for guix-patches@gnu.org; Fri, 04 Nov 2022 13:56:26 -0400 Received: from bumble.birch.relay.mailchannels.net ([23.83.209.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1or0vY-0006f8-6d for guix-patches@gnu.org; Fri, 04 Nov 2022 13:56:26 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 138D3101CE5; Fri, 4 Nov 2022 17:56:18 +0000 (UTC) Received: from pdx1-sub0-mail-a262 (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 56B91101BBD; Fri, 4 Nov 2022 17:56:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1667584577; a=rsa-sha256; cv=none; b=iecWn2A9uQ1NfHCUARO7IQWb57QKt2o4FwI+UmzJT6ZJSAf4VgFuv/n+skVik23atazcO/ TecJ02lfvAViSed8d7ZWZH5p2Q3oP/VIqpiaSsA6ruuYKQ0GYahxCzf4p/nIsN2jUgpLPN vyvCOjZ0IR16B/fVI6+0mi56Ox/P88T55NOa7sm8zoectIvgEqF/avHwm57DnY3ON9nO7I etKdRaj5n+3AiF+kDVT4zYpSH0VaxFdsyHIyGf0B1FToRajujqawONqYp7JBa2bCFXhM26 sbvMXmByFpF/9tmpe8vCl60zffMTctspd6wC+/alWroLZWpHNBhkRBGWFpiZRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1667584577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=QcpPJ0QN7tp7el3Ha7GN2EFkpJ/gXSFXnxDJPe2dJIo=; b=xN00YY6qhQIkURA6WTJoxgZqrUooeWOLU3GZQCt+dsgds4Skz5J2Tn/75qlWeqRRmqQoBt cOvUzx9L2bIaRltUHpi9vPpO8AYhkjKelZH5KWpZLQ++KeLf4v4Ndfw/gOYrZnfStXMIgV mTaPn6bLmRzz9yF3ryGDF6csTZDzHGjOZp/mFbIor/+Oep6mRJjRwlCUnTGhAV08h+Ru4L jabU7+YhH3235i9DWzh/kohGIIolS8X0qPmuUbsLC9tezzxK8iT4BhllM6NTD1qLvLKChv YF1U3PlcpuoG+/eU4ABq6ERHN/0OqcderDX7TdmKc+X8dalBsLbFG96nGwP28g== ARC-Authentication-Results: i=1; rspamd-5cb65d95c4-8pxgs; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Exultant-Chemical: 527cc5ad610495ca_1667584577637_1387992530 X-MC-Loop-Signature: 1667584577637:2495309129 X-MC-Ingress-Time: 1667584577636 Received: from pdx1-sub0-mail-a262 (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.103.24.77 (trex/6.7.1); Fri, 04 Nov 2022 17:56:17 +0000 Received: from minotaur.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a262 (Postfix) with ESMTPSA id 4N3pG85gCbz1w; Fri, 4 Nov 2022 10:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1667584577; bh=QcpPJ0QN7tp7el3Ha7GN2EFkpJ/gXSFXnxDJPe2dJIo=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=Ffp5yCIVNsFIfVyMZT0K4MqX9YmkbycvCI+tv1Ei8tqwheM0CakM3aU6IDKy2uNNg oKeXJlWnocjGPXA8unIV3L5B1FIaLMlIRwPyQ09ym521lYu0+Facjl4+Xyx/a2dncV sOEAR9JqooZprsV1j0J9cXLeESzWSSu43wrzLaIQCnRRUYl0e8TQoRNBiUso3V9GN+ O8rAy80/OBfPogjNHKDWEIYFNj6vVjXP/I80hp2daNXI7/ST6yIlweLiPXqUpa6eF2 fOd2q1k1RpWIhDhlLaCK3XR/M+P5/yTct7EfbD6KJxoJsnXbtLwkPC9ToWGF6rUHL2 wwNB4e39dK8kw== From: peter@polidoro.io Date: Fri, 4 Nov 2022 13:56:04 -0400 Message-Id: X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.209.25; envelope-from=peter@polidoro.io; helo=bumble.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Peter Polidoro I am trying to get OAuth2 working for mbsync so I can check an email account that has discontinued basic authorization. Following these steps: https://github.com/harishkrupo/oauth2ms/blob/main/steps.org I am at the point of needing the xoauth2 sasl plugin to make mbsync work with the XOAUTH2 AuthMech. Perhaps that is already a part of Guix, but I was unable to find it. Here is an implementation of the xoaut2 sasl plugin that I attempted to package: https://github.com/moriyoshi/cyrus-sasl-xoauth2 It seems to compile correctly, but I was unsure of how to do the configuration in order to make it install into the proper location. It defaults into installing it to: /usr/lib/sasl2 Perhaps it instead needs to go into the /lib/sasl2 directory within the cyrus-sasl package, but I do not know how to specify that in this package's configuration. I assume that if cyrus-sasl is able to detect and use this plugin then it will have the ability to use XOAUTH2 making mbsync work correctly, but that would have to be tested to make sure more configuration is not needed. Peter Polidoro (1): gnu: Add cyrus-sasl-xoauth2. gnu/packages/cyrus-sasl.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) -- 2.38.0 From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] (no subject) References: In-Reply-To: Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Nov 2022 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59018@debbugs.gnu.org Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.16677693137509 (code B ref 59018); Sun, 06 Nov 2022 21:16:02 +0000 Received: (at 59018) by debbugs.gnu.org; 6 Nov 2022 21:15:13 +0000 Received: from localhost ([127.0.0.1]:60800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ormz2-0001x3-Na for submit@debbugs.gnu.org; Sun, 06 Nov 2022 16:15:12 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ormyy-0001wf-5O for 59018@debbugs.gnu.org; Sun, 06 Nov 2022 16:15:11 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C35365C00F7 for <59018@debbugs.gnu.org>; Sun, 6 Nov 2022 16:15:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 06 Nov 2022 16:15:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:to:to; s=fm1; t= 1667769302; x=1667855702; bh=GhBacqAII/M4eqY9QcI6J5NvlGgbcrUp99s m8IgYMOo=; b=KiMNnphelGqUm0Qv+BwdBocF4NjDpo86GqcWneKHpoznniuTUd1 iMtHQz++pPam8Q2S1xJ3qUOj6vs0FpTstj9UYp6n3tprssMHhB/anwcCIlQvduJ8 FTJ2RA64+Yx2Wzqv+pSMsPcavJIFQ2+YhFLPGjn1CXw5VOASfY4mYtbFVs8efkEN 4+Yn0/00nr2qpu+ceMrALynkKzDQ2yxvi0cYvnMV32F0OqlogHL6R7e/d2aO4dcH rpNwFt77S+x2r2xvWeJjQo6OJ4jPZbmXDAxM9J9y6e2dG8F+BJW2XTg+ybbkNXvV L3z69C4MtVw+Ov8fVsnZuO2XBHn7ATYkbgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1667769302; x=1667855702; bh=G hBacqAII/M4eqY9QcI6J5NvlGgbcrUp99sm8IgYMOo=; b=aIPwaPMbknCzEXbAp BUYCO4YQo1xgT/Kdhth1nKU4G1xSprzGnfiNlnerofHAc096oRO/+wQ7gmPKF6U0 s2+tKjq2qaALhZXFTyQcK3giiWT4TU0MA10IdPISdI3LczkRCiiQy6GLpxQOanba HJ6RoyRgIR/1M7iEiFz7SuvW0uVo2Yi6eBgMHuJ7gq/H2QykqyO37Oqyu6qnUzob kIy06xX1EkDz24nJ/0bXG2vqwWyEhkqlCrgHGIiypEw7CkfTv7f9e6YIS+EHExfd zI90E9g3PmjE2d/u7PBkGnsClGtg00pvzPJ7kTvvwNtaLgFN0maoy6GdqDbq7ecg qAh+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdeigddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpegfhffvfffkgggtsehgtderredtredtnecuhfhrohhmpegurghnuceoihesuggr nhdrghgrmhgvsheqnecuggftrfgrthhtvghrnhepgeegffegjefgvdffvddvffetffduge efudffleefhfegleegvddvgedtueegueeinecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvsh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <59018@debbugs.gnu.org>; Sun, 6 Nov 2022 16:15:01 -0500 (EST) User-agent: mu4e 1.8.11; emacs 29.0.50 From: dan Date: Mon, 07 Nov 2022 05:12:31 +0800 Message-ID: <87a6533hv7.fsf@dan.games> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: He peter, Thanks for the work. Did you just forget to submit the patch file? -- dan Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.25 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) --=-=-= Content-Type: text/plain; format=flowed He peter, Thanks for the work. Did you just forget to submit the patch file? -- dan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCAAqFiEENywBMxcNCHYJ4/aIR1rKxpmiJ40FAmNoI9AMHGlAZGFuLmdh bWVzAAoJEEdaysaZoieNImEQAL7coNvp6lmPfcL4J4xNKlmZqHjpEwqdmGc76Mph n9r4k9VHWSHOEBYgIz/xFtbvss70kjwm+oJGD8I4KkKYilhSLWvtfT6PXYLd0a2d HTkNhaPlJkYjz2JAW3ZPfrxe2ZTtF4PM37CLpnqYlzu7R07i2vE5mCRJeHxTH8nh 3klsRlLhCkqXqbHYTMB2SPyIjIfCA6fhFloZNx0ixZLtyhfETzQseUNFfq3i7Unw ZdvrZ+yNQras3F+DBMT1Uz7I4Dh9nIpxUYHanCX8aV0gI2AESqOvCX25iPEgi/Vp OwyhCp7NONxTCAiJs+Ob5Ne8GuVwFi4oQlsKOOmBQF16MYwgY3cNCwS2we9ANMrb rC6MrL5C8udP31DDeGHaHxzgtd3KDCjJDlyks5aQ90IgGYCrraji7DmUzwrvF+Nh d7vouX0A3zSaShZT7pU7NXjzhNiwdA5CjvwkrULOS4vjdAzaYqv9X7y7FR84z+R1 6eUGsBOGPrcvL5okA3gemZnMmAjIGIpGag99R9iDSJEu2Qo0Vs7kbjV+ttA/xM2t uCEjGZ0szEpj3juVAzKayFoDBtCBA58TbkVYPIEIEbgN8LNqXpdp7il1g3fA38MI F9P9Iv3KhXsMEiwNWiny9Yh4jVfq+wCbAFvTotYygRTQmR5BQKH6EVVf75Rp8uCJ Bbf2 =0Alu -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] (no subject) Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Nov 2022 21:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "dan" , <59018@debbugs.gnu.org> Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.16677695047830 (code B ref 59018); Sun, 06 Nov 2022 21:19:01 +0000 Received: (at 59018) by debbugs.gnu.org; 6 Nov 2022 21:18:24 +0000 Received: from localhost ([127.0.0.1]:60811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orn28-00022E-36 for submit@debbugs.gnu.org; Sun, 06 Nov 2022 16:18:24 -0500 Received: from knopi.disroot.org ([178.21.23.139]:55406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orn26-000225-0U for 59018@debbugs.gnu.org; Sun, 06 Nov 2022 16:18:23 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8930441447; Sun, 6 Nov 2022 22:18:20 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zY2SHW1vVowk; Sun, 6 Nov 2022 22:18:19 +0100 (CET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1667769499; bh=K+yjfH/ousIKpPpy0RRa+M43EBmyhEXpiJiuM9UEAR0=; h=Date:To:Subject:From:References:In-Reply-To:From; b=kDBJONkOt29RJW9HBmMXcgJYWyyvhFABSqK2q0bUUAIwxkwr6Zo9hA5wp2C9lu+7x ZBj/t6vJBYytrqB2+TCrrOqxXk8MCpdby6uSOVUwdqBhIKpcGSB4G37LpEtGrbR5Aa Zc8JgfjCJ9I4FgYY24kGxuZ3opByP58B04eaeKky7fVZXfC5+AgPhMJbJCY/hTLP8Z PfYLVr0Om1JZVfMP3YQo1EieWqTU4AiVS0rU0QNX7UbqcASvvN7iiwZU+oaVyPwg9q o1LE9NU+3ALiNplbotc6SJljlno+u79iwo8Huwtbind4ok/pbfgsxC9PVJl9v2Q3MV JN8jvKXrfQq5w== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 06 Nov 2022 21:18:18 +0000 Message-Id: From: "(" References: <87a6533hv7.fsf@dan.games> In-Reply-To: <87a6533hv7.fsf@dan.games> X-Spam-Score: 3.3 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun Nov 6, 2022 at 9:12 PM GMT, dan wrote: > Thanks for the work. Did you just forget to submit the patch > file? Funny. The patch seems to have appeared in my inbox, but not on mumi's or debbugs' UI... Content analysis details: (3.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 FROM_ONE_CHAR Bogus FROM name 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun Nov 6, 2022 at 9:12 PM GMT, dan wrote: > Thanks for the work. Did you just forget to submit the patch > file? Funny. The patch seems to have appeared in my inbox, but not on mumi's or debbugs' UI... Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 FROM_ONE_CHAR Bogus FROM name 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager On Sun Nov 6, 2022 at 9:12 PM GMT, dan wrote: > Thanks for the work. Did you just forget to submit the patch=20 > file? Funny. The patch seems to have appeared in my inbox, but not on mumi's or d= ebbugs' UI... -- ( From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] (no subject) Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Nov 2022 01:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" Cc: 59018@debbugs.gnu.org Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.166778476731974 (code B ref 59018); Mon, 07 Nov 2022 01:33:01 +0000 Received: (at 59018) by debbugs.gnu.org; 7 Nov 2022 01:32:47 +0000 Received: from localhost ([127.0.0.1]:60964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orr0J-0008Jd-4h for submit@debbugs.gnu.org; Sun, 06 Nov 2022 20:32:47 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orr0G-0008JP-C9 for 59018@debbugs.gnu.org; Sun, 06 Nov 2022 20:32:45 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E70F35C00A4; Sun, 6 Nov 2022 20:32:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 06 Nov 2022 20:32:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1667784758; x= 1667871158; bh=tyJa89ocG34MqBJ+D7LZKBhJD4rJuJHh7aYn2R4k/q4=; b=x DcK46VhPwiPT5BqTG0D6wgCpElBarzljX2nPyCxEHmlZ2hcWf17wnQwpcHQLBveD Ws66NzX3O9HY5d+D9dNwYKLvYmi4HH6meysxIo0+bPZu3V9xfBQF5fgfr62z9OSZ yzC4ORY62PvTXBXMwS3pGY6AIFd6Qpn3R5n6G+8BnG319uJrfxOZUaESxoiVeItA bn9JFGTOpJuLM1pIS5Zy1newKaortfS/j2AIKx6eJvtCvLsfnF1AA3LAy0oOKD16 l5+Xt72pE3fI2NHwJq4Ed1wIdMCS4v8mqY+zs57YVWzOPFr1/8Xg4MI0UBIBB1In T6rNVymkQSjBXC2q9eySA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1667784758; x= 1667871158; bh=tyJa89ocG34MqBJ+D7LZKBhJD4rJuJHh7aYn2R4k/q4=; b=C TP0YF2kTH4XO56U1LyFbfP+NjmCyeaWxV977qOtTmoEkKoQ0Op0vGReSe7Mh9DeB K/hLtF7vRUtgadDABXujrnBci1UcvU/jtYhm01OJNDs8uucqSlmOmXQXU3Z5hSyH KtzRfm9JgKgL0cZUnWV+j+wwY5aZZzIlrrqhI8u84hh8doh7gTpx2gbT9AYOlZKT QZqTpJLwvbgP/gJ2JvOAX50+XRjryH2pTuSKP0DepgKIsEftYNCArqVWvqtesma1 SFB+0XS22dj6/eWb35xi+twNhxUurcZriAKgXXQJG2pef7WwlBYyxOagUsy/Jt/7 QURu5+DwFEN40LkQl0kgA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdejgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfgmhhpthihufhusghjvggtthculddutddmnecujf gurhepfffhvfevkfgjfhfugggtgfesthhqredttddtjeenucfhrhhomhepuggrnhcuoehi segurghnrdhgrghmvghsqeenucggtffrrghtthgvrhhnpeeuieelteeuhfdvfeelteethf ekfeeuudffffegjedtkedtheegleejvefhleehffenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 6 Nov 2022 20:32:37 -0500 (EST) Date: Mon, 7 Nov 2022 09:32:34 +0800 (GMT+08:00) From: dan Message-ID: In-Reply-To: References: <87a6533hv7.fsf@dan.games> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Correlation-ID: X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Nov 7, 2022 5:18:25 AM ( : > On Sun Nov 6, 2022 at 9:12 PM GMT, dan wrote: >> Thanks for the =?UTF-8?Q?work.=C2=A0?= Did you just forget to submit the patch >> file? > > Funny. The patch seems to have appeared in my inbox, but not on mumi's > [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.26 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.26 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Nov 7, 2022 5:18:25 AM ( : > On Sun Nov 6, 2022 at 9:12 PM GMT, dan wrote: >> Thanks for the work.=C2=A0 Did you just forget to submit the patch >> file? > > Funny. The patch seems to have appeared in my inbox, but not on mumi's=20 > or debbugs' UI... > > =C2=A0=C2=A0=C2=A0 -- ( > Funny. The patch seems to have appeared in my inbox, but not on mumi's=20 > or debbugs' UI... My bad, it's actually #59019 From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 15 05:42:27 2022 Received: (at control) by debbugs.gnu.org; 15 Nov 2022 10:42:27 +0000 Received: from localhost ([127.0.0.1]:53116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1outOc-0003fu-Sz for submit@debbugs.gnu.org; Tue, 15 Nov 2022 05:42:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1outOa-0003fc-L6 for control@debbugs.gnu.org; Tue, 15 Nov 2022 05:42:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1outOV-0004Mw-Cj for control@debbugs.gnu.org; Tue, 15 Nov 2022 05:42:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=A8hsPYQ6UU+NGChhIk0908S7Sy/HqKQiyTVWTEstSGs=; b=fjK8W8Kfiap0ry 7CiG7vEBgov8lKgCsV2hkt4BL3MQqoQNtbv2TXviwNyixQUvf32GBX59jGDXHuqi9a0XiD/zsOEm+ AjbD2zxVo0eA9FiMUUZRhjoc5+oMACxnT56IXk4+aJ4X1KnehzqeAOkqpdTJDhKd5JLZQ4SRJ8gnx ayVYC7eW4OhfAA+n9MrpdsiaCy710ReBRjOECQHis1vWwkrRKRvAE9aTQmkEfkX9utHsHpWKrqyVz rDnC2yY0CQZH595roVkPiqdTzvoWPrKsSEdkqfj5Aa3IzosLR8WJ9RZqOhP8fh4nVtgEfuwI20QKz ooq6aR9/O1wQrLf8s9WA==; Received: from [193.50.110.147] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1outOU-0000sx-NV for control@debbugs.gnu.org; Tue, 15 Nov 2022 05:42:18 -0500 Date: Tue, 15 Nov 2022 11:42:17 +0100 Message-Id: <87wn7wmrcm.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #59019 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 59019 59018 quit From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Nov 2022 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: peter@polidoro.io Cc: 59018@debbugs.gnu.org Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.166850937423485 (code B ref 59018); Tue, 15 Nov 2022 10:50:02 +0000 Received: (at 59018) by debbugs.gnu.org; 15 Nov 2022 10:49:34 +0000 Received: from localhost ([127.0.0.1]:53129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1outVW-00066j-4X for submit@debbugs.gnu.org; Tue, 15 Nov 2022 05:49:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1outVR-00066R-Fn for 59018@debbugs.gnu.org; Tue, 15 Nov 2022 05:49:33 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1outVM-0005vQ-07; Tue, 15 Nov 2022 05:49:24 -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=ddqCD25LNdcsBjC7gTF6Gs18bMDZqjGNlhppdOQhOqA=; b=MbyhZlk48Wu99+WKHIE7 nWNM1bOXGP8rGwcff3F+gU2eLft1WsTy38LTVan+W2bWe/OAAt6+2+C0lddEXwYKBBMmSHDT4l50f v13bNRXk3UZUIZ+famw21+RwSh3aA1n37lWNl1lroqT/vZWC2W9NJ7VvL1EPY3Kk7m0YcekyjfoPH c6SlpFD/1N0veS/duxYDeFQjgZ80dHbrxy/bpjGCj65VdfZbYQUrUukYvvKH5OSu1vyT/0S1+b6TZ b54k3jua6IWeQrOk87s2G/nS+WOf4MgOH7xEZq11etGp67/Pbtha9rts8MCTM9VWjolI4lqFDkZ/S CS2AyDRL+3Ld6g==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1outVK-0001WQ-2R; Tue, 15 Nov 2022 05:49:23 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Tue, 15 Nov 2022 11:49:18 +0100 In-Reply-To: (peter@polidoro.io's message of "Fri, 4 Nov 2022 13:56:04 -0400") Message-ID: <87sfikmr0x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, peter@polidoro.io skribis: > It seems to compile correctly, but I was unsure of how to do the configur= ation > in order to make it install into the proper location. It defaults into > installing it to: > /usr/lib/sasl2 > > Perhaps it instead needs to go into the /lib/sasl2 directory within the > cyrus-sasl package, but I do not know how to specify that in this package= 's > configuration. Adding files to another package is not possible. Packages usually have a search path environment variable for plugins. I don=E2=80=99t see one for cyrus-sasl (I just grepped for =E2=80=9Cgetenv=E2= =80=9D so I might have overlooked it). The =E2=80=9CGuix way=E2=80=9D would be to have cyrus= -sasl honor, say, $CYRUS_SASL_PLUGIN_PATH and look for plugins in those directories, add a search path to the package=C2=B9, and have the plugin installed in $prefix/lib/sasl2 like you did. Could you check whether cyrus-sasl already has such a mechanism, or add one (possibly discussing with upstream), and send updated patches? Nitpick: > + (description "XOAUTH2 mechanism plugin for cyrus-sasl.") Also, please improve the description=C2=B2. Thanks in advance, Ludo=E2=80=99. =C2=B9 https://guix.gnu.org/manual/devel/en/html_node/Search-Paths.html =C2=B2 https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descript= ions.html From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync Resent-From: Peter Polidoro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Nov 2022 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 59018@debbugs.gnu.org Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.166852552822118 (code B ref 59018); Tue, 15 Nov 2022 15:19:01 +0000 Received: (at 59018) by debbugs.gnu.org; 15 Nov 2022 15:18:48 +0000 Received: from localhost ([127.0.0.1]:55075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouxi2-0005ke-BV for submit@debbugs.gnu.org; Tue, 15 Nov 2022 10:18:47 -0500 Received: from fennec.ash.relay.mailchannels.net ([23.83.222.58]:52367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouxhx-0005kN-L3 for 59018@debbugs.gnu.org; Tue, 15 Nov 2022 10:18:45 -0500 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C6F1750255B; Tue, 15 Nov 2022 15:18:37 +0000 (UTC) Received: from pdx1-sub0-mail-a243.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 59AD6500928; Tue, 15 Nov 2022 15:18:29 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1668525509; a=rsa-sha256; cv=none; b=nGWiVQUBJWxScjnPDXhkj2bFi2s6uNoiK1ilx/4bQdxcNVX7wBjEEcSJGGHyFlptZ6TcsF SPuUc0PlimWc1Lhia0kmMqS+f9/ZlgxrIBheGNx4lj5x05PDOL91P1hq51ZQ0qh7p1VfRL yfGRqQSx3pqCmWym0nCSOQe29t9lQHDdOz+vXWDlo+sHYpMO3fwe1dEC3wEvMzzlxDhJ+g XZ0wYYRV6z7JBgmU1LPb6F26j/KnOuwQtwJP+8ZT5uognXCjf8HVK0Tr4Lxl2yxcCkRDZy CNbfQal0iu0ZhWeRGoebm3iUwZf/gDhV8iCcYvZJAN4UYEwiMAGj2Mz4FpnVbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1668525509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Yvcg2f5Nm9tqBQH79iSwZy03faDFJC1BKOF9DGLp274=; b=ntlJSwr+Ihoz7rtgBOnLL82mavYi/6h0GOOllYVAiKbT/oGObOrhAuKFZ4zM/JVfNosImZ QWGxlCVMZu9ThgPpqURlbIpXA2QPjGbb18YFzX5IqEWMsliltAZSJ9Qe2t73j2k8hatbhT 9LQbq4p4K1qqF0xidp9HHDptGYU5SgdzMPeZuC/HbrBhV+wo/grGxsjSxwV3GmH1sRTo3X rlB8mfbRhxDrRNzUtF5bRZYK9EU9X6CLTDtRImAuYWLQHZ7OFTi365DJPssQ8qOTw9TbzT iQIFM1er9ys2Scy9excoXMCqrHwBi+CVhYx7ECKbCxyB5h27vEyrXUuP9GQTSQ== ARC-Authentication-Results: i=1; rspamd-7f9bbcf788-xlmnm; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Skirt-Continue: 3b8d6d5603d8b4d5_1668525517539_3901870035 X-MC-Loop-Signature: 1668525517539:3512822705 X-MC-Ingress-Time: 1668525517538 Received: from pdx1-sub0-mail-a243.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.123.200.111 (trex/6.7.1); Tue, 15 Nov 2022 15:18:37 +0000 Received: from minotaur (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a243.dreamhost.com (Postfix) with ESMTPSA id 4NBVF05xZcz23; Tue, 15 Nov 2022 07:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1668525509; bh=cdXMVxw0y7D/aLFRFusMpp6BF+ERH9IjuCtKliIdEvU=; h=From:To:Cc:Subject:Date:Content-Type; b=heeAAUdVtRa59kI9dGEWfs6OCYjcUHEwfV3ePjOg0EXUTd0h/UZuqOU8+7FkyA/9s /a2Nc13eXSU/0bNnGUyzhbik7APfzqPfm4otlttplnrC4GST7ZNDd35A07qppfHyX0 3lDX4rUF53G342/OzGO2uzCPDkDgBRC1N0di6JIaSQ1+Cu0n/mS+R3NCSsOO1n76AX n8hU60NQdBTevwniIj5r2adEtuv5RpHuzDSblskrAMtaFoNvQI09wORUo9DtpKULqy Bhh/2KdEMj+yejt9FPJrJ3kbi/5t0qZ1l5r8u78NBvNiJMweaOoEK4lkrdRKLCNnNr AK6SI9sT9mZMA== References: <87sfikmr0x.fsf@gnu.org> User-agent: mu4e 1.8.11; emacs 28.2 From: Peter Polidoro Date: Tue, 15 Nov 2022 09:55:35 -0500 In-reply-to: <87sfikmr0x.fsf@gnu.org> Message-ID: <87k03wtfeu.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, Ludovic Court=C3=A8s writes: > Packages usually have a search path environment variable for=20 > plugins. I > don=E2=80=99t see one for cyrus-sasl (I just grepped for =E2=80=9Cgetenv= =E2=80=9D so I=20 > might > have overlooked it). The =E2=80=9CGuix way=E2=80=9D would be to have cyr= us-sasl=20 > honor, > say, $CYRUS_SASL_PLUGIN_PATH and look for plugins in those=20 > directories, > add a search path to the package=C2=B9, and have the plugin installed=20 > in > $prefix/lib/sasl2 like you did. > > Could you check whether cyrus-sasl already has such a mechanism,=20 > or add > one (possibly discussing with upstream), and send updated=20 > patches? Thank you for your help on this package. According to the Cyrus SASL quickstart guide: "Note that the library can use the environment variable SASL_PATH=20 to locate the directory where the mechanisms are; this should be a=20 colon-separated list of directories containing plugins."[1] Unfortunately I still do not know enough about Guix packaging to=20 set this environment variable properly, nor do I know how to=20 properly set the installation path in the package configuration. This plugin's build and installation instructions are: ./autogen.sh ./configure sudo make install Footnotes: [1]=20 https://www.cyrusimap.org/sasl/sasl/quickstart.html#typical-installation --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-cyrus-sasl-xoauth2.patch Content-Transfer-Encoding: quoted-printable >From d5e9f604531dbf9cf7a16a107a3745d0203e1dd7 Mon Sep 17 00:00:00 2001 Message-Id: From: Peter Polidoro Date: Tue, 15 Nov 2022 09:50:51 -0500 Subject: [PATCH] gnu: Add cyrus-sasl-xoauth2. * gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable. --- gnu/packages/cyrus-sasl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm index 2cd18f3e5e..abc0bc0c2b 100644 --- a/gnu/packages/cyrus-sasl.scm +++ b/gnu/packages/cyrus-sasl.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2013 Andreas Enge ;;; Copyright =C2=A9 2016 Leo Famulari ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2022 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ (define-module (gnu packages cyrus-sasl) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu)) =20 (define-public cyrus-sasl @@ -78,3 +80,28 @@ (define-public cyrus-sasl (license (license:non-copyleft "file://COPYING" "See COPYING in the distribution.")) (home-page "https://cyrusimap.org/sasl/"))) + +(define-public cyrus-sasl-xoauth2 + (package + (name "cyrus-sasl-xoauth2") + (version "0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moriyoshi/cyrus-sasl-xoauth2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1py9f1mn5k5xihrk0lfrwr6723c22gjb7lmgya83ibvislm2x3wl")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake libtool)) + (inputs (list cyrus-sasl)) + (home-page "https://github.com/moriyoshi/cyrus-sasl-xoauth2") + (synopsis "XOAUTH2 mechanism plugin for cyrus-sasl") + (description "This package adds the Open Authorization standard, OAuth= 2, +authentication mechanism to cyrus-sasl as a plugin. OAuth is an open stan= dard +for access delegation, commonly used as a way for internet users to grant +websites or applications access to their information on other websites but +without giving them the passwords.") + (license (list license:expat license:expat)))) --=20 2.38.1 --=-=-=-- From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Nov 2022 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Peter Polidoro Cc: 59018@debbugs.gnu.org Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.166870605319671 (code B ref 59018); Thu, 17 Nov 2022 17:28:02 +0000 Received: (at 59018) by debbugs.gnu.org; 17 Nov 2022 17:27:33 +0000 Received: from localhost ([127.0.0.1]:34231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovifl-00057D-FR for submit@debbugs.gnu.org; Thu, 17 Nov 2022 12:27:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovifj-00056y-F6 for 59018@debbugs.gnu.org; Thu, 17 Nov 2022 12:27:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovifd-0006Vr-WC; Thu, 17 Nov 2022 12:27:26 -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=AXvvYo4VG4RXTOISnVOv1hRaFxDXiNQm0Bq+IntqELI=; b=FnzpmacmamUJJiKy67Ao 6fnivLcRYne/+Bw5lOiF5TtrEd07/ZxKO7Q7VUDWvE+Nmf6OXfVoYKR8gzABThnH0+BwGHFvocxjU uow3+FeIvNwOP9eMqrxs8Ph26isAMFbO3sBu3zoodVLkGMlGZ7at4+rN6/rByJC2OmVO/QBzms2yM 9oj+4UTEHA/q0nkGwxWUG27ljRWvQJkFBOBC7dF8PzL48BPB4r7x8n8M+rYA87n1GABniyqgPtdgC AfYCBbQVUfLoCaEQDuWyzpbklMzPOdgSr7xwp7NrhU6ZR2VoVeQ1I6V9EiCL8txqFd4/L0H0s34pt 2bTdrWMLYFj3kw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovifc-0000R5-4u; Thu, 17 Nov 2022 12:27:25 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sfikmr0x.fsf@gnu.org> <87k03wtfeu.fsf@polidoro.io> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 27 Brumaire an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Macjon X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 17 Nov 2022 18:27:22 +0100 In-Reply-To: <87k03wtfeu.fsf@polidoro.io> (Peter Polidoro's message of "Tue, 15 Nov 2022 09:55:35 -0500") Message-ID: <8735ahh4p1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Peter Polidoro skribis: > According to the Cyrus SASL quickstart guide: > > "Note that the library can use the environment variable SASL_PATH to > locate the directory where the mechanisms are; this should be a > colon-separated list of directories containing plugins."[1] > > Unfortunately I still do not know enough about Guix packaging to set > this environment variable properly, nor do I know how to properly set > the installation path in the package configuration. We=E2=80=99d need to add a =E2=80=98native-search-paths=E2=80=99 field for = =E2=80=9CSASL_PATH=E2=80=9D to cyrus-sasl, as explained in the =E2=80=9CSearch Paths=E2=80=9D section of t= he manual. But that can come as a separate patch. > From d5e9f604531dbf9cf7a16a107a3745d0203e1dd7 Mon Sep 17 00:00:00 2001 > Message-Id: > From: Peter Polidoro > Date: Tue, 15 Nov 2022 09:50:51 -0500 > Subject: [PATCH] gnu: Add cyrus-sasl-xoauth2. > > * gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable. It fails to build: --8<---------------cut here---------------start------------->8--- starting phase `install' make[1]: Entering directory '/tmp/guix-build-cyrus-sasl-xoauth2-0.2.drv-0/s= ource' /gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin/mkdir -p '/= usr/lib/sasl2' /gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin/mkdir: canno= t create directory =E2=80=98/usr=E2=80=99: Permission denied make[1]: *** [Makefile:418: install-pkglibLTLIBRARIES] Error 1 --8<---------------cut here---------------end--------------->8--- Could you send an updated patch? TIA! Ludo=E2=80=99. From unknown Tue Jun 17 22:26:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync Resent-From: Peter Polidoro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Nov 2022 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 59018@debbugs.gnu.org Received: via spool by 59018-submit@debbugs.gnu.org id=B59018.16687932459620 (code B ref 59018); Fri, 18 Nov 2022 17:41:01 +0000 Received: (at 59018) by debbugs.gnu.org; 18 Nov 2022 17:40:45 +0000 Received: from localhost ([127.0.0.1]:38190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow5M5-0002V5-25 for submit@debbugs.gnu.org; Fri, 18 Nov 2022 12:40:45 -0500 Received: from olivedrab.birch.relay.mailchannels.net ([23.83.209.135]:18939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow5M0-0002Uu-CG for 59018@debbugs.gnu.org; Fri, 18 Nov 2022 12:40:43 -0500 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B30F65C1193; Fri, 18 Nov 2022 17:40:38 +0000 (UTC) Received: from pdx1-sub0-mail-a265.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5DD295C0AD9; Fri, 18 Nov 2022 17:40:30 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1668793230; a=rsa-sha256; cv=none; b=c2JXf5An0i/nIXy/yGG7GmsQGhdrWodqrfCYkyPQ4TtjBTaFhJzNmTw12hZAvoDpIhiOKh HHQoax0eEDlRB7BjkmpcsaCktBWka7RDQ4R8e1SkWdNYfoFyFhbuP5NekiMetVp69DUxeE O+TFt+HXDYRIfRXBPdNAr+sU0ylSFaHh7A/Azmm43PciVGa6SRjjtT4C3CgxA+YMZEM5ku jMXA1LQue/+bNxQTTWZJkSM29rGQc8e26xQ34IEDEphKKRY4LvCak3XWqhRVcpWIlnDo4L y2a3aZipe73wv08QdoDLbkGA88g58uHzK6n+YrBuO3Lpgho57oD5IGD4gA2z8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1668793230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=D+Jp0GcRkW8aKw6MzcV9QA5sgY1jkL/K4bGNx1Vn1JQ=; b=VnoedWUNIYqF5Ayera+dWbKnxDL1ZmVNMEmn9swVOk4KGr5GR+9o02WTLz5Upyz+kppVuu cWHEla93HeQd4LehMsmv6EsW4MzRuHIb2Pw9z5+6qSZeQZnxuA4BwGjGAsNxzWwdmfAJEo A5nHB5uZoOp/cS49QB3BJAvt9IzoSVMB0DwmgZmMmTGa8J8vPHz6th72hPATuUhaP2B5os nUke5XgYm14LcEM2oHNICKD5jqpkOC87et9LOBMgdM0TwVXYR2xyWkEfhGeFN29gymx7eO TT9yplwEKvvqa0LtN6Xz4jxjzUHRXejiVrLFRcHi9VZPMneQkTRhRu5fAlwnrQ== ARC-Authentication-Results: i=1; rspamd-65567d767-dpmc2; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Lettuce-Eight: 15c0040f76fe83c5_1668793238464_4231093673 X-MC-Loop-Signature: 1668793238464:3896765534 X-MC-Ingress-Time: 1668793238463 Received: from pdx1-sub0-mail-a265.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.103.24.91 (trex/6.7.1); Fri, 18 Nov 2022 17:40:38 +0000 Received: from minotaur (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a265.dreamhost.com (Postfix) with ESMTPSA id 4NDPFT5F9tzM6; Fri, 18 Nov 2022 09:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1668793230; bh=D+Jp0GcRkW8aKw6MzcV9QA5sgY1jkL/K4bGNx1Vn1JQ=; h=From:To:Cc:Subject:Date:Content-Type; b=ErqP1MFfV4uuaCn3w2cl+u8poG0GKzvjwBwT3u8PgeqXVXmOP4FJV2D19/uWspEt6 E3DmAxU2IDg3TkAOH6rysA5Dd9fZUvHYqWwEzN35RzMSy6j3bT1LBmKWdfQppGm97K zH9mBr77k4K/RXB6FayPGgV4naCbpyqZ7IsvhvfufLCjg6jGdMT2Rea3P6fE9UkbFL zgiijkwoxi5TAjNtQ4r7XGQ40dpk1J7dcoKkAZc5LmsvQRIVVlnp9cDGMLz6XUrndQ vFwqNBoFp6AyQ+BhMAuGe0Iw/+0RDboQoXdAQ8zuEmzytIO2efF8XMQaa/EFkEDzYI F2t6KH8uGCs7g== References: <87sfikmr0x.fsf@gnu.org> <87k03wtfeu.fsf@polidoro.io> <8735ahh4p1.fsf@gnu.org> User-agent: mu4e 1.8.11; emacs 28.2 From: Peter Polidoro Date: Fri, 18 Nov 2022 10:50:34 -0500 In-reply-to: <8735ahh4p1.fsf@gnu.org> Message-ID: <87y1s817r6.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > > Could you send an updated patch? TIA! > > Ludo=E2=80=99. I was able to get the package to build by adding a=20 "--with-cyrus-sasl" configure-flag. I am not sure if I used the correct value for this flag, however. The package's configure file says: --with-cyrus-sasl=3DPREFIX Installation prefix of Cyrus-SASL=20 (defaults to /usr) That seems to imply that should be the install location of the=20 cyrus-sasl package and that the cyrus-sasl-xoauth2 package will=20 get installed into the location specified by the "--prefix"=20 configure-flag. The build failed, though, since it was trying to install into the=20 /usr directory, even though "--prefix" was set to something else.=20 So I set "--with-cyrus-sasl" to be the path of the=20 cyrus-sasl-xoauth2 package out and that seems to work now. I=20 assume the compilation would have failed if "--with-cyrus-sasl"=20 needed to point to the cyrus-sasl location for dependency reasons. Now hopefully adding the correct search path to the cyrus-sasl=20 package will get the cyrus-sasl-xoauth2 properly recognized as a=20 plugin. I can work on that patch when I have some time. Thank you for your all of your help and patience as I am still=20 learning how to create guix packages. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-cyrus-sasl-xoauth2.patch Content-Transfer-Encoding: quoted-printable >From ba3fe6dff1d2dbf1cb4d3c383acad57e40f79367 Mon Sep 17 00:00:00 2001 Message-Id: From: Peter Polidoro Date: Fri, 18 Nov 2022 12:38:06 -0500 Subject: [PATCH] gnu: Add cyrus-sasl-xoauth2. * gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable. --- gnu/packages/cyrus-sasl.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm index 2cd18f3e5e..1134996d34 100644 --- a/gnu/packages/cyrus-sasl.scm +++ b/gnu/packages/cyrus-sasl.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2013 Andreas Enge ;;; Copyright =C2=A9 2016 Leo Famulari ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2022 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ (define-module (gnu packages cyrus-sasl) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu)) =20 (define-public cyrus-sasl @@ -78,3 +80,31 @@ (define-public cyrus-sasl (license (license:non-copyleft "file://COPYING" "See COPYING in the distribution.")) (home-page "https://cyrusimap.org/sasl/"))) + +(define-public cyrus-sasl-xoauth2 + (package + (name "cyrus-sasl-xoauth2") + (version "0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moriyoshi/cyrus-sasl-xoauth2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1py9f1mn5k5xihrk0lfrwr6723c22gjb7lmgya83ibvislm2x3wl")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags (list (string-append "--with-cyrus-sasl=3D" + (assoc-ref %outputs "out")))= )) + (native-inputs (list autoconf automake libtool)) + (inputs (list cyrus-sasl)) + (home-page "https://github.com/moriyoshi/cyrus-sasl-xoauth2") + (synopsis "XOAUTH2 mechanism plugin for cyrus-sasl") + (description "This package adds the Open Authorization standard, OAuth= 2, +authentication mechanism to cyrus-sasl as a plugin. OAuth is an open stan= dard +for access delegation, commonly used as a way for internet users to grant +websites or applications access to their information on other websites but +without giving them the passwords.") + (license (list license:expat license:expat)))) --=20 2.38.1 --=-=-=--