all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/4] gnu: Add hdup.
@ 2014-05-29 21:38 Eric Bavier
  2014-05-30  7:28 ` Andreas Enge
  2014-05-30 15:53 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Bavier @ 2014-05-29 21:38 UTC (permalink / raw)
  To: Guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-hdup.patch --]
[-- Type: text/x-diff, Size: 2604 bytes --]

From 3a0fe0fa0674f48cb996d80f97dc54815405a9d7 Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
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


[-- Attachment #2: Type: text/plain, Size: 17 bytes --]


-- 
Eric Bavier

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/4] gnu: Add hdup.
  2014-05-29 21:38 [PATCH 1/4] gnu: Add hdup Eric Bavier
@ 2014-05-30  7:28 ` Andreas Enge
  2014-05-30 17:40   ` Eric Bavier
  2014-05-30 15:53 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2014-05-30  7:28 UTC (permalink / raw)
  To: Eric Bavier; +Cc: Guix-devel

Hello,

your patch reminds me that duplicity does not pass its tests on hydra,
neither on x86_64, nor on i686. Could you maybe have a look? Logs are here:
   http://hydra.gnu.org/build/56428/nixlog/2
   http://hydra.gnu.org/build/56429/nixlog/3

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/4] gnu: Add hdup.
  2014-05-29 21:38 [PATCH 1/4] gnu: Add hdup Eric Bavier
  2014-05-30  7:28 ` Andreas Enge
@ 2014-05-30 15:53 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-05-30 15:53 UTC (permalink / raw)
  To: Eric Bavier; +Cc: Guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> From 3a0fe0fa0674f48cb996d80f97dc54815405a9d7 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Thu, 29 May 2014 16:35:12 -0500
> Subject: [PATCH 1/4] gnu: Add hdup.
>
> * gnu/packages/backup.scm (hdup): New variable.

Minor issues:

> +      (method url-fetch)
> +      ;; Source tarballs are not versioned
> +      (uri "http://archive.miek.nl/projects/hdup2/hdup.tar.bz2")

Bonus points if you get the maintainer(s) to use versioned tarballs.  :-)

> +    (synopsis "The little, spiffy, backup tool")

A bit marketingish and not very descriptive IMO; how about “Simple
incremental backup tool”?

> +    (description
> +     "Hdup2 is a backup utilty, it's aim is to make backup really simple.  The

“its”

> +backup scheduling is done by means of a cronjob.  It supports an

“cron job”

OK to push with these changes.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/4] gnu: Add hdup.
  2014-05-30  7:28 ` Andreas Enge
@ 2014-05-30 17:40   ` Eric Bavier
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Bavier @ 2014-05-30 17:40 UTC (permalink / raw)
  To: Andreas Enge; +Cc: Guix-devel


Andreas Enge writes:

> your patch reminds me that duplicity does not pass its tests on hydra,
> neither on x86_64, nor on i686. Could you maybe have a look? Logs are here:
>    http://hydra.gnu.org/build/56428/nixlog/2
>    http://hydra.gnu.org/build/56429/nixlog/3

I see, thanks for poiting that out.  I'll look at those failures a bit
later when I'm on a machine that is not plagued by the
CONFIG_DEVPTS_MULTIPLE_INSTANCES issue.

-- 
Eric Bavier

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-30 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 21:38 [PATCH 1/4] gnu: Add hdup Eric Bavier
2014-05-30  7:28 ` Andreas Enge
2014-05-30 17:40   ` Eric Bavier
2014-05-30 15:53 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.