From b67a015804e40f314aaad8def4a9cf7f41582cba Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 30 Mar 2024 13:38:37 +0100 Subject: app-backup/lifeboat: add 0.4.2-r1, drop 0.4.2 Migrate to EAPI 8 and support the verify-sig USE flag. --- app-backup/lifeboat/Manifest | 3 +- app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild | 50 ++++++++++++++++++++++++++++ app-backup/lifeboat/lifeboat-0.4.2.ebuild | 34 ------------------- 3 files changed, 52 insertions(+), 35 deletions(-) create mode 100644 app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild delete mode 100644 app-backup/lifeboat/lifeboat-0.4.2.ebuild (limited to 'app-backup') 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-r1.ebuild b/app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild new file mode 100644 index 0000000..6493a66 --- /dev/null +++ b/app-backup/lifeboat/lifeboat-0.4.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/${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" + +DEPEND=" + acct-group/lifeboat + acct-user/lifeboat" + +RDEPEND="${DEPEND} + app-backup/restic + net-misc/rclone" + +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() { :; } + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + + systemd_dounit etc/systemd/${PN}@.{service,timer} +} diff --git a/app-backup/lifeboat/lifeboat-0.4.2.ebuild b/app-backup/lifeboat/lifeboat-0.4.2.ebuild deleted file mode 100644 index 6fa2923..0000000 --- a/app-backup/lifeboat/lifeboat-0.4.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -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" - -RESTRICT="mirror" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND=" - acct-group/lifeboat - acct-user/lifeboat" - -RDEPEND="${DEPEND} - app-backup/restic - net-misc/rclone" -BDEPEND="" - -src_compile() { :; } - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install - - systemd_dounit etc/systemd/${PN}@.{service,timer} -} -- cgit v1.2.3-2-gb3c3