summaryrefslogtreecommitdiff
path: root/app-backup/btrbk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-10 10:26:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-10 10:26:59 +0100
commit870be9524d5a85e6be7803b3f4eae71fd93cb530 (patch)
tree69e71d2202044c302e1f9209a0a40d7418d8e48d /app-backup/btrbk
parent9e8f96c1b33dc01bc5dfbed0cfb2702bb299f1e0 (diff)
gentoo auto-resync : 10:07:2023 - 10:26:59
Diffstat (limited to 'app-backup/btrbk')
-rw-r--r--app-backup/btrbk/Manifest6
-rw-r--r--app-backup/btrbk/btrbk-0.31.2-r1.ebuild77
-rw-r--r--app-backup/btrbk/btrbk-0.32.6-r1.ebuild3
-rw-r--r--app-backup/btrbk/btrbk-9999.ebuild3
4 files changed, 8 insertions, 81 deletions
diff --git a/app-backup/btrbk/Manifest b/app-backup/btrbk/Manifest
index a9a220da049b..d733552b3c26 100644
--- a/app-backup/btrbk/Manifest
+++ b/app-backup/btrbk/Manifest
@@ -1,6 +1,4 @@
-DIST btrbk-0.31.2.tar.xz 107124 BLAKE2B a05ef8a665d50b0f9637b1bc7026f0ca0f8364377b4165dae09cd27790dc139aaea1096a54719d948adda5050f91580650bf58db70a086cfdd14b73559fad9f3 SHA512 f953fe1a231f7a28c2d98cf124e3d52cc6d0810e6cb1673b90f335e07cd7473d0302ec227361f902c40a36dab5c075c675d2ee0543a23c37cb1e4baaf74efea0
DIST btrbk-0.32.6.tar.xz 111804 BLAKE2B f23e5f60e63bb1a9d5cc2f1339ac3e40a9cae5c0e3f626f1ad0e7396b8f9ebb00bce319835c9c708cdfe3c1cad3ef4e90985cb9c633be7091ffdbde93a10412c SHA512 5a21b3728aded1610ef9106d0460db12b07bbc6d62be199081baba92413b30ba0f7b4a77612d0bbb0910863be85f2c68eab3d02fabf1ea5a7f5fb22aeb1f7a38
-EBUILD btrbk-0.31.2-r1.ebuild 2373 BLAKE2B 436f7f1a8f695cfefded64acdc549188e2f7cd9c5ae6c4614bc0fa4ff2ce79197cd84fb84b63c043d569715038ac4ea5b235ec554079b277117c132d7f5bb64d SHA512 e7aec900407c889a5080d3b0fc12e516ab612b594069ebc28afef55257076bc0c15a8002869045e12f64c6a3dc0cf2d28cc471f0c5a2b4d1167ce8be01a65608
-EBUILD btrbk-0.32.6-r1.ebuild 2380 BLAKE2B 58cf10acef5df7186aef7d9c1d7e912a0c01d41c40ac69b722de75eadaed84b76eedac48094e6beb1c61ca3042a0e4e78a5505aa7c5b384f7008f789342fd648 SHA512 6aa322c76ea86414f0de1674db5b7556f79e531ae0fd2a0ad1522e9a27026f83fce329b520425032ce5454dcd70dfb62daa1876737b3c722df3e9eb6dd3fe605
-EBUILD btrbk-9999.ebuild 2384 BLAKE2B 467aa2a485f6a463aed57e273397aecba3c0ba5cb78213da44427c325387cd6f8a6a4170a3e2b6fe30ebfba2f1630200327b494fbbc404277b715e430922e662 SHA512 8a5984ba9f23f3356b87296499e1d61e12a2c45c65d0e50636789651001a5d078a1549f80466822c51f60365c980aea6636690a7a12fc77d5c9f78ff7ebc02b7
+EBUILD btrbk-0.32.6-r1.ebuild 2383 BLAKE2B 6489bf667539dd1d915426682299a79b0244c4b7f1cf5cc2e6d2622ef301517ade7d3fc606a8ae0c5e95f1f681dca4adf58e2f0a525cdb88a2716dd8323d34d8 SHA512 8a49e3e2879052323084548575560c76c1e8bae849169309d57ace38375da6cc5eb830011989ce7cec981a86bcfd46dc52df68956664a2fe47f6cb715351e3cf
+EBUILD btrbk-9999.ebuild 2387 BLAKE2B 7dd1eedadeca915599a157007832bcd0c43e05f8f90230e63a34fc866e8df28b57c1d596644ccb8a19587b92dcaecedb1ffe025b8d2339c0043b9f45fd414862 SHA512 2f1f1fb17aaae7e8ea3dccec0e1b09813f89fff1b29dddb3cd1ca9e11dfff85158e1a0f14c2f329f8f5de55a77e52e205b35d9be3ac04ec1d65cb3b7efbf7583
MISC metadata.xml 1075 BLAKE2B 9e352a1f9346ebb1cff94393f977dfb0c3714e53380ce2ed3c8eb53375d2ac74c95655556fb604bf538ae63ae00de9ed97cf9a02cadaec97c7117f9a621ca481 SHA512 681a2a38dc3ddba866d46bd9e88bc8549cb1ba297de965a1faecada4ac7b966a3603ce4b647544ba9dabfbbb59e1072cbecf550b580835ae1d1d79efcc3af7e5
diff --git a/app-backup/btrbk/btrbk-0.31.2-r1.ebuild b/app-backup/btrbk/btrbk-0.31.2-r1.ebuild
deleted file mode 100644
index ea8c728c5fd7..000000000000
--- a/app-backup/btrbk/btrbk-0.31.2-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/digint/btrbk.git"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
- KEYWORDS="amd64 arm arm64 x86"
-fi
-
-DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
-HOMEPAGE="https://digint.ch/btrbk/"
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="+mbuffer +doc +lsbtr"
-
-DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
-
-RDEPEND="dev-lang/perl
- virtual/openssh
- mbuffer? ( >=sys-block/mbuffer-20180505 )
- sys-fs/btrfs-progs"
-
-src_compile() {
- emake clean
- use doc && emake -C doc
-}
-src_install() {
- local targets="install-bin install-etc install-share install-systemd"
- use doc && targets="${targets} install-man install-doc"
- use lsbtr && targets="${targets} install-bin-links"
- emake \
- DESTDIR="${D}" \
- DOCDIR="/usr/share/doc/${PF}" \
- SYSTEMDDIR="$(systemd_get_systemunitdir)" \
- ${targets}
-}
-pkg_preinst() {
- if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
- upgrade_0_26_0_warning="1"
- fi
- if has_version "<${CATEGORY}/${PN}-0.27.0" ; then
- upgrade_0_27_0_warning="1"
- fi
-}
-pkg_postinst() {
- if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then
- ewarn "If you are using raw targets, make sure to run the"
- ewarn "\"raw_suffix2sidecar\" utility in each target directory."
- fi
- if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then
- ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved'
- ewarn 'monthly/yearly backups could get deleted when upgrading to'
- ewarn 'btrbk-0.27.0.'
- ewarn ''
- ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs'
- ewarn 'or systemd timers calling btrbk.'
- ewarn ''
- ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and'
- ewarn 'check if any snapshots/backups would get deleted. If you want to'
- ewarn 'forcibly preserve a snapshot/backup forever, rename it:'
- ewarn ''
- ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever'
- ewarn ''
- ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.'
- ewarn '(".keep_forever" suffix in the example above).'
- ewarn ''
- ewarn ' [1] https://github.com/digint/btrbk/issues/217'
- ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f'
- fi
-}
diff --git a/app-backup/btrbk/btrbk-0.32.6-r1.ebuild b/app-backup/btrbk/btrbk-0.32.6-r1.ebuild
index 7234202a4dc8..03aa2217e2bf 100644
--- a/app-backup/btrbk/btrbk-0.32.6-r1.ebuild
+++ b/app-backup/btrbk/btrbk-0.32.6-r1.ebuild
@@ -31,6 +31,7 @@ src_compile() {
emake clean
use doc && emake -C doc
}
+
src_install() {
local targets="install-bin install-etc install-share install-systemd"
use doc && targets="${targets} install-man install-doc"
@@ -41,6 +42,7 @@ src_install() {
SYSTEMDDIR="$(systemd_get_systemunitdir)" \
${targets}
}
+
pkg_preinst() {
if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
upgrade_0_26_0_warning="1"
@@ -49,6 +51,7 @@ pkg_preinst() {
upgrade_0_27_0_warning="1"
fi
}
+
pkg_postinst() {
if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then
ewarn "If you are using raw targets, make sure to run the"
diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild
index 0fa19175e32b..93122c48a06d 100644
--- a/app-backup/btrbk/btrbk-9999.ebuild
+++ b/app-backup/btrbk/btrbk-9999.ebuild
@@ -31,6 +31,7 @@ src_compile() {
emake clean
use doc && emake -C doc
}
+
src_install() {
local targets="install-bin install-etc install-share install-systemd"
use doc && targets="${targets} install-man install-doc"
@@ -41,6 +42,7 @@ src_install() {
SYSTEMDDIR="$(systemd_get_systemunitdir)" \
${targets}
}
+
pkg_preinst() {
if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
upgrade_0_26_0_warning="1"
@@ -49,6 +51,7 @@ pkg_preinst() {
upgrade_0_27_0_warning="1"
fi
}
+
pkg_postinst() {
if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then
ewarn "If you are using raw targets, make sure to run the"