From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yLItFjfEkmaLkgAA62LTzQ:P1 (envelope-from ) for ; Sat, 13 Jul 2024 18:15:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yLItFjfEkmaLkgAA62LTzQ (envelope-from ) for ; Sat, 13 Jul 2024 20:15:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b="v hArjsy"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=QBPsCk7U; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720894519; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dD+6voK3X9NKm2/zfu737xstfxVqnePOO0G6AVBhTrQ=; b=Z0SoFW7x22amQMRGWP/v6ARUhru7ERNxBlufKw5JWEb8U9R1z4jxAueKO6tsztkCoLiqJl 3VNUZlWsyx7ItcIMzDueKaW6egNenvIY/kGnvh0G12F2ejx+cw/V1AtezgExTBtDeqT9IL Nnf0n3TCuzMGMu1KYAq9KHI6jQIh2JPr+cuNraieVl1AhDTeEl8CoKdg+bfECrxxuBMzkb H7afPkeqe3kz0VRDCwFvEsNb6FADIdoLQEFLk15wvHG9EISL8GxFr1irRSvwC4BGuv00vT 8Fkr4g//6CR8yYygB4s/zbTMKMeQVlVqCmWZjjZzuEEZUePoaueqJYLdrBjxEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720894519; a=rsa-sha256; cv=none; b=fmNO+RJQs1z+zlGtIH0K4BS94tg+gHM3jGSRQP+Gzqdqipmly8jmsSHS3tkBs4E63FnFcs FLoIr/gXZVkFcTsM+bEQI4+B4swXvhOWg5k2TXJicXkzbbnn0x9QBKGgA1VpS/uAkQwr0+ uS9thZ0oWGEZsP7o0oaZBItNxRPCgR+4D0YSGq5Vvin+gaCIYT0z8Qcu8NTjHBqCjoN79V 7S+73nARDpFk7yVXNQ36MuUw4GAZwJpCfRJn6A66Qz2LgsliQqF0WX1y19ohZMKu5ryTw6 gsDfN1z6jiMr6wxQHQOshN2NCPorP1Mo0buB09bRHvfZbyw/CQVVl5XWaECb7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b="v hArjsy"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=QBPsCk7U; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D663B9C57 for ; Sat, 13 Jul 2024 20:15:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sShGw-0002tc-K9; Sat, 13 Jul 2024 14:15:02 -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 ) id 1sShGv-0002t2-1g for guix-patches@gnu.org; Sat, 13 Jul 2024 14:15:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sShGu-0000xx-Po for guix-patches@gnu.org; Sat, 13 Jul 2024 14:15:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sShGv-0000IO-N1 for guix-patches@gnu.org; Sat, 13 Jul 2024 14:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72096] [PATCH v--thread=shallow 2/2] gnu: borg: Update to 1.4.0. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Jul 2024 18:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 72096@debbugs.gnu.org Received: via spool by 72096-submit@debbugs.gnu.org id=B72096.17208944841085 (code B ref 72096); Sat, 13 Jul 2024 18:15:01 +0000 Received: (at 72096) by debbugs.gnu.org; 13 Jul 2024 18:14:44 +0000 Received: from localhost ([127.0.0.1]:56772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sShGd-0000HQ-Kq for submit@debbugs.gnu.org; Sat, 13 Jul 2024 14:14:44 -0400 Received: from fout6-smtp.messagingengine.com ([103.168.172.149]:55097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sShGc-0000HE-JT for 72096@debbugs.gnu.org; Sat, 13 Jul 2024 14:14:43 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 7EF53138014A; Sat, 13 Jul 2024 14:14:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 13 Jul 2024 14:14:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1720894476; x= 1720980876; bh=dD+6voK3X9NKm2/zfu737xstfxVqnePOO0G6AVBhTrQ=; b=v hArjsySfqP39tun+FfcWudrP2+lEsRyIuqql1I0XdDUDwfzsAPzd4joY0G5T0K8+ Y9ky8VNQl8P8ZBiKhs0WnyuYM4FqwRwUt0ruVE32QLS6fab248YLANsXsDZNYbSZ 0zJIazZLi0vZFmvGb2arAZWi4PoYPoSjeIcWUS9sZs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1720894476; x=1720980876; bh=dD+6voK3X9NKm 2/zfu737xstfxVqnePOO0G6AVBhTrQ=; b=QBPsCk7Uox1fQL6uP4j32WlpB8Zsh stk/KcJnWHoY84Vf/T6PhcMCOOe/aMR2/A+HyCV2gG6vDgZRsGt83uSkF3uvIvEW N/XZnbjp300WNCQQP5Zo3DcYM1UN8mBKwXx8HtkDl0tQB0KGcDaTYLAZkwF9J3lI RPVqV1JVWazZjyfjARjEowBySUy5cEvscRfsxuUzudhc0wNc/0+v76OT3OrW/E/L ZogJyvDLqp0/h/9PaPs9woeHuGNpcVaQHKfPHeJ5gHx/yuq54MepNR8Pgbrt1hdy ehf6rmEa65Z2DZqZVAdHXXm/Mh/W8pjV/swWIBsyJGT37RsE30T2hxDeQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrfeekgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhephfeggeetiedtvdduudevueehvdehhf efhefghedvhfdugeeukeehvdfhfffhhfegnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <72096@debbugs.gnu.org>; Sat, 13 Jul 2024 14:14:35 -0400 (EDT) From: Leo Famulari Date: Sat, 13 Jul 2024 14:14:29 -0400 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <48cb877e625a319f0732f4063a19e7df345c226e.1720894469.git.leo@famulari.name> References: <48cb877e625a319f0732f4063a19e7df345c226e.1720894469.git.leo@famulari.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.00 X-Spam-Score: -1.00 X-Migadu-Queue-Id: D663B9C57 X-Migadu-Scanner: mx11.migadu.com X-TUID: A4kdOKI/g8KI * gnu/packages/backup.scm (borg): Update to 1.4.0. [source]: Remove obsolete snippet components. [arguments]: Export a newly required environment variable in the 'set-env' phase. Adjust the custom 'install-doc' phase to install miscellaneous documentation into a directory named after the package name and version. Change-Id: I688bb4e6c67506226418b6b4a47595f2a10c10ae --- gnu/packages/backup.scm | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 637a873fbf..fbad03ebbc 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -675,14 +675,13 @@ (define-public libchop (define-public borg (package (name "borg") - (version "1.2.8") + (version "1.4.0") (source (origin (method url-fetch) (uri (pypi-uri "borgbackup" version)) (sha256 - (base32 "1aplj54x6hcyg3mnzscnwi07npy7nrws2246ss25ax6bsaq257fk")) - (modules '((guix build utils))) + (base32 "0agdyrmj7yy2vn0qghcpq458v9d09q9jvzzrszz6dyj3aqalak65")) (snippet #~(begin ;; Delete files generated by Cython. We used to have a regex that @@ -701,11 +700,7 @@ (define-public borg "src/borg/platform/linux.c" "src/borg/platform/posix.c" "src/borg/platform/syncfilerange.c" - "src/borg/platform/windows.c")) - ;; Remove bundled shared libraries. - (with-directory-excursion "src/borg/algorithms" - (for-each delete-file-recursively - (list "lz4" "xxh64" "zstd"))))))) + "src/borg/platform/windows.c")))))) (build-system python-build-system) (arguments (list @@ -716,10 +711,12 @@ (define-public borg #~(modify-phases %standard-phases (add-after 'unpack 'set-env (lambda* (#:key inputs #:allow-other-keys) - (let ((openssl #$(this-package-input "openssl")) + (let ((acl #$(this-package-input "acl")) + (openssl #$(this-package-input "openssl")) (lz4 #$(this-package-input "lz4")) (xxhash #$(this-package-input "xxhash")) (zstd #$(this-package-input "zstd"))) + (setenv "BORG_LIBACL_PREFIX" acl) (setenv "BORG_OPENSSL_PREFIX" openssl) (setenv "BORG_LIBLZ4_PREFIX" lz4) (setenv "BORG_LIBXXHASH_PREFIX" xxhash) @@ -756,7 +753,8 @@ (define-public borg (add-after 'install 'install-doc (lambda _ (let ((man (string-append #$output "/share/man/man1")) - (misc (string-append #$output "/share/borg/misc"))) + (misc (string-append #$output "/share/doc/borg-" + #$(package-version this-package)))) (for-each (cut install-file <> misc) '("docs/misc/create_chunker-params.txt" "docs/misc/borg-data-flow.png" -- 2.45.2