From patchwork Wed Nov 22 10:04:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VG9tw6FzIE9ydMOtbg==?= X-Patchwork-Id: 19766 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 9EC8A27BBEA; Wed, 22 Nov 2023 10:06:14 +0000 (GMT) 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 9046927BBE9 for ; Wed, 22 Nov 2023 10:06:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5k7O-0008MS-IK; Wed, 22 Nov 2023 05:06:02 -0500 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 1r5k7M-0008Li-5k for guix-patches@gnu.org; Wed, 22 Nov 2023 05:06:00 -0500 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 1r5k7L-0005RX-Ra for guix-patches@gnu.org; Wed, 22 Nov 2023 05:05:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r5k7O-0005pE-Lp for guix-patches@gnu.org; Wed, 22 Nov 2023 05:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67363] [PATCH] Add rdfind Resent-From: =?utf-8?b?VG9tw6FzIE9ydMOtbg==?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Nov 2023 10:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67363 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67363@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170064754222359 (code B ref -1); Wed, 22 Nov 2023 10:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Nov 2023 10:05:42 +0000 Received: from localhost ([127.0.0.1]:58031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5k73-0005oZ-Vh for submit@debbugs.gnu.org; Wed, 22 Nov 2023 05:05:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5k6z-0005oF-5I for submit@debbugs.gnu.org; Wed, 22 Nov 2023 05:05:40 -0500 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 1r5k6q-0008C3-Dc for guix-patches@gnu.org; Wed, 22 Nov 2023 05:05:28 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1r5k6k-0005AZ-5n for guix-patches@gnu.org; Wed, 22 Nov 2023 05:05:28 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4SZxgf4Krsz9t2Z for ; Wed, 22 Nov 2023 11:05:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1700647502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MjlfqzBbCfrcWThSAhgiA8pSFac4A5piMHRzIUVekLI=; b=sByqlzHvCnAWktkF8iOA1IuFNjl+uTRghGHoW1D67Txd1/A+Wod9INJmHNkA0cEoAd5pCs MmFGs4FEL7rEiLmq6hbvARXC+mfSRzcjrCT414sBW3EWWAmgTarIoyz5nhJAgWjkLPy89/ 9+t/9hxnGMFiZZDDv18GDtylz8kn0Ix+jjQio1i/RukNsa3UT49ylnOjxVv5SWbdrVT793 JRAtfb16tVwEsp656y07fVsCL2pHBFOu379k3TivStJcuysqs7sjjtINjysFRp1U+fHAJE eFxcECOhCCuhe37zxhr2xakebtnBqGqSUJ7Iik3Jvlz7uEkjwzungGCDMH/nFQ== Message-ID: Date: Wed, 22 Nov 2023 11:04:42 +0100 MIME-Version: 1.0 Content-Language: en-US X-MBO-RS-ID: 0f337a29618ddcf58be X-MBO-RS-META: azrt189mhr4nzbku49pk4sxfcsy3tkus Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=tomasortin@mailbox.org; helo=mout-p-102.mailbox.org 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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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: , Reply-to: =?utf-8?b?VG9tw6FzIE9ydMOtbg==?= X-ACL-Warn: , =?utf-8?q?Tom=C3=A1s_Ort=C3=ADn_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Tom=C3=A1s_Ort=C3=ADn_via_Guix-patches?= via From: =?utf-8?b?VG9tw6FzIE9ydMOtbg==?= 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 * gnu/packages/admin.scm (rdfind): New variable. Change-Id: Ie25bb6b8f5f9a3942eec8d9346da99d73e3bf1dd --- gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: d20ece07dbb09382f361c8bbf0bcab9e83d8b73e diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 17225863d7..c8cf375f49 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -61,6 +61,7 @@ ;;; Copyright © 2023 Alexey Abramov ;;; Copyright © 2023 Bruno Victal ;;; Copyright © 2023 Tobias Kortkamp +;;; Copyright © 2023 Tomás Ortín Fernández ;;; ;;; This file is part of GNU Guix. ;;; @@ -148,6 +149,7 @@ (define-module (gnu packages admin) #:use-module (gnu packages mcrypt) #:use-module (gnu packages mpi) #:use-module (gnu packages ncurses) + #:use-module (gnu packages nettle) #:use-module (gnu packages networking) #:use-module (gnu packages openldap) #:use-module (gnu packages package-management) @@ -6038,3 +6040,34 @@ (define-public bfs versions of command{find}, including POSIX, GNU, and *BSD find.") (home-page "https://tavianator.com/projects/bfs.html") (license license:bsd-0))) + +(define-public rdfind + (package + (name "rdfind") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://rdfind.pauldreik.se/" name "-" version + ".tar.gz")) + (sha256 + (base32 "0y9j1w3nbgjks0k4kgm6qq92yrwgv66n212ncmlmhsl8y676wh3s")))) + (build-system gnu-build-system) + (native-inputs (list which)) + (inputs (list nettle)) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'check 'patch-tests + (lambda _ + (display (which "echo")) + (substitute* "testcases/common_funcs.sh" + (("/bin/echo") + (which "echo")))))))) + (home-page "https://rdfind.pauldreik.se") + (synopsis "Find duplicate files") + (description + "Rdfind is a command line tool that finds duplicate files based on +their content instead of their file names. It is useful for compressing +backup directories or just finding duplicate files.") + (license license:gpl2+)))