GNU bug report logs - #67363
[PATCH] Add rdfind

Previous Next

Package: guix-patches;

Reported by: Tomás Ortín <tomasortin <at> mailbox.org>

Date: Wed, 22 Nov 2023 10:06:02 UTC

Severity: normal

Tags: patch

Merged with 68854

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67363 in the body.
You can then email your comments to 67363 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67363; Package guix-patches. (Wed, 22 Nov 2023 10:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomás Ortín <tomasortin <at> mailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 22 Nov 2023 10:06:02 GMT) Full text and rfc822 format available.

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

From: Tomás Ortín <tomasortin <at> mailbox.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add rdfind
Date: Wed, 22 Nov 2023 11:04:42 +0100
* gnu/packages/admin.scm (rdfind): New variable.

Change-Id: Ie25bb6b8f5f9a3942eec8d9346da99d73e3bf1dd
---
 gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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 <levenson <at> mmer.org>
 ;;; Copyright © 2023 Bruno Victal <mirai <at> makinata.eu>
 ;;; Copyright © 2023 Tobias Kortkamp <tobias.kortkamp <at> gmail.com>
+;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin <at> mailbox.org>
 ;;;
 ;;; 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+)))

base-commit: d20ece07dbb09382f361c8bbf0bcab9e83d8b73e
-- 
2.41.0




Merged 67363 68854. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 20 Feb 2024 09:54:01 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 20 Feb 2024 09:57:02 GMT) Full text and rfc822 format available.

Notification sent to Tomás Ortín <tomasortin <at> mailbox.org>:
bug acknowledged by developer. (Tue, 20 Feb 2024 09:57:02 GMT) Full text and rfc822 format available.

Message #12 received at 67363-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tomás Ortín <tomasortin <at> mailbox.org>
Cc: 67363-done <at> debbugs.gnu.org
Subject: Re: [bug#67363] [PATCH] Add rdfind
Date: Tue, 20 Feb 2024 10:56:00 +0100
Tomás Ortín <tomasortin <at> mailbox.org> skribis:

> * gnu/packages/admin.scm (rdfind): New variable.
>
> Change-Id: Ie25bb6b8f5f9a3942eec8d9346da99d73e3bf1dd

Applied, thanks!




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 20 Feb 2024 09:57:02 GMT) Full text and rfc822 format available.

Notification sent to Noé LOPEZ <noelopez <at> free.fr>:
bug acknowledged by developer. (Tue, 20 Feb 2024 09:57:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 19 Mar 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 129 days ago.

Previous Next


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