From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/btrbk/
Date: Tue, 9 Aug 2022 13:12:08 +0000 (UTC) [thread overview]
Message-ID: <1660050706.115c6326878a55a2e7c8deef66476f04f5908a0a.candrews@gentoo> (raw)
commit: 115c6326878a55a2e7c8deef66476f04f5908a0a
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 9 13:04:37 2022 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Aug 9 13:11:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115c6326
app-backup/btrbk: add 0.32.3
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
app-backup/btrbk/Manifest | 1 +
app-backup/btrbk/btrbk-0.32.3.ebuild | 77 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
diff --git a/app-backup/btrbk/Manifest b/app-backup/btrbk/Manifest
index f606cff3825e..038d4d13e3fe 100644
--- a/app-backup/btrbk/Manifest
+++ b/app-backup/btrbk/Manifest
@@ -3,3 +3,4 @@ DIST btrbk-0.31.3.tar.xz 109884 BLAKE2B 7f78d00815259e42bb3fd16ee48272717fe57913
DIST btrbk-0.32.0.tar.xz 110408 BLAKE2B d9627d0f0a258bba9412b37707c3e79ca8a65870148aa27f38e615c90d0e26adfc5ecf697cc34052916127a0a26be850f5874ff52ab6cb193093d591cb05dab1 SHA512 201dde5ea9bf459e5a837b520d3e76ef1077a1769ed2e06b9754e34a93e2abd513a0da2b18abbe13c09fc3a945117a4b022ad423f805056b62a2b2be9c0f768a
DIST btrbk-0.32.1.tar.xz 110364 BLAKE2B 5d2860e182701ba6c407b9d0f41e476442bdf0ebc8491c3fa944860228d087d6bbe13084a4e950a24fc6ea1e251e2c4c6cbf17e9e3a4cb4f3f9b7ea9b85b2c11 SHA512 a44c1a50696793661fa6a06fafc6a7682ba5db57b511666a9b77d2df79b724855e91187e4d13e1dfe340077f550b0aced8923c6dec955d25ce46f7644ed802f3
DIST btrbk-0.32.2.tar.xz 111044 BLAKE2B f06e563d0a3f6a7096426b205c56446c8cba34767a0a2cd092f1d0d2661c1a38d88adfae0cd2046d2f43623fb236e9a2d7ef7281938a37b410f2cf842f5df83c SHA512 204bd48605b369909b1cb586bfa75dda5ee57b833c71a9d39699020f05f7305e2bc932c76face5aa0e435c1df46e13a566cbb2042c86975f6f8cd65c82ddcccf
+DIST btrbk-0.32.3.tar.xz 110724 BLAKE2B f0e389891bfdfa961187505548ec5139aa8967932d2fcca43c151c8ca25664c30af96f0f52531507e7c838ca3df16f371f7419df226283734fee23f6af56b3cf SHA512 8503ddb47a54b02abc03b160c296f9e5d2d71cc9705f4891f99732c36a62bb0bf81caa5cbe793d7e070c68ab461de995b442aa3a140d6aa68fe2a3b8a9cafb20
diff --git a/app-backup/btrbk/btrbk-0.32.3.ebuild b/app-backup/btrbk/btrbk-0.32.3.ebuild
new file mode 100644
index 000000000000..f75978a45363
--- /dev/null
+++ b/app-backup/btrbk/btrbk-0.32.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+ net-misc/openssh
+ mbuffer? ( >=sys-block/mbuffer-20180505 )
+ >=sys-fs/btrfs-progs-4.12"
+
+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
+}
next reply other threads:[~2022-08-09 13:12 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 13:12 Craig Andrews [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-05 12:29 [gentoo-commits] repo/gentoo:master commit in: app-backup/btrbk/ Sam James
2024-12-01 22:36 Jakov Smolić
2024-12-01 19:02 Arthur Zamarin
2024-12-01 19:02 Arthur Zamarin
2023-12-03 3:37 Sam James
2023-12-01 20:36 Arthur Zamarin
2023-11-18 2:29 Sam James
2023-08-21 6:29 Sam James
2023-07-10 3:55 Sam James
2023-07-10 3:55 Sam James
2023-05-29 20:35 Sam James
2023-05-26 20:06 Arthur Zamarin
2023-05-26 14:38 Sam James
2023-05-26 14:38 Sam James
2023-03-27 13:38 Craig Andrews
2023-03-27 13:38 Craig Andrews
2022-12-27 10:19 Sam James
2022-12-27 10:12 Sam James
2022-12-27 1:30 Craig Andrews
2022-10-24 14:47 Craig Andrews
2022-10-24 14:47 Craig Andrews
2022-08-23 0:21 Craig Andrews
2022-06-27 13:51 Craig Andrews
2022-02-27 2:36 Craig Andrews
2022-02-06 15:22 Craig Andrews
2021-10-17 20:39 John Helmert III
2021-08-11 6:43 Agostino Sarubbo
2021-08-09 0:38 Sam James
2021-08-09 0:35 Sam James
2021-08-08 7:45 Agostino Sarubbo
2021-08-07 0:48 Craig Andrews
2021-03-22 14:35 Craig Andrews
2021-03-22 14:35 Craig Andrews
2021-03-08 13:56 Craig Andrews
2021-01-11 15:08 Craig Andrews
2020-09-30 15:25 Craig Andrews
2020-09-30 15:25 Craig Andrews
2020-09-23 15:38 Craig Andrews
2020-07-03 7:45 Lars Wendler
2020-06-30 6:34 Agostino Sarubbo
2020-06-29 6:22 Agostino Sarubbo
2020-06-26 17:43 Agostino Sarubbo
2020-05-09 8:47 Mart Raudsepp
2020-05-08 20:58 Mart Raudsepp
2020-02-10 15:46 Craig Andrews
2019-10-29 0:05 Craig Andrews
2019-10-27 19:05 Craig Andrews
2019-07-29 15:00 Craig Andrews
2019-05-23 13:21 Craig Andrews
2019-05-16 17:35 Craig Andrews
2019-04-26 20:26 Craig Andrews
2019-03-26 20:08 Craig Andrews
2019-03-25 15:26 Craig Andrews
2019-01-23 13:41 Mikle Kolyada
2018-12-13 20:55 Mikle Kolyada
2018-12-13 12:48 Thomas Deutschmann
2018-12-06 15:32 Craig Andrews
2018-10-16 19:20 Craig Andrews
2018-10-16 14:04 Craig Andrews
2018-10-16 14:04 Craig Andrews
2018-03-15 15:28 Mikle Kolyada
2018-03-05 14:44 Craig Andrews
2017-10-29 21:08 Thomas Deutschmann
2017-10-12 18:22 Craig Andrews
2017-10-12 18:22 Craig Andrews
2017-10-12 18:22 Craig Andrews
2017-07-31 18:45 David Seifert
2017-07-31 18:45 David Seifert
2017-07-31 18:45 David Seifert
2017-03-20 20:49 Göktürk Yüksek
2017-02-10 1:56 Michael Weber
2016-12-29 10:05 Agostino Sarubbo
2016-11-17 14:30 Göktürk Yüksek
2016-11-17 7:35 David Seifert
2016-07-22 17:38 Patrice Clement
2016-07-21 4:00 Göktürk Yüksek
2016-07-14 1:35 Göktürk Yüksek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1660050706.115c6326878a55a2e7c8deef66476f04f5908a0a.candrews@gentoo \
--to=candrews@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox