1 |
commit: 07ff4a7585196fcacb35ba9933b7a234a8a30154 |
2 |
Author: Kai Krakow <hurikhan77+bgo <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Nov 28 11:24:38 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 28 16:34:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ff4a75 |
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 <hurikhan77+bgo <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/13778 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
sys-fs/bees/bees-0.6.1.ebuild | 72 ------------------------------------------- |
16 |
1 file changed, 72 deletions(-) |
17 |
|
18 |
diff --git a/sys-fs/bees/bees-0.6.1.ebuild b/sys-fs/bees/bees-0.6.1.ebuild |
19 |
deleted file mode 100644 |
20 |
index a232eb5d07f..00000000000 |
21 |
--- a/sys-fs/bees/bees-0.6.1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,72 +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 |
-pkg_pretend() { |
56 |
- if [[ ${MERGE_TYPE} != buildonly ]]; then |
57 |
- if kernel_is -lt 4 4 3; then |
58 |
- ewarn "Kernel versions below 4.4.3 lack critical features needed for bees to" |
59 |
- ewarn "properly operate, so it won't work. It's recommended to run at least" |
60 |
- ewarn "kernel version 4.11 for best performance and reliability." |
61 |
- ewarn |
62 |
- elif kernel_is -lt 4 11; then |
63 |
- ewarn "With kernel versions below 4.11, bees may severely degrade system performance" |
64 |
- ewarn "and responsiveness. Especially, the kernel may deadlock while bees is" |
65 |
- ewarn "running, it's recommended to run at least kernel 4.11." |
66 |
- ewarn |
67 |
- elif kernel_is -lt 4 14 29; then |
68 |
- ewarn "With kernel versions below 4.14.29, bees may generate a lot of bogus WARN_ON()" |
69 |
- ewarn "messages in the kernel log. These messages can be ignored and this is fixed" |
70 |
- ewarn "with more recent kernels:" |
71 |
- ewarn "# WARNING: CPU: 3 PID: 18172 at fs/btrfs/backref.c:1391 find_parent_nodes+0xc41/0x14e0" |
72 |
- ewarn |
73 |
- fi |
74 |
- elog "Bees recommends to run the latest current kernel for performance and" |
75 |
- elog "reliability reasons, see README.md." |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- cat >localconf <<-EOF || die |
81 |
- LIBEXEC_PREFIX=/usr/libexec |
82 |
- PREFIX=/usr |
83 |
- LIBDIR="$(get_libdir)" |
84 |
- SYSTEMD_SYSTEM_UNIT_DIR="$(systemd_get_systemunitdir)" |
85 |
- DEFAULT_MAKE_TARGET=all |
86 |
- EOF |
87 |
- if [[ ${PV} != "9999" ]] ; then |
88 |
- cat >>localconf <<-EOF || die |
89 |
- BEES_VERSION=v${PV} |
90 |
- EOF |
91 |
- fi |
92 |
- if use tools; then |
93 |
- echo OPTIONAL_INSTALL_TARGETS=install_tools >>localconf || die |
94 |
- fi |
95 |
-} |