From patchwork Mon May 25 16:05:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Karpezo X-Patchwork-Id: 22353 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 67FDC27BBE1; Mon, 25 May 2020 17:07:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7B07C27BBE3 for ; Mon, 25 May 2020 17:07:27 +0100 (BST) Received: from localhost ([::1]:40458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdFdP-0003tZ-2Y for patchwork@mira.cbaines.net; Mon, 25 May 2020 12:07:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdFd0-0003q3-7o for guix-patches@gnu.org; Mon, 25 May 2020 12:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdFcz-0002ta-V8 for guix-patches@gnu.org; Mon, 25 May 2020 12:07:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jdFcz-0008Ll-Pp for guix-patches@gnu.org; Mon, 25 May 2020 12:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41324] [PATCH v3] gnu/packages/backup.scm (dump): New variable References: <20200516135639.26959-1-sirmacik@wioo.waw.pl> In-Reply-To: <20200516135639.26959-1-sirmacik@wioo.waw.pl> Resent-From: Marcin Karpezo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 May 2020 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41324@debbugs.gnu.org Cc: Marcin Karpezo Received: via spool by 41324-submit@debbugs.gnu.org id=B41324.159042277132037 (code B ref 41324); Mon, 25 May 2020 16:07:01 +0000 Received: (at 41324) by debbugs.gnu.org; 25 May 2020 16:06:11 +0000 Received: from localhost ([127.0.0.1]:42241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdFc9-0008Kd-Dt for submit@debbugs.gnu.org; Mon, 25 May 2020 12:06:11 -0400 Received: from mail.freearts.agency ([51.68.137.137]:60244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdFc4-0008KQ-5i for 41324@debbugs.gnu.org; Mon, 25 May 2020 12:06:08 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EFAB34126C; Mon, 25 May 2020 18:05:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wioo.waw.pl; s=dkim; t=1590422757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HiWdxOgls7+qjN3ZsRuwVri6a+n/Dq+taai7VGz9EaY=; b=EcFPJElQsUAYnwVlOyC0q0BcfYvMWp28KpOez44v9Xo4pGTGgwptLoJJcOPEMIYGoUXmRw bXpnDreS8stBvgwuf3i2ojWmglzpg15qqdzXZA5B2jRZGZIICpYQSYp+Hu9N57Xt/8R27X Yk+SePJsYUfo1TRRi/LoxJBNJHdx053Y/OERA3v39+fe9XB1TI5fXT3Bi/I/YhiRgoGbKT LvlxEvpg5U1RPoFp9R7VVuM49/+nbfBH1ZvrjJf55FmOQDuRfrXnokBXRfF+yfsvyqb5eG jciMBmQLplgO6SEsmihpn3ESDpHVn39QBzHCf62ukvgUvZyUsf2lBQl47rkqYg== From: Marcin Karpezo Date: Mon, 25 May 2020 18:05:29 +0200 Message-Id: <20200525160528.18143-1-sirmacik@wioo.waw.pl> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(+) -- 2.26.2 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 ;;; Copyright © 2019 Mathieu Othacehe ;;; Copyright © 2020 Nicolas Goaziou +;;; Copyright © 2020 Marcin Karpezo ;;; ;;; 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")