summaryrefslogtreecommitdiff
path: root/app-backup/restic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-21 20:55:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-21 20:55:01 +0100
commiteb509e1a15f595f667e8d177ddb73311084af6c0 (patch)
treefbc083f793d438d54b7fb4ec3a7e0286701b81bb /app-backup/restic
parenteedf7b9dec39b69b43f7b581da418d37428db449 (diff)
gentoo auto-resync : 21:05:2023 - 20:55:01
Diffstat (limited to 'app-backup/restic')
-rw-r--r--app-backup/restic/Manifest3
-rw-r--r--app-backup/restic/restic-0.15.2.ebuild48
2 files changed, 51 insertions, 0 deletions
diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest
index 89e6d3386c99..6d4c9f0896cb 100644
--- a/app-backup/restic/Manifest
+++ b/app-backup/restic/Manifest
@@ -4,7 +4,10 @@ DIST restic-0.14.0-deps.tar.xz 226627460 BLAKE2B e97fe4b68b4216fa01449aff7a8df8d
DIST restic-0.14.0.tar.gz 23902279 BLAKE2B 21586b48e55de53b19c4f4d368167c69e3050cff41ae85a6fcdb3171ac71a38987b8b578de2e9e37bac9a531d364432610b9ecb316b3c93133fa07ccac5664f3 SHA512 d896c93b72790ba5b3c3cd71b68bb45682a12661067cd0d7370b6dfe6d4482988462c4243b5c0b412e5444784568f0375c5a01d43d4d0557d5e6bf01ca512157
DIST restic-0.15.1-deps.tar.xz 156200684 BLAKE2B 8b34551c12e9b57d0e3328dd656f69d95964f4128eb61b1e546b1a002fd37874ee7614a9563754260d3b7ec0caf349fa611cb0316c5c5f983ba95d3607d6cae9 SHA512 4b2d9c9f6b43bd558965396f5ca501d57298ac444bf715801d52a743424a8e87b979c5808c599a6c13015e4e57a57e7911d86e77b2232cfa0c05822616f8ce9d
DIST restic-0.15.1.tar.gz 23920501 BLAKE2B 9561211576c01707691a1d0d7575c6bcd0d8f3c691159d10281ecb1cce5d16f237d60fd2f998bf7ad41d2ad7f8e69fd92ce6d487769774d41bae7f5ebd0ee4d7 SHA512 54b982f87f60df506c293df12813bea2f8a0df8996453096565a0eaba2832791a35da288c2e9fac590a0eaee9aef52b2c968ee717457fab30a1974d00d1d73fe
+DIST restic-0.15.2-deps.tar.xz 159164476 BLAKE2B 652c5f880dc88ab9b4fcfb0168cf5bce19587f7c0195e379ac01ff227fd453bb5fc6ab72b7803d7070f92ea608a077aa0f79005f000b5626d7ea8841c9ec9643 SHA512 e4ef9ebfc09998e912128d84790081d16c05dad23e680f642e204974fc1ddd3a1f92ad2035227f6448f7661e24ba69379b1dc8198115d2d3d780ad0b0c7a475c
+DIST restic-0.15.2.tar.gz 23924222 BLAKE2B d07f505a9d3a425c2fbad275f43a3a23e0b84b673e0ac77f52c45c2965266b483ae136fe99f0bc82903680ff0c5843edd1ed72e4864e5977c2ed2c85a703520c SHA512 8135f8a77c6f1264d962156f58fca4023da6581099cfd4a69379d8f1f137443c217c0207aeb7d41b603b341e78e9b3050c6bdad81323e0efd7b81805f33263bd
EBUILD restic-0.13.1.ebuild 1073 BLAKE2B dd31e0e548e44a36b6f6c975638cbdf07d2906038f1465d232da4ca527280256a974bda37da560009c657f67bb619caf486f49e4c474c1a52a77438db4b6843d SHA512 6e25e1b9a15c1ba0942b61c91972490b81e8a79a42da4cbd05a4f6d9fc212a75d72d522426cbc1bd1a20e72c9bc95ac1090a93d5cb121462fe38e54b4c13a784
EBUILD restic-0.14.0.ebuild 1024 BLAKE2B 3dfeb42dc28cbc7358060f7ced3117dc45acae2d3db0d45337ad9f4e28c5bb0bb575f8038eec7235d2011a2c59bb1f0dc1853b65405f83f525fb7b2125d5b77d SHA512 a936777ed9957828709e3204e17ab63eb65f175571fb911de1c4355ecac72ac52a17f69b92e79bab08a455e522ad1b408b1b5c8f7f70bd892b97634b10d454fe
EBUILD restic-0.15.1.ebuild 1026 BLAKE2B 355f39b08ed2d6f0798ab153d504794054980b7274a2aa213fa29c964ad2ecdc34fe19009be7968ac1388e93f23314b6ead7b8e4d14d37c42ca86946304ccb12 SHA512 efe162cb0e72e9b174d4c19b1f3ada612c02804f2b5353e41b470c92dfae0e6aabab9eef9cbdccc5493b9944b6d9eebe6d0dd80fbb20e158ffcd5ed6502affed
+EBUILD restic-0.15.2.ebuild 1126 BLAKE2B 316952fad3d1b0336baf897c173b89df4711b44f73166d2c419301f99cb919ef1f754b3d1c763ea53986ccdd6bea305df0d9405fff564d9bcf24e9cc571424e4 SHA512 dc3ea43603f2bbfe6be7ba1a8d736b85fd5be7d44316b6a2bfa40ce7fe6a372e672a1d2f35275fa177dd756d6f79a8c9b729971293252285b82c246fdc0e6baf
MISC metadata.xml 584 BLAKE2B 76c5cf916e847dd9e8cd3dd205c9c6e68198aed895c1067ddb7e73a6e8610d973313d6ffc553c89ea5ca1caecf1b19d02424ec3f693a191e85a1a9ecae1e4721 SHA512 676f7b108bae1af9ee9431f9a08b8870a8207a92ec3214cd2d5774112c1065453a5c8f56c1e0a49180ba2c32a02c990494cb85a15487be62e02d76580eabc611
diff --git a/app-backup/restic/restic-0.15.2.ebuild b/app-backup/restic/restic-0.15.2.ebuild
new file mode 100644
index 000000000000..8ef1789eb500
--- /dev/null
+++ b/app-backup/restic/restic-0.15.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 go-module
+
+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"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${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}"
+
+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/...
+ ego test -timeout 30m ./internal/...
+}
+
+src_install() {
+ dobin restic
+
+ newbashcomp doc/bash-completion.sh "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins doc/zsh-completion.zsh _restic
+
+ doman doc/man/*
+ dodoc doc/*.rst
+}