diff options
Diffstat (limited to '')
-rw-r--r-- | app-backup/lifeboat/Manifest | 3 | ||||
-rw-r--r-- | app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild (renamed from app-backup/lifeboat/lifeboat-0.4.2.ebuild) | 26 |
2 files changed, 23 insertions, 6 deletions
diff --git a/app-backup/lifeboat/Manifest b/app-backup/lifeboat/Manifest index ec9e353..61ffb69 100644 --- a/app-backup/lifeboat/Manifest +++ b/app-backup/lifeboat/Manifest @@ -1,3 +1,4 @@ +DIST lifeboat-0.4.2.sha.sig 242 BLAKE2B a289c13d885201358791b87754d45848c4634d4d2f2ccb32157b4c07495aaef63605cb3e2c08eae2e1a3c608d4c981d2feeff9d666df12b4e7dc8cfe4cf935d0 SHA512 c98539e18fed28a2dfa07c6fdea5d6adebad142ca5c80b2377d00ad763728925e9fc39e78532e82c9a1fe7d9317b900c6826a38b2bf94e673f409423dc55cf18 DIST lifeboat-0.4.2.tar.gz 3815 BLAKE2B c384de13bbca6a4a3eb18dc1b51bb58b88d15e78a90d34d03769e8b7c33b9dd5e6109653f4a46dbc74c9cd806c2faf90c489a733c4f2fb3bac88e93a2c2e1e74 SHA512 66179137756c75a30d118718e825584355573879ce6a3246021138ea5fda61bbfa79f81cc7c937f2ed7aed8609b8d1cdbb3cd40291e7b85792653e2d48890f20 -EBUILD lifeboat-0.4.2.ebuild 628 BLAKE2B 117957ecc42fcfe8f3f344ad0094ea5fd71791f49453ee43e3f72f0f0a26b392ec711f267a2436b3d9c67ddf9a42ece8d4f096588dce466c8d81f944555db3ff SHA512 e56c9219af6aa311561524f473ea4eea82e24ba2f658efe4c2a2cf373d71a9945a338756295bb41e52216ad2569785c9255a23d9f1eef0a51e6c14d163dfc237 +EBUILD lifeboat-0.4.2-r1.ebuild 1018 BLAKE2B 42626c6850b4390edd960d1008b2fcfdb006ddd6ade3a204ac27b6e5569737425b8f0f0a88e6c7e1efa082f0f09f636a71b2a1d71a3b3220cadb64046e724103 SHA512 fda46bda3fd63c0182eace1cb34abf24c80904c6e2aad2b1eaad20efd2f84eb1238fe00a310b1d3e2f7edb364d780a79f5791fb57f4b74efd7a4fe458096b201 MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-backup/lifeboat/lifeboat-0.4.2.ebuild b/app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild index 6fa2923..6493a66 100644 --- a/app-backup/lifeboat/lifeboat-0.4.2.ebuild +++ b/app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild @@ -1,20 +1,26 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit systemd +VERIFY_SIG_METHOD="signify" +inherit systemd verify-sig DESCRIPTION="Manage and automate local restic(1) backups" HOMEPAGE="https://git.oriole.systems/lifeboat" -SRC_URI="https://git.oriole.systems/lifeboat/snapshot/${P}.tar.gz" +SRC_URI=" + https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz + verify-sig? ( + https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz.asc + -> ${P}.sha.sig + ) +" RESTRICT="mirror" LICENSE="ISC" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND=" acct-group/lifeboat @@ -23,7 +29,17 @@ DEPEND=" RDEPEND="${DEPEND} app-backup/restic net-misc/rclone" -BDEPEND="" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub" + +src_unpack() { + if use verify-sig; then + cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die + verify-sig_verify_signed_checksums \ + ${P}.sha.sig sha256 ${P}.tar.gz + fi + default +} src_compile() { :; } |