From patchwork Fri Dec 23 19:27:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 52485 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B71B827BBEA; Thu, 3 Aug 2023 22:30:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1F3F627BBE2 for ; Thu, 3 Aug 2023 22:30:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRftV-0007g2-4M; Thu, 03 Aug 2023 17:30:05 -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 1qRftT-0007fh-1I for guix-patches@gnu.org; Thu, 03 Aug 2023 17:30:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRftS-0002tA-NJ for guix-patches@gnu.org; Thu, 03 Aug 2023 17:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRftS-0001hB-AV for guix-patches@gnu.org; Thu, 03 Aug 2023 17:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58074] [PATCH staging v3 1/2] gnu: cyrus-sasl: Set SASL_PATH to find plugins References: In-Reply-To: Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Aug 2023 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 58074@debbugs.gnu.org Received: via spool by 58074-submit@debbugs.gnu.org id=B58074.16910981946466 (code B ref 58074); Thu, 03 Aug 2023 21:30:02 +0000 Received: (at 58074) by debbugs.gnu.org; 3 Aug 2023 21:29:54 +0000 Received: from localhost ([127.0.0.1]:53051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRftI-0001gB-Hz for submit@debbugs.gnu.org; Thu, 03 Aug 2023 17:29:54 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRftE-0001fw-NG for 58074@debbugs.gnu.org; Thu, 03 Aug 2023 17:29:50 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1691098184; cv=none; d=zohomail.com; s=zohoarc; b=ZvynrVFDBDns5Ldx6Ra6aAfIYqMdWljAtCbHpmovtj+o78mtMAV71X/GW0uMUQNIuSw2EnQW3GeDFbZm8JLLvCntdhJNMYrnpDN33CSTiQjBo7o7By64aGDtwfEcdU2I1DCWeoed5DBGYzFCr9TQDucsmV5+EaVYtwQYK9pT8E8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1691098184; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=4sCO6HkVH1ZBEb56V0QkwqFoKQJHjZSuTcIKKhds6TY=; b=YZ+0tYH4pk+J8gwAjDrn9UfuIfLzmjpprPO50as9NYYxZAztrJ+z5VsE2iXEoLcG1G2sQQUr322pBu/09voBi/Vz1eFHUtwD1jbl/qrxQ07VnOzkvGA0Zfa7S1DMHgWgV3Mye7qiW5gONpm8znmUYUOY5gGzVb+F2G4oiL0FcPo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=reilysiegel.com; spf=pass smtp.mailfrom=mail@reilysiegel.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1691098184; s=default; d=reilysiegel.com; i=mail@reilysiegel.com; h=From:From:To:To:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Reply-To:Cc; bh=4sCO6HkVH1ZBEb56V0QkwqFoKQJHjZSuTcIKKhds6TY=; b=El9I+4AjuYDzZi7NY7jhpgPPzZTokTze4EGpvdKvzIT1xK3/ZKc/s7adv8ByM4X2 ihouV4hok7FnMf/arkpAG5jaAdEIA5hcl8dCzljB0y/pxVwJvlUuPRQkDrH5F8kL1/q DAZ/RSOktiwv1ami/FwLoZN0eMFP3P1WhaL0JsrI= Received: from luden (reilysiegel-laptop.dyn.wpi.edu [130.215.13.112]) by mx.zohomail.com with SMTPS id 1691098181426125.30706252334016; Thu, 3 Aug 2023 14:29:41 -0700 (PDT) From: Reily Siegel Date: Fri, 23 Dec 2022 14:27:41 -0500 Message-Id: <90f054c85b00bb046fb29af990e24eddb472134c.1691097881.git.mail@reilysiegel.com> MIME-Version: 1.0 X-ZohoMailClient: External 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/cyrus-sasl.scm (cyrus-sasl)[native-search-paths]: Add "lib/sasl2" to SASL_PATH --- I added the patches from this issue to a personal Guix checkout, and was unable to build cyrus-sasl-xoauth2 due to autogen.sh being an executable file without a shebang. This updated patch sets the permission bits to o400, so that the bootstrap phase passes autogen.sh to /bin/sh, rather than attempt to execute it directly. gnu/packages/cyrus-sasl.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) base-commit: 4ded034a57ffacdd6c7afa73bb58893afd614644 prerequisite-patch-id: 081e3072b6b3a070fffd62da42f3e622317684bf diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm index 70d579c127..8254e04993 100644 --- a/gnu/packages/cyrus-sasl.scm +++ b/gnu/packages/cyrus-sasl.scm @@ -63,9 +63,13 @@ (define-public cyrus-sasl ;; ends up doing "ln -s plugin_common.lo plugin_common.o", which can ;; fail with EEXIST when building things in parallel. #:parallel-build? #f)) - (synopsis "Simple Authentication Security Layer implementation") - (description - "SASL (Simple Authentication Security Layer) is an Internet + (native-search-paths + (list (search-path-specification + (variable "SASL_PATH") + (files (list "lib/sasl2"))))) + (synopsis "Simple Authentication Security Layer implementation") + (description + "SASL (Simple Authentication Security Layer) is an Internet standards-track method for remote computers to authenticate. The Cyrus SASL library makes supporting various SASL mechanisms easy for both client and server writers.")