From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 06:01:50 2020 Received: (at 42899) by debbugs.gnu.org; 24 Aug 2020 10:01:50 +0000 Received: from localhost ([127.0.0.1]:56132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA9IU-0006EU-Ja for submit@debbugs.gnu.org; Mon, 24 Aug 2020 06:01:50 -0400 Received: from mx4.mail.mmer.org ([178.22.66.29]:24514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA9IR-0006EJ-G1 for 42899@debbugs.gnu.org; Mon, 24 Aug 2020 06:01:48 -0400 Received: from delta (92-109-1-225.cable.dynamic.v4.ziggo.nl [92.109.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.mail.mmer.org (Postfix) with ESMTPSA id 30E029CC5E; Mon, 24 Aug 2020 09:30:58 +0000 (UTC) From: Alexey Abramov To: Efraim Flashner Subject: Re: [bug#42899] [PATCH v2 02/10] gnu: dovecot: Patch and provide a static path for module directory. References: <20200818120037.30722-1-levenson@mmer.org> <20200818120037.30722-2-levenson@mmer.org> <20200819074132.GE10528@E5400> <87lfib2cnf.fsf@mmer.org> <20200823204535.GA1392@E5400> Date: Mon, 24 Aug 2020 12:01:37 +0200 In-Reply-To: <20200823204535.GA1392@E5400> (Efraim Flashner's message of "Sun, 23 Aug 2020 23:45:35 +0300") Message-ID: <87blj07472.fsf@mmer.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42899 Cc: 42899@debbugs.gnu.org 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 (-) Efraim Flashner writes: > On Wed, Aug 19, 2020 at 11:44:20AM +0200, Alexey Abramov wrote: >> Hi, >> >> Efraim Flashner writes: >> >> > How are all the XXX_MODULE_DIR variables set? Would it be possible to >> > just set MODULE_DIR to /etc/dovecot/modules and leave the others as-is? >> > They seem to just use a file/folder under MODULE_DIR. >> >> They set during compilation time. If I pass it as a configuration option, dovecot will try to install libraries there which won't work. > > This was enough to jog my memory that we have a couple of packages (with > services) that have configure flags for one directory and install to > %outputs as expected. I came up with the attached patch to make that > happen. Thank you very much! I have just tested it, and as you might probably know everything works as expected. I will push your updated patch as soon as guys review the services part. -- Alexey