emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#26030: closed ([PATCH] gnu: Add rsnapshot.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26030: closed ([PATCH] gnu: Add rsnapshot.)
Date: Thu, 09 Mar 2017 11:33:01 +0000

Your message dated Thu, 09 Mar 2017 12:31:52 +0100
with message-id <address@hidden>
and subject line Re: bug#26030: [PATCH] gnu: Add rsnapshot.
has caused the debbugs.gnu.org bug report #26030,
regarding [PATCH] gnu: Add rsnapshot.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26030: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26030
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add rsnapshot. Date: Wed, 08 Mar 2017 20:08:56 +0100 (CET)
From 0d653bfc22eab87e50434475a724a32fb4dfbce0 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <address@hidden>
Date: Wed, 8 Mar 2017 18:04:58 +0100
Subject: [PATCH] gnu: Add rsnapshot.

* gnu/packages/backup.scm (rsnapshot): New variable.
---
 gnu/packages/backup.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 986ffef08..7afd33c37 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Ian Denhardt <address@hidden>
 ;;; Copyright © 2015, 2016 Leo Famulari <address@hidden>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017 Thomas Danckaert <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@
   #:use-module (gnu packages mcrypt)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages pcre)
+  #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages rsync)
@@ -373,6 +375,50 @@ to a remote location, and only the differences will be 
transmitted.  Finally,
 rdiff-backup is easy to use and settings have sensible defaults.")
     (license license:gpl2+)))
 
+(define-public rsnapshot
+  (package
+    (name "rsnapshot")
+    (version "1.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/rsnapshot/rsnapshot/archive/";
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256 (base32
+                "0rll7pvyyjdqiyc9chf2ingdv9qcf6s28zjb8q7znfgybcjd2wn4"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)))
+    (inputs
+     `(("perl" ,perl)
+       ("rsync" ,rsync)
+       ("openssh" ,openssh)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'autogen
+           (lambda _
+             (zero? (system* "./autogen.sh"))))
+         (replace 'check
+           (lambda _
+             (substitute*
+                 '("t/cmd-post_pre-exec/conf/pre-true-post-true.conf"
+                   "t/backup_exec/conf/backup_exec_fail.conf"
+                   "t/backup_exec/conf/backup_exec.conf")
+               (("/bin/true") (which "true"))
+               (("/bin/false") (which "false")))
+             (zero? (system* "make" "test")))))))
+    (synopsis "Incremental backup utility based on rsync")
+    (description "rsnapshot is a filesystem snapshot utility based on
+rsync.  rsnapshot makes it easy to make periodic snapshots of local
+machines, and remote machines over ssh.  The code makes extensive use
+of hard links whenever possible, to greatly reduce the disk space
+required.")
+    (home-page "http://rsnapshot.org";)
+    (license license:gpl2+)))
+
 (define-public libchop
   (package
     (name "libchop")
-- 
2.11.1


--- End Message ---
--- Begin Message --- Subject: Re: bug#26030: [PATCH] gnu: Add rsnapshot. Date: Thu, 09 Mar 2017 12:31:52 +0100 User-agent: mu4e 0.9.18; emacs 25.1.1
Hi Thomas,

>> Can you send an updated patch?
>
> Attached, feel free to add “Co-authored by...“ :-)
>
> Thomas
> From b59515ba09cd7dc8767d23eb4e00cb94463e2dd0 Mon Sep 17 00:00:00 2001
> From: Thomas Danckaert <address@hidden>
> Date: Wed, 8 Mar 2017 18:04:58 +0100
> Subject: [PATCH] gnu: Add rsnapshot.
>
> * gnu/packages/backup.scm (rsnapshot): New variable.
> ---

I’ve pushed this to master with commit 0da4f3659.  I made some very
minor cosmetic changes (e.g. order of fields for consistency,
capitalising ‘SSH’ in the description) — I hope you don’t mind!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]