summaryrefslogtreecommitdiff
path: root/app-backup/restic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
commitd4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch)
tree180032f5afeb689db6a270d612f3e3364ed8fd2b /app-backup/restic
parentc635a4b7ddb6105bfc6fef130b188a087726677b (diff)
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'app-backup/restic')
-rw-r--r--app-backup/restic/Manifest4
-rw-r--r--app-backup/restic/restic-0.17.2.ebuild60
2 files changed, 64 insertions, 0 deletions
diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest
index 81a312a8942a..22e61c0614e2 100644
--- a/app-backup/restic/Manifest
+++ b/app-backup/restic/Manifest
@@ -4,7 +4,11 @@ DIST restic-0.17.0-deps.tar.xz 173393552 BLAKE2B fe5b89cabd820c43d417d768ade1f0f
DIST restic-0.17.0.tar.gz 24093378 BLAKE2B 9930c1b7e27b532cfefecfd5bc8f90112e75452c5fe660015b5c31493018914f4f81fc3895fa83045a099cfd600d1bc615e689ec0cda28ecb93f4b95c6a3b075 SHA512 f9b91844f8eec7b462af05bf210c489c440ef7e8d2a5109aed4c1ead5988d722c74ca84ba770270e65c683e1c973ed0d36a3a218f2170da936d84028a264938b
DIST restic-0.17.1-deps.tar.xz 173603816 BLAKE2B 45745446febd9bfcd9bbb69e1687be3ec8d3487a33bf01011fa05e8155df7e20c04416754ed28fc12e9dcb6550960e672848605cf1c0b474cb8fe301ba49ab4a SHA512 932fa4ccf71fb04da0a68440e7f79ff628ea3fab3c970c11e87b8868cf7603691c73bb6083d34caa7f7e3be12a2b18b4e6c996ccd0294d15bdc76968f30fa1d6
DIST restic-0.17.1.tar.gz 24104588 BLAKE2B cdfb89f21afe31c0f7bd881e8fbdfdeef020d3cb00910533954ff29218e2ee2ff7966e60c7e44fafb756cf0f1f7707e236b522e01816385d5db1a36f42e104ff SHA512 668b41cff65a81c7458b58c622a35bbbc4f73561e78af399440050744d18d751cab3030163a4c192091f1e21755c6988b94fbb6dd2dc47c626582fea8711f574
+DIST restic-0.17.2-deps.tar.xz 173467792 BLAKE2B 211142acd818e236bdd19709a641afd072670ebed082a914cda0a1b51c49cbd0c92877afb552abeabfa0482e51f39eee399f53a8731099851cf89a0340f06ebb SHA512 958bc3dc2af328a097b925e20f1a22ae238425fed2afc9ce382c31c54152d28a00cc64dc90a88c939e17670608dcb786a972f64fa7cba40cbcc9bf1f9964b49d
+DIST restic-0.17.2.tar.gz 24107857 BLAKE2B 56bc1035a9f9721f74db9645330700489dddf18a8116dec4b5c9a0fa1192e3b015a288c6f9409e840b6d783b34b777c2d0f8aa38ffc2cee38733a984b50e068e SHA512 73d6706203cd75288633f15fb440a05f5eee8b3e352f3f3ce78a53f6397a82a431f0d53bfe6559fd302314b33d98cb1290845c25b338931f8b829bf634b2fb36
+DIST restic-0.17.2.tar.gz.asc 833 BLAKE2B 4671fb794c40412e91df91c0fc80da2a6fe382e7226b2f7cdb2f70c8c95812d4ec1dd81b58067a1cb8d12adf019b94e92f419a32dd429b30f9414cf0d9ee7ac9 SHA512 8363cf66e1251fda9d2dec7832fc9717c3da249eea87af94385dc2b69bf2acd7051c9bce4577a8ea3ccfa48f38dcf2d46be31deab9a8daa6e693aa590de78bae
EBUILD restic-0.16.5.ebuild 1151 BLAKE2B d3d17f41ea7bdbde087829dac8bffcdd0e4babbd9708c00efc25b606e45c21444decf2388687bb6e4b1b09ac1942f275624a75e278378796cb0eb858f8b53859 SHA512 83ae1162772ba5fc19a5c6bfca8b2aa5786ee838fd930e80097471419356976c841c1938886cdfbc672e6065e9ec2a6977c86d235e9e5641f7a1faab3b72cbe2
EBUILD restic-0.17.0.ebuild 1151 BLAKE2B d3d17f41ea7bdbde087829dac8bffcdd0e4babbd9708c00efc25b606e45c21444decf2388687bb6e4b1b09ac1942f275624a75e278378796cb0eb858f8b53859 SHA512 83ae1162772ba5fc19a5c6bfca8b2aa5786ee838fd930e80097471419356976c841c1938886cdfbc672e6065e9ec2a6977c86d235e9e5641f7a1faab3b72cbe2
EBUILD restic-0.17.1.ebuild 1151 BLAKE2B d3d17f41ea7bdbde087829dac8bffcdd0e4babbd9708c00efc25b606e45c21444decf2388687bb6e4b1b09ac1942f275624a75e278378796cb0eb858f8b53859 SHA512 83ae1162772ba5fc19a5c6bfca8b2aa5786ee838fd930e80097471419356976c841c1938886cdfbc672e6065e9ec2a6977c86d235e9e5641f7a1faab3b72cbe2
+EBUILD restic-0.17.2.ebuild 1537 BLAKE2B b418c2f1b75965988102f50c78c2e449780b52a6e2c3073b8899bf45476759f598a27ef71fb1f6e8339069467578569c50fbdc7e9610ec70c07db51bfbf0dfda SHA512 cb286e16c5d6f809be71c9197f2adde74abd48618c2298deb093189f7385f8e6940e96ba1337d36689ebb4d161573c41866712403d1913cf2843814db29034fa
MISC metadata.xml 584 BLAKE2B 76c5cf916e847dd9e8cd3dd205c9c6e68198aed895c1067ddb7e73a6e8610d973313d6ffc553c89ea5ca1caecf1b19d02424ec3f693a191e85a1a9ecae1e4721 SHA512 676f7b108bae1af9ee9431f9a08b8870a8207a92ec3214cd2d5774112c1065453a5c8f56c1e0a49180ba2c32a02c990494cb85a15487be62e02d76580eabc611
diff --git a/app-backup/restic/restic-0.17.2.ebuild b/app-backup/restic/restic-0.17.2.ebuild
new file mode 100644
index 000000000000..ca8727ad11c3
--- /dev/null
+++ b/app-backup/restic/restic-0.17.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 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.github.io/"
+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}"
+
+ doman doc/man/*
+ dodoc doc/*.rst
+}