1 |
commit: 9c9a0e020f20eb48cdd8506493916285b7a4f3db |
2 |
Author: Kai Krakow <kai <AT> kaishome <DOT> de> |
3 |
AuthorDate: Thu Nov 28 21:35:03 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 30 07:48:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c9a0e02 |
7 |
|
8 |
sys-fs/bees: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Kai Krakow <kai <AT> kaishome.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/13789 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
sys-fs/bees/bees-0.6.1-r1.ebuild | 86 ---------------------------------------- |
16 |
1 file changed, 86 deletions(-) |
17 |
|
18 |
diff --git a/sys-fs/bees/bees-0.6.1-r1.ebuild b/sys-fs/bees/bees-0.6.1-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index 5d44fcd0182..00000000000 |
21 |
--- a/sys-fs/bees/bees-0.6.1-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,86 +0,0 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
- |
29 |
-inherit linux-info systemd |
30 |
- |
31 |
-DESCRIPTION="Best-Effort Extent-Same, a btrfs dedup agent" |
32 |
-HOMEPAGE="https://github.com/Zygo/bees" |
33 |
- |
34 |
-if [[ ${PV} == "9999" ]] ; then |
35 |
- EGIT_REPO_URI="https://github.com/Zygo/bees.git" |
36 |
- inherit git-r3 |
37 |
-else |
38 |
- SRC_URI="https://github.com/Zygo/bees/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
- KEYWORDS="~amd64" |
40 |
-fi |
41 |
- |
42 |
-LICENSE="GPL-3" |
43 |
-SLOT="0" |
44 |
-IUSE="tools" |
45 |
- |
46 |
-DEPEND=" |
47 |
- >=sys-apps/util-linux-2.30.2 |
48 |
- >=sys-fs/btrfs-progs-4.1 |
49 |
-" |
50 |
-RDEPEND="${DEPEND}" |
51 |
- |
52 |
-CONFIG_CHECK="~BTRFS_FS" |
53 |
-ERROR_BTRFS_FS="CONFIG_BTRFS_FS: bees does currently only work with btrfs" |
54 |
- |
55 |
-PATCHES=( |
56 |
- "${FILESDIR}/6001-lib-fix-non-local-lambda-expression-cannot-have-a-ca.patch" |
57 |
- "${FILESDIR}/6002-context-workaround-to-prevent-LOGICAL_INO-and-btrfs-.patch" |
58 |
-) |
59 |
- |
60 |
-pkg_pretend() { |
61 |
- if [[ ${MERGE_TYPE} != buildonly ]]; then |
62 |
- if kernel_is -lt 4 4 3; then |
63 |
- ewarn "Kernel versions below 4.4.3 lack critical features needed for bees to" |
64 |
- ewarn "properly operate, so it won't work. It's recommended to run at least" |
65 |
- ewarn "kernel version 4.11 for best performance and reliability." |
66 |
- ewarn |
67 |
- elif kernel_is -lt 4 11; then |
68 |
- ewarn "With kernel versions below 4.11, bees may severely degrade system performance" |
69 |
- ewarn "and responsiveness. Especially, the kernel may deadlock while bees is" |
70 |
- ewarn "running, it's recommended to run at least kernel 4.11." |
71 |
- ewarn |
72 |
- elif kernel_is -lt 4 14 29; then |
73 |
- ewarn "With kernel versions below 4.14.29, bees may generate a lot of bogus WARN_ON()" |
74 |
- ewarn "messages in the kernel log. These messages can be ignored and this is fixed" |
75 |
- ewarn "with more recent kernels:" |
76 |
- ewarn "# WARNING: CPU: 3 PID: 18172 at fs/btrfs/backref.c:1391 find_parent_nodes+0xc41/0x14e0" |
77 |
- ewarn |
78 |
- fi |
79 |
- if kernel_is -lt 5 3 4; then |
80 |
- ewarn "With kernel versions below 5.3.4, bees may trigger a btrfs bug when running" |
81 |
- ewarn "btrfs-balance in parallel. This may lead to meta-data corruption in the worst" |
82 |
- ewarn "case. Especially, kernels 5.1.21 and 5.2.21 should be avoided. Kernels 5.0.x" |
83 |
- ewarn "after 5.0.21 should be safe. In the best case, affected kernels may force" |
84 |
- ewarn "the device RO without writing corrupted meta-data. More details:" |
85 |
- ewarn "https://github.com/Zygo/bees/blob/master/docs/btrfs-kernel.md" |
86 |
- ewarn |
87 |
- fi |
88 |
- elog "Bees recommends running the latest current kernel for performance and" |
89 |
- elog "reliability reasons, see README.md." |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-src_configure() { |
94 |
- cat >localconf <<-EOF || die |
95 |
- LIBEXEC_PREFIX=/usr/libexec |
96 |
- PREFIX=/usr |
97 |
- LIBDIR="$(get_libdir)" |
98 |
- SYSTEMD_SYSTEM_UNIT_DIR="$(systemd_get_systemunitdir)" |
99 |
- DEFAULT_MAKE_TARGET=all |
100 |
- EOF |
101 |
- if [[ ${PV} != "9999" ]] ; then |
102 |
- cat >>localconf <<-EOF || die |
103 |
- BEES_VERSION=v${PV} |
104 |
- EOF |
105 |
- fi |
106 |
- if use tools; then |
107 |
- echo OPTIONAL_INSTALL_TARGETS=install_tools >>localconf || die |
108 |
- fi |
109 |
-} |