GNU bug report logs -
#26030
[PATCH] gnu: Add rsnapshot.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#26030: [PATCH] gnu: Add rsnapshot.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 26030 <at> debbugs.gnu.org.
--
26030: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26030
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 <thomas.danckaert <at> gmail.com>
> 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
[Message part 3 (message/rfc822, inline)]
[0001-gnu-Add-rsnapshot.patch (text/x-patch, inline)]
From 0d653bfc22eab87e50434475a724a32fb4dfbce0 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert <at> gmail.com>
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 <ian <at> zenhack.net>
;;; Copyright © 2015, 2016 Leo Famulari <leo <at> famulari.name>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
;;;
;;; 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
This bug report was last modified 8 years and 71 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.