1 |
commit: 0c9a6bf7989c7263299f1cbfa6e2107b1894eb93 |
2 |
Author: Naohiro Aota <naota <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 23 13:30:03 2022 +0000 |
4 |
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 00:35:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c9a6bf7 |
7 |
|
8 |
sys-fs/nilfs-utils: version bump to 2.2.8 |
9 |
|
10 |
Version bump with also addressing the following bugs. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/591084 |
13 |
Bug: https://bugs.gentoo.org/669804 |
14 |
Closes: https://bugs.gentoo.org/649030 |
15 |
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org> |
16 |
|
17 |
sys-fs/nilfs-utils/Manifest | 1 + |
18 |
sys-fs/nilfs-utils/nilfs-utils-2.2.8.ebuild | 48 +++++++++++++++++++++++++++++ |
19 |
2 files changed, 49 insertions(+) |
20 |
|
21 |
diff --git a/sys-fs/nilfs-utils/Manifest b/sys-fs/nilfs-utils/Manifest |
22 |
index ab4382105094..7d514094842a 100644 |
23 |
--- a/sys-fs/nilfs-utils/Manifest |
24 |
+++ b/sys-fs/nilfs-utils/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST nilfs-utils-2.2.2.tar.bz2 424097 BLAKE2B d38b40e9b70a17bc957a89f5d1551bcc0eaaf396ac5126d47dc2dd0a9e311033beb1164a916fb369b51794d38cb63793ede7917be2d76b8df02a32de11b0a4fc SHA512 2ac0f1f25472d8900732db9f31e6b824e7e591bf306aa18d8b55c5d93807f4f7ceb65ba7e49540a39c7f285ad63c5f4ab795d34b2a04398d91cd2beb5fc6edce |
27 |
+DIST nilfs-utils-2.2.8.tar.bz2 440550 BLAKE2B 05cce6b639856df6d5748bc4045500d801260c46cedff31aa571c743eb7e2c8f3d6101faf9bc90b231425fbae349671f6603d902a3240f1f06ef7fd7fedbe2c6 SHA512 3232390581f63de5ebe7b461b178a40dfbdaa4bc6aa96b218ea8182c5bf81b162a1e632a1c21d9f1e89fdba9393b4e268e001c335a99ce22f645a62ae3154783 |
28 |
|
29 |
diff --git a/sys-fs/nilfs-utils/nilfs-utils-2.2.8.ebuild b/sys-fs/nilfs-utils/nilfs-utils-2.2.8.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..32eda7e330b0 |
32 |
--- /dev/null |
33 |
+++ b/sys-fs/nilfs-utils/nilfs-utils-2.2.8.ebuild |
34 |
@@ -0,0 +1,48 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit linux-info usr-ldscript |
41 |
+ |
42 |
+DESCRIPTION="A New Implementation of a Log-structured File System for Linux" |
43 |
+HOMEPAGE="http://nilfs.sourceforge.net/" |
44 |
+SRC_URI="http://nilfs.sourceforge.net/download/${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="GPL-2 LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
49 |
+IUSE="static-libs" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sys-fs/e2fsprogs |
53 |
+ sys-apps/util-linux" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ sys-kernel/linux-headers" |
56 |
+ |
57 |
+CONFIG_CHECK="~POSIX_MQUEUE" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ # Always build static libs as nilfs_cleanerd need them |
61 |
+ # Bug 669804 |
62 |
+ econf \ |
63 |
+ --enable-static=yes \ |
64 |
+ --libdir="${EPREFIX}"/$(get_libdir) \ |
65 |
+ --enable-libmount |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ default |
70 |
+ |
71 |
+ if use static-libs; then |
72 |
+ local libdir=$(get_libdir) |
73 |
+ dodir /usr/${libdir} |
74 |
+ mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir} || die |
75 |
+ gen_usr_ldscript libnilfs.so libnilfscleaner.so libnilfsgc.so |
76 |
+ else |
77 |
+ find "${ED}" -name '*.a' -delete || die |
78 |
+ fi |
79 |
+ |
80 |
+ |
81 |
+ find "${ED}" -name '*.la' -delete || die |
82 |
+} |