From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 494181581B9 for ; Tue, 23 Sep 2025 13:45:30 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 30EF0340C53 for ; Tue, 23 Sep 2025 13:45:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2F32A110574; Tue, 23 Sep 2025 13:45:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 25901110574 for ; Tue, 23 Sep 2025 13:45:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1EE6340906 for ; Tue, 23 Sep 2025 13:45:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C0413A08 for ; Tue, 23 Sep 2025 13:45:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1758635019.d111a3ef381e17b4b0c4a78a9074c011da5a4b88.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/restic/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/restic/Manifest app-backup/restic/restic-0.18.1.ebuild X-VCS-Directories: app-backup/restic/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d111a3ef381e17b4b0c4a78a9074c011da5a4b88 X-VCS-Branch: master Date: Tue, 23 Sep 2025 13:45:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 25f2de4a-3327-4367-83ce-7fad896fd083 X-Archives-Hash: 128cbe1d989679e5b2ee24b54e08b949 commit: d111a3ef381e17b4b0c4a78a9074c011da5a4b88 Author: David Roman ifae es> AuthorDate: Mon Sep 22 14:58:52 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 23 13:43:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d111a3ef app-backup/restic: add 0.18.1 Signed-off-by: David Roman ifae.es> Part-of: https://github.com/gentoo/gentoo/pull/43892 Closes: https://github.com/gentoo/gentoo/pull/43892 Signed-off-by: Sam James gentoo.org> app-backup/restic/Manifest | 3 ++ app-backup/restic/restic-0.18.1.ebuild | 61 ++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest index d1e2a4ef5f93..322610bbef82 100644 --- a/app-backup/restic/Manifest +++ b/app-backup/restic/Manifest @@ -1,3 +1,6 @@ DIST restic-0.18.0-deps.tar.xz 182448840 BLAKE2B f28d1555ef18d79d5ba62c3477f82aed882b9fd166ffab67dfb8580be9855d4b9ecc3c50055ad58c6257bd1cddae50b9ef087f341b17ec2fd315eb5c184c5788 SHA512 6bdb41688c132534510fd23290149e8ebd8bfad194656c30201866af462bef97485821b24edb20a91c30a0baa3dc84241f04641162a06b2f0a08922bc96b057a DIST restic-0.18.0.tar.gz 24095281 BLAKE2B dba64ce3c3471f8981dd6810396f3f4687286d7c968fa3d826e622113d0412b5198f3741eb834d34373a7c7de42cb6bb78640892b206689b91b039326c7fa00e SHA512 964422cd52abd68e2a860eb18ce277da7b0093657244deb56849f656e9c7f0f29de5478b0124644a7b5aceb39fa83feab0686f9634a5f48ac38614f1d73d02f4 DIST restic-0.18.0.tar.gz.asc 833 BLAKE2B 90b2c15d5f2f6b2545c63a08f1717a558cc1766654baee61ad2631ccef01a273df7ede93c00a3ca1607d83c844c01e1d81d1cca90db1aecbe685e09a859f0c18 SHA512 e9b92541a6075ceda61b9f666e08898246291997ad36cf63b9492d83eb6453121fa274cf9a3867016932fa87b0c75569aad3f399b50e5af8dd32c8fc81aff933 +DIST restic-0.18.1-deps.tar.xz 188040996 BLAKE2B be1d11cf8f1b01f75cae60d6634720910a86ce7c5bad53111e60fb49a63ab331f5d32cd337162bdbf6882b0a33fa8f70fe23decdf92a7561cb021f22347ebc9b SHA512 adad438bf6c1f201fa602e2dfe9a912302db430fdf98d20b0019638ebf5e10e1f265ccca78f2dc54926f8a88b2bc43763c1b92b76a33309da53f606c7f9fb98c +DIST restic-0.18.1.tar.gz 24102654 BLAKE2B 3a062c09a2fb4e961d2e70fc5fff615af3a9a4aee24c3e31b63e2f11e9f334019dcc0c4271c134dda988b0b9563babdfdb7428c884207a1950d8add1fb44f83f SHA512 7a0eb6bec02555b50ec7073cc631c1ec2e11ca2369b3c33d8b1d17086f2fedb14ac0025d004f19114537a0aab034df999bce7199594979bbefedb15116cce4e7 +DIST restic-0.18.1.tar.gz.asc 833 BLAKE2B e549f3ae1da58dd269a59530a912ab90ca43a2ab3b064ffdb1cc1730ef12af286c08e09c5f0ff7b954d02aad845419429c31bcd1340470e2276d1ae01f0ab851 SHA512 7b8e123ee814d34cdba0c93933f50afd42c97a02757351418c1d915c70722e2638abb8fcf3d1032456ed5939681a832b9589b0efe2a3c443f27ce3e9f297c8a4 diff --git a/app-backup/restic/restic-0.18.1.ebuild b/app-backup/restic/restic-0.18.1.ebuild new file mode 100644 index 000000000000..9009070d8f7c --- /dev/null +++ b/app-backup/restic/restic-0.18.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/alexanderneumann.asc +inherit go-module shell-completion verify-sig + +DESCRIPTION="A backup program that is fast, efficient and secure" +HOMEPAGE="https://restic.net/" +SRC_URI=" + https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz + verify-sig? ( https://github.com/restic/restic/releases/download/v${PV}/${P}.tar.gz.asc ) +" + +SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="sys-fs/fuse:0" +DEPEND="${RDEPEND}" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-alexanderneumann )" + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz "${DISTDIR}"/${P}.tar.gz.asc + fi + + default +} + +src_compile() { + local mygoargs=( + -tags release + -ldflags "-X main.version=${PV}" + -asmflags "-trimpath=${S}" + -gcflags "-trimpath=${S}" + ) + + ego build "${mygoargs[@]}" -o restic ./cmd/restic +} + +src_test() { + addwrite /dev/fuse + # a number of the ./cmd/... tests fail + # ego test -timeout 30m ./cmd/... ./internal/... + RESTIC_TEST_FUSE=0 ego test -timeout 30m ./internal/... +} + +src_install() { + dobin restic + + newbashcomp doc/bash-completion.sh "${PN}" + newzshcomp doc/zsh-completion.zsh _restic + newfishcomp doc/fish-completion.fish "${PN}.fish" + + doman doc/man/* + dodoc doc/*.rst +}