[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41324] [PATCH v3] gnu/packages/backup.scm (dump): New variable
From: |
Marcin Karpezo |
Subject: |
[bug#41324] [PATCH v3] gnu/packages/backup.scm (dump): New variable |
Date: |
Mon, 25 May 2020 18:05:29 +0200 |
Hi Marius,
I'm sending updated patch with the changes you requested. Apart from
one, regarding use of mirror://sourceforge. I've tried it several
times and in several ways I've found in other packages included in
guix, but the one presented is the one that wokred to bild package
relaiably.
---
gnu/packages/backup.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 0fe6676cc2..1939f3b72c 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2019 Marius Bakke <address@hidden>
;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
;;; Copyright © 2020 Nicolas Goaziou <address@hidden>
+;;; Copyright © 2020 Marcin Karpezo <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1026,6 +1027,44 @@ stored previously can be read back in full at any time.
The program
is format-agnostic, so you can feed virtually any files to it.")
(license license:gpl2+)))
+(define-public dump
+ (package
+ (name "dump")
+ (version "0.4b46")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://downloads.sourceforge.net/project/" name
"/"
+ name "/" version "/" name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15rg5y15ak0ppqlhcih78layvg7cwp6hc16p3c58xs8svlkxjqc0"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ `("--sysconfdir=/etc"
+ "--disable-readline"
+ "--disable-rmt")))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (inputs
+ `(("openssl" ,openssl-1.0)
+ ("zlib" ,zlib)
+ ("util-linux" ,util-linux "lib")
+ ("e2fsprogs" ,e2fsprogs)))
+ (home-page "https://dump.sourceforge.io/")
+ (synopsis "Linux Ext2/3/4 filesystem dump/restore utilities")
+ (description "Dump examines files in a filesystem, determines which ones
+need to be backed up, and copies those files to a specified disk, tape or
+other storage medium. Subsequent incremental backups can then be layered on
+top of the full backup. The restore command performs the inverse function of
+dump; it can restore a full backup of a filesystem. Single files and
+directory subtrees may also be restored from full or partial backups in
+interractive mode.")
+ (license license:bsd-3)))
+
(define-public burp
(package
(name "burp")
--
2.26.2