GNU bug report logs

#73943 [PATCH] gnu: gawk: Add search-paths.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 22 Oct 2024 07:35:15 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 22 03:35:15 2024
Received: from localhost ([127.0.0.1]:54459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1t39QB-0003AS-4Q
	for submit@debbugs.gnu.org; Tue, 22 Oct 2024 03:35:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:56926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim.flashner@gmail.com>) id 1t39Q6-0003AG-Ev
 for submit@debbugs.gnu.org; Tue, 22 Oct 2024 03:35:13 -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 <efraim.flashner@gmail.com>)
 id 1t39Pe-00017N-H7
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:34:42 -0400
Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <efraim.flashner@gmail.com>)
 id 1t39Pc-0002kY-Iz
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:34:42 -0400
Received: by mail-wm1-x335.google.com with SMTP id
 5b1f17b1804b1-4314a26002bso58530595e9.0
 for <guix-patches@gnu.org>; Tue, 22 Oct 2024 00:34:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1729582477; x=1730187277; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=LWNZmVlbj6OcG8ushVQ7MpaVjLVJFgt2Rqg/fxTRcYU=;
 b=joE/k7rNQy4EJNE+PYdjEKRrOJyFoJV+P+Agy4/gf/ix6ZmM1pComTNwZTlUVgwW9X
 gZNNAxZQmsoV4+ej1kAhtt+pDS9BfyAK5A2k+gbcMgbgcNEm8MIeJ9yZmw4ecr+LT8jG
 ipZXUpqz7uitz31lJHEw7eRTtMSlQcf+7EAQPz+Mos2KdIh9oyyLl7Fmej0JJli7ZCCl
 wtvZzmQSBKQiWJoT/01hra3EN0HtyKY4RXS6HBe3iXAZujp/v2EGBNEzXb7uC6MwPPiv
 juAj9RR46xNuzl0HTwlCp74yENgpIcxE8ZCwgeRq/gc6QLdXjQ+F53fZLx4UsqCmp/0O
 lDPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1729582477; x=1730187277;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=LWNZmVlbj6OcG8ushVQ7MpaVjLVJFgt2Rqg/fxTRcYU=;
 b=YTQOF9GN7/ToQRF8Hnuifo0RUMxlp/NkW1+l4Xk6btsuA2+irhyn1ZZntzMJI53ghW
 46wyz88ruQWeUjz7Z/UAySX7OQguV4DtLETLY3NrPh98w/gy57PhISKR0Gyn176POsXM
 dHTIkMxQJ8analoT5bLni3LVQKSTLIFBlYZL0LGfAmstQn4Qtnkogb3Xlo8MunarzbZ6
 wtpj4hZh8CrjhZJOMWqvzWpgSPuC2igOF1gfeRJwsCkJJHPXo8xFneHl/zlkhKnCbr+d
 KYrRKWVomgVpsA3gEdfU3HhoEDoxp8ThsV/fe7qRbBFtKg1FtKPzRFiFYrIm4EDirZuB
 k7Rw==
X-Gm-Message-State: AOJu0YyKDvK/3jPkOdoNvqvrqX+BqmZlWFcxAQhiU9hPJRFJfAj4fvf1
 X2CJordCRGyn2CTgrwGpKZZ7yfzo/M2+RFqOlB3Oz1gS92WP21SuxdJlzyGc
X-Google-Smtp-Source: AGHT+IGhc62G6kkm+N3mI/BXo18HeIwbsyMDBCbSiuzuR9USu9XRcT3nP/S0qhR4Xpdw0zgI2XXBag==
X-Received: by 2002:a05:600c:4f8b:b0:431:46fe:4cad with SMTP id
 5b1f17b1804b1-4316163bbe0mr123813665e9.9.1729582477164; 
 Tue, 22 Oct 2024 00:34:37 -0700 (PDT)
Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4316f58f2c3sm79715435e9.27.2024.10.22.00.34.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 22 Oct 2024 00:34:35 -0700 (PDT)
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-patches@gnu.org
Subject: [PATCH] gnu: gawk: Add search-paths.
Date: Tue, 22 Oct 2024 10:32:56 +0300
Message-ID: <a17b1c7e35943a7527e9a5a3bcf3591366a7e70e.1729582350.git.efraim@flashner.co.il>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::335;
 envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x335.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.171,
 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.2 (+)
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:  * gnu/packages/gawk.scm (gawk)[search-paths]: New field. Change-Id:
    Idbf2709b793ebd58e1aae8d07698e1f3e816babd --- As seen here¹, this allows
    loading either source or compiled modules to provide more functions in gawk.
    
 
 Content analysis details:   (1.2 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (efraim.flashner[at]gmail.com)
  0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                          [209.51.188.17 listed in sa-trusted.bondedsender.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [209.51.188.17 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
                             EnvelopeFrom freemail headers are
                             different
X-Debbugs-Envelope-To: submit
Cc: Efraim Flashner <efraim@flashner.co.il>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -2.1 (--)
* gnu/packages/gawk.scm (gawk)[search-paths]: New field.

Change-Id: Idbf2709b793ebd58e1aae8d07698e1f3e816babd
---

As seen here¹, this allows loading either source or compiled modules to
provide more functions in gawk.

¹ https://www.gnu.org/software/gawk/manual/html_node/AWKLIBPATH-Variable.html

 gnu/packages/gawk.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index cea58bd415c..6a77a692f5a 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -89,6 +89,13 @@ (define-public gawk
                  ;; sometimes fail non-deterministically.
                  bash))
 
+   (search-paths
+    (list (search-path-specification
+           (variable "AWKPATH")
+           (files (list "share/awk")))
+          (search-path-specification
+           (variable "AWKLIBPATH")
+           (files (list "lib/gawk")))))
    (home-page "https://www.gnu.org/software/gawk/")
    (synopsis "Text scanning and processing language")
    (description

base-commit: ebdbaf6b391848d8287a7985bb49ac419586e0a1
-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Oct 23 00:27:42 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.