GNU bug report logs - #59018
[PATCH 0/1] OAuth2 for mbsync

Previous Next

Package: guix-patches;

Reported by: peter <at> polidoro.io

Date: Fri, 4 Nov 2022 17:57:01 UTC

Severity: normal

Tags: patch

Merged with 59019

Full log


View this message in rfc822 format

From: Peter Polidoro <peter <at> polidoro.io>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 59018 <at> debbugs.gnu.org
Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync
Date: Tue, 15 Nov 2022 09:55:35 -0500
[Message part 1 (text/plain, inline)]
Hi,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Packages usually have a search path environment variable for 
> plugins.  I
> don’t see one for cyrus-sasl (I just grepped for “getenv” so I 
> might
> have overlooked it).  The “Guix way” 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¹, 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?

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 
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.

This plugin's build and installation instructions are:

./autogen.sh
./configure
sudo make install

Footnotes:
[1] 
https://www.cyrusimap.org/sasl/sasl/quickstart.html#typical-installation

[0001-gnu-Add-cyrus-sasl-xoauth2.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.