From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OMXUN/Gt0mKRRwEAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 14:24:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QBZzNvGt0mIDbQAAG6o9tA (envelope-from ) for ; Sat, 16 Jul 2022 14:24:17 +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 9D7D0CBCB for ; Sat, 16 Jul 2022 14:24:16 +0200 (CEST) Received: from localhost ([::1]:34146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCgqF-00081C-KR for larch@yhetil.org; Sat, 16 Jul 2022 08:24:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCgq2-00080v-SQ for guix-patches@gnu.org; Sat, 16 Jul 2022 08:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCgq2-0006k3-Jb for guix-patches@gnu.org; Sat, 16 Jul 2022 08:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCgq2-0001Bh-Fw for guix-patches@gnu.org; Sat, 16 Jul 2022 08:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56599] [PATCH] gnu: fortune-mod: Remove off database. Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Jul 2022 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56599 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56599@debbugs.gnu.org Cc: 54691@debbugs.gnu.org, raingloom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16579742004477 (code B ref -1); Sat, 16 Jul 2022 12:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2022 12:23:20 +0000 Received: from localhost ([127.0.0.1]:43172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCgpM-0001A8-0b for submit@debbugs.gnu.org; Sat, 16 Jul 2022 08:23:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:49664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCgpJ-00019u-S0 for submit@debbugs.gnu.org; Sat, 16 Jul 2022 08:23:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCgpJ-0007pf-Gn for guix-patches@gnu.org; Sat, 16 Jul 2022 08:23:17 -0400 Received: from mx0.riseup.net ([198.252.153.6]:54616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCgpH-0005Pm-L2 for guix-patches@gnu.org; Sat, 16 Jul 2022 08:23:17 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4LlS743f2qz9snR; Sat, 16 Jul 2022 12:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1657974192; bh=DIM1klXX+ZcR7Ds3fRjLjpe6aqMTwl9pQuvBVBKuq6o=; h=From:To:Cc:Subject:Date:From; b=pAcglqv4k5BDRNfeJxxd28/1pkb1qRy9sVPPY1k3ZDZBRoPmdaiETtrmwKE8D5eG6 bABvavSScXFRPqxHhLwiJEL6DcMarc1LdQkjMcerHu8qoyWI6xV686K87N4a7ZiaMl uPHpnOLpBhAq9QDeZgVp8LwTXLf6sckeGPiH4hW4= X-Riseup-User-ID: B3445B16061DCE5EEDCD663AE92BB23E09758F4168663206193AF4A78ED7C850 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4LlS732jWXz20cj; Sat, 16 Jul 2022 12:23:11 +0000 (UTC) From: raingloom Date: Sat, 16 Jul 2022 14:21:26 +0200 Message-Id: <20220716122126.26328-1-raingloom@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net 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_PASS=-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" 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=1657974257; h=from:from:sender:sender: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=gwigfpOIa+/KE+HoCe8COC3TBu4iFQEpARCPRvZAQL0=; b=kivhsKlhUrynDpmph4i4S0J+M+HPoNFYbssax5bxJ/JLYj/MXpNgCKDsqTIptcbQeHVgdn AHpHBn8vHehMp7NNfJVLt+wqHj9UGlwDe303cBzVoO0eanIV6s7LUwTQr45XAkU8u8JuAL DSGwHjm8Tp3FeDU9ejWyJoooCYOod9v+/Uak9rcqEa0BiZSnjqJ+inOgt84Iz/5m+dY6V8 bKFH71X4JfXquvDtu4O5s6UsDgBA75B1fV/t81LrOVf/WVLAaIMArNjOCGqbv+Gdhv+mwM 5vmaDmu4lbeHpXXWevpATEI3GjPgJlAUsWzIYEAT38+wwOwz5Xhf/jWVXy/4iQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657974257; a=rsa-sha256; cv=none; b=DnvgSVBH0t1jd1MwzRHHz/mhfNAS77709qn0GLulmZgomZ3VMf3Hv+AJrgPlQVTZ3qN5vT dhmOJD+9yYI0rl4rPaZzmiToh9XjoTmslQ+Ffdm8xXlkIKW29aOWLDD/Y4ldBvrwsTmmVN iWdnyj04Lg2wlIRosIVdCVvneGOTKwHCLMrKk9Xb3XxmeBDLxQrl5NFR3GZIZ3SOTezjMt tAAIpCuK4/86aLC6vTbF4QPCHER5aH0hIqQ01gVY/WOJjBcJs0a5nx4ydjxhxzQtp+wrgW Mr1TWuIIxWlv5zG/F6AjijPRVdEDuJ3Y9vAYcdnVS1gV63L9ulWi19bhJfu5bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=pAcglqv4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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: 8.36 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=pAcglqv4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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: 9D7D0CBCB X-Spam-Score: 8.36 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: YqF7CflcR//d * gnu/packages/games.scm (fortune-mod): Delete off database after install phase. --- gnu/packages/games.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 713f9339b2..cf10ebc9b6 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7721,7 +7721,10 @@ (define-public fortune-mod (lambda _ (with-directory-excursion #$output (rename-file "games/fortune" "bin/fortune") - (rmdir "games"))))))) + (rmdir "games")))) + (add-after 'install 'commit-censorship + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") "/share/fortunes/off/"))))))) (inputs (list recode)) (native-inputs (list perl -- 2.37.0