diff options
| author | Eric Bavier <bavier@member.fsf.org> | 2014-05-29 16:36:42 -0500 |
|---|---|---|
| committer | Eric Bavier <bavier@member.fsf.org> | 2014-05-30 12:36:27 -0500 |
| commit | d42e61224e731c7c8f5d67d4d5f7468f67588632 (patch) | |
| tree | 03bfa0bf324e7f2cc347e74e0263c9557434e00e /gnu | |
| parent | 28469ab0eca35dee5b7068074986c576ebc4fd81 (diff) | |
gnu: Add rdup.
* gnu/packages/backup.scm (rdup): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/backup.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 1013737b4a5..747c3f026cc 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm | |||
| @@ -25,9 +25,12 @@ | |||
| 25 | #:use-module (gnu packages) | 25 | #:use-module (gnu packages) |
| 26 | #:use-module (gnu packages base) | 26 | #:use-module (gnu packages base) |
| 27 | #:use-module (gnu packages compression) | 27 | #:use-module (gnu packages compression) |
| 28 | #:use-module (gnu packages dejagnu) | ||
| 28 | #:use-module (gnu packages glib) | 29 | #:use-module (gnu packages glib) |
| 29 | #:use-module (gnu packages gnupg) | 30 | #:use-module (gnu packages gnupg) |
| 30 | #:use-module (gnu packages mcrypt) | 31 | #:use-module (gnu packages mcrypt) |
| 32 | #:use-module (gnu packages nettle) | ||
| 33 | #:use-module (gnu packages pcre) | ||
| 31 | #:use-module (gnu packages python) | 34 | #:use-module (gnu packages python) |
| 32 | #:use-module (gnu packages pkg-config) | 35 | #:use-module (gnu packages pkg-config) |
| 33 | #:use-module (gnu packages rsync) | 36 | #:use-module (gnu packages rsync) |
| @@ -110,3 +113,42 @@ backup scheduling is done by means of a cron job. It supports an | |||
| 110 | include/exclude mechanism, remote backups, encrypted backups and split | 113 | include/exclude mechanism, remote backups, encrypted backups and split |
| 111 | backups (called chunks) to allow easy burning to CD/DVD.") | 114 | backups (called chunks) to allow easy burning to CD/DVD.") |
| 112 | (license gpl2))) | 115 | (license gpl2))) |
| 116 | |||
| 117 | (define-public rdup | ||
| 118 | (package | ||
| 119 | (name "rdup") | ||
| 120 | (version "1.1.14") | ||
| 121 | (source | ||
| 122 | (origin | ||
| 123 | (method url-fetch) | ||
| 124 | (uri (string-append "http://archive.miek.nl/projects/rdup/rdup-" | ||
| 125 | version ".tar.bz2")) | ||
| 126 | (sha256 | ||
| 127 | (base32 | ||
| 128 | "0aklwd9v7ix0m4ayl762sil685f42cwljzx3jz5skrnjaq32npmj")))) | ||
| 129 | (build-system gnu-build-system) | ||
| 130 | (native-inputs | ||
| 131 | `(("pkg-config" ,pkg-config) | ||
| 132 | ("dejagnu" ,dejagnu))) | ||
| 133 | (inputs | ||
| 134 | `(("glib" ,glib) | ||
| 135 | ("pcre" ,pcre) | ||
| 136 | ("libarchive" ,libarchive) | ||
| 137 | ("nettle" ,nettle))) | ||
| 138 | (arguments | ||
| 139 | `(#:parallel-build? #f ;race conditions | ||
| 140 | #:phases (alist-cons-before | ||
| 141 | 'build 'remove-Werror | ||
| 142 | ;; rdup uses a deprecated function from libarchive | ||
| 143 | (lambda _ | ||
| 144 | (substitute* "GNUmakefile" | ||
| 145 | (("^(CFLAGS=.*)-Werror" _ front) front))) | ||
| 146 | %standard-phases))) | ||
| 147 | (home-page "http://archive.miek.nl/projects/rdup/index.html") | ||
| 148 | (synopsis "Provide a list of files to backup") | ||
| 149 | (description | ||
| 150 | "Rdup is a utility inspired by rsync and the plan9 way of doing backups. | ||
| 151 | Rdup itself does not backup anything, it only print a list of absolute | ||
| 152 | filenames to standard output. Auxiliary scripts are needed that act on this | ||
| 153 | list and implement the backup strategy.") | ||
| 154 | (license gpl3+))) | ||
