1 |
commit: e597bf5789ebab65a2b4c7c96c7a3ac66bf1a391 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 21 15:15:33 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 21 15:16:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e597bf57 |
7 |
|
8 |
sys-fs/xfsprogs: Bump to version 5.13.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-fs/xfsprogs/Manifest | 1 + |
13 |
sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild | 94 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 95 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/xfsprogs/Manifest b/sys-fs/xfsprogs/Manifest |
17 |
index 948ff52e787..525352eed00 100644 |
18 |
--- a/sys-fs/xfsprogs/Manifest |
19 |
+++ b/sys-fs/xfsprogs/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST xfsprogs-5.10.0.tar.xz 1273332 BLAKE2B 8caaa0ca8a94480f131d36b383afcf732b3a5a7a3c7927b4b4da4855fc5a0fb97a56fcebb98391a4dd0f02465868a4bd857e57eeba053a419df47d42f74bc958 SHA512 da09e687c87c4b133888dba7b4458017ec028020637ea5066be0232bf5c7da18239cc33eadd02d9b99d1c835aab38cab1ec9d45ae8b83897f9157cfcb0271fbd |
22 |
DIST xfsprogs-5.11.0.tar.xz 1297180 BLAKE2B 0ae0c2eccdf124b9fc2f9a4ef71073324f3645bc9a4f2959978fa06ee4dae4ecaf4eee40e6b130b65eb390d8af0f9d1485aeac073a8ac5e30fce46eef9cdb7a4 SHA512 7a77f938a54176652ce0b53cab13509754aab560c02d74ab03a9fcebf2728d703f89ad9d281ef00fcc0dbabb5497cab2b2b656bbe7598037a16fff70126e5d66 |
23 |
DIST xfsprogs-5.12.0.tar.xz 1299332 BLAKE2B 96e8831ca83d362792853188939017b53343232c99ed514fda50ea9afa828ea8f8ecc753249b211037c2635b45bfbcc849f90fe277102e4745e6b4f13fc6fc20 SHA512 d31263529cd5e0aad2b4414aca91f352c6df9de9a241655e43b5592a3ca120efdcfcd8cf84401ebd1b3fcf67027f0923fecc6f961bdaf12fb00c3ac67abd5fe7 |
24 |
+DIST xfsprogs-5.13.0.tar.xz 1301112 BLAKE2B 49e2b8535ef778362e68d45b1fb6f01be354dbee48d346c018e75ca1a5bc8761f47e65199bb62ffc4962faf8e185f3579e34e0562fab346d9839810727110665 SHA512 8e21bc43fb5cd49dccd6415b86f9e146d29c265a5d908f6898673290d6a2ac4a00bd25440fd7fab5ba080237d4bd54f56855ae64cdb32e59edae100b96155ca8 |
25 |
|
26 |
diff --git a/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild b/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..030c8acbec7 |
29 |
--- /dev/null |
30 |
+++ b/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild |
31 |
@@ -0,0 +1,94 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit flag-o-matic toolchain-funcs systemd usr-ldscript |
38 |
+ |
39 |
+DESCRIPTION="xfs filesystem utilities" |
40 |
+HOMEPAGE="https://xfs.wiki.kernel.org/" |
41 |
+SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
46 |
+IUSE="icu libedit nls" |
47 |
+ |
48 |
+RDEPEND=">=sys-apps/util-linux-2.17.2 |
49 |
+ dev-libs/inih |
50 |
+ icu? ( dev-libs/icu:= ) |
51 |
+ libedit? ( dev-libs/libedit ) |
52 |
+" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+BDEPEND=" |
55 |
+ nls? ( sys-devel/gettext ) |
56 |
+" |
57 |
+ |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}"/${PN}-4.15.0-docdir.patch |
60 |
+ "${FILESDIR}"/${PN}-5.3.0-libdir.patch |
61 |
+) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
+ # Fix doc dir |
67 |
+ sed -i \ |
68 |
+ -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ |
69 |
+ include/builddefs.in || die |
70 |
+ |
71 |
+ # Don't install compressed docs |
72 |
+ sed 's@\(CHANGES\)\.gz[[:space:]]@\1 @' -i doc/Makefile || die |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ # include/builddefs.in will add FCFLAGS to CFLAGS which will |
77 |
+ # unnecessarily clutter CFLAGS (and fortran isn't used) |
78 |
+ unset FCFLAGS |
79 |
+ |
80 |
+ export DEBUG=-DNDEBUG |
81 |
+ |
82 |
+ # Package is honoring CFLAGS; No need to use OPTIMIZER anymore. |
83 |
+ # However, we have to provide an empty value to avoid default |
84 |
+ # flags. |
85 |
+ export OPTIMIZER=" " |
86 |
+ |
87 |
+ unset PLATFORM # if set in user env, this breaks configure |
88 |
+ |
89 |
+ # Avoid automagic on libdevmapper, #709694 |
90 |
+ export ac_cv_search_dm_task_create=no |
91 |
+ |
92 |
+ # Build fails with -O3 (bug #712698) |
93 |
+ replace-flags -O3 -O2 |
94 |
+ |
95 |
+ # Upstream does NOT support --disable-static anymore, |
96 |
+ # https://www.spinics.net/lists/linux-xfs/msg30185.html |
97 |
+ # https://www.spinics.net/lists/linux-xfs/msg30272.html |
98 |
+ local myconf=( |
99 |
+ --enable-blkid |
100 |
+ --with-crond-dir="${EPREFIX}/etc/cron.d" |
101 |
+ --with-systemd-unit-dir="$(systemd_get_systemunitdir)" |
102 |
+ $(use_enable icu libicu) |
103 |
+ $(use_enable nls gettext) |
104 |
+ $(use_enable libedit editline) |
105 |
+ ) |
106 |
+ |
107 |
+ if is-flagq -flto ; then |
108 |
+ myconf+=( --enable-lto ) |
109 |
+ else |
110 |
+ myconf+=( --disable-lto ) |
111 |
+ fi |
112 |
+ |
113 |
+ econf "${myconf[@]}" |
114 |
+} |
115 |
+ |
116 |
+src_compile() { |
117 |
+ emake V=1 |
118 |
+} |
119 |
+ |
120 |
+src_install() { |
121 |
+ emake DIST_ROOT="${ED}" HAVE_ZIPPED_MANPAGES=false install |
122 |
+ emake DIST_ROOT="${ED}" HAVE_ZIPPED_MANPAGES=false install-dev |
123 |
+ |
124 |
+ gen_usr_ldscript -a handle |
125 |
+} |