1 |
commit: 068d3bf18bb4fe4547f22f95e648012c87a3e62b |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 6 15:17:09 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 6 15:17:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068d3bf1 |
7 |
|
8 |
sys-fs/btrfs-progs: Bump to version 5.10.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-fs/btrfs-progs/Manifest | 1 + |
14 |
sys-fs/btrfs-progs/btrfs-progs-5.10.1.ebuild | 129 +++++++++++++++++++++++++++ |
15 |
2 files changed, 130 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/btrfs-progs/Manifest b/sys-fs/btrfs-progs/Manifest |
18 |
index bfed17e3c2a..d9e0a5ba353 100644 |
19 |
--- a/sys-fs/btrfs-progs/Manifest |
20 |
+++ b/sys-fs/btrfs-progs/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST btrfs-progs-v5.10.1.tar.xz 2204164 BLAKE2B ed83729754f9abd22d4d2e7ae9a7e90e80be9b63d49a4a9692e20e5939467dbd864834b71495661e1c7a1fca89e253a62fbda37f1d01d2eadecb13f5904f0dd0 SHA512 32e5b8bda1863e34613802db91946f240b2cde21288ff8f95c1807e7afd0a67c5a704aa4d2bc0d7b1ca094de6831adbfec83fe61f74e1caf6d1975be7d972f2d |
23 |
DIST btrfs-progs-v5.10.tar.xz 2203516 BLAKE2B 17cc6ccc0e9ae489c5eebd8dfc52fc7edcd4b22ca49c2b5e44febeea2f57b84ceb34e75d1a009126e1c865d63bbe8384be7b2a6b3eeb4933baf8befb7f131be2 SHA512 c94b978ec4aaac272c32e3c91332e85327cec7c7d2ae4d27ba0181f94e14e0dcc50f4f7a53ee9b5a2fe2c76a54dd18aa6c6821e05a592cb5f151abaefd0b12ca |
24 |
DIST btrfs-progs-v5.4.1.tar.xz 2107476 BLAKE2B 1ea58f49b0f8185e944010804e544643a2eafeea58fecb480b13095c362350c218f0602fbb43a96705a81befe88ec3e3abe35cc90d4732006479b059aa7fed32 SHA512 56381b37036aecea61b758fb4971abfeda24a387bb3a828f7d54eb068982a37763a8ebe2bcc6be61d6a8bc2057dddcd4754325b236e14d8ec02e58cf711f192f |
25 |
DIST btrfs-progs-v5.9.tar.xz 2189724 BLAKE2B 3692e058e5e52c2a3684548d0b0ca94a9101a66dc8951266a49a71b6848b7f0cce8ade0e914ae8b71345021750e7d20742af13aec69aef7d52e3030fca289529 SHA512 38db047198ab0467d3fe235f7e8e1fd14ade00dd0b182588220c5f5e4b598efbdcd30a3d5d56cf0a0ed8a902d2374af0927eb7f3720cd761172c7291a2a65c94 |
26 |
|
27 |
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.10.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.10.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..e7da9aa59cf |
30 |
--- /dev/null |
31 |
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.10.1.ebuild |
32 |
@@ -0,0 +1,129 @@ |
33 |
+# Copyright 2008-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7..9} ) |
39 |
+ |
40 |
+inherit bash-completion-r1 python-single-r1 |
41 |
+ |
42 |
+libbtrfs_soname=0 |
43 |
+ |
44 |
+if [[ ${PV} != 9999 ]]; then |
45 |
+ MY_PV="v${PV/_/-}" |
46 |
+ [[ "${PV}" = *_rc* ]] || \ |
47 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
48 |
+ SRC_URI="https://www.kernel.org/pub/linux/kernel/people/kdave/${PN}/${PN}-${MY_PV}.tar.xz" |
49 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
50 |
+else |
51 |
+ WANT_LIBTOOL=none |
52 |
+ inherit autotools git-r3 |
53 |
+ EGIT_REPO_URI="https://github.com/kdave/btrfs-progs.git" |
54 |
+ EGIT_BRANCH="devel" |
55 |
+fi |
56 |
+ |
57 |
+DESCRIPTION="Btrfs filesystem utilities" |
58 |
+HOMEPAGE="https://btrfs.wiki.kernel.org" |
59 |
+ |
60 |
+LICENSE="GPL-2" |
61 |
+SLOT="0/${libbtrfs_soname}" |
62 |
+IUSE="+convert doc python reiserfs static static-libs +zstd" |
63 |
+ |
64 |
+RESTRICT=test # tries to mount repared filesystems |
65 |
+ |
66 |
+RDEPEND=" |
67 |
+ dev-libs/lzo:2= |
68 |
+ sys-apps/util-linux:0=[static-libs(+)?] |
69 |
+ sys-libs/zlib:0= |
70 |
+ convert? ( |
71 |
+ sys-fs/e2fsprogs:0= |
72 |
+ sys-libs/e2fsprogs-libs:0= |
73 |
+ reiserfs? ( |
74 |
+ >=sys-fs/reiserfsprogs-3.6.27 |
75 |
+ ) |
76 |
+ ) |
77 |
+ python? ( ${PYTHON_DEPS} ) |
78 |
+ zstd? ( app-arch/zstd:0= ) |
79 |
+" |
80 |
+DEPEND="${RDEPEND} |
81 |
+ convert? ( sys-apps/acl ) |
82 |
+ python? ( |
83 |
+ $(python_gen_cond_dep ' |
84 |
+ dev-python/setuptools[${PYTHON_MULTI_USEDEP}] |
85 |
+ ') |
86 |
+ ) |
87 |
+ static? ( |
88 |
+ dev-libs/lzo:2[static-libs(+)] |
89 |
+ sys-apps/util-linux:0[static-libs(+)] |
90 |
+ sys-libs/zlib:0[static-libs(+)] |
91 |
+ convert? ( |
92 |
+ sys-fs/e2fsprogs:0[static-libs(+)] |
93 |
+ sys-libs/e2fsprogs-libs:0[static-libs(+)] |
94 |
+ reiserfs? ( |
95 |
+ >=sys-fs/reiserfsprogs-3.6.27[static-libs(+)] |
96 |
+ ) |
97 |
+ ) |
98 |
+ zstd? ( app-arch/zstd:0[static-libs(+)] ) |
99 |
+ ) |
100 |
+" |
101 |
+BDEPEND=" |
102 |
+ doc? ( |
103 |
+ || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor ) |
104 |
+ app-text/docbook-xml-dtd:4.5 |
105 |
+ app-text/xmlto |
106 |
+ ) |
107 |
+" |
108 |
+ |
109 |
+if [[ ${PV} == 9999 ]]; then |
110 |
+ DEPEND+=" sys-devel/gnuconfig" |
111 |
+fi |
112 |
+ |
113 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
114 |
+ |
115 |
+pkg_setup() { |
116 |
+ use python && python-single-r1_pkg_setup |
117 |
+} |
118 |
+ |
119 |
+src_prepare() { |
120 |
+ default |
121 |
+ if [[ ${PV} == 9999 ]]; then |
122 |
+ AT_M4DIR=m4 eautoreconf |
123 |
+ mkdir config || die |
124 |
+ local automakedir="$(autotools_run_tool --at-output automake --print-libdir)" |
125 |
+ [[ -e ${automakedir} ]] || die "Could not locate automake directory" |
126 |
+ ln -s "${automakedir}"/install-sh config/install-sh || die |
127 |
+ ln -s "${EPREFIX}"/usr/share/gnuconfig/config.guess config/config.guess || die |
128 |
+ ln -s "${EPREFIX}"/usr/share/gnuconfig/config.sub config/config.sub || die |
129 |
+ fi |
130 |
+} |
131 |
+ |
132 |
+src_configure() { |
133 |
+ local myeconfargs=( |
134 |
+ --bindir="${EPREFIX}"/sbin |
135 |
+ $(use_enable convert) |
136 |
+ $(use_enable doc documentation) |
137 |
+ $(use_enable elibc_glibc backtrace) |
138 |
+ $(use_enable python) |
139 |
+ $(use_enable static-libs static) |
140 |
+ $(use_enable zstd) |
141 |
+ --with-convert=ext2$(usex reiserfs ',reiserfs' '') |
142 |
+ ) |
143 |
+ econf "${myeconfargs[@]}" |
144 |
+} |
145 |
+ |
146 |
+src_compile() { |
147 |
+ emake V=1 all $(usev static) |
148 |
+} |
149 |
+ |
150 |
+src_install() { |
151 |
+ local makeargs=( |
152 |
+ $(usex python install_python '') |
153 |
+ $(usex static install-static '') |
154 |
+ ) |
155 |
+ emake V=1 DESTDIR="${D}" install "${makeargs[@]}" |
156 |
+ newbashcomp btrfs-completion btrfs |
157 |
+ use python && python_optimize |
158 |
+ |
159 |
+ # install prebuilt subset of manuals |
160 |
+ use doc || doman Documentation/*.[58] |
161 |
+} |