From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 1/4] gnu: Add hdup. Date: Thu, 29 May 2014 16:38:20 -0500 Message-ID: <87k394p8oj.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq7yJ-0005GZ-M4 for Guix-devel@gnu.org; Thu, 29 May 2014 17:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wq7yE-0003Jm-W0 for Guix-devel@gnu.org; Thu, 29 May 2014 17:34:47 -0400 Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:47035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq7yE-0003JO-Qw for Guix-devel@gnu.org; Thu, 29 May 2014 17:34:42 -0400 Received: by mail-ig0-f171.google.com with SMTP id c1so54605igq.10 for ; Thu, 29 May 2014 14:34:41 -0700 (PDT) Received: from cooper.gmail.com (chippewa-nat.cray.com. [136.162.34.1]) by mx.google.com with ESMTPSA id e6sm309443igq.6.2014.05.29.14.34.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 29 May 2014 14:34:41 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-hdup.patch >From 3a0fe0fa0674f48cb996d80f97dc54815405a9d7 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 29 May 2014 16:35:12 -0500 Subject: [PATCH 1/4] gnu: Add hdup. * gnu/packages/backup.scm (hdup): New variable. --- gnu/packages/backup.scm | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 574bb11..b0c7e8a 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -20,11 +20,18 @@ #:use-module (guix packages) #:use-module (guix licenses) #:use-module (guix download) + #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) - #:use-module (gnu packages python) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) + #:use-module (gnu packages mcrypt) + #:use-module (gnu packages python) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages rsync) + #:use-module (gnu packages ssh) #:use-module (srfi srfi-1)) (define-public duplicity @@ -69,3 +76,37 @@ parts of files that have changed since the last backup. Because duplicity uses GnuPG to encrypt and/or sign these archives, they will be safe from spying and/or modification by the server.") (license gpl2+))) + +(define-public hdup + (package + (name "hdup") + (version "2.0.14") + (source + (origin + (method url-fetch) + ;; Source tarballs are not versioned + (uri "http://archive.miek.nl/projects/hdup2/hdup.tar.bz2") + (sha256 + (base32 + "02bnczg01cyhajmm4rhbnc0ja0dd9ikv9fwv28asxh1rlx9yr0b7")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("tar" ,tar) + ("lzop" ,lzop) + ("mcrypt" ,mcrypt) + ("openssh" ,openssh) + ("gnupg" ,gnupg-1))) + (arguments + `(#:configure-flags + `(,(string-append "--sbindir=" (assoc-ref %outputs "out") "/bin")) + #:tests? #f)) + (home-page "http://archive.miek.nl/projects/hdup/index.html") + (synopsis "The little, spiffy, backup tool") + (description + "Hdup2 is a backup utilty, it's aim is to make backup really simple. The +backup scheduling is done by means of a cronjob. It supports an +include/exclude mechanism, remote backups, encrypted backups and split +backups (called chunks) to allow easy burning to CD/DVD.") + (license gpl2))) -- 1.7.9.5 --=-=-= -- Eric Bavier --=-=-=--