Received: (at 66892) by debbugs.gnu.org; 6 Apr 2024 09:34:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 06 05:34:54 2024 Received: from localhost ([127.0.0.1]:38320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rt2Rq-0004NJ-A2 for submit <at> debbugs.gnu.org; Sat, 06 Apr 2024 05:34:54 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:51176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jpieper@HIDDEN>) id 1rt2Rl-0004MO-6J for 66892 <at> debbugs.gnu.org; Sat, 06 Apr 2024 05:34:52 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4VBVYm5FlZz9sks for <66892 <at> debbugs.gnu.org>; Sat, 6 Apr 2024 11:34:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1712396076; 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=QXAs9TwuEbhH20n4i5X5/dE8mom67PqsijKt5l1EnYo=; b=mm0M1v9jRJJu6zZn6RZkSrYFlwdOpKXJkoxuNKU1TNdQlCSO4nGkkNBHVW/vtUL9xGY1RG Epjfnsi6Ce5IDzHt+U13i3/+aQfWUVfHd7x8hj3jEh5sr3NmiWrsJbDt0HDBGQt+VSYCpn q9pppr/z8JtZB1C0rsaHvZY50AfGxnFXjbtXcOM44NUbc3bEKoeq4Zom18Lb8dD07+MtYW Q5p0ZETQC4BADNeYukZW+W7mm6bEJcAdmto9+/LzqE3nziop0d6fLHGBWN0nXmiUgUIFsH 6E+2k/NhurCmAZKkTh/DLcXBhrp+gouHdqr/wl34Td6O+j3ZCwos4emUZPZmxg== From: Jonathan Pieper <jpieper@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1712396076; 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=QXAs9TwuEbhH20n4i5X5/dE8mom67PqsijKt5l1EnYo=; b=mm0M1v9jRJJu6zZn6RZkSrYFlwdOpKXJkoxuNKU1TNdQlCSO4nGkkNBHVW/vtUL9xGY1RG Epjfnsi6Ce5IDzHt+U13i3/+aQfWUVfHd7x8hj3jEh5sr3NmiWrsJbDt0HDBGQt+VSYCpn q9pppr/z8JtZB1C0rsaHvZY50AfGxnFXjbtXcOM44NUbc3bEKoeq4Zom18Lb8dD07+MtYW Q5p0ZETQC4BADNeYukZW+W7mm6bEJcAdmto9+/LzqE3nziop0d6fLHGBWN0nXmiUgUIFsH 6E+2k/NhurCmAZKkTh/DLcXBhrp+gouHdqr/wl34Td6O+j3ZCwos4emUZPZmxg== To: 66892 <at> debbugs.gnu.org Subject: [PATCH] gnu: Add duply. Date: Sat, 6 Apr 2024 11:34:21 +0200 Message-ID: <af0089688c2aa487446af8f403cfc9906d83d9cb.1712396061.git.jpieper@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: bf089991297155ebdc6 X-MBO-RS-META: akfnx5qsqb1omawws4hmbqem3yoxic76 X-Rspamd-Queue-Id: 4VBVYm5FlZz9sks X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66892 Cc: Jonathan Pieper <jpieper@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) * gnu/packages/backup.scm (duply): Add variable. Fixed formatting with guix lint and guix style. Adjusted home-page, synopsis and description. Added input bash-minimal for wrapped program. Included license in shared documentation folder. Updated version to 2.5.2. Change-Id: Ib2024ae01d7fd57f4b90ed382fc2bdba0de2af2a --- gnu/packages/backup.scm | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index affd659fad..c35b4da4b9 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@HIDDEN> ;;; Copyright © 2022 Feng Shu <tumashu@HIDDEN> ;;; Copyright © 2023 Timo Wilken <guix@HIDDEN> +;;; Copyright © 2023 Jonathan Pieper <jpieper@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,6 +50,7 @@ (define-module (gnu packages backup) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -194,6 +196,54 @@ (define-public duplicity spying and/or modification by the server.") (license license:gpl2+))) +(define-public duply + (package + (name "duply") + (version "2.5.2") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/ftplicity/duply%20%28simple%20duplicity%29/" + (version-major+minor version) ".x/duply_" + (version-major+minor+point version) ".tgz")) + (sha256 + (base32 "0iyyx60nyxq0z6hvl4szxx64wg548fi3n3s5vrac0ai128pclpxk")))) + (build-system copy-build-system) + (inputs (list bash-minimal)) ; to run the wrapped program + (propagated-inputs (list duplicity python)) + (arguments + (list + #:install-plan #~'(("duply" "bin/duply") + ("gpl-2.0.txt" #$(string-append "share/doc/" name "-" + version "/LICENSE.txt")) + ("CHANGELOG.txt" #$(string-append "share/doc/" name "-" + version "/CHANGELOG.txt"))) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (python (string-append (assoc-ref inputs "python") + "/bin/python3"))) + (wrap-program (string-append out "/bin/duply") + `("DUPL_PYTHON_BIN" = + (,python))))))))) + (home-page "https://duply.net/Duply_(simple_duplicity)") + (synopsis "Wrapper for automated duplicity backup configuration") + (description + "duply simplifies running duplicity with cron or on command line by: + +- keeping recurring settings in profiles per backup job + +- automated import/export of keys between profile and keyring + +- enabling batch operations eg. backup_verify_purge + +- executing pre/post scripts + +- precondition checking for flawless duplicity operation") + (license license:gpl2+))) + (define-public par2cmdline (package (name "par2cmdline") base-commit: bfc614397b5f146056bda4b5a8e3a67bd1ca7b23 -- 2.41.0
guix-patches@HIDDEN, Steve George <steve@HIDDEN>
:bug#66892
; Package guix-patches
.
Full text available.Steve George <steve@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 2 Nov 2023 05:53:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 02 01:53:46 2023 Received: from localhost ([127.0.0.1]:53683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qyQeI-00039k-7C for submit <at> debbugs.gnu.org; Thu, 02 Nov 2023 01:53:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jpieper@HIDDEN>) id 1qyGLa-0004ec-Or for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 14:53:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jpieper@HIDDEN>) id 1qyGKu-0000AP-LK for guix-patches@HIDDEN; Wed, 01 Nov 2023 14:53:05 -0400 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <jpieper@HIDDEN>) id 1qyGKr-00037q-Tm for guix-patches@HIDDEN; Wed, 01 Nov 2023 14:53:03 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4SLGNT3qCgz9sWF for <guix-patches@HIDDEN>; Wed, 1 Nov 2023 19:52:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1698864777; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gP7Z+bfb8ICexDhlYcoUXnShIKyUC1YeXZbJKDiZQaQ=; b=hcEAmvveTFxf1K1ahFEOjFUtrL4jEJXJT61zWeG3pITcH+i6ZFBFg25qv9MugcFbzpZofO H4caOt0L7LnmohXQwAqWsS3C0FauWSVMfxz7mv6WLg9PDfzwb66wgY4XUsl9aHg9TLDGoL OD8u81PGsj7Y70ScP18xUOgc22QnhriAQT+PXxx6/BFWPb56ngtrzvha9xR2XP5TbK7zgJ dqLXOqbO7YUvZPaegxQReioZs9fdvq06SPck7isDnnEgM5IuXb04nsrW1FgB9o/AFM3HBw MReghRj2E0SZy30ToGGNn/f5lWV1Ath0YzA6lIMNWLqhOD5MGkyEp+YtT1jtyw== Message-ID: <ce0ba20e-4ba3-b886-2068-a7333edabb90@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1698864775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gP7Z+bfb8ICexDhlYcoUXnShIKyUC1YeXZbJKDiZQaQ=; b=s5sVbsRiknL65muLCbeU8ciRGkYwPlaDzmaM1oYxHqtW6XS18ucafUDps2HoTMy5gTD9Zg HIe3zFlq2IoWQOlYGrK+DuiPBhN+C2yLxl/QHOeobfnW6MqiyvujqOAKJXK/wo0H1PPEIx Bdiacmvbv4fVaaAjyI78vAwxCEryh36MWkmvmBha18clyouJS9CGOqEshKJ0J+ANja5F6l 6O0u4CPYaBqFLQ5GQdwWmsXjPiZeXfA0hehnFRNvx2T9LiimzIeJe27+DP3omZnHiuPHM4 qJ34QKxizRmEL4/8A7otf4QSZAsHeCz6lM0rNeKFxFHARg+9rLzLFDTwqCZrzA== Date: Wed, 1 Nov 2023 19:52:54 +0100 MIME-Version: 1.0 Content-Language: en-US To: guix-patches@HIDDEN From: Jonathan Pieper <jpieper@HIDDEN> Subject: [PATCH] Add duply. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-META: 783tmq15jjer7j9u43wh79to7nu6yjwa X-MBO-RS-ID: 0d40b5ff570b4af0345 Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=jpieper@HIDDEN; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 02 Nov 2023 01:53:40 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Adding duply as frontend for duplicity. Requires duplicity version >= 2.1.0. --- gnu/packages/backup.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 12c4a45b9d..801f942076 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@HIDDEN> ;;; Copyright © 2022 Feng Shu <tumashu@HIDDEN> ;;; Copyright © 2023 Timo Wilken <guix@HIDDEN> +;;; Copyright © 2023 Jonathan Pieper <jpieper@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,6 +50,7 @@ (define-module (gnu packages backup) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -174,6 +176,44 @@ (define-public duplicity spying and/or modification by the server.") (license license:gpl2+))) +(define-public duply + (package + (name "duply") + (version "2.5.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://downloads.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/" + (version-major+minor version) + ".x/duply_" (version-major+minor+point version) ".tgz")) + (sha256 + (base32 "19cr82rlvyv9v8j8aav5wazay4zkdxd3xjxj2kk21rasmvqq3kqa")))) + (build-system copy-build-system) + (propagated-inputs + `(("duplicity" ,duplicity) + ("python" ,python-wrapper))) + (arguments + (list + #:install-plan #~'(("duply" "bin/duply")) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (python (string-append (assoc-ref inputs "python") "/bin/python"))) + (wrap-program (string-append out "/bin/duply") + `("DUPL_PYTHON_BIN" = (,python))))))))) + (home-page "https://duply.net") + (synopsis "duply is a frontend for the mighty duplicity magic.") + (description + "duply simplifies running duplicity with cron or on command line by: + +- keeping recurring settings in profiles per backup job +- automated import/export of keys between profile and keyring +- enabling batch operations eg. backup_verify_purge +- executing pre/post scripts +- precondition checking for flawless duplicity operation") + (license license:gpl2+))) + (define-public par2cmdline (package (name "par2cmdline") -- 2.41.0
Jonathan Pieper <jpieper@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#66892
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.