GNU bug report logs - #56599
[PATCH] gnu: fortune-mod: Remove off database.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: raingloom <raingloom@HIDDEN>; Keywords: patch; dated Sat, 16 Jul 2022 12:24:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2022 12:23:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 16 08:23:20 2022
Received: from localhost ([127.0.0.1]:43172 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oCgpM-0001A8-0b
	for submit <at> 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 <raingloom@HIDDEN>) id 1oCgpJ-00019u-S0
 for submit <at> 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 <raingloom@HIDDEN>)
 id 1oCgpJ-0007pf-Gn
 for guix-patches@HIDDEN; 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 <raingloom@HIDDEN>)
 id 1oCgpH-0005Pm-L2
 for guix-patches@HIDDEN; 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 <raingloom@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: fortune-mod: Remove off database.
Date: Sat, 16 Jul 2022 14:21:26 +0200
Message-Id: <20220716122126.26328-1-raingloom@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@HIDDEN;
 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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: 54691 <at> debbugs.gnu.org, raingloom <raingloom@HIDDEN>
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* 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





Acknowledgement sent to raingloom <raingloom@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#56599; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 16 Jul 2022 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.