diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-24 21:52:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-24 21:52:37 +0100 |
commit | 7ae4e1d32a98b596d483a19ed94a21b560eb595d (patch) | |
tree | 1c68a1258f5017984a7878d5e913d95d72544f59 /app-backup/btrbk | |
parent | 145ac95c683ecda55a9b2cafc84dced2e9c29e03 (diff) |
gentoo auto-resync : 24:10:2022 - 21:52:37
Diffstat (limited to 'app-backup/btrbk')
-rw-r--r-- | app-backup/btrbk/Manifest | 14 | ||||
-rw-r--r-- | app-backup/btrbk/btrbk-0.31.3.ebuild | 77 | ||||
-rw-r--r-- | app-backup/btrbk/btrbk-0.32.0.ebuild | 77 | ||||
-rw-r--r-- | app-backup/btrbk/btrbk-0.32.1.ebuild | 77 | ||||
-rw-r--r-- | app-backup/btrbk/btrbk-0.32.3.ebuild | 77 | ||||
-rw-r--r-- | app-backup/btrbk/btrbk-0.32.4.ebuild | 77 | ||||
-rw-r--r-- | app-backup/btrbk/btrbk-0.32.5.ebuild (renamed from app-backup/btrbk/btrbk-0.32.2.ebuild) | 0 |
7 files changed, 2 insertions, 397 deletions
diff --git a/app-backup/btrbk/Manifest b/app-backup/btrbk/Manifest index 7a8503d9fd68..54c05c9a8fc1 100644 --- a/app-backup/btrbk/Manifest +++ b/app-backup/btrbk/Manifest @@ -1,16 +1,6 @@ DIST btrbk-0.31.2.tar.xz 107124 BLAKE2B a05ef8a665d50b0f9637b1bc7026f0ca0f8364377b4165dae09cd27790dc139aaea1096a54719d948adda5050f91580650bf58db70a086cfdd14b73559fad9f3 SHA512 f953fe1a231f7a28c2d98cf124e3d52cc6d0810e6cb1673b90f335e07cd7473d0302ec227361f902c40a36dab5c075c675d2ee0543a23c37cb1e4baaf74efea0 -DIST btrbk-0.31.3.tar.xz 109884 BLAKE2B 7f78d00815259e42bb3fd16ee48272717fe57913b7af83ca8a98f1dfd0de715cbf8b07177ea60b5b8bdcb9793ee0d5829b90b8327cd4810f6275611276a6e707 SHA512 62dee5430635b6a31edcdc9bed1829f549b60074ea09bb6f1fcd56d242d4215339846c8c2dbcd4bee05cd2a0cb32c1237ce7311d2b887885373c13fa15a6f476 -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 -DIST btrbk-0.32.4.tar.xz 110736 BLAKE2B e76a0b6ed8d54f97fa0ac2dad139891ae0f9450095e08d560f5a62ad28e3cc2e39da0a3a094ca841c5debbe9d34ca1cb3930cb3a16877b1547fb81f9c5e7e244 SHA512 495ec786c94f76c590f8e84cc9aa6be7b9a4807c11d501360bbdf171e0f0598fe6498b0d5b8aa8030af8d957aa8cebdff903876473f5111a9100032c16995373 +DIST btrbk-0.32.5.tar.xz 110840 BLAKE2B 036a2b5c31a308dbc1efc7a27211f89dfc07bcfcead49deb68a2e8313aec9539483ef3a91481f4ebaa9d2b4817b202ced1945a30ed7fc9b51f1336878b2f17d7 SHA512 6ff8df173656cbfdc1c4e74e84e031816fec73c2a42d1069fe5e77bf9eff1a3e27699a383ee58843f59619e6cbc0d66d13bf1b2a72524c58fdcd948ba62448fc EBUILD btrbk-0.31.2.ebuild 2381 BLAKE2B dead45950b470fbd2303425a522186e5ac553711583ea1406112260a05484a7420884a3023dbc4314121f7ef28f4b473b78082a9a77ee9c6ab6c1afcb4a693e5 SHA512 6fb46ea01bb0f105ac50d28fb0c830b70934d8660ab24bc89c1f72eea2c5c1b6b150fab1eba9ade528a6e7b9cb514fe6f5255523ef455e23a634ae29a116c6f9 -EBUILD btrbk-0.31.3.ebuild 2385 BLAKE2B 2aca46fa4c713bdf92f7bb24afc18bbf662e1118bc59afc430a8fc133fb7f9d08eb2b5c5ed2451347c4a2ab5eb6fddd9ab462ce688c5c28fbe8905f4e6c7201f SHA512 c5079950260f6b6411d3bcd66f6066874a7bcac22812989383d41b08f8e9fa2bb8f25becac65871322b063c8e2da3c80d443265357dad9485f41b24413329a40 -EBUILD btrbk-0.32.0.ebuild 2385 BLAKE2B f1ce5388d83881455a946299992622f44ff958cd8ef57e6d8f0ead9c8e490b784b3ac02da587119cf6415feae772d5fa4c449c9d2ba218fb9c780e94f15e98cd SHA512 b1b25893f4ded6f719b36216006de236210a3ca1b39d5c6b7d2468d4ffcff867b590be40a2e47415fdf3672873321bcf06e4393a89cce44098f7a71f83cb7f97 -EBUILD btrbk-0.32.1.ebuild 2385 BLAKE2B f1ce5388d83881455a946299992622f44ff958cd8ef57e6d8f0ead9c8e490b784b3ac02da587119cf6415feae772d5fa4c449c9d2ba218fb9c780e94f15e98cd SHA512 b1b25893f4ded6f719b36216006de236210a3ca1b39d5c6b7d2468d4ffcff867b590be40a2e47415fdf3672873321bcf06e4393a89cce44098f7a71f83cb7f97 -EBUILD btrbk-0.32.2.ebuild 2385 BLAKE2B 34a17462e9aa80f5a86cedbb3ce25c0524aca74eeaed226f79a27b73eb604ddc4e1baa9472a113bf647871c37c7e7926baf42542f18e96245a573dc8f778b061 SHA512 763c8e25ca107eede4bd509b7c9a2f9f191e0965b4b156ff4286f3a67624b2c34b83b9db64c2e1b93d2e501f89e2eeb9629bb78de9d68da9a43a1f2846debb46 -EBUILD btrbk-0.32.3.ebuild 2385 BLAKE2B 34a17462e9aa80f5a86cedbb3ce25c0524aca74eeaed226f79a27b73eb604ddc4e1baa9472a113bf647871c37c7e7926baf42542f18e96245a573dc8f778b061 SHA512 763c8e25ca107eede4bd509b7c9a2f9f191e0965b4b156ff4286f3a67624b2c34b83b9db64c2e1b93d2e501f89e2eeb9629bb78de9d68da9a43a1f2846debb46 -EBUILD btrbk-0.32.4.ebuild 2385 BLAKE2B 34a17462e9aa80f5a86cedbb3ce25c0524aca74eeaed226f79a27b73eb604ddc4e1baa9472a113bf647871c37c7e7926baf42542f18e96245a573dc8f778b061 SHA512 763c8e25ca107eede4bd509b7c9a2f9f191e0965b4b156ff4286f3a67624b2c34b83b9db64c2e1b93d2e501f89e2eeb9629bb78de9d68da9a43a1f2846debb46 +EBUILD btrbk-0.32.5.ebuild 2385 BLAKE2B 34a17462e9aa80f5a86cedbb3ce25c0524aca74eeaed226f79a27b73eb604ddc4e1baa9472a113bf647871c37c7e7926baf42542f18e96245a573dc8f778b061 SHA512 763c8e25ca107eede4bd509b7c9a2f9f191e0965b4b156ff4286f3a67624b2c34b83b9db64c2e1b93d2e501f89e2eeb9629bb78de9d68da9a43a1f2846debb46 EBUILD btrbk-9999.ebuild 2385 BLAKE2B 34a17462e9aa80f5a86cedbb3ce25c0524aca74eeaed226f79a27b73eb604ddc4e1baa9472a113bf647871c37c7e7926baf42542f18e96245a573dc8f778b061 SHA512 763c8e25ca107eede4bd509b7c9a2f9f191e0965b4b156ff4286f3a67624b2c34b83b9db64c2e1b93d2e501f89e2eeb9629bb78de9d68da9a43a1f2846debb46 MISC metadata.xml 1075 BLAKE2B 9e352a1f9346ebb1cff94393f977dfb0c3714e53380ce2ed3c8eb53375d2ac74c95655556fb604bf538ae63ae00de9ed97cf9a02cadaec97c7117f9a621ca481 SHA512 681a2a38dc3ddba866d46bd9e88bc8549cb1ba297de965a1faecada4ac7b966a3603ce4b647544ba9dabfbbb59e1072cbecf550b580835ae1d1d79efcc3af7e5 diff --git a/app-backup/btrbk/btrbk-0.31.3.ebuild b/app-backup/btrbk/btrbk-0.31.3.ebuild deleted file mode 100644 index f301c70cd559..000000000000 --- a/app-backup/btrbk/btrbk-0.31.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 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 - 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 -} diff --git a/app-backup/btrbk/btrbk-0.32.0.ebuild b/app-backup/btrbk/btrbk-0.32.0.ebuild deleted file mode 100644 index 29b1c6d3fc78..000000000000 --- a/app-backup/btrbk/btrbk-0.32.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2022 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 - 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 -} diff --git a/app-backup/btrbk/btrbk-0.32.1.ebuild b/app-backup/btrbk/btrbk-0.32.1.ebuild deleted file mode 100644 index 29b1c6d3fc78..000000000000 --- a/app-backup/btrbk/btrbk-0.32.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2022 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 - 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 -} diff --git a/app-backup/btrbk/btrbk-0.32.3.ebuild b/app-backup/btrbk/btrbk-0.32.3.ebuild deleted file mode 100644 index f75978a45363..000000000000 --- a/app-backup/btrbk/btrbk-0.32.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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 -} diff --git a/app-backup/btrbk/btrbk-0.32.4.ebuild b/app-backup/btrbk/btrbk-0.32.4.ebuild deleted file mode 100644 index f75978a45363..000000000000 --- a/app-backup/btrbk/btrbk-0.32.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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 -} diff --git a/app-backup/btrbk/btrbk-0.32.2.ebuild b/app-backup/btrbk/btrbk-0.32.5.ebuild index f75978a45363..f75978a45363 100644 --- a/app-backup/btrbk/btrbk-0.32.2.ebuild +++ b/app-backup/btrbk/btrbk-0.32.5.ebuild |