From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iNWkAhXQC2N+CQAAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 22:29:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kBnRAhXQC2OwBQEA9RJhRA (envelope-from ) for ; Sun, 28 Aug 2022 22:29:09 +0200 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 BA3043B52E for ; Sun, 28 Aug 2022 22:29:08 +0200 (CEST) Received: from localhost ([::1]:48752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSOu3-0006yM-Ky for larch@yhetil.org; Sun, 28 Aug 2022 16:29:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSOty-0006yE-FA for guix-patches@gnu.org; Sun, 28 Aug 2022 16:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSOty-000228-6K for guix-patches@gnu.org; Sun, 28 Aug 2022 16:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSOtx-0005S6-LJ for guix-patches@gnu.org; Sun, 28 Aug 2022 16:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57465] [PATCH] gnu: Add cl-safe-read. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 20:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57465@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166171851820928 (code B ref -1); Sun, 28 Aug 2022 20:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2022 20:28:38 +0000 Received: from localhost ([127.0.0.1]:59648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSOta-0005RT-D9 for submit@debbugs.gnu.org; Sun, 28 Aug 2022 16:28:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:50444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSOtY-0005RM-BL for submit@debbugs.gnu.org; Sun, 28 Aug 2022 16:28:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSOtX-0006vD-HC for guix-patches@gnu.org; Sun, 28 Aug 2022 16:28:35 -0400 Received: from mx1.dismail.de ([78.46.223.134]:12341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSOtV-0001zk-5e for guix-patches@gnu.org; Sun, 28 Aug 2022 16:28:35 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c6acef44 for ; Sun, 28 Aug 2022 22:28:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=U4NDeEAKX/odmYGQyk/ukesEjs1U5FwzJNzDXKANgZs=; b= myUxeIqd8kBXsHn6R5wphIrKP6FEi0JU/DKDSVLoGOzPtch128ngqbpFAbV7UWGV 4pRuAHosMONLJaLB9yjU1IAUZQ0WjL4IBiwLbxZh2Db0pbLyER8aIc413Hln8/2s hVpqdkqi+PF4TQzfmSKOEPKYzdHGkxklT7rNtGeX8c+0uX8HTTWlU7IAtzBWgolH cbHuYh1ENlOa718DY4+1Am0FR+7ZbYgqXmWUbPtZwTyWw/1bvtQMVmk8GoIbyETJ gn+Vc9xVJUjCKhdzQ3yanEiZlYl8cWf1ECgNec/okuMkhWLYiR8Y17xYBlx/6O4Y cE/gZJttWtFuQqyx5UD5Sg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e2b6249b for ; Sun, 28 Aug 2022 22:28:26 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id d9fe22ce for ; Sun, 28 Aug 2022 22:28:26 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d315ce4a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Aug 2022 22:28:21 +0200 (CEST) Date: Sun, 28 Aug 2022 15:28:02 -0500 Message-Id: <20220828202802.6388-1-jgart@dismail.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661718548; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=w6+zFzKinul5w/Cv4b/ekkxq8M8ALhvThNhV88briCU=; b=u+BheyzCQle/nd3J/1fYDLngpCB5lx7s0SlnruxUFmEzFzBRJoU74c8le81AF5H50je8uT KGeu7i26Dshjt+n96500vwrH5S1Q0NkvZJ9rz98PsKe90I6hLkkqFCyE1kEp4g9eHqB9Pk nMsQLxsEBoyczv1JQnBB4bZJiRnBtUOW5wXjdMy7rVpk0I6Svq7fL5V6Mj5rz+g6O6hoH5 RDNc/NZBW6S4qHufk9W8Eyo9Ai2azCOsMo+1dEPMxMBFbwXyAalzQ55e2OOkzmr+9RvAxa V6Qm4+8o2AgeMCb+9qhjTvLJyVfweHG5H7qdeD5HCCC4J8g/Sn6BH0V1evop6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661718548; a=rsa-sha256; cv=none; b=aBLzEjzVRBJ+dJJ2azHCNesahQ/0OfwxRVLSmDpKLBjVi2L/EyBcyTm0xbWZZ5q18YfZoM 5WiV9Fi24gnUxrGU9IT38w8rXIh9cyhS04nfRkey5QUZ8MVY/pqmqb7PsDB2ubIL0VW1mS euiVtbfLgv+z2V759Z7S6+HPo7vVVd5XTXh0xsXnN5lQx0Lkn9jwTqXQEJjQAVUVbVZDFa +DM5YG4NpKvuMI3iluSG08M5twrJ6OMh+Klqej9yByDhJLiw02EvVIQwQX7inkho4W1+Ix TLfk5CJ2hNiwE80c1aZ2qp7O/8KJLw5ySir+dYBt5FpBYUIyQ8HwhdIQKb/W7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=myUxeIqd; 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.10 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=myUxeIqd; 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: BA3043B52E X-Spam-Score: -3.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xa8GVA+XMBk+ * gnu/packages/lisp-xyz.scm (cl-safe-read): New variable. --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 27d53449e6..5789bf3405 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -22762,6 +22762,37 @@ (define-public ecl-trivial-custom-debugger ;; Tests fail on ECL: https://github.com/phoe/trivial-custom-debugger/issues/3 '(#:tests? #f)))) +(define-public sbcl-safe-read + (let ((commit "d25f08597b34d7aaeb86b045d57f7b020a5bb5f0") + (revision "0")) + (package + (name "sbcl-safe-read") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phoe/safe-read") + (commit commit))) + (file-name (git-file-name "safe-read" version)) + (sha256 + (base32 "1r9k8danfnqgpbn2vb90n6wdc6jd92h1ig565yplrbh6232lhi26")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-local-time sbcl-trivial-garbage)) + (home-page "https://github.com/phoe/safe-read/") + (synopsis "A safer variant of READ") + (description +"This package provides a safer variant of @code{READ} secure against +internbombing, excessive input and macro characters. ") + (license license:bsd-2)))) + +(define-public cl-safe-read + (sbcl-package->cl-source-package sbcl-safe-read)) + +(define-public ecl-safe-read + (sbcl-package->ecl-package sbcl-safe-read)) + (define-public sbcl-ospm (package (name "sbcl-ospm") -- 2.37.2