From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eB19EPBuc2OwyQAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 11:50:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WIJ6D/Buc2M2gAAAG6o9tA (envelope-from ) for ; Tue, 15 Nov 2022 11:50:24 +0100 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 C500C2343C for ; Tue, 15 Nov 2022 11:50:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1outWF-0006Hw-W2; Tue, 15 Nov 2022 05:50:20 -0500 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 1outVy-0006F8-Te for guix-patches@gnu.org; Tue, 15 Nov 2022 05:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1outVy-00066o-Jb for guix-patches@gnu.org; Tue, 15 Nov 2022 05:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1outVy-00067h-4S for guix-patches@gnu.org; Tue, 15 Nov 2022 05:50:02 -0500 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-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668509423; 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-cc: 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=ddqCD25LNdcsBjC7gTF6Gs18bMDZqjGNlhppdOQhOqA=; b=MiAQfN0yfBXi6TZF7sN7xg5NPKGVmcNpNjcCGc4iOCOI1yOpDNIyMdneq8ngoNy+++LLS7 om22AZQhdxNlMsjiAklCUlf25R4f7TrJxPsQsXMUKcEUNu7aLUTP+CSpE59p2KY5nolyuf tAk98TWWg5C0CGgZL56qHMGfUu17os0Vk4ybl+V6FV735l4ccnoEXlI69fXpPC0rnF8JuR L+C6MUHsNNQvDD6/KZQy9ufj1RtA5M4fiIsr4OvapsATGyUZuJe/zDzw8fTg+vG0bqZhxw BEMKo2vj6A5W6vnjTLjE0Q8pnDK5EGSbsskwQGw/TJNPGKRIfeVpXW5Ew8yIDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668509423; a=rsa-sha256; cv=none; b=q4krzrolPdagTMwVHeMyqQZC31Oj35S+bgzUgNHl1GJm6uuELAZl369CPRe/hICeTrCEky U10OkQ9jGGC/9ITP9dwPUaV+PS8t96aN3GH3GGe4G5VELKXSxkdW6C4Ij9UYYOtIvEsR4U JJjH5idOJppnQVl1HRN+Ppg9O7G45Znt1uxzZRSKkOYFsq71njHhWT2SnMHSdEO9PUuY+R UTRZIyZewYuH2FPBCBkebDdTrMF3OX8XDy3sXdhDBwL/oNAa9HgrX9rtOhLPe6Z8O0gxEx ia2rWvnBzU/bhDujTbs7whijgVy+oop78K9aPpT63QMcG1q7bksuXei5WSBLAA== 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=MbyhZlk4; 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.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=MbyhZlk4; 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: C500C2343C X-Spam-Score: -3.94 X-Migadu-Scanner: scn1.migadu.com X-TUID: aCeTUfWItxMn 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